An agent you'd trust in production
An agent that does a real multi-step job through tools (for example, triaging issues against a small API you write), operated like a service: evals in CI, safe retries, a cost budget and a security review.
Why it matters: Demos of agents are easy; agents that don't break, double-charge or leak data are what senior roles are hired for. This project gives you concrete answers about reliability, evaluation and security.
Milestones
0/6- Design the tools
Done when: Three to five tools with typed schemas, clear descriptions and useful error messages, each with unit tests against your mock API.
- The loop and its context
Done when: The agent completes a set of scripted tasks with a step limit; every step is traced; long histories are trimmed or summarized on purpose.
- Evals that block a bad change
Done when: A task suite graded on the end state and on the trajectory, run several times per task, and wired into CI so a regression fails the build.
- Safe under failure
Done when: Tools with side effects take idempotency keys; retries use backoff; destructive actions wait for human approval; a crash mid-task resumes from the last step.
- A cost and latency budget
Done when: You know the cost and latency per task, set a budget, and cut it with routing or caching. You report the before and after on the same suite.
- Security review
Done when: Each tool gets the narrowest permissions; you wrote down where private data, untrusted input and outbound actions meet, and tested an injection that arrives through a tool result.
What you hand in 2
- A repository with the agent, the mock API, the eval suite and the CI job.
- A one-page runbook: budgets, alerts, what to do when a tool is down.
How to tell it in an interview
Lead with the failure modes you designed for (double actions, loops, injected instructions) and how your evals proved each fix. That is the difference between 'I built an agent' and 'I can own one in production'.
If you want to go further 2
- Expose your tools through an MCP server and use them from another client.
- Compare a single agent with an orchestrator and workers on the same suite: quality, cost, latency.