AI Agent Rules Best Practices
This page distills every rule list in the Agent Rules (tech lead) section into one standalone checklist - positive, enforceable practices for models, tools, security, observability, and team process.
Search across all documentation pages
This page distills every rule list in the Agent Rules (tech lead) section into one standalone checklist - positive, enforceable practices for models, tools, security, observability, and team process.
It is meant for design reviews, production-readiness gates, and periodic audits - not as a one-time read.
| Stage | Categories | Exit criterion |
|---|---|---|
| Bound the system | A | Stops, autonomy, and ownership documented |
| Control spend and models | B | Policy map, fallbacks, budgets live |
| Harden tools | C-D | Schemas, least privilege, sandbox/egress |
| Prove and watch | E | Traces, eval gate, SLOs alerting |
| Keep the team honest | F | PR template + CODEOWNERS enforced |
The quick-reference uses category tables with links.
This page restates the same ground as checkboxes for readiness reviews.
No.
You need them before real users, real budget, or write side effects.
Prototypes should still avoid unbounded production deploys.
Bounds and cost (A-B), then tools and security (C-D), then evals and review process (E-F).
Point to code, config, CI, or a linked ADR - for example the module that enforces max_turns, the policy map file, or the PR template requiring eval links.
They can satisfy pieces (iteration limits, optional tracing).
Product-specific tool allowlists, spend caps, eval suites, and review process still need your team.
Ship a narrow, bounded demo path; do not disable stops, authz, or budgets on the shared production worker to save a day.
Before first production traffic, after material tool or autonomy changes, and on a fixed quarterly (or similar) cadence.
The title promises distilled practices; the lettered groups expand them into enforceable checkboxes covering the full section.
Fundamentals rules are the early single-agent bound set.
This checklist is the production tech-lead gate spanning fleet, security, evals, and process.
Yes for anything with shell, account access, or spend - blast radius is personal but real.
Track them as explicit debt with owners and dates - not as quiet failures to ignore.
Yes.
Keep the categories; replace numbers (turn caps, tiers, approval matrix) with your standards and link internal runbooks.
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