Caio Theodoro Caio Theodoro

I am Caio Theodoro, a Senior AI Engineer: 8 years in software engineering and 3 years building production LLM systems. My work is the infrastructure agents run on — execution harnesses, human review, evaluation and observability, policy guardrails, and the multi-model inference layer underneath. Python and TypeScript, deep on RAG, structured outputs, agentic orchestration, and the token-cost engineering that decides whether an AI feature is economically viable.

What I work on

At TrueFoundry I am a forward-deployed engineer on the AI and MCP gateway — the Kubernetes-and-Kafka layer that routes over a trillion tokens a day for enterprise customers. I am technical owner on three enterprise accounts: production fixes escalated from customers turn into merged gateway patches across Bedrock and Anthropic, and the support automation I built gives P0–P2 tickets a first response in under ten minutes, with a separate-context refuter reviewing every draft before a human sends it.

The piece with the clearest before-and-after: the pipeline behind the 4,500+ model catalog across 27 providers. Rebuilding it with per-provider Postgres advisory locks cut the daily spend from a $300 average to about $10. Alongside it, the retrieval knowledge base the automation answers from — hybrid BM25 plus vector search over 6,925 cited chunks, scoring 31 out of 34 on the golden set against 26 for BM25 alone.

Before TrueFoundry, at Adopt AI, I architected the core agent execution harness — turn and message lifecycle, idempotent claim semantics, replay-safe Temporal orchestration — which every capability the platform shipped ran on: human-in-the-loop review, policies, evals, generative UI. The generative UI architecture for tax and accounting workflows is the piece I am most pleased with: instead of letting the model emit markup each turn, the harness selects from a registry of approved components, which cut dashboard prompts from roughly 15k tokens to 700–2k, and a JSON-Patch delta protocol saved 90% on multi-turn follow-up edits.

Before that

I founded Avenza in February 2021 and ran it as an AI consulting and product studio alongside full-time work: agents, computer vision systems, analytics platforms and automation delivered to outside clients. I directed a 7-engineer team across discovery, solution architecture, delivery and engineering standards, on systems carrying roughly $2.8M USD a year in client revenue. I advise the studio now rather than run it day to day.

Earlier I was a Senior Software Engineer at Acorns, working through a phased Rails-monolith-to-services migration at a consumer fintech serving millions of users — Node services, React, a GraphQL gateway, and the ephemeral per-PR environments that closed a staging/production parity gap. Before that, at MB Labs, cloud-native fintech, education and supply-chain systems on AWS with event-driven pipelines under compliance constraints.

I write down what I measured. Every project on this site comes with the numbers that justified it, including the ones that did not go my way.

Selected projects

Elsewhere