Track 09 · Agents
9.1 Agent Fundamentals
62 topics in 8 parts. Use it as a checklist before an interview, or as a map of what to learn next.
- CCritical
- HHigh
- MMedium
- NNew 2026
01REST API Design8 topics
- RESTful principles: stateless, uniform interfaceC
- HTTP methods: GET, POST, PUT, PATCH, DELETEC
- OpenAPI/Swagger specification: auto-generate docsH
- Versioning: URL path (/v1/), header-basedH
- Pagination: cursor-based vs offsetH
- Filtering & sorting: query parametersH
- Status codes & structured error handlingC
- FastAPI: path params, dependency injection, Pydantic modelsC
02LLM API Integration8 topics
- OpenAI Python SDK: chat completions, streamingC
- Anthropic SDK: messages API, tool use, prefillC
- Google AI (Gemini) API: multimodal inputsH
- Streaming responses via SSE (Server-Sent Events)C
- Token usage tracking & cost calculationC
- Rate limit handling: 429 detection, backoffC
- Retry logic: exponential backoff with jitterC
- LiteLLM: single API for 100+ providersN
03Async & Webhooks7 topics
- async/await in Python: event loop, coroutinesC
- FastAPI async endpoints: async def route handlersC
- asyncio.gather for parallel LLM callsC
- Webhook design: signature verification, idempotencyH
- Event-driven architecture: producer/consumerH
- Message queues: Celery (Redis), RQ, RabbitMQH
- Background tasks in FastAPIH
04API Gateway & Orchestration7 topics
- LangChain: chains, LCEL (LangChain Expression Language)H
- LlamaIndex: pipelines, query enginesH
- LiteLLM gateway: fallbacks, load balancing, cost trackingN
- Request caching: exact match (Redis) + semantic cacheH
- Cost tracking per user/feature/modelH
- Budget controls: per-session token limitsH
- Multi-model routing: route by complexity/costH
05Agentic Patterns9 topics
- ReAct: Thought → Action → Observation loopC
- Plan-and-Execute: upfront planning then execute stepsH
- MRKL: modular routing to different tools/expertsH
- Tool-use & function calling (Anthropic/OpenAI API)C
- Self-reflection & critique loopsH
- Parallel agents: fan-out → fan-in patternH
- Sequential agents: chain handoffsH
- Tree of Thought: explore multiple branchesH
- MCTS for agent planning: Monte Carlo Tree Search, lookahead searchM
06Multi-Agent Frameworks8 topics
- LangGraph: StateGraph, nodes, conditional edges, supervisorC
- LangGraph checkpointing: MemorySaver → PostgresSaverC
- LangGraph human-in-the-loop: interrupt_beforeH
- AutoGen / AG2: multi-agent conversation frameworkH
- CrewAI: role-based agents, task delegationH
- OpenAI Assistants API: threads, runs, toolsH
- Multi-agent patterns: orchestrator/worker (hierarchical), peer (collaborative), blackboard (shared state)H
- A2A Protocol (Google, Linux Foundation Jun 2025): agent-to-agentN
07Production Agentic Systems9 topics
- State management & persistence: Redis, PostgreSQLC
- Max iterations + loop detection (hash tool+input)C
- Circuit breaker: step counter, hard stop in supervisorC
- Error recovery & fallbacks: retry, degrade gracefullyH
- Agent observability & tracing: LangSmith, ArizeH
- Human-in-the-loop checkpoints for risky actionsH
- Policy engine: authorize tool calls before executionH
- Sandboxed code execution: container isolationC
- Agent failure modes: infinite loops, hallucinated tool calls, state corruptionC
08Agent Memory & Context6 topics
- In-context memory: conversation history in promptC
- External vector memory: store + retrieve past turnsH
- Episodic memory: structured records in SQL/NoSQLH
- Working memory: active task state in RedisH
- Context compression: summarize old turnsH
- Memory retrieval: semantic search over past interactionsH
Practise it
Knowing it is half.
Saying it is the rest.
Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.