Agentic AI development is the engineering of AI systems that pursue a goal on their own: they plan steps, call tools, act on other software and decide when to stop or ask a human. Getting an agent into production is less about the model and more about tools, permissions, evaluation and staged autonomy. Teams that treat an agent as "a chatbot with API keys" are the ones that end up in the cancellation statistics.
This guide lays out the anatomy of a production agent, the autonomy levels we design for, a six-stage lifecycle with evaluation gates, the 2026 frameworks and protocols, the security picture, and a checklist for choosing a partner. We build agents for government and enterprise clients, and we use agents to build software, so the numbers here come from our own projects.
What is agentic AI development?
The phrase has two meanings, and most articles blur them:
- Building AI agents: software in which a model directs its own steps toward a goal, such as an agent that reads a clinical note, checks insurer policy and fills a prior-authorization form.
- Agentic coding: using AI agents to write and test software. Our AI software factory is an example.
Both rest on the same distinction. Anthropic's Building effective agents separates workflows, "systems where LLMs and tools are orchestrated through predefined code paths," from agents, "systems where LLMs dynamically direct their own processes and tool usage." Agents suit "open-ended problems where it's difficult or impossible to predict the required number of steps." If you can draw the path in advance, build a workflow. It will be cheaper, faster and easier to test.
This article is about the first meaning, with lessons from the second.
Anatomy of a production agent
| Component | What it does | Design questions |
|---|---|---|
| Model | Reasons, plans and chooses the next action | Which model per role? What is the fallback? |
| Tools | Functions the agent can call: search, read a record, submit a form | Narrow or broad? Read or write? Who owns each tool? |
| Context and memory | What the agent sees now and what it remembers across steps and sessions | What is loaded up front, what is fetched on demand, what is never shown? |
| Planning loop | Decides, acts, observes, repeats until done or stopped | Maximum steps? Cost budget? When to ask a human? |
| Guardrails | Checks on inputs, outputs and actions | Which actions need approval? What is blocked outright? |
| Harness | The runtime around it all: state, retries, logging, sandbox, durable execution | Can a crashed run resume? Can any run be replayed? |
The harness is the part demos skip and production depends on. When we killed a worker mid-run in a crash test of our own agent pipeline (step 3 of 12), the durable workflow engine resumed it at step 4. Without that, a long-running agent is a long-running risk.
Context deserves its own discipline: which documents, instructions and tool results reach the model, and in what order. See our guide to context engineering.
Autonomy levels and human-in-the-loop design
Autonomy is not a property of the model. It is a setting you grant per action, based on evidence.
| Level | Agent behavior | Human role | Good for |
|---|---|---|---|
| 1. Suggest | Drafts actions; does nothing | Executes or discards | First weeks of any pilot |
| 2. Act with approval | Prepares the action; waits for a click | Approves each action | Writes to records of consequence |
| 3. Act and report | Acts, then reports with evidence | Reviews samples and exceptions | Reversible, high-volume actions |
| 4. Act within budget | Acts autonomously within limits on scope, cost and steps | Sets limits; reviews metrics | Mature, well-evaluated workflows |
Two rules from our practice. First, irreversible actions stay at level 2 no matter how good the scores are. Second, the agent must say why it is escalating. Our factory uses a "briefer" agent that opens every escalation with a plain-language summary: what the task is, where it stands, and what is blocking it. Humans answer escalations much faster when they do not have to reconstruct the context.
The agentic AI development lifecycle
Six stages, each with a gate.
1. Workflow discovery and mapping
Sit with the people who do the work. Record every step, every system touched, every judgment call and every exception. Pick a workflow that is frequent, costly and governed by rules someone can write down.
Strong first candidates share four traits: the inputs arrive in a known format, the systems involved have APIs, a wrong step can be caught before it does harm, and someone already measures the cost per case. Examples we see work well:
- Collecting, checking and consolidating periodic reports from many units.
- Extracting data from documents into a form and validating it against policy.
- Triaging incoming requests or alerts and routing them with a summary.
- Chasing missing information from submitters before a human decides.
Weak candidates: workflows where the rules live only in one expert's head, or where every case is an exception. Gate: a mapped workflow with an owner and a target metric.
2. Design: tools, permissions and escalation
Design tools as narrow verbs ("get open tasks for unit X"), not raw database access. Give the agent the permissions of the user it acts for, never a superuser account. Define escalation triggers: low confidence, missing data, policy conflict, cost budget reached. Gate: a tool and permission spec reviewed by security.
3. Build
Start with read-only tools and a single agent. Add sub-agents only when one context window cannot hold the job; our guide to multi-agent system architecture covers when that is worth the extra cost. Gate: the agent completes the happy path end to end in a sandbox.
4. Evaluate: offline evals and red-teaming
Build an evaluation set from real cases: expected outcomes, expected tool calls, and cases where the right answer is "escalate." Score both the outcome and the path (did it call the right tools in a sensible order?). Then red-team it: injected instructions in documents, malformed data, tools that fail.
Run each case several times, not once. An agent that succeeds on two runs out of three is not a 67% agent; it is an agent you cannot yet trust with that action. Score consistency across repeated runs as well as average success. Fix the scorer before you start tuning: on one of our projects a lenient internal self-score of 69% and 75% fell to 56% and 63% under the official scorer. Gate: thresholds agreed in advance and met. Our AI agent evaluation guide covers metrics and judges.
5. Deploy with staged autonomy
Run at level 1 beside the human, then level 2, then grant level 3 action by action. Compare the agent's decisions with the human's at each stage. Gate: agreement rate and error severity within limits for a fixed period.
6. Operate: observability, drift and cost
Trace every run: inputs, context, tool calls, outputs, cost and latency. Sample production runs weekly with the same scorers as the offline suite. Re-run the full evaluation before any model or prompt change. Track cost per completed task, not cost per token: an agent that takes 40 steps to finish what should take 8 is a design problem, and the trace shows where. Gate: a named owner, a monthly review and an incident playbook that includes "turn the agent off."
Frameworks and protocols in 2026
| Layer | Option | What it is good at |
|---|---|---|
| Orchestration framework | LangGraph | Explicit, stateful graphs with checkpoints and human interrupts |
| Agent harness | LangChain Deep Agents | One agent that plans, works in a file system and delegates to sub-agents |
| Agent memory | Hindsight | Long-term memory that agents can write, tag and recall across sessions |
| LLM observability | Langfuse | Traces of every prompt, tool call and token cost, with evaluation scores |
| Durable execution | Temporal | Long-running agent workflows that survive crashes, with retries and history |
| Vendor agent SDK | Claude Agent SDK | The agent loop behind Claude Code as a library: tools, sub-agents, context management |
| Vendor agent SDK | OpenAI Agents SDK | Lightweight agents with handoffs, guardrails and tracing |
| Vendor agent SDK | Google Agent Development Kit (ADK) | Code-first agents with a path to Google Cloud hosting |
| Multi-agent framework | CrewAI | Role-based teams of agents |
| Enterprise SDK | Microsoft Semantic Kernel | .NET and Python integration in Microsoft stacks |
| Tool protocol | Model Context Protocol (MCP) | A standard way to expose tools and data to any agent |
| Agent-to-agent protocol | A2A | Communication between independent agents across vendors |
The Model Context Protocol standardizes how applications "share contextual information with language models" and "expose tools and capabilities to AI systems." A2A, now under Linux Foundation governance, covers "communication and interoperability between opaque agentic applications."
Our advice: put your tools behind MCP servers, keep business logic out of the framework, and pick the framework that matches your model and your team. We use LangGraph and LangChain Deep Agents for AI services on government and enterprise platforms, LangGraph with Langfuse tracing for a healthcare prior-authorization workflow, and Temporal underneath anything that runs longer than a request. We contribute fixes upstream to Deep Agents and to the Hindsight memory engine. Switching costs stay low because the tools and evaluations are framework-independent. Our AI agent orchestration article covers the full production stack.
Security: agents widen the attack surface
An agent that reads documents and calls tools can be steered by the documents it reads. The OWASP Top 10 for Agentic Applications 2026 is the reference list of risks; read it before you design tools.
Attackers are using agents too. On November 30, 2026, CISA warned that agentic offensive frameworks, which connect a language model to security testing tools, had been used in incidents at federal civilian agencies, state and local governments and critical infrastructure operators (Hackread). Its recommendations include phishing-resistant MFA, least-privilege accounts, segmentation and tamper-protected logs. Those apply to your agents as well.
Practical controls we apply:
- Least capability. The AI assistant on our government KPI platform has no shell, file or network tools. It can only call narrow data tools.
- Treat retrieved content as untrusted. Instructions inside a document are data, not commands.
- Verify outputs. On that platform every number in an AI answer must trace to a tool result or the user's input; untraced figures are retried, then masked as "[unverified]."
- Approval for consequence. Writes, payments, messages to the public and deletions go through a human.
- Audit everything. Every action is logged with the identity it acted for.
Why agent projects get cancelled, and how to avoid it
Gartner forecast in June 2025 that more than 40% of agentic AI projects will be cancelled by the end of 2027 "due to escalating costs and unclear business value" (Reuters). It also warned of "agent washing," the rebranding of assistants and chatbots without real agentic capability, and estimated that only about 130 of the thousands of agentic AI vendors are real.
The causes we see match that list:
- Agents where a workflow would do. Costs rise with every reasoning step. If the path is predictable, script it.
- No baseline. Without the current cost and time per case, nobody can show value.
- No evaluation gate. The pilot looks good in demos and fails on the long tail.
- Permissions too broad, too early. One bad action ends the project.
- Runaway cost. Agents without step and cost budgets loop. Cap both.
Timelines from our projects. An enterprise AI pilot with ERP, team chat and AI agents behind one sign-on took under two weeks. A government platform with an AI assistant reached public production about 27 hours after the first commit and kept shipping for seven weeks. A healthcare prior-authorization rebuild shipped about 330 reviewed pull requests in five weeks. Those speeds come from the delivery system, not from skipping gates.
How to choose an agentic AI development partner
Ten questions to ask, and the answers to expect:
- Which actions will the agent take without a human? A specific list, not "it's autonomous."
- Show us an evaluation report from a past agent. Outcome and trajectory scores, with a scorer fixed in advance.
- How do you test prompt injection? Red-team cases in the evaluation set.
- Whose permissions does the agent use? The acting user's, never a shared admin account.
- What happens when a run crashes halfway? Durable execution and resumption.
- What is the cost per task, and what caps it? Step and spend budgets.
- How do we turn it off? A documented kill switch.
- Where does our data go? Named regions or on-premise, and model logging terms.
- What do we own at handover? Code, prompts, tools, evaluation sets, traces.
- When would you advise us not to build an agent? A partner with no answer is agent washing.
How YITEC does it
We build agents with the same AI Software Factory we use to ship software: planner agents write the plan and acceptance tests, builder agents work in parallel isolated environments, a QA agent tests in a real browser, AI reviewers check every change, and a named human presses the production button.
What that looks like on real projects:
- Government data, traced answers. On the government KPI platform for a central-government steering office (Resolution 57), the assistant covers 2,042 national tasks across 81 government units with narrow tools and source-traced numbers.
- Healthcare agents with evaluation sets. For a US healthcare startup, agents read chart notes, match insurer policy and fill insurer portals, backed by 149 versioned prompt files with evaluation sets and about 18,800 automated tests.
- Security by default. On a national data-integration gateway, parallel AI audits found issues that were all fixed before go-live, and the gateway fails closed.
- Agents at factory scale. Our own production ran up to 30 concurrent agents across 26 lines with a self-healing doctor every 3 minutes. See the AI software factory for a national platform.
At handover you receive the evaluation report, the autonomy setting for every action, and the audit trail that justified each step up. For public-sector specifics, read agentic AI for government; to compare with content-only systems, read agentic AI vs generative AI. To scope an agent pilot, see our services or contact us.
FAQ
What is agentic AI development?
How do I start agentic AI development?
Which agentic AI framework should I use?
How long does it take and how much does it cost to build an AI agent?
What is the difference between an agentic AI developer and an AI engineer?
What is agent washing?
Sources
- Anthropic: Building effective agents
- Model Context Protocol specification (2025-11-25)
- A2A Protocol (Linux Foundation)
- OWASP Top 10 for Agentic Applications 2026
- Reuters via Yahoo Finance: Over 40% of agentic AI projects will be scrapped by 2027, Gartner says (Jun 2025)
- Hackread: CISA urges agencies to patch as AI agents speed up attacks (Dec 2026)



