
🧠 AI & Machine Learning · Flowchart
How an AI agent completes a task by planning, calling tools, checking results and asking a person to approve risky actions before it finishes.
Drawing diagram…
Flowchart of an AI agent: it receives a task, makes a plan, picks the next tool (search, database query, API call or code run), runs it and checks the result. If the next action changes data or spends money it asks a human to approve. It repeats until the goal is met or it reaches 15 steps, then writes a summary. Every step is logged.
flowchart TD
A[Receive task] --> B[Make a plan]
B --> C[Choose next tool]
C --> D{Changes data or spends money?}
D -->|Yes| E[Ask a person to approve]
E -->|Rejected| B
E -->|Approved| F[Run tool]
D -->|No| F
F --> G[Log the call and result]
G --> H{Goal met?}
H -->|Yes| S[Write summary for the user]
H -->|No| I{Step limit of 15 reached?}
I -->|No| C
I -->|Yes| J[Stop and report what is left]A chatbot that answers staff questions from company documents: documents are split and indexed in a vector database, and each question pulls the most relevant passages before the language model writes an answer.
What happens when a user asks the document chatbot a question: permission check, embedding, vector search, prompt building and a cited answer.
How documents become searchable passages for an AI assistant: extraction, cleaning, chunking, embedding and indexing, with changed files re-processed automatically.
Where each part of an MLOps setup runs: feature store, training jobs on GPU nodes, experiment tracking, model registry and automated deployment to serving.
The states a machine learning model moves through, from experiment to production to retirement, including rollback when live performance drops.
One gateway that every app in a company uses to reach language models: it applies budgets, rate limits, content filters and caching, and records usage per team.