AI Agents Fundamentals Best Practices
Ten habits for deciding agent vs script vs copilot before you invest in loops, tools, and ops.
Search across all documentation pages
Ten habits for deciding agent vs script vs copilot before you invest in loops, tools, and ops.
Use this list when a stakeholder says "we should build an agent" and you need a calm, engineering-first answer.
| Stage | Habits | Exit criterion |
|---|---|---|
| Problem intake | 1-4 | Clear goal, known path vs true branching, risk posture |
| Design | 5-7 | Autonomy level + tool list + write policy documented |
| Prototype | 8-9 | Loop stops safely; traces reviewable |
| Launch gate | 10 | Eval baseline + escalation path signed off |
Treat 1, 8, and 10 as mandatory. If 2 is true (path fully known), stop and build a workflow instead of forcing an agent.
You can spike, but do not call it production-ready. Habit 10 is the launch gate, not a research nice-to-have.
Ship a supervised, narrow slice that meets the checklist. Rename marketing later if needed; do not expand write tools to match the press release.
It may be the right product. Call it tool-augmented completion or Level 1 autonomy so ops expectations stay honest.
Apply them per agent and to the orchestrator. Multi-agent multiplies cost and failure modes; it does not relax stop conditions or evals.
A one-page ADR or design brief: goal, autonomy level, tools, budgets, eval set, escalation owner.
After incidents, tool changes, and quarterly reviews. Autonomy should be able to decrease.
They change implementation speed, not fitness. A framework without habits 8-10 still yields fragile agents.
A chatbot with extra marketing and one brittle integration, no traces, and no success metric beyond "feels smart."
Multi-step work with stable tools, automatic or cheap verification, acceptable latency, and a team willing to operate traces and budgets.
No. Pair PM + eng + security for write tools. Habit 7 especially needs shared ownership.
Loops, architectures, and model choice assume you already passed problem fit. Skipping this list is the root cause of many later "runaway agent" fires.
Stack versions: Pins from the category manifest (verify at build): OpenRouter (~315+ models, July 2026 pricing/fees); LangGraph 1.0+; CrewAI 1.14+; Microsoft Agent Framework 1.0; Vercel AI SDK 6; Pydantic AI (latest); LlamaIndex (latest); OpenAI Agents SDK (latest + MCP); MCP (Linux Foundation governance); A2A (HTTP+SSE+JSON-RPC 2.0); Solana
@solana/web3.js+@solana/spl-token.
Reviewed by Chris St. John·Last updated Jul 16, 2026