using it
using it
Install, point it at a directory, and let it work.
getting started
One line, no toolchain to set up.
macOS, Linux and WSL. The bash_ tool needs a
real POSIX shell. On Windows, run the PowerShell installer, which installs inside WSL:
> irm https://raw.githubusercontent.com/GSequist/microcc/main/install.ps1 | iex
Prefer pip? pip install micro-cc installs the same package.
Point it at a project directory. project_dir is fixed for the
life of the session: relative paths in every tool call resolve against it, absolute paths
work anywhere on the machine.
$ microcc /path/to/your/project
First run, type /login to configure your model endpoint. Type
/ for the command list.
source: README.md
three surfaces, one process
The terminal app and the browser tab are not two implementations kept in sync by hand: they are one process. The GUI server runs in a background thread beside the agent loop, so a tool call waiting on your approval is a single suspended call, reachable from whichever surface you answer it from.
- terminal
- the full app:
microcc /path/to/project. Slash commands, live tool approvals, session history. - headless
- one prompt in, one answer out, no TUI:
microcc-headless, built for cron and CI. - browser
/guiopens a tab on the same running session. Same approvals, same state.
slash commands
All 24, extracted from the harness's own command registry: the same registry the terminal autocomplete and the browser palette read from. Commands tagged terminal only are withheld from the browser palette, either because they quit or replace the process, or because they run autonomous loops that report through a status line a browser session does not have.
- /model
- switch model
- /theme
- switch color theme (or edit ~/.micro-cc/theme.json)
- /dangerous
- which tools need approval
- /subagents terminal only
- max headless subagents running at once (default 4)
- /rewind
- undo back to an earlier turn
- /clear
- erase this project's conversation
- /copy
- copy transcript to clipboard
- /setup
- configure settings + statusline
- /new-skill
- create a new skill
- /new-mcp
- register a new MCP server
- /skills
- list skills you have + how to add more
- /mcp
- list MCP servers you have + how to add more
- /headless
- run a single prompt headlessly (microcc-headless, the -p mode) — cron-friendly, no manifest
- /graph terminal only
- orchestrate multiple headless subagents toward a goal — diagram first, then spawn/monitor/adjust
- /message-session
- message another micro-cc session (live or headless) by project_dir
- /optimize terminal only
- start/resume an autonomous measure-change-keep-or-revert loop against a metric
- /doctor
- diagnose a broken/fragile install (pipx, uv, Homebrew-managed python…) and hand you the fix commands
- /author
- credit
- /login terminal only
- endpoint + API key
- /keys terminal only
- store project-scoped secrets — typed values never reach the model, written straight to {project_dir}/.env, auto-sourced into every bash_ call; no vaulting beyond that
- /exit terminal only
- quit
- /update terminal only
- install latest micro-cc
- /reload terminal only
- restart to pick up edits to micro-cc's own source (no PyPI install)
- /gui terminal only
- open this session in the browser
tools & memory
Shell, filesystem, browser and MCP are the baseline, not an opt-in tier. The tradeoff is
made explicit rather than hidden: /dangerous chooses which
tools stop for your approval, and by default that is bash, edit and write.
- bash
- shell commands, defaulting to project_dir; project secrets auto-sourced
- filesystem
- read, write, edit, glob, grep
- browser
- drives a real browser session
- computer use
- screen-level control beyond the browser (macOS only)
- vision
- reads images and screenshots directly
- web
- search, fetch, archive, download
- mcp client
- external MCP servers, registered with /new-mcp
- memory
- durable keyed memory, per project and global
- todos
- multi-step plans that survive across turns
- monitor
- poll a subagent or process, stream a live watch, or schedule a prompt to fire later
- message-session
- talk to another running micro·cc session
- search-history
- full-text search over this project's whole conversation
- ask-user
- structured questions back to you, one at a time
- skills
- list and load skills
Memory builds a picture of you and the project across sessions. Keys are
indexed and surfaced each turn; the body expands on demand. Local JSON by default; set
MICRO_CC_POSTGRES_URL and every read and write routes to
Postgres instead, with no code change.
source: src/micro_cc/tools/
providers and models
Switch provider or model mid-session with /model; configure an
endpoint with /login. Nothing routes through a third party you
did not choose, and your keys live in ~/.micro-cc/.env —
a key the harness can reload from that file is hidden from the model's
bash_ shell.
Three things stay apart: a provider is who you authenticate with, an
api is the wire protocol a request is built for, and a
model is an alias with capabilities and one id per provider that serves it.
So sonnet-5.5 resolves to a different string on
anthropic than on bedrock, and
asking for a model a provider does not serve fails at the catalog, not at the network.
| alias | model | served by | context | max out | reasoning |
|---|---|---|---|---|---|
sonnet-5 | Claude Sonnet 5 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · xhigh · max |
sonnet-5.5default | Claude Sonnet 5.5 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · xhigh · max |
opus-5 | Claude Opus 5 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · xhigh · max |
opus-5.5 | Claude Opus 5.5 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · xhigh · max |
opus-4.8 | Claude Opus 4.8 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · xhigh · max |
opus-4.7 | Claude Opus 4.7 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · xhigh · max |
opus-4.6 | Claude Opus 4.6 | anthropicfoundrylitellmvertex | 1M | 128k | low · medium · high · max |
sonnet-4.6 | Claude Sonnet 4.6 | anthropicfoundrylitellmbedrockvertex | 1M | 128k | low · medium · high · max |
haiku-5.5 | Claude Haiku 5.5 | anthropicfoundrylitellmbedrock | 1M | 128k | — |
gpt-5.6-terra | GPT-5.6 Terra | litellmopenai | 1.05M | 128k | minimal · low · medium · high |
gpt-5.6-luna | GPT-5.6 Luna | litellmopenai | 1.05M | 128k | minimal · low · medium · high |
gpt-5.6-sol | GPT-5.6 Sol | litellmopenai | 1.05M | 128k | minimal · low · medium · high |
gpt-6-astra | GPT-6 Astra | litellmopenai | 1.05M | 128k | minimal · low · medium · high |
gpt-6-sol | GPT-6 Sol | litellmopenai | 1.05M | 128k | minimal · low · medium · high |
gpt-6-luna | GPT-6 Luna | litellmopenai | 1.05M | 128k | minimal · low · medium · high |
| provider | name | api | needs |
|---|---|---|---|
ollama | Ollama | openai-chat | OLLAMA_BASE_URL |
claude-code | Claude Code | anthropic-messages | ANTHROPIC_OAUTH_TOKEN |
anthropic | Anthropic | anthropic-messages | ANTHROPIC_API_KEY |
foundry | Foundry | anthropic-messages | FOUNDRY_BASE_URL FOUNDRY_API_KEY |
litellm | LiteLLM | openai-chat | LITELLM_BASE_URL LITELLM_API_KEY |
openrouter | OpenRouter | openai-chat | OPENROUTER_API_KEY |
openai | OpenAI | openai-responses | OPENAI_API_KEY |
bedrock | Amazon Bedrock | anthropic-messages | AWS_BEARER_TOKEN_BEDROCK |
vertex | Google Vertex AI | anthropic-messages | ANTHROPIC_VERTEX_PROJECT_ID |
azure | Azure OpenAI | openai-responses | AZURE_OPENAI_BASE_URL AZURE_OPENAI_API_KEY |
groq | Groq | openai-chat | GROQ_API_KEY |
deepseek | DeepSeek | openai-chat | DEEPSEEK_API_KEY |
xai | xAI | openai-chat | XAI_API_KEY |
together | Together AI | openai-chat | TOGETHER_API_KEY |
fireworks | Fireworks AI | openai-chat | FIREWORKS_API_KEY |
read at build time from src/micro_cc/models/catalog.json · raw json · schema 2, 15 models, 15 providers
The catalog is not frozen into the build. It resolves in tiers: your own entries in
~/.micro-cc/catalog.json first, then the published catalog,
then the copy inside the package. The published one is refreshed in the background and
cached, so nothing is fetched at startup — a new model can appear
without waiting for a release, and an offline machine is unaffected. An OpenAI-compatible
provider you host yourself can be added entirely in your own catalog file.
Project-scoped secrets go through /keys: typed values are written
straight to the project's .env and auto-sourced into every
bash_ call, never passing through the model's context.
source: src/micro_cc/models/
built 2026-10-13 from microcc@fe764bf · v0.2.109 · llms.txt