// principal / staff software engineer & software architect
Backend Platforms for Financial & Mission-Critical Systems · Distributed Systems & AI-Integrated Applications
20+ years building backend platforms in mission-critical, regulated domains. Currently architecting a multi-country compliance platform running in 25 countries with 10+ regulatory regimes in production, where an error in the tax calculation engine is a compliance failure, not a bug report. Based in Brazil (UTC-3).
// about
I'm a Principal/Staff-level engineer and hands-on architect of backend platforms for mission-critical, regulated domains. Over 20 years that has meant trading and market-data systems, payment authorization, financial middle-office, and for the last decade a multi-country compliance platform at Oracle. My specialty is designing platforms that have to be correct before they're fast: correctness, traceability, and operational reliability matter more than raw throughput.
I own the architectural direction of that platform — 25 countries across LATAM, EMEA, and Asia, 10+ regulatory regimes in production, an estimated 3.9+ million transactions per day in aggregate. API standardization and modular refactoring delivered a 50% gain in transaction-processing performance and cut critical incidents by 40%.
That platform is a modular monolith, one installation per site. Beyond that model I build in the direction I want to keep growing into — distributed, event-driven, cloud-based, and AI-integrated systems — as personal, open-source projects, with the same discipline: ADRs for every decision, measured deltas instead of arguments, audits that stay in the repo even when they found something.
// technology
// projects
A multi-step research assistant for Brazil's consumption tax reform, built as a
5-node LangGraph state graph — Planner → Researcher → Critic → Evaluator →
Report Generator — checkpointed in PostgreSQL, so a pause for human review
survives a process restart instead of losing the run. The Evaluator aggregates
per-sub-answer confidence and forces human review below threshold; sources that
disagree are flagged rather than silently resolved. Retrieval runs on pgvector;
ingestion, hashing, and versioning run as a separate Go service; every run
writes an audit trail. An LLMPort adapter swaps local Llama 3.1 8B
for a hosted provider without touching the graph. 7 ADRs, OpenTelemetry spans
per node. Apache-2.0, early development; a hosted demo is available on request.
A RAG pipeline that classifies Brazilian products into 8-digit NCM fiscal codes, grounded on the official TIPI table. Built eval-first: every architectural change is gated by a measured eval delta across accuracy, calibration, latency, and cost, including the changes that did not work. Current numbers: 71.7% top-1 and 75.7% top-3 on a 350-case evaluation set, ~2.1s median latency, R$0.000221 per classification — about 450x under the project's own cost budget. A deterministic verification gate, not a second LLM call, catches invalid output before it reaches the caller. Replacing a misleading confidence metric with a Platt-scaled top1–top2 margin brought calibration error to 0.031 cross-validated. An OWASP Top 10 for LLM Applications audit found and fixed two unauthenticated crash bugs, tested prompt-injection scenarios and confirmed resistance via structural output whitelisting, and left a 19-test permanent regression suite. 23 ADRs in the repo.
A polyglot, event-driven e-commerce system built in Go, Spring Boot, FastAPI, and SvelteKit, each used where it fits the workload. Every cross-service interaction flows through RabbitMQ topic exchanges; the Outbox Pattern guarantees an event is never silently lost; event contracts are validated against versioned JSON Schemas so producer/consumer drift is caught automatically. The 42-ADR decision log records real bugs found by running the tests, not by inspection. Two decisions are backed by measurement: a benchmark settled RabbitMQ over Kafka (~1,199 vs. ~84 msg/s under the same publish-confirm pattern), and circuit-breaker worst-case exposure — measured against a real paused container — was cut from 150s to 25s. Distributed tracing on OpenTelemetry/Jaeger spans all 8 services: a single login produces a trace across 6 services and 13 spans.
A full-stack condominium administration platform, with ASP.NET Core 8 (REST +
GraphQL via HotChocolate) on the backend, React 19 + TypeScript PWA on the
frontend, PostgreSQL behind EF Core. It demonstrates my primary .NET application
stack end to end. The same Docker image deploys unmodified to Azure Container
Apps or AWS ECS/Fargate through two independent Terraform modules, torn down and
rebuilt from terraform apply alone to prove it. Real-time
notifications run over native WebSockets by default, with zero AWS runtime
dependency. An OWASP ZAP baseline scan against both the REST and GraphQL
surfaces returned no findings above medium risk.
Also public: ai-fiscal-rag — an email agent over a real Gmail inbox, intent-guardrailed and confidence-gated — and dealapp — a serverless PWA with multimodal AI deal publishing and transactional coupon redemption.
// what I think about
Fiscal regulation and AI is a narrow intersection with very few engineers who've operated in both.
LLMs fail at fiscal classification out of the box: they hallucinate plausible-looking codes, can't express calibrated confidence, and leave no audit trail. The interesting engineering problem is the layer between the raw model and a regulated production environment: retrieval grounding, verification, structured output, confidence scoring, and human-in-the-loop design.
That's the problem both AI repos above are working on, from different
directions — ncm-classifier-ai on measurement and calibration,
deciding when the system is allowed to answer at all; tax-research-copilot
on multi-step orchestration, where the question has to be decomposed, the
answer criticized, and a human kept in the loop with an audit trail behind it.
Treating AI as an engineering discipline, not a demo.
Deep experience in regulated environments — financial transactions, market data, fiscal systems, LGPD — is a domain advantage, not my specialty. The specialty is the architecture underneath.
// experience
Architectural authority for a multi-country compliance platform spanning 25 countries and 10+ regulatory regimes — reviewing critical design decisions and staying hands-on in core backend components. The multi-country core cut new-country rollout time from 6 to 3 months. Set design-review and code-review standards for the LATAM team, with no hierarchical authority over it, and mentored engineers and interns on that team; also work ad hoc with two EMEA teams on cross-country architecture. Led a full redesign of an 8-year legacy fiscal interface into modular JavaScript, driven by Brazil's tax reform, with production rollout in Brazil in 3 months and native support for Windows, Linux, and Android — including proving, on my own initiative, that country-specific .NET logic can run on Android against the JavaScript core via an embedded V8 engine. Delivered LGPD data-privacy controls in the .NET core and built 540+ automated unit tests enforced in the release pipeline.
Led the architectural transformation of Brazil's fiscal system, from a legacy codebase into the foundation of today's multi-country platform, in a highly regulated environment. The current country implementations were derived from this codebase and now support 25 countries. Built the platform's original .NET Framework core from scratch, in production 8+ years, and the LATAM team's internal Jenkins release platform (self-service releases, automated daily builds).
Modernized a C++/MongoDB payment-authorization platform on Linux, building card-number parsing across multiple health-insurance-plan formats, and refactored critical financial-transaction flows.
Led and grew a 9-engineer team delivering financial software, and introduced PMP-based delivery governance — visibility, prioritization, and quality gates.
Restructured middle-office financial systems and standardized integration interfaces across heterogeneous legacy platforms, integrating C++, VB6, and VB.NET stacks.
Designed multiplatform (Linux/Windows) market-data integration middleware, achieving interoperability between C++ and Java. Architected a Y-pattern integration — retrieving data simultaneously from the legacy and the new system — to validate edge cases before onboarding new market-data ticket groups, completing the full migration in about 3 weeks. (Senior Development Analyst, Feb 2007 – Feb 2010: high-performance order-routing components supporting direct market access for the Broadcast OMS.)
// education & certifications
// contact
This site is a walkthrough of how I approach engineering: eval-first AI, event-driven systems, fiscal platforms at scale. If you've read through the projects above and want to dig into a design decision, a trade-off, or the reasoning behind any of it, I'm happy to talk it through.
Reach out if you'd like to discuss the portfolio, compare notes on architecture, or exchange ideas on fiscal systems and AI.