# Leonardo Costa — AI Engineer | Python, LLM Agents, Django

> AI engineer with 4 years of backend experience: LLM agents, RAG and MCP in Python, on top of Django REST APIs and PostgreSQL. Also does Vue.js and Next.js when projects need it.

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

## About Me

I'm an AI engineer with **4 years** of backend experience, focused on **Python**, **Django REST** and **PostgreSQL**. I build LLM-powered systems — AI agents, RAG and MCP servers — and the APIs, integrations and async queues around them, and I also have hands-on experience with Vue.js on the frontend.

## Quick facts

- Status: Available for new projects
- Timezone: UTC-3 · Rio de Janeiro / RJ
- Languages: PT-BR · EN-US
- Open to: freelance + full-time
- Response time: under 24h

## Stack and technologies

Django REST Framework, Django, Docker, Next.js, Python, Nuxt.js, Celery, Bootstrap, PostgreSQL, Flutter, Astro, LlamaIndex, Model Context Protocol (MCP), RAG, AI Agents, OpenAI API, Anthropic API, RabbitMQ, Redis, TypeScript, Grafana, Tailwind CSS

## 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.

## Featured projects

- [Altaris Love](https://leonardocosta.dev/en-us/projects/altaris-love.md): Custom wedding website builder—create yours in minutes: gifts via PIX and credit card, online RSVP, photo gallery, and a visual editor that shows everything in real time.
- [VARtura](https://leonardocosta.dev/en-us/projects/vartura.md): AI-powered auditing platform for Brazilian electricity bills. Customers upload the invoice PDF; the platform extracts the data, checks tariff, flag surcharge, taxes and solar credits against the utility's rules, and returns a report with the recoverable amount.
- [Customer Resolve](https://leonardocosta.dev/en-us/projects/customer-resolve.md): Customer app for Resolve Energia Solar clients to track their solar installation — stages, documents and deadlines.
- [FBG-PA](https://leonardocosta.dev/en-us/projects/fbg-pa.md): Institutional website for the Pará chapter of the Brazilian Federation of Gastroenterology.
- [ZooUnama](https://leonardocosta.dev/en-us/projects/zoounama.md): Promotional site for the UNAMA zoo. Beyond showcasing the animals, it raises awareness about rescues from abuse and helps gather donations to keep the work going.

[All projects](https://leonardocosta.dev/en-us/projects.md)

## Testimonials

> I'm pleased to strongly recommend Leonardo. During the time he was my student, I was able to closely observe his commitment, dedication, and high technical level. Leonardo consistently demonstrated remarkable expertise in Django development, applying programming best practices and efficient architectures in his projects. Additionally, his advanced mastery of Git and GitHub showed a strong code versioning capability, collaborating in an organized and strategic manner in team projects. Another highlight was his strong sense of leadership. He not only delivered quality solutions but also helped colleagues, fostering a collaborative and productive environment. His interpersonal skills are excellent, standing out for clear and objective communication, which reinforces his ability to work efficiently in teams. For all these reasons, I believe Leonardo will be a great asset to any technology team. His combination of technical and soft skills makes him a distinguished professional, ready for market challenges.
>
> — Samara Souza — Professor, University of Amazon

> Léo is an outstanding guy! He delivers with quality and determination. He is always willing to help and share his point of view. He possesses strong self-management skills and a results-oriented mindset. Leading projects with him was an extremely rewarding experience.
>
> — Breno Moura — Head of Finance & Operations, FebraCIS Pará

> I had the privilege of being Leonardo's professor, and throughout that period, he always stood out as a committed, dedicated, and highly competent student. His passion for learning and constant pursuit of technical improvement is remarkable. I also had the opportunity to see him in action on a practical project, where he demonstrated not only deep technical knowledge but also exceptional interpersonal skills. Leonardo is an excellent programmer with impressive command of frameworks like Django and a strong focus on web development. His ability to solve complex problems efficiently and creatively, combined with technical rigor, makes him a complete professional. He works with agile methodologies, knows development best practices, and follows a test-driven approach, ensuring his solutions are robust and scalable. Beyond his technical skills, Leonardo possesses a set of soft skills that make him a true asset to any team. He is collaborative, always willing to share knowledge and help colleagues, whether offering technical support or acting as a mentor. His communication skills and empathy help him lead naturally, being an excellent facilitator during technical discussions or conflict resolution. I recommend Leonardo without reservation for any position in software development. He will certainly be a valuable addition to any team or project.
>
> — Márcia Pantoja — Professor, University of Amazon

> Leonardo Costa was an excellent student. His consistent attendance and active participation in classes were fundamental to his development as a systems analyst. In addition, Leonardo demonstrated strong leadership skills, as he served as the leader of his class. I wish him great success in his professional career!
>
> — Alan Marcel Souza — Professor, University of Amazon

> I had the opportunity to work with Leonardo at Resolve Energia Solar during a period of accelerated company growth. With many challenges, processes to be defined, and multiple projects underway, it was essential to have proactive and committed people. Leo consistently proved himself to be a highly collaborative professional, actively participating in problem-solving and encouraging continuous improvement. His approach is user-centered, always seeking the best possible experience, while demonstrating excellent teamwork. In summary, Leonardo is a consistent, creative, and strategic professional. His communication is assertive and clear, directly contributing to the delivery of high-quality products and the growth of both the team and the company.
>
> — Max Oliveira — Tech Lead, Resolve Energia Solar

> Leonardo is a professional with deep command of his field. He handles every delivery with care and a quick eye for solutions. Mastery and focus are rare virtues, and Leonardo has the full capacity to take on any demand within his area of development — he knows current languages and technologies, and on top of that he has command of tools that raise the value of what he ships, plus the trust you can place in the person he is. I strongly recommend him for any technology project; he will add real value.
>
> — Afonso Alves — IT Manager, FebraCIS Pará

> I want to recommend Leonardo as an excellent professional and, more than that, as an incredible person to work with. He is very competent, always committed to what he does, and has a way of dealing with challenges that inspires confidence. What I admire most about him is how he's always willing to help and share what he knows, which makes all the difference in the team's daily routine. Beyond his technical skills, Leonardo has a very positive and collaborative attitude, which makes the work environment lighter and more productive. I'm sure he can add great value to any project or team lucky enough to have him.
>
> — Thiago Menezes — Software Developer, Resolve Energia Solar

> It is with great satisfaction that I recommend Leonardo Costa. I had the opportunity to work alongside him for a year at Resolve Energia Solar, where he worked as a Junior Software Engineer. What impressed me about Leonardo from the beginning was his dedication and passion for web development. Even as an early-career professional, he already demonstrated solid knowledge in Django and an enormous desire to learn and grow. I remember how dedicated he was to developing the payment request module. He not only focused on delivering functional code but also on creating a solution that was intuitive and easy to use for clients. His commitment to seeking best practices and ensuring the quality of his work was evident. Beyond his technical skills, Leonardo is an incredible colleague. Always willing to collaborate, share his knowledge, and help the team, with a smile on his face and a positive attitude that was contagious to everyone. I'm certain that Leonardo has a bright future ahead and will be an asset to any team lucky enough to have him. I recommend him without hesitation!
>
> — Henrique Marques — Software Engineer, Resolve Energia Solar

> Great developer, especially when working in a team, super dedicated to his work. I worked with Leonardo during our internship and since then he has shown himself to be a very easy person to work with and highly competent. He has a quick learning ability that makes it easier for him to deal with future problems and tasks in his work. An excellent professional, always willing to improve in his career.
>
> — Kevin Sarges — Systems Analyst, Ser Educacional Group

## Contact

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