What makes a system agentic?
A system is agentic when it can:
- Receive a goal and break it into steps.
- Use tools to act on the world.
- Read feedback and adjust its plan.
- Keep a record of what it did and why.
- Stop or ask for help when it is stuck or unsafe.
A single LLM call is not an agentic system. An agentic system is a loop with state, tools, and control.
Key idea: the hard part of agentic engineering is not making the model talk. It is making the system reliable, safe, and observable.
The orchestrator
The orchestrator is the part of the system that decides what happens next. It can be a simple state machine, a rules engine, or another LLM. Its job is to route tasks to the right agent, handle errors, and decide when to stop.
A good orchestrator limits how long an agent can run, how many tools it can call, and what it is allowed to change. Without those limits, an agent can wander, repeat work, or make dangerous changes.
Guardrails and sandboxing
Guardrails are rules that keep an agent from doing harm. Examples include:
- Never run commands that delete data without human approval.
- Only write files inside a specific directory.
- Do not call external APIs that cost money.
- Stop after a maximum number of steps.
Sandboxing means running the agent in an isolated environment where it cannot damage the real system. This is similar to how web browsers run JavaScript in a sandbox so it cannot read your files.
Observability
Observability means being able to see what the system is doing while it runs. For agents, this includes logs of every thought, action, tool call, and error.
When an agent makes a surprising decision, you need to be able to replay its steps and understand why. Good observability is what turns a mysterious black box into a debuggable system.
Reliability principle: if you cannot explain why an agent did something, you cannot trust it in production.
A guarded agent loop
This tiny orchestrator runs an LLM-like actor for a fixed number of steps. It logs every action and blocks risky operations unless a human approves. In a real system, the LLM call would be an API request; here it is simulated so the loop is easy to read.
Design your agent system
Toggle the safety and reliability features below. Watch how the system's safety score and behavior change.
Stop the agent after a set number of steps.
Pause before risky actions like deploys or deletes.
Run the agent in an isolated environment.
Log every thought, action, and tool call.
Run automated tests on every agent change.
Kill long-running tasks to prevent infinite loops.
Check yourself
Why is observability especially important when an AI agent makes a mistake?
Your answer:
Sample answer: Observability lets you replay the agent's steps and see why it made its decision. Without logs, debugging an agent is like debugging a program that threw away its source code.
Quick quiz
1. What is an orchestrator in an agentic system?
2. What is sandboxing?
3. Why is observability important for agentic systems?
Keep learning
You have explored the core ideas behind agentic engineering: loops, search, version control, CI, review, and system design. Next, try the upper-high-school remake of the LLMs series, or browse all tutorials.
Final tutorial in the “Agentic Engineering & AI Software Topics” series.