Skip to main content

A lightweight AI pair programming agent in Python (Compatible with @you-want/mini-cc)

Project description

mini-cc (Python Edition)

you-want-mini-cc is the Python port of the lightweight AI pair programming agent @you-want/mini-cc. It provides a seamless, terminal-based pair programming experience powered by Large Language Models (LLMs) such as Claude 3.5 Sonnet and Qwen.

Installation

pip install you-want-mini-cc

Quick Start

Before running, you need to configure your LLM provider credentials. The agent supports both OpenAI-compatible APIs and Anthropic.

  1. Create a .env file in your working directory (or set environment variables globally):
# For OpenAI Compatible Models (e.g., Qwen, DeepSeek)
PROVIDER=openai
OPENAI_API_KEY=your_api_key_here
OPENAI_BASE_URL=https://api.your-provider.com/v1
MODEL_NAME=qwen3.6-plus

# OR For Anthropic Models
PROVIDER=anthropic
ANTHROPIC_API_KEY=your_api_key_here
MODEL_NAME=claude-3-7-sonnet-20250219
  1. Run the CLI in your terminal:
mini-cc

Features

  • Pure Python & Asyncio: Fully asynchronous architecture for blazing-fast non-blocking I/O.
  • Agentic Loop: Built-in BashTool, FileReadTool, FileWriteTool for autonomous coding and execution.
  • Security Sandbox: Built-in bash execution wrapper stripper and destructive command interception.
  • High-fidelity Terminal UI: Supports dynamic ANSI-rendered banners and streaming responses.
  • MCP Support: Connects seamlessly with Model Context Protocol (MCP) plugins via stdio.

Usage

Inside the mini-cc> prompt, simply ask the agent to perform tasks:

"Read the src/main.py file and add comments to the functions." "Run tests and fix any failing ones."

Use /help for more built-in commands.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

you_want_mini_cc-1.0.1.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

you_want_mini_cc-1.0.1-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file you_want_mini_cc-1.0.1.tar.gz.

File metadata

  • Download URL: you_want_mini_cc-1.0.1.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for you_want_mini_cc-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d6e4d1bfd96def15585124cc56d7c35dca8c57e954569751a8fbb80d1246b8bd
MD5 51227ef4382ee7ecd710345df640e9d3
BLAKE2b-256 9c1fe227b4c812618b30403e6172301e1df73d1743d6d0588ec677ab2e103c6e

See more details on using hashes here.

File details

Details for the file you_want_mini_cc-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for you_want_mini_cc-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 999351456b0f6f7ec398e6077ff8cac018599d57ba8b8561f9ed0d599420534a
MD5 b390f3c6df16a1c8c10345bb19571be5
BLAKE2b-256 03f41c1b2f805259b783f2a543f57ab13355ffc525e1143f0e033dd2b4f22da4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page