MofuCode is an experimental terminal AI coding agent written in Rust.
It provides a TUI for interactive coding sessions, OpenAI/Codex-compatible model access, native file/search tools, Supabase-backed session history, and optional integrations with Morph and Supermemory.
- Terminal UI built with Ratatui
- OpenAI API key and Codex OAuth login flows
- Native
read,glob,grep, and shell tools - Morph-powered editing and compaction when
MORPH_API_KEYis set - Supermemory-backed persistent user/project memory when
SUPERMEMORY_API_KEYis set - Supabase/Postgres session history with schema migrations
cargo run -- tuior simply:
cargo runRun a one-shot prompt:
cargo run -- run "inspect this project"Login:
cargo run -- auth login openai codex-browser
# or
cargo run -- auth login openai api-keyOptional integrations:
MORPH_API_KEY=...
SUPERMEMORY_API_KEY=...Required session storage:
MOFUCODE_SUPABASE_URL=...
MOFUCODE_SUPABASE_KEY=...
MOFUCODE_SUPABASE_DB_URL=...Check session storage status:
cargo run -- db statusMofuCode is under active development. Interfaces and behavior may change.