Skip to content
minilabs-idPublic

About

Coding agent CLI yang menunjukkan semua kerjanya β€” transparent, permission-first, MIT, zero-dep. npm: minicode-ai

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

MiniCode

MiniCode is an open-source terminal coding agent built on the vendored MiniCore kernel (host-editable since v0.16.0). It has zero third-party runtime dependencies (Bun >= 1.1.13 is the only runtime; test/lint tools live in devDependencies). It inspects and edits a workspace, runs local tools, and connects to the AI providers and MCP/LSP servers you configure.

Interactive sessions run as a fullscreen TUI with the chat as a centred middle column (at most 50% of terminal width, footer/composer centred with it; full width below the threshold) β€” there is no right sidebar. Tool lines, the ✦ agent aggregate, findings and the + thinking marker live in the chat; /expand is gone. Since v0.35 the tool recap is a committed category-count row at the end of each narration (no symbol prefix since v0.41; cumulative at turn end) and β€Ί … activity labels use the OS locale, while narration keeps your /lang language. Since v0.36 the composer is at most 2 rows tall, the / dropdown is an overlay inside the same frame, and prompt/cursor width is capped by composerWidth(). One-shot and automation runs flow to the shell scrollback or a machine-readable JSONL stream. Every tool action is visible in the ledger, file changes are jailed to the workspace, and sensitive actions are gated behind your permission. Prompts and relevant workspace context are sent to the provider you configure; MCP and LSP servers may receive data or perform external effects. MiniCode itself sends no telemetry β€” traces are local-only (MINICODE_TELEMETRY=0 to disable).

Install

Requires Bun >=1.1.13 for development, local execution, and the published CLI:

bun add -g minicode-ai
minicode

Update manually with bun update -g minicode-ai --latest (or run /update inside the TUI).

To run from a clone:

git clone https://github.com/minilabs-id/minicode.git
cd minicode
bun install
bun run dev

Common commands

minicode                         # interactive TUI
minicode "review this change"   # one-shot task
minicode auth login              # authenticate with a supported provider
minicode providers               # inspect configured providers
minicode exec "task" --json      # machine-readable event stream

WorkMode controls how the agent works (DISCUSS or BUILD); permission settings and tool access policy control which actions require approval or are available. Read Choosing a mode before granting write or execution access. --sandbox docker requests an isolated container for shell execution; the security guide explains the remaining boundaries.

Documentation

The full manual lives in docs/ and is rendered at minilabs.id/projects/minicode/docs. Quick links:

Development checks

bun x tsc --noEmit
bun run lint
bun test
bun run gate:coverage
bun run gate:pack

The five commands above are the minimum local gate; bun run gate:fast is the canonical full set (tsc, lint, test, coverage, pack, bash, bench:smoke, audit:harness, and gate:telemetry).

The repository's agent instructions define the required gate order and architecture constraints. Do not treat historical audit reports as current gate results; use a report only for its recorded checkpoint and scope.

License

MIT. See LICENSE.

About

Coding agent CLI yang menunjukkan semua kerjanya β€” transparent, permission-first, MIT, zero-dep. npm: minicode-ai

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages