Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

caipiralink/mofucode

Repository files navigation

MofuCode

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.

Features

  • 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_KEY is set
  • Supermemory-backed persistent user/project memory when SUPERMEMORY_API_KEY is set
  • Supabase/Postgres session history with schema migrations

Usage

cargo run -- tui

or simply:

cargo run

Run 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-key

Environment

Optional 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 status

Status

MofuCode is under active development. Interfaces and behavior may change.

About

Experimental terminal AI coding agent written in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors