MendCodeto code
Shape how AI codes: prompt context, model roles, smart permissions, memory control, shareable packages, a TUI you can make your own, isolated worktrees, and agent swarms.
A harness you can shape.
A workflow your team can share.
Customizable Coding Surface
Open the public mendcode CLI in any repository, then shape the coding TUI, prompt chrome, status rows, and workflow around the way your team works.
Prompt Context
Choose minimal, focused, or full to control how much MendCode harness context reaches the model while your project instructions and custom agent files still apply.
Model Roles
Assign different models to default, small, plan, build, code, review, subagent, title, compaction, summary, memoryExtractor, and permissionReviewer work.
Smart Permissions
Choose approval, smart, or full_access. Smart mode can route configured actions through a permissionReviewer role, and if that reviewer is missing MendCode asks instead of silently approving.
Approval-Gated Memory
Keep memory intentional. Generated memories become proposals first, scopes stay separate, and Dream maintenance surfaces cleanup for review instead of silently rewriting context.
Package System
Bundle commands, agents, modes, skills, prompts, MCP config, TUI profiles, model roles, memory settings, permissions, and scripts into reusable team packages.
Agent Coordination
Use optional mflow coordination, local locks, TSM, and worktree orchestration when several agents or terminals need to work without stomping each other.
Install. Setup. Customize.
Then use the chat.

Tune the
coding harness.
Minimal, focused, full, and custom are prompt boundaries: selectable ways to control how much MendCode context rides with the request.
Focused uses the official focused prompt from the model's lab, then adds only light MendCode guidance for the current task.
See the workflow, not a mockup.
Know your usage.
Keep it local.

Package your
harness.
Turn a tuned MendCode environment into a reusable bundle: command palette, agents, modes, prompts, TUI profile, model policy, permissions, memory defaults, and worktree rules. No provider tokens or machine-local secrets.
Control is
non-negotiable.
MendCode keeps control explicit: choose approval, smart, or full_access; keep memory intentional; route smart reviews through a model role; and share packages without provider tokens or local secrets.
Permission modes
Choose approval, smart, or full_access depending on how much review you want in the current project.
No secrets in packages
Provider tokens, auth files, local credentials, and machine-local state are not part of shareable packages.
Intentional memory
Memory is opt-in. Generated memories become proposals first, and you decide what persists.
Risk-aware review
Smart permissions can route risky shell, script, and delete prompts through a permissionReviewer model role before execution.
Customizable
home screen.
MendCode lets the TUI feel like yours: home identity, shortcut layout, Agent View, status rows, widgets, and profile presets shape the surface you use every day.
Customizable home screen
Choose wordmark, mascot, action shortcuts, Agent View, and welcome layout without patching runtime code.
Local tool calls, no MCP
Create your own local tool calls and run them from MendCode's TUI. No MCP server is needed for tools that live in your project; use MCP only when you need an external server.
Profile as config
Home title, prompt chrome, status rows, widgets, density, and theme choices stay shareable as TUI profile settings.
Shareable packages
A package can carry skills, commands, modes, configs, and defaults, while local secrets and personal memory stay outside the bundle.
Wordmark welcome

“I can inspect the plan before an agent touches my repository.”
Surface
Plan Review
review before edits
Start the AI coding
terminal in your repo.
Install the public mendcode CLI, run setup once, then shape prompt context, model roles, permissions, memory, team packages with skills and config, your TUI, isolated worktrees, and agent swarms around your workflow.