Skip to content

sacenox/mini-coder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

439 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

mini-coder logo

๐Ÿ‘พ mini-coder

Small. Fast. Gets out of your way.

๐Ÿ“– Read the Full Manual

A terminal coding agent for developers who want a sharp tool, not a bloated IDE plugin. Shell-first, multi-provider, minimal tool surface. Just you, your terminal, and an AI that keeps up.

Minicoder Preview


โšก Quick Start

I run on Bun โ€” install me via bun or npm, but Bun needs to be on your machine.

# Install
bun add -g mini-coder   # or: npm install -g mini-coder

# Set one API key (pick any)
export OPENCODE_API_KEY=your-key     # recommended
export ANTHROPIC_API_KEY=your-key    # direct Anthropic
export OPENAI_API_KEY=your-key       # direct OpenAI
export GOOGLE_API_KEY=your-key       # direct Gemini (or GEMINI_API_KEY)

# Optional
export OLLAMA_BASE_URL=http://localhost:11434   # local models
export EXA_API_KEY=your-key                     # web search tools

# Go
mc

One-shot mode: mc "refactor auth to use async/await" โ€” runs once, then exits.

Useful flags: -c continue last session, -r <id> resume, -l list sessions, -m <model> pick a model, -h help.


๐Ÿ”‘ OAuth Login

Use /login inside the REPL to authenticate via browser-based OAuth (currently Anthropic). No need to manage API keys manually.


๐Ÿ› ๏ธ Features

  • Multi-provider โ€” auto-discovers Anthropic, OpenAI, Gemini, Ollama, or any OpenAI-compatible endpoint
  • Session memory โ€” SQLite-backed. Resume with -c or -r <id>
  • Shell integration โ€” ! prefix for inline commands, @ to reference files with tab completion
  • Subagents โ€” spawn parallel mini-coder instances for independent subtasks
  • Web search โ€” webSearch + webContent tools when EXA_API_KEY is set
  • MCP support โ€” connect external tool servers over HTTP or stdio
  • Custom commands โ€” drop .md files in .agents/commands/ โ†’ instant /slash commands
  • Custom agents โ€” .agents/agents/*.md for specialized personas, usable as primary or via subagent
  • Skills โ€” .agents/skills/<name>/SKILL.md, inject with @name
  • mc-edit โ€” safe, exact-text file editing (no full-file rewrites)
  • 16 ANSI colors โ€” inherits your terminal theme. Always looks right.

๐Ÿ“š Getting Deeper

The README is the highlight reel. For the full story โ€” slash commands, config folders, context files, app data, and everything else:

๐Ÿ“– Read the Full Manual


๐Ÿ”ฎ Tech Stack

Bun.js ยท AI SDK ยท yoctocolors

๐Ÿ“„ License

MIT โ€” github.com/sacenox/mini-coder

About

A good idea ๐Ÿ‘พ

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors