Leonardo Barretti
AI / LLM Engineer

Leonardo Barretti

AI / LLM Engineer — Production LLM Systems

I design and build production-grade AI systems — multi-agent pipelines, RAG, and self-correcting workflows with real observability and cost control. 15+ years as a Business Systems Analyst before transitioning into applied AI.

Online
>Multi-Agent Systems
>RAG & Vector Search
>Production LLM Systems
>Finance & Trading Tech

Featured Projects

1.About Me

I'm an AI Engineer with an unusual background: 15+ years as a Business Systems Analyst in Brazilian enterprises — XP Investimentos, Petrobras, Accenture — followed by a deliberate transition into applied AI.

That long detour through requirements gathering, stakeholder communication and project delivery shapes how I build today: I'm wary of LLM hallucinations in numeric outputs (so I designed deterministic risk scoring in AuditChain), I instrument systems to know exactly what each agent costs and how long it takes (custom observability across all 4 portfolio projects), and I test changes against curated eval sets instead of vibes.

I care about reliability, cost per inference, and being honest about what's measured versus what's assumed.

Open to opportunities in AI Engineering.

LocationBrazil
SpecializationAI / LLM Engineering
EducationMBA Project Mgmt (FGV) + B.Sc. IT
Direct Channellbarretti@gmail.com

2.Tech Stack

Languages & APIs
PythonSQLTypeScriptREST APIsSSEasync/await
Backend & Data
FastAPIPostgreSQLTimescaleDBCeleryRedisPydantic
AI / LLM
LangGraphLangChainRAGMulti-AgentOpenAIAnthropic
Machine Learning
PyTorchHuggingFacepgvectorLLM EvalNLPPrompt Eng.
Cloud & Infra
GCP Vertex AIDockerCI/CDNginxVPSGitHub Actions
Practices
System DesignpytestObservabilityCost Opt.AgileDocumentation

Other Projects

RAG Systems

Retrieval-augmented generation pipelines with pgvector, citations, and streaming responses.

LangChain • pgvector • OpenAI
Coming soon

Doc Pipelines

Document-processing pipelines with LLM extraction, classification, and structured output.

FastAPI • Pydantic • Gemini
Coming soon

Workflow Automation

AI-driven workflow automation for international clients — requirements to deployed products.

Python • LangGraph • Docker
Coming soon