Skip to main content

Open Source Model-Independent Alternative to Claude Code

Project description

UnClaude 🤖

The Open Source, Model-Independent AI Engineer. > Your Data. Your Models. Your Rules.

License Python Status

UnClaude is a powerful Agentic Coding Assistant that runs entirely on your local machine. It connects to any LLM provider (Gemini, OpenAI, Anthropic, DeepSeek, Ollama) to give you a fully autonomous, model-agnostic pair programmer.


🚀 Key Features

🌟 Model Independence

Don't be locked into a single provider. UnClaude uses LiteLLM to support over 100+ models. Switch between cheap, fast models for planning and reasoning models for coding instantly.

🧠 Infinite Memory (The Brain)

UnClaude implements a local Vector Database (Chroma/LanceDB) to remember your project context, architecture decisions, and secrets across sessions. It doesn't just read files; it remembers.

🏗️ Ralph Wiggum Mode (Autonomous Engineer)

The ralph command launches a Multi-Agent Swarm designed for autonomy:

  • Plans: Creates a TASK.md blueprint before coding.
  • Codes: Implements complex multi-file projects.
  • Verifies: Runs tests/commands (pytest, npm test) in a TDD loop.
  • Self-Heals: If tests fail, it autonomously analyzes the error and fixes the code.

🌐 Browser Automation (The Eyes)

UnClaude includes native Browser Integration (via Playwright). It can:

  • Open URLs and verify web applications.
  • Click, type, and interact with UIs.
  • Take screenshots for visual verification.

🛠️ Full System Access (The Hands)

A true agent needs tools. UnClaude provides:

  • File Operations: Read, Write, Edit, Glob, Grep.
  • Terminal: Execute Bash commands with permission handling.
  • Web: Search and Fetch capabilities.

📦 Installation

Option 1: uv (Recommended)

The fastest way to install Python CLI tools:

uv tool install unclaude

Option 2: pipx

Another great option for Python CLIs:

pipx install unclaude

Option 3: pip

pip install unclaude

Note: If unclaude command is not found after pip install, ensure ~/.local/bin is in your PATH.

Option 4: Development (from source)

If you want to modify the code:

git clone https://github.com/anzal1/unclaude.git
cd unclaude
pip install -e .

Browser Support

To use the browser tool, you need the Playwright browsers:

playwright install chromium

⚙️ Configuration

UnClaude has a built-in onboarding flow.

# Run the interactive setup wizard
unclaude login

This will guide you through:

  1. Selecting your default LLM provider (Gemini, OpenAI, Anthropic, etc.).
  2. Entering your API Key (stored securely in ~/.unclaude/config.toml).
  3. configuring optional settings.

No environment variables required! (Though they are still supported for CI/CD).

🎮 Usage

💬 Interactive Chat

Just talk to code.

unclaude chat
> "Refactor utils.py to use async/await."

🏎️ Create Projects (Ralph Mode)

Give it a job and a way to verify it.

# The "One Prompt Project"
unclaude ralph "Build a Snake Game in Python with a GUI" -f "python3 snake.py"

🧠 Managing Memory

UnClaude automatically indexes your conversation for future recall.

unclaude chat "Remember that the deployment port is 8080."

🏗️ Architecture

UnClaude uses a Loop-based Agent Architecture:

  1. Orchestrator Agent: Decides if a plan is needed.
  2. Planner Agent: Writes TASK.md.
  3. Coder Agent: Executes tool calls (Edit, Bash, Browser).
  4. Feedback Loop: Parses ToolResult, Bash Exit Codes, and Memory Retrieval.

🤝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for details.

  1. Fork the repo.
  2. Create a feature branch.
  3. Submit a Pull Request.

📄 License

Apache 2.0. Open Source forever.


Built with ❤️ by Anzal & The Community.

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

unclaude-0.1.1.tar.gz (39.5 kB view details)

Uploaded Source

Built Distribution

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

unclaude-0.1.1-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file unclaude-0.1.1.tar.gz.

File metadata

  • Download URL: unclaude-0.1.1.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for unclaude-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f5276a3fbad520d617cb81bbf58c3a8f7a6978cf79298ddd70a6a31e65620066
MD5 194ca7dfdf3fa597ab4984d53445ccc0
BLAKE2b-256 fd022465245d6bb6df0ef893d755ba2ee706a733e39c0f918370340ea580710d

See more details on using hashes here.

Provenance

The following attestation bundles were made for unclaude-0.1.1.tar.gz:

Publisher: publish.yml on anzal1/unclaude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file unclaude-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: unclaude-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for unclaude-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d695b157aa58794af7667e685a87854ee1a5aef9cb1e643d6c796b23a53ea0
MD5 4a07977f50b17d2311a03158d7eb4430
BLAKE2b-256 8fa8731e10bcea8662c6102d763ab184111b0d3b10b986d3d3209aac295d9048

See more details on using hashes here.

Provenance

The following attestation bundles were made for unclaude-0.1.1-py3-none-any.whl:

Publisher: publish.yml on anzal1/unclaude

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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