
Tauros
All-in-one Pokémon ROM hack workbench built for agents & verification
Tauros unifies a common semantic model, domain tools exposed over MCP, swappable decompilation connectors, and an embedded mGBA core inside a single Rust + Tauri desktop architecture.
Instead of splitting work across separate map editors, script compilers, and standalone emulators, Tauros designs one closed loop—from intent to build to RAM-verified preview—while keeping Nintendo assets and decomp clones strictly outside the repository.
Project state & architecture
Phase 0 Verified7-Crate Layered Workspace
Enforced downward dependency graph across model, connector-gen3, emu, mgba-sys, mcp, agent-bridge, and app.
Agent -> Build -> Verify -> Preview
Domain MCP tools edit the semantic model behind automatic git snapshots, compile in an offline container, and assert game state from mGBA RAM.
Docker toolchain image built (devkitARM GCC 15.2.0, Poryscript 3.6.1, Porytiles 2.0.0) & base pokeemerald.gba + .sym hashed
Static libmgba 0.10.5 prototype ran 120 frames, read BPEE at 0x080000AC, and passed savestate roundtrip
Static engine limits audited at pokeemerald-expansion 1.16.4 and counterfactual verification spec format designed
Core Architecture
Four pillars behind one unified ROM hack loop
Every layer separates game-agnostic editing logic from concrete decompilation formats and emulator backends.
Common Semantic Model
Defines Trainer, Party, Map, Event, Scene, Species, and Flag once in Rust so upper tools and agents stay portable as connectors expand beyond Gen 3.
Domain MCP & Swappable Agents
Exposes structured operations like create_trainer, place_npc, and run_verification via rmcp over stdio for Claude Code, Codex, Gemini CLI, or an in-app sidecar.
Integrated libmgba Core
Statically links unmodified mGBA 0.10.5 via tauros-mgba-sys for headless frame stepping, framebuffer capture, savestates, and direct RAM probing without Lua glue.
Hardened Docker & Git Snapshots
Compiles projects in an offline, read-only, non-root container (--network none, --cap-drop ALL) while guarding every write with an automatic local git commit.
Interactive Technical Breakdown
Inspect the layers, counterfactuals, and engine limits
Explore the specifications and Phase 0 measurements already verified inside the Tauros repository.
Layer 1 · crates/app
Tauri Desktop Workbench
Unifies the map/scene editors, streaming agent chat, offline voice transcription, change-history undo, and live mGBA preview inside one window.
Layer boundary & rule
Only talks down to the agent bridge, model, and emulator views—never parses raw C or assembly files directly. (Tauri shell scheduled for Phase 2 / 5.)
Current State
Verified in Phase 0 & roadmap ahead
Tauros is built bottom-up with strict verification gates: foundations are tested today while phases 1–6 implement the connectors, UI, and graphics pipeline.
Done (FND-001): 7-crate Rust workspace on Rust 1.94.1 with automated dependency-layer enforcement (tests/test_layers.py).
Done (DEC-002): Static libmgba 0.10.5 build verified with 120-frame ROM boot, BPEE cartridge read, and savestate reload.
Done (FND-002 / G3-007): Hardened Docker GBA toolchain + hashed pokeemerald.gba/.sym pair and static expansion 1.16.4 limit audit.
Planned (Phases 1–6): Lossless Gen 3 connector, rmcp domain tools, multi-vendor agent sidecar, Tauri visual editor, and Porytiles asset pipeline.
Clean-Room & Licensing
Isolation, privacy & community guardrails
Designed from day one to stay clean for open-source distribution and respectful of ROM hacking community rules.
Zero Nintendo assets in git: decomp bases, ROMs, saves, and tools live exclusively under $TAUROS_DATA with pre-commit rejection of .gba files and submodules.
Never pushes upstream: local game projects have remote push URLs disabled so forks never send automated commits to pret or expansion repos.
MPL-2.0 / LGPL-2.1 / BSD-3 ready: static linking of unmodified mGBA 0.10.5 (with blip_buf and inih) is documented for open-source binary compliance.
Honest agent provenance: external content is treated as untrusted data, and open decisions cover explicit AI vs. hand-made asset labeling.
Multi-Gen Roadmap
Gen 3 first, designed for Gen 1–2 and DS
Because upper layers only speak the semantic model, new generations plug in at Layer 4 & Layer 5.
Gen 3 · GBA
pokeemerald-expansion · Porymap · Poryscript · Porytiles
First connector target: C decomp bases with JSON map layouts, Poryscript scenes, and mGBA preview.
Gen 1–2 · GB / GBC
pokered · pokecrystal · .asm macros · Polished Map
Shares the 2D-map abstraction and mGBA's GB/GBC core while adapting connector parsing to assembly macros.
Gen 4 · Nintendo DS
pokeplatinum · pokeheartgold · NARC · melonDS
Per-trainer JSON maps cleanly onto the semantic model; 3D maps and melonDS plug in behind dedicated Layer 4/5 traits.
Credits & Prior Art
Standing on open community research
Tauros reimplements ideas from scratch in Rust with zero copied code while crediting poryrom (MIT) for verification discipline and engine limits, porygon (Apache-2.0) for domain MCP design, and mgba-rs (MIT) for static cmake + bindgen integration patterns.
FAQ
Questions about Tauros
Scope, current development stage, agent compatibility, and licensing boundaries.
Is Tauros already a finished desktop editor?
Not yet—it is currently in active Phase 0/foundation development. The 7-crate Rust workspace, hardened Docker GBA toolchain, static libmgba 0.10.5 prototype, engine-limit audit, and verification spec format are complete; the Tauri UI and connectors are next on the roadmap.
Why build a desktop app instead of a chat-only plugin?
Chat-only agents lack visual context. Tauros pairs domain MCP tools with an integrated mGBA preview, map/tileset editing, and RAM-based verification inside a single workbench.
Which AI coding agents can drive Tauros?
External MCP clients—Claude Code, Codex, Gemini CLI, and Antigravity—can connect over stdio without Tauros handling their credentials. An embedded TypeScript sidecar with a swappable agent bridge is also planned.
Does the repository include any Pokémon ROMs or Nintendo assets?
No. Pre-commit checks block ROMs, saves, and nested repos. Users fetch pinned decomp bases and tools locally under $TAUROS_DATA on their own machine.
Built layer by layer for deterministic ROM hacking
Follow the Rust workspace, roadmap task graph, and verification architecture directly on GitHub.
Open Tauros on GitHub