Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Fetched from the repository for this visit.
Codesh is a terminal coding agent powered by local models through Ollama. Chat with a model, inspect your workspace, and approve file changes or process execution from an OpenTUI interface.

/changes.You need Bun to install dependencies and build, an interactive terminal, and a running Ollama
server with an installed chat model. Agent actions require native tool calls; reliability varies
by model. Git on PATH with --no-lazy-fetch support is required for /changes.
From the root of a fresh clone of this repository, install dependencies and build:
bun ci --os '*' --cpu x64
bun run build
The install flags include native dependencies for both build targets:
dist/codesh and dist/rg.dist/codesh.exe and dist/rg.exe.Keep the matching executable pair together. Compiled executables run without Bun or a project
checkout. Add the absolute path to dist to your shell's PATH, then launch from your workspace:
codesh
The current directory becomes the workspace. Choose an installed model with /model before
chatting if none is selected.
Launch modes:
codesh # Start a new session
codesh resume # Open the session picker to resume a saved session
codesh --resume # Equivalent to codesh resume
Slash commands inside chat:
/model [name] — choose an installed Ollama model or switch directly by name./resume — resume a previous session or start a new one./changes — review staged and unstaged Git changes while chat is idle./settings — inspect and edit persistent preferences.Essential shortcuts:
To copy text, hold Shift while selecting it with your mouse, then press Ctrl+Shift+C (or your terminal's copy shortcut).
Sessions are stored locally in .agent/sessions/<session-id>/events.jsonl inside each workspace.
Use /settings to configure the Ollama server URL, default model, keep-alive duration, context
window, and output token limit. The default server is http://localhost:11434; restart Codesh
after changing its URL.
Saved preferences are shared across workspaces:
$XDG_CONFIG_HOME/codesh/settings.json, defaulting to
~/.config/codesh/settings.json.%APPDATA%\codesh\settings.json, falling back to the user's
AppData\Roaming\codesh\settings.json.With dependencies installed, run from the repository root:
bun run start # Run from source
bun run check # Formatting, types, and tests
Use bun run build:linux or bun run build:windows to build a single target. See
docs/ARCHITECTURE.md for technical details.
MIT.
GitHub checked 207h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.