# About — Leonardo Costa, AI Engineer (Python, Django)

> Get to know Leonardo Costa: an AI engineer with 4 years of backend experience in Python, Django REST, PostgreSQL, LLM agents, RAG, MCP and service-oriented architecture.

- URL: https://leonardocosta.dev/en-us/about
- Language: en-US
- Portuguese version (pt-BR): https://leonardocosta.dev/pt-br/about

I'm **Leonardo Costa**, an AI engineer with a backend background — Python, Django REST, PostgreSQL, LLM agents, RAG and MCP.

I was born in São Gonçalo, Rio de Janeiro, and spent a good chunk of my life in Belém, Pará, where my career in tech started. I had my first contact with a computer at age 3 and never really stopped tinkering since.

In 2022 I enrolled at the **University of Amazonia** for a degree in Systems Analysis and Development and joined its startup incubator as a web developer. I have been shipping real production systems ever since: AI-powered CRMs, ERPs, receivables platforms and invoice auditing tools.

## My Journey

I work mostly with **Django REST** and **PostgreSQL**. It's the stack I know best and where I solve the bulk of my problems: database modeling, APIs, async processing with **Celery** and **RabbitMQ**, caching, external service integrations and AI-driven routines, including LLM pipelines with LlamaIndex over the OpenAI and Anthropic APIs, AI agents, RAG and MCP servers.

On the frontend I've worked with **Vue.js** and **Nuxt.js**, and on a few projects also **React.js** and **Next.js**. On the ops side I've handled Docker, Podman, PostgreSQL tuning on VMs, CI/CD pipelines and a MySQL-to-PostgreSQL migration.

At FEBRACIS Pará I led the technical work on an AI-powered CRM for managing leads and sales, refactored WhatsApp integrations and mentored juniors through code review. I also gave lectures on service-oriented architecture and Django REST for postgrad classes at UNAMA.

## My Values

A few things I take seriously at work:

- **Code that's actually maintainable:** well-named, tested, with decisions written down somewhere.
- **Explained technical decisions:** architecture without rationale becomes debt fast.
- **Mentoring and code review:** giving and getting it — that's where I learn the most.
- **Production time matters:** debugging with real context is what separates a good solution from one that only looks elegant on paper.
- **Honesty about scope:** I'd rather say "this will take a while" now than miss a deadline later.

## What I Do

Day to day, my work centers on:

- **APIs with Django REST Framework** — documented endpoints, pagination, filtering, auth and tests.
- **PostgreSQL modeling and tuning** — indexes, heavy queries, VM-level config.
- **Async processing** with Celery and RabbitMQ for queues, caching and long-running jobs.
- **AI engineering** — LLM pipelines with LlamaIndex, OpenAI and Anthropic, AI agents, RAG and MCP servers.
- **Integrations** with AI, WhatsApp, payment gateways and external services.
- **Frontend** in Vue.js/Nuxt.js or React.js/Next.js, depending on the project's stack.
- **Basic infra**: Docker, Podman, CI/CD and VM setup.

## Professional experience

### Full Stack Consultant — AI Invoice Auditing — Connext Energia & Consultoria

2025-12 → present · Belém - PA

Full stack consultant on VARtura (vartura.com.br), an AI-powered platform that audits Brazilian electricity bills: the customer uploads the invoice PDF, the platform extracts the data with an LLM, checks it against national, state, utility and account-type rules, and returns a report with the recoverable amount.

- Delivered the platform end to end: architecture, backend (Django REST Framework, PostgreSQL), web (Nuxt/Vue.js), a Flutter mobile app, integrations and infrastructure.
- Automated an analysis that was 100% manual with an LLM pipeline on LlamaIndex, OpenAI and Anthropic. It started as a RAG over the applicable rules; after measuring cost and recall in production, I replaced retrieval with deterministic rule injection and prompt caching, in a single model call per report.
- Asynchronous invoice and analysis processing with Celery and Redis; Docker on VMs and S3 object storage; Prometheus, Loki and Grafana dashboards for the AI pipeline and queues; Sentry for error monitoring.
- Running in production with no downtime detected.

Stack: Python, Django REST Framework, PostgreSQL, Celery, Redis, LlamaIndex, OpenAI API, Anthropic API, Nuxt.js/Vue.js, Flutter, Docker, Grafana

### Full Stack Developer — Fintech — Portí Digital

2025-10 → 2026-04 · Belém - PA

Full stack developer on a receivables-anticipation platform for healthcare professionals (Django REST Framework + Next.js), integrated with payment platforms and processing over R$1M (~US$180K) per month.

- Built a digital-product subscription module.
- Unified 4 loose modules into a single system, removing rework and registration divergences (SOLID, Clean Code).
- Migrated 3M+ rows from MySQL to PostgreSQL, tuned the database VM, containerized services with Docker and set up CI/CD pipelines.
- Worked across backend, frontend and infrastructure from Jira tickets, and helped with requirements and architecture decisions.

Stack: Python, Django REST Framework, Next.js, PostgreSQL, Docker, CI/CD

### Backend Developer — AI-Powered CRM — FebraCIS

2025-07 → 2026-03 · Belém

Backend developer on an AI-powered CRM handling ~2,000 leads per month for ~40 active users across several units of the group. Defined its service-oriented architecture, with asynchronous queues (Celery/RabbitMQ) and caching, and integrated AI agents (LlamaIndex), WhatsApp and external APIs.

- Cut API p95 latency from 1.2 s to 300 ms through asynchronous processing, caching and PostgreSQL tuning (indexing, query refinement), monitoring integration health in Grafana.
- Delivered core modules: WhatsApp chat, accounts receivable, academic classes and a generalization module using Django Content Types; also a Flutter attendance app with QR codes.
- Mentored 2 junior developers and ran systematic code reviews.

Stack: Python, Django REST Framework, PostgreSQL, Celery, RabbitMQ, LlamaIndex, Next.js, Flutter

### Mid-level Backend Developer — Resolve Energia Solar

2025-04 → 2025-08 · Belém - PA

Stabilized production systems (ERP modules, process automation and 2 mobile apps for customers and service providers), cutting endpoint latency from up to 10 seconds to under 1 ms through query refactoring and caching. Standardized code review, unit tests and CI/CD, and mentored junior developers through pair programming.

Stack: Python, Django REST Framework, MySQL, CI/CD

### Junior Backend Developer — Resolve Energia Solar

2024-01 → 2025-03 · Ananindeua - PA

Built and maintained internal systems (process automation, ERP modules and mobile apps) in Python and Django REST Framework; implemented features and fixes following coding, testing and security standards; took part in code reviews, wrote unit tests, and worked with product and design to turn requirements into technical solutions. Promoted to Mid-level in April 2025.

### Team Leader — Ser Educacional Group

2024-01 → 2024-10 · Belém - PA

Led the developer team in the group's startup incubator (Academia V3L0Z, UNAMA): set deadlines, assigned work and ran stakeholder meetings.

### Web Developer (Intern) — Ser Educacional Group

2022-10 → 2023-12 · Belém

Delivered web projects in the group's startup incubator (Academia V3L0Z, UNAMA) in Python and Django, including the ZooUnama website and the FBG-PA website (Brazilian Federation of Gastroenterology, Pará chapter).

## Education

### Specialization in Cloud Computing Projects — Descomplica Faculdade Digital

2026-03 → present

Specialization in Cloud Computing projects: distributed systems architecture, infrastructure as code, managed services, scalability, cost and observability in the cloud. The next layer of my backend work — now looking at the infra that holds the systems up.

### Postgraduate Degree in Software Engineering — Descomplica Faculdade Digital

2025-02 → 2026-03

Postgrad focused on applied software engineering: architecture, design patterns, automated testing, agile methods (Scrum/Kanban), DevOps, requirements engineering and project management. It's helped me make more deliberate calls when evolving the systems I work on.

### MBA in Information Security — Descomplica Faculdade Digital

2024-02 → 2025-01

MBA focused on protecting data, systems and infrastructure: risk management, vulnerability analysis, security policies, compliance (LGPD, ISO 27001), cryptography, network security and secure development. It complements the backend work, especially when sensitive data is on the line.

### Associate Degree in Systems Analysis and Development — University of Amazonia

2022-02 → 2023-12

The degree where I formalized what I'd been tinkering with on my own. It's where I got structured exposure to database modeling, programming logic, data structures, networking and web development — and where I started getting deep into Django REST.

### Technician — IFPA - Federal Institute of Education, Science and Technology of Pará, Belém Campus

2018-05 → 2021-07

Electronics technician course: installing, assembling and maintaining circuits and embedded systems. I don't work with hardware day to day anymore, but the logical reasoning and the habit of wanting to know how things work came from here.

## Contact

- Email: contact@leonardocosta.dev
- LinkedIn: https://linkedin.com/in/leonrdo-costa/
- GitHub: https://github.com/leon-rdo
