Software Engineering • Distributed Systems

Open to senior opportunities

Patrick Campelo Serrano

Fast, minimalist & resilient systems

Hi! I'm Patrick Campelo Serrano, Senior Clojure Software Engineer. I design and ship event-driven, minimalist, and fast systems.

Featured Projects

Selected engines and systems under my authorship.

View all projects →

AI Factory

Private AI Platform — Chat with the Company's Documents

The company's documents, in a private chat, running on its own infrastructure. The team talks to its own documents, in Portuguese, under the identity it already has — and nothing leaves the building: the content, the identity, and the model stay in-house. Already delivered and in production.

Open WebUIKeycloak / SSOOpenLDAP +4
Explore Case Study →

small-router

Provider-Agnostic Inference Layer for Coding Agents

A provider-agnostic inference layer: one OpenAI-compatible endpoint in front of multiple LLM providers, with routing, fallback, retry, and circuit breaking. Instead of scattering API keys across clients, routing, resilience, and the security boundary all live in a single place.

GoOpenAI-compatible APIPrometheus +2
Explore Case Study →

context-graph-engine (repo-index)

Deterministic Syntactic Indexer & Context Pipeline for Coding Agents

Deterministic context compiler written in pure Go (stdlib-only, zero LLM, zero network). Instead of an agent burning dozens of turns exploring a repository with glob and grep, repo-index extracts facts with exact provenance and packs a stable-prefix envelope — cutting cost by 82%, tool calls by 97%, and pushing prompt cache hit rates to 94–95%.

Go (stdlib-only)Static AST AnalysisClojure & Go Parsers +3
Explore Case Study →

swe-dispatcher

Autonomous Software Engineering Sprint Orchestrator over Worktrees and Heterogeneous Quotas

Local AI Factory orchestrator written in Clojure/Babashka to run entire engineering sprints autonomously and safely. Integrates deterministic Turn-0 context compilation (repo-index), isolated Git worktree chaining, fail-closed TDD gates (Red → Green with physical Locked-Test), and work-conserving scheduling across heterogeneous model quotas.

ClojureBabashkaGit Worktrees +3
Explore Case Study →

Recent Writings

Articles and software engineering updates.

Go to full blog →
18 de novembro de 2026 • 12 min

Do Teleporte ao Corpo Físico na JVM: Física Nativa em 15 Agentes, Combate Balístico, Shaders Relativísticos e um Leak de 5,3 GB no Netty

Como evoluímos o craft-agents em duas semanas intensas (mais de 400 commits e 615 testes): da auditoria arquitetural que eliminou teleportes sintéticos com um árbitro único de atuadores (npc.body) e física no ServerThread (STEP), passando por sniper balístico com mira preditiva, autodefesa de assento e um motor de shaders analíticos com Buraco Negro e efemérides orbitais — até a caça ao vivo de um vazamento de memória direta no Netty.

Read Article →

Density by Repository

Commits authored by me in each repository, across all three forges.

dev-machinedev-machine: 394 commits (ativo)39413/10/2026ark-streamsark-streams: 351 commits (ativo)35126/07/2026pinhapinha: 312 commits (ativo)31213/10/2026TechSentryTechSentry: 273 commits (ativo)27314/10/2026RohanaRohana: 103 commits (ativo)10314/10/2026ark-terminalark-terminal: 101 commits (ativo)10111/07/2026small-routersmall-router: 101 commits (recente)10122/09/2026nexus-quantitative.github.ionexus-quantitative.github.io: 63 commits (recente)6326/09/2026patrickcmserrano.github.iopatrickcmserrano.github.io: 58 commits (ativo)5814/10/2026ark-engineark-engine: 32 commits (ativo)3213/10/2026resumeresume: 32 commits (ativo)3208/10/2026context-graph-enginecontext-graph-engine: 24 commits (recente)2411/09/2026blackholeblackhole: 22 commits (recente)2231/08/2026ark-protocolark-protocol: 19 commits (ativo)1909/07/2026qwen-settingsqwen-settings: 8 commits (recente)829/09/2026bitget-gobitget-go: 7 commits (ativo)709/07/2026ark-indicatorsark-indicators: 5 commits (ativo)509/07/2026political-evidencepolitical-evidence: 1 commits (recente)127/09/2026
Commits de Patrick Serrano por repositório, entre as três forjas. Contagem absoluta; a barra é proporcional ao maior valor (dev-machine, 394). Dados de 14/10/2026.

© 2026 Patrick Campelo Serrano. © 2026 Patrick Campelo Serrano. All rights reserved.

Desenvolvido com SvelteKit SSG & Tailwind CSS (copilotado pelo Gemini 3.5 Flash AGY).