Independent researcher. From-scratch machine learning, and open tooling for the Brazilian financial system.
Every repository below is public, runs offline where it can, and states what it does not prove.
PersonaCore — one question, twice. The prompt token ids are identical both times; only the 331,776 adapter parameters were switched off in between. Memory in the weights, not in a prompt or a database.
| Project | What it is | Proof you can run |
|---|---|---|
| PersonaCore | A from-scratch 13.9M-parameter GPT — tokenizer, decoder, training loop, LoRA and EWC all hand-written in PyTorch — where personalization lives in the weights, not a database. Includes an adversarial privacy audit of what LoRA memory reveals under black-box attack, and a selective-erasure attempt whose failure is published in full. | make demo → streaming story demo on a laptop CPU. Slim checkpoint: m1-demo-v1 |
| tensorforge | A deep learning framework from scratch: scalar autograd, NumPy tensors, Transformer primitives, full training loop. A real, already-trained GPT checkpoint was retrained on it and the numbers match PyTorch forward and backward — not a reimplementation validated against itself. | Parity tests against PyTorch |
| personacore-np | Inference engine for the same 13.9M GPT in pure NumPy, with optional MLX on Apple GPU. No PyTorch at serve time. | make infer → downloads the public checkpoint and runs the parity suite |
| Project | What it is | Status |
|---|---|---|
| brazilfi | Unified Python SDK for Brazilian financial-market APIs: Bacen, IBGE and Tesouro Direto behind one library, one API. | |
| rfbcalc | Typed Python client for Receita Federal's official CBS/IBS consumption-tax calculator. Wraps the government engine; invents no tax rules. | |
| pix-billing | PIX-native billing API for LatAm SaaS: subscriptions, dunning, signed webhooks, valid BR-Code QR payloads. Async, type-safe, FastAPI. | Sandbox mode · MIT |
| autonomous-hedge-fund | Multi-agent LLM trading research on emerging markets, extending TradingAgents with a Macro Economist agent. Ships BrazilBench: offline classical baselines on frozen B3 splits. | make bench — no API key, no LLM · Apache-2.0 |
- atena-lang — a teaching language with no punctuation noise that transpiles to real Python 3, for people who have never programmed. atena-lang.org
Zero-budget, on-device, reproducible: fixed seeds, pre-registered gates, and negative results published alongside the positive ones.



