Agent design
What agents are, workflow patterns, the loop, tool design, memory, frameworks, oversight and failure modes.
13 skills · 4 stages each
Skills
- What makes an agentFor engineersStart hereA model that chooses tool calls, a loop that feeds results back, and an environment it can read and changeneeds: Tool (function) calling110 questions
- Workflow or agent?For engineersFixed code paths with LLM steps versus autonomous loops, what each costs, and how to pick the simplest design that worksneeds: What makes an agent110 questions
- Workflow patternsFor engineersPrompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer, and how to combine themneeds: What makes an agent110 questions
- The agent loopFor engineersThe reason-act-observe cycle, stopping conditions, step and token budgets, and context management across turnsneeds: What makes an agent110 questions
- Designing tools for agentsFor engineersTool names, descriptions, schemas, errors, compact outputs, side effects and testing tools with real agent runsneeds: What makes an agent110 questions
- Agent memoryFor engineersWorking memory in context, long-term stores, file-based notes, what to remember, and memories that go stale or get poisonedneeds: What makes an agent110 questions
- Agent SDKs and frameworksFor engineersClaude Agent SDK, OpenAI Agents SDK, LangGraph, smolagents and Google ADK: when one helps, lock-in, and plain-code loopsneeds: The agent loop110 questions
- Human in the loopFor engineersApproval gates, pause and resume, escalation, oversight that is not rubber-stamped, and undo with audit trailsneeds: What makes an agent110 questions
- Agent failure modesFor engineersLoops, goal drift, tool misuse, false success, injected hijacks and reward hacking, and how to detect each in tracesneeds: The agent loop110 questions
- Planning and re-planningFor engineersWriting plans an agent can follow, splitting work into checkable steps, tracking progress honestly and recovering when a step failsneeds: The agent loop110 questions
- Writing agent system promptsFor engineersInstructions for agents that run many turns: heuristics at the right altitude, tool guidance, eagerness, final reports and testing changesneeds: What makes an agent110 questions
- Debugging agent runsFor engineersReading transcripts and traces, finding the first wrong step, fixing the right layer and turning failures into regression casesneeds: The agent loop110 questions
- Code execution as an agent's actionFor engineersAgents that write and run code instead of one tool call per turn: programmatic tool calling, code mode, sandboxes and risksneeds: Designing tools for agents110 questions
Scenarios using this domain
Where to study
- MemGPT: Towards LLMs as Operating Systems (opens in a new tab)PaperFree
The paper that frames context as fast memory and external stores as slow memory the model pages in and out.
- Memory tool (Claude API docs) (opens in a new tab)DocsFree
How a directory-backed memory tool works: view, create and edit commands, and security notes on path handling.
- Memory overview (LangChain docs) (opens in a new tab)DocsFree
Short-term versus long-term memory, and semantic, episodic and procedural memory types, with write timing.
- Effective harnesses for long-running agents (Anthropic) (opens in a new tab)ArticleFree
A worked case of progress files and git history carrying work across fresh agent sessions.
- Effective context engineering for AI agents (Anthropic) (opens in a new tab)ArticleFree
Why context is a limited resource, with compaction, structured note-taking and just-in-time retrieval.
- OWASP Top 10 for LLM Applications (opens in a new tab)StandardFree
Names prompt injection and sensitive information disclosure, the two risks that memory stores amplify.
- Agent SDK overview (Claude docs) (opens in a new tab)DocsFree
The built-in tools, sessions, hooks and subagents of Anthropic's agent SDK.
- OpenAI Agents SDK (opens in a new tab)DocsFree
Agents, handoffs, guardrails and tracing as the SDK defines them.
- LangGraph overview (opens in a new tab)DocsFree
Graph-based orchestration with durable state, checkpoints and human-in-the-loop.
- smolagents documentation (Hugging Face) (opens in a new tab)DocsFree
A small library where agents write code actions, with many model back ends.
- Building effective agents (Anthropic) (opens in a new tab)ArticleFree
Advice to start with plain API calls and warns that frameworks can hide prompts and responses.
- OpenAI API reference (opens in a new tab)DocsFree
The raw request and response shapes you call when you skip a framework.