What world does it operate in? (customer service, research, operations, creative...)
Capabilities
What 3-5 actions are essential?
Knowledge
What expertise does it need access to?
Trust
What decisions can you delegate to the model?
CRITICAL
Trust the model. Don't over-engineer. Don't pre-specify workflows. Give it capabilities and let it reason.
Progressive Complexity
Start simple. Add complexity only when real usage reveals the need:
Level
What to add
When to add it
Basic
3-5 capabilities
Always start here
Planning
Progress tracking
Multi-step tasks lose coherence
Subagents
Isolated child agents
Exploration pollutes context
Skills
On-demand knowledge
Domain expertise needed
Most agents never need to go beyond Level 2.
Domain Examples
Business
CRM queries, email, calendar, approvals
Research
Database search, document analysis, citations
Operations
Monitoring, tickets, notifications, escalation
Creative
Asset generation, editing, collaboration, review
The pattern is universal. Only the capabilities change.
Key Principles
The model IS the agent
- Code just runs the loop
Capabilities enable
- What it CAN do
Knowledge informs
- What it KNOWS how to do
Constraints focus
- Limits create clarity
Trust liberates
- Let the model reason
Iteration reveals
- Start minimal, evolve from usage
Anti-Patterns
Pattern
Problem
Solution
Over-engineering
Complexity before need
Start simple
Too many capabilities
Model confusion
3-5 to start
Rigid workflows
Can't adapt
Let model decide
Front-loaded knowledge
Context bloat
Load on-demand
Micromanagement
Undercuts intelligence
Trust the model
Resources
Philosophy & Theory
:
references/agent-philosophy.md
- Deep dive into why agents work
Implementation
:
references/minimal-agent.py
- Complete working agent (~80 lines)
references/tool-templates.py
- Capability definitions
references/subagent-pattern.py
- Context isolation
Scaffolding
:
scripts/init_agent.py
- Generate new agent projects
The Agent Mindset
From
"How do I make the system do X?"
To
"How do I enable the model to do X?"
From
"What's the workflow for this task?"
To
"What capabilities would help accomplish this?"
The best agent code is almost boring. Simple loops. Clear capabilities. Clean context. The magic isn't in the code.
Give the model capabilities and knowledge. Trust it to figure out the rest.