About Me

Patrick Campelo Serrano

Software engineer passionate about solving complex challenges through elegant and creative solutions. My journey is marked by challenging projects that required critical thinking and innovation, especially in developing distributed systems and payment solutions.

I spent seven years at Moleque de Ideias (2018-2025), from a frontend internship to technical leadership in architecture: refactoring the Payment Engine with Polylith, distributed processing with Onyx, data pipelines into Datomic, Pix and credit-card integrations, and robust authentication systems. In July 2025 I left to found Nexus Quant and architect proprietary products — including the Rohana AI engine and the corporate AI infrastructure platform developed for CTNI.

Proprietary Products

Independent engines, platforms, and infrastructures architected and maintained under my ownership.

IA & Agentes

Rohana

Multi-Tenant Conversational AI Agent Engine

Clojure multi-tenant engine for SME AI agents, with physically tenant-isolated RAG (TurboVec/Qdrant), declarative EDN guardrails, Pathom 3 orchestration, and ultra-low-latency Aeron IPC messaging. Designed with fail-closed privacy gates (Presidio) and strict LGPD compliance.

ClojurePathom 3Aeron IPCTurboVecQdrantLGPD by Design
Explore product
Trading Quant & Sistemas

Nexus Quant

Quantitative Trading & High-Frequency Decision Systems

Proprietary market intelligence and automated decision suite: Go real-time parallel order book ingestion (Ark Streams), bitemporal market ledger in Clojure/XTDB ensuring lookahead-bias-free backtesting (Ark Engine), and native desktop console (Ark Terminal in Go + Svelte 5 + Wails v2).

GoClojureXTDBNATS JetStreamSvelte 5Wails v2
Explore product
Infraestrutura & Plataforma Privada

AI Factory & small-router

Private Enterprise AI Platform & Inference Gateway

On-premises enterprise platform for secure document chat with Keycloak SSO and OpenLDAP (in production for CTNI), powered by small-router: a Go provider-agnostic gateway fronting vLLM/Slurm clusters on DGX GPUs and external APIs, featuring declarative routing, auto-failover, and circuit breaking.

GovLLMSlurmKeycloak SSOOpenLDAPFreeBSD Jails
View case study

Professional Experience

Founder & Software Architect

Daelaam / Rohana

2026 - Present

Conception, architecture, and full engineering of Rohana, a multi-tenant Clojure engine for conversational AI agents tailored for SMEs, featuring isolated document RAG, declarative guardrails, and omnichannel connectivity (WhatsApp & Telegram).

Key Achievements:

  • Graph Orchestration with Pathom 3: Every agent capability (intent resolution, vector retrieval, guardrails, LLM) modeled as an independent resolver — executing only the nodes strictly required for each conversation turn.
  • Physical Multi-Tenant Isolation (LGPD by Design): Dedicated vector indexes per tenant (TurboVec in-process via libpython-clj and Qdrant) with fail-closed validation at the store layer, preventing any cross-tenant data leakage.
  • Event Messaging with Aeron IPC: Migrated internal event bus to shared-memory Aeron media driver (IPC), achieving sub-microsecond local messaging latencies.
  • Fail-Closed Privacy Gate & Strict Grounding: PII scrubbing with Presidio pt-BR before inference, and verifiable grounding requiring explicit factual citations from ingested corpora.
  • Zero-Code Declarative Onboarding: Complete tenant configuration via declarative EDN files specifying personas, business hours, and active channels (WhatsApp and Telegram).

AI Infrastructure Engineer & Software Architect

Instituto CTNI (NeoTek Partnership)

2026 - Present

Technical partnership with Ian Fernandez (NeoTek MaaS Industries) architecting and sustaining enterprise AI and agent infrastructure for Instituto CTNI (innovation sector): secure document chat, enterprise access control, and high-performance dedicated GPU inference.

Key Achievements:

  • Go Multi-Provider Inference Router (small-router): Unified OpenAI-compatible gateway fronting local GPU clusters and external providers, featuring declarative routing policies, auto-fallback, exponential backoff retries, and per-provider circuit breaking.
  • On-Demand GPU Serving (vLLM + Slurm): Optimized multi-node DGX Spark tensor-parallel vLLM serving, cutting TTFT from 0.43s to 0.02s (-95%) and eliminating memory thrashing through static per-node placement.
  • Observe/Plan/Act/Verify Agent Pipeline: Multi-role Clojure orchestrator for automated engineering workflows (planner → implementer → test runner → reviewer → release gate) backed by 815 tests and 3,104 assertions.
  • Security, Identity & Tamper-Evident Audit: Keycloak and OpenLDAP corporate SSO integration with strict RBAC; immutable audit trail using cryptographic SHA-256 chained hashes, integrity verification endpoints, and PII redaction.
  • Infrastructure as Code on FreeBSD: Reproducible provisioning with OpenTofu and Ansible across VNET jails, WireGuard meshes, and deny-by-default packet filter (pf) firewalling.

Founder & Quant Developer

Nexus Quant

2025 - Present

Quantitative research and systems development for the Ark algorithmic trading platform: high-frequency order book ingestion, bitemporal ledgering, and execution guided by immutable risk rules.

Key Achievements:

  • Bitemporal Ledger in Clojure & XTDB (Ark Engine): Decoupled valid time from transaction time for market events, providing point-in-time correctness for backtesting without lookahead bias.
  • Sensory Re-architecture to Go (Ark Streams): Migrated multi-exchange parallel order book ingestion (Bitget, OKX, Bybit) to Go over NATS JetStream, cutting memory usage by >70% and achieving ~66µs per 100 candles.
  • Native Desktop Operations Console (Ark Terminal): Built native operations desktop console in Go + Svelte 5 + Wails v2 with ultra-fast Go↔frontend IPC bridge (~1µs latency), streaming order books, aggression, and liquidations in real time.
  • Risk Governance as Code ('NQ-GOV-001 Constitution'): Hard stops in pure BigDecimal for drawdown, max leverage, and stale data, rigorously validated with generative tests (test.check) before any execution path.

Software Developer (Fullstack)

Moleque de Ideias

2018 - 2025

Eight years building payment, e-commerce, real estate, and product catalog management systems — from a frontend internship to technical leadership in architecture. I worked as an intern (2018-2019), junior developer (2019-2021), and fullstack mid-level developer (2021-2025), with a focus on code refactoring, API integration, software architecture, and process automation.

Key Achievements:

  • Payment Gateway Integration (2018-2019): Collaborated on building and integrating a web application for a payment gateway, using ClojureScript and Fulcro. The project involved developing initial interfaces and API integration, providing a functional solution for secure transactions. My participation included supporting route configuration and basic testing, ensuring efficient communication between frontend and backend.
  • Real Estate Platform (fexô) - Initial Phase (2018-2019): Participated in the initial planning and development stages of a web and mobile platform for property advertising, negotiation, buying, and selling, connecting clients to brokers. I contributed basic UI functionalities using ClojureScript, React Native, and tools like Pathom and Datomic.
  • Mobile and Web Application for Real Estate (fexô) (2019-2021): Participated in the development of a mobile application with ClojureScript, Fulcro, and React Native.
  • Retail/E-commerce Startup (2019-2021): Contributed to frontend development (ClojureScript, Fulcro, React), delivering continuous updates.
  • Zougue MPMS (2021-2022): Interface development with Clojure and React, implementing catalog management and item deduplication.
  • Payment Integration (2021-2023): Development and certification of adapters for Pix and credit cards, integrating with Adyen, Cielo, Clearsale, VTEX, Rede services, among others, including QR Code generation for Pix.
  • API Security (2022): Implementation of JWT authentication interceptors for public and private APIs, with a test suite covering the authentication error flows.
  • Payment Engine Modularisation (2023): Led the purge of the legacy platform (zougue, ingá, archaeology prototypes) and the migration of formiguinhas-service namespaces to src/main; refactored the engine to the Polylith architecture.
  • Distributed Processing with Onyx in the Payment Engine (2023-2024): Developed and tested the Onyx + Datomic integration (peer group orchestrated via Summon, job resume-points) for asynchronous tasks, delivered in production.
  • Intelligence Module (2024): Opened the Datomic auto-pipeline line — the autopipeline discovers merchants via the credentials database — with rollout across Getnet, Pagar.me, Rede, ClearSale, MercadoPago, VTEX, and Unico; the line continued as team work after my departure.
  • Frontend and UX (2021-2025): Creation of UI components with Fulcro-RAD and React, improving usability and interface aesthetics.
  • Leaving for Nexus Quant (2025): Left Moleque de Ideias in July 2025 to focus full-time on Nexus Quant, carrying the experience in payments, data, and distributed architecture into my own products.

Technical Skills

Languages & Core

  • Clojure / ClojureScript
  • Java
  • JavaScript / TypeScript
  • Golang
  • Python

Frameworks & Libraries

  • Polylith / Reitit / Pathom
  • Fulcro / Fulcro-RAD
  • React / React Native
  • Reagent / Re-frame
  • Svelte / SvelteKit
  • Malli / Datomic

Infrastructure & Tools

  • AWS / Cognito
  • Docker / Kubernetes
  • RabbitMQ / Kafka
  • Elastic Stack (ELK)
  • Prometheus / Grafana

AI & Agents

  • LLM Serving (vLLM / Slurm)
  • OpenAI-compatible Routing
  • Agentes em Workspaces Isolados
  • Context Envelopes / RAG
  • Evals de Agentes
  • Modelos Locais (Ollama)

Academic Background

Academic Background

Software Engineering

Faculdade Descomplica • 2024 - Present

Bachelor's Degree in Computer Science

Incomplete

Universidade Federal Fluminense • 2022 - 2023

Bachelor's Degree in Physics

Incomplete

Universidade Federal Fluminense • 2015 - 2018

Incomplete, focused on software development for the quantum information laboratory.

Get In Touch

Let's talk about opportunities, interesting projects, or exchange ideas about technology.

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

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