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: pipx (Recommended)

Calculated to be the easiest way to run Python CLIs (like npx).

pipx install unclaude
# or run without installing
pipx run unclaude chat

Option 2: pip (Standard)

pip install unclaude

Option 3: Development (from source)

If you want to modify the code:

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

(Note: You can use uv pip for faster installation, but standard pip works fine!)

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.0.tar.gz (40.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.0-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unclaude-0.1.0.tar.gz
  • Upload date:
  • Size: 40.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.0.tar.gz
Algorithm Hash digest
SHA256 924ca06ba6912a3e7c05eac0c9672eaf06fd585fa03bef8e3f394e66339eaee8
MD5 5f5e72d00e4bf2e13501fd39c70b2a02
BLAKE2b-256 e594981daf9e296ac23e53e4f875ed5b56e0ff55e259d7cf75081f7d1dc74aba

See more details on using hashes here.

Provenance

The following attestation bundles were made for unclaude-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: unclaude-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59556260592b5d48981d52798c3f70f04e2716e85f8da7eedea5a0e727e121f8
MD5 f617e64d7d9c4aa5039262c41acebe6d
BLAKE2b-256 a7917b48fb53bece6ad5557115b025e76eea6002a912b7d63aa3b86a63d22ab4

See more details on using hashes here.

Provenance

The following attestation bundles were made for unclaude-0.1.0-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