Skip to main content

micro · cc — cognitive compute

                   88
                   ""

88,dPYba,,adPYba,  88  ,adPPYba, 8b,dPPYba,  ,adPPYba,     ,adPPYba,  ,adPPYba,
88P'   "88"    "8a 88 a8"     "" 88P'   "Y8 a8"     "8a   a8"     "" a8"     ""
88      88      88 88 8b         88         8b       d8 · 8b         8b
88      88      88 88 "8a,   ,aa 88         "8a,   ,a8"   "8a,   ,aa "8a,   ,aa
88      88      88 88  `"Ybbd8"' 88          `"YbbdP"'     `"Ybbd8"'  `"Ybbd8"'

Knowledge work is, by extension, a coding problem.

Frontier models with full system access — shell, filesystem, browser, MCP. Verbose, thorough planning paired with unrestricted file operations lets micro·cc take on complex multi-step work autonomously. Point it at any project directory and go.

Install

pip install micro-cc

Supported platforms: macOS and WSL (Windows Subsystem for Linux) — both are real POSIX/bash environments, which the bash_ tool requires. Terminal keybindings (Shift+Enter, word-jump, etc.) are detected and configured automatically on first run, whatever terminal you're in.

Windows: install WSL first (wsl --install in PowerShell, then reboot), then run pip install micro-cc inside the WSL shell — not in PowerShell/cmd directly. Native Windows isn't supported: there's no bash, and the desktop-control tool depends on macOS-only APIs anyway, so nothing is lost by going through WSL.

Usage

microcc /path/to/your/project

First run, type /login and pick Anthropic, a LiteLLM proxy (Bedrock, Azure, etc.), or Ollama — it writes ~/.micro-cc/.env for you, no manual editing needed.

Controls:

  • Enter — submit · Shift+Enter — newline · Escape — interrupt
  • /login — configure endpoint · /model — switch model · /clear — reset conversation · /keys — store project-scoped secrets · /exit — quit
  • Type / to see the full command list (setup, skills, MCP, headless, batch, etc.)

Headless (-p mode / cron)

microcc-headless /path/to/project_dir "Fix the JWT expiry bug — tokens aren't refreshing correctly."

The microcc equivalent of claude -p — one prompt (argument or piped via stdin), no manifest to write first. project_dir scopes the conversation exactly like the interactive TUI does, so pointing repeated cron runs at the same dir continues that history; a fresh dir starts stateless. Runs fully autonomously (no approval gate), so it never blocks waiting on stdin — a clarifying question from the model is auto-cancelled rather than hung on.

It prints the outcome the same way batch does — STATUS: DONE|NEEDS_INPUT|FAILED — <summary> parsed into a symbol + the full reply:

✓ DONE — Patched JWT expiry check in auth.py

<full reply body, if any, above the status line>

Useful flags: -f/--file (repeatable, points the prompt at specific files), --output-format json (machine-parseable {status, summary, body, project_dir}), --verbose (streams tool calls/results to stderr — handy in cron logs).

Batch (multi-task / cron)

microcc-batch /path/to/base_dir tasks.json

For running several named tasks in one go, each kept in its own isolated subfolder so context never bleeds between them — reach for this over microcc-headless when you want that separation. Each task gets its own subfolder under base_dir — base_dir/{task.name}/ — which is a real project_dir with its own scoped messages.jsonl. Runs are fully autonomous (no approval gate), so a batch never blocks waiting on stdin. To pick a task back up in the full interactive TUI:

cd base_dir/{task.name} && microcc .

Manifest format (tasks.json):

{
  "tasks": [
    {
      "name": "fix-auth-bug",
      "prompt": "Fix the JWT expiry bug — tokens aren't refreshing correctly.",
      "files": ["/absolute/path/to/src/auth.py", "/absolute/path/to/src/middleware.py"]
    },
    {
      "name": "add-tests",
      "prompt": "Add unit tests for the pagination helper."
    }
  ]
}

files is optional and must use absolute paths — cron jobs have no reliable cwd.

Tasks run sequentially. Each is instructed to end its final reply with STATUS: DONE|NEEDS_INPUT|FAILED — <summary>, which the runner parses into a tree view at the end:

/path/to/base_dir
├── ✓ fix-auth-bug         DONE         Patched JWT expiry check in auth.py
├── ? add-tests            NEEDS_INPUT  Which test framework does this repo use?
└── ✓ cleanup-logs         DONE         Removed dead logging branches

2/3 done · 1 need input · 0 failed
cd into: /path/to/base_dir/add-tests  (then `microcc .` to continue)

Only tasks that failed or need input get a cd hint — no need to open every subfolder to check on a large batch.

Data

~/.micro-cc/
  .env                              API keys
  projects/
    {project}_{hash}/
      messages.jsonl                conversation history
      summary.json                  sliding-window summary
      project_path.txt              maps hash back to directory

Tools

Tool Description
bash_ Shell execution in project_dir
read_ Read files with line numbers, offset/limit
write_ Create/overwrite files, auto-creates dirs
edit_ Surgical string replacement (fails if ambiguous)
glob_ Find files by pattern, sorted by mtime
grep_ Regex search with context lines
browser_ Web browsing and page extraction (beta)
computer_use_ Screen interaction and GUI automation (beta)

All tools are discoverable — use search_tools to find more at runtime.

Relative paths resolve to project_dir. Absolute paths work anywhere.

License

Proprietary — all rights reserved.

Release files for micro-cc 0.2.71

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micro-cc 0.2.71
File Size Uploaded
micro_cc-0.2.71.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for micro-cc 0.2.71
File Interpreter ABI Platform
micro_cc-0.2.71-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 MB

Release files / micro_cc-0.2.71.tar.gz

Download URL micro_cc-0.2.71.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0d6bce02e57e846e64e1616131570d2f4021379dd45e142822cac04813a1112e
BLAKE2b-256 checksum
How to use checksums
3dad34659003a986d4debfb915e08337bcbbce2d928b11ff5812974e32badac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / micro_cc-0.2.71-py3-none-any.whl

Download URL micro_cc-0.2.71-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b051d4a245edafcb4d09d4d05c541fa6594c86289f4d4237d4728c6f1eb8d8e4
BLAKE2b-256 checksum
How to use checksums
28e5d1272bd4ada2a809097c32885a060564af19c8b3ba7d024be0427ddfe127
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release history Release notifications | RSS feed

0.2.92

2 release files

0.2.91

2 release files

0.2.90

2 release files

0.2.89

2 release files

0.2.88

2 release files

0.2.87

2 release files

0.2.86

2 release files

0.2.85

2 release files

0.2.84

2 release files

0.2.83

2 release files

0.2.82

2 release files

0.2.72

2 release files

This release

0.2.71 This release

2 release files

0.2.70

2 release files

0.2.69

2 release files

0.2.68

2 release files

0.2.67

2 release files

0.2.66

2 release files

0.2.65

2 release files

0.2.64

2 release files

0.2.63

2 release files

0.2.62

2 release files

0.2.61

2 release files

0.2.60

2 release files

0.2.59

2 release files

0.2.58

2 release files

0.2.57

2 release files

0.2.56

2 release files

0.2.55

2 release files

0.2.54

2 release files

0.2.53

2 release files

0.2.52

2 release files

0.2.43

2 release files

0.2.42

1 release file

0.2.41

2 release files

0.2.40

2 release files

0.2.39

2 release files

0.2.38

2 release files

0.2.36

2 release files

0.2.35

2 release files

0.2.34

2 release files

0.2.32

2 release files

0.2.31

2 release files

0.2.13

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page