Skip to main content

Raggie Code

Raggie Code v1.0.2

Raggie

Raggie is an autonomous AI coding agent that doesn't just read your codebase. It understands it.

Most AI coding assistants dump file contents into a prompt and hope for the best. Raggie builds a semantic index of your codebase with tree-sitter, navigates call graphs, traces dependency chains, and uses that structure to make surgical, context-aware changes.

  • Understands code structure: symbols, imports, callers and callees across 15 languages, plus HTML, CSS, Vue and Svelte.
  • Plans before it acts: todo lists you approve, executed one task at a time by isolated subagents.
  • Survives long tasks: automatic context handover to a fresh session, and crash recovery that resumes interrupted tool calls.
  • Safe by design: every change is snapshotted in a private git repo (/undo, /redo), shell commands need your approval, ignored files stay off limits.
  • Works with your stack: any OpenAI-compatible LLM, local or cloud. Terminal, built-in web UI, VS Code extension, or any ACP editor such as Zed. External tools over MCP.
  • Runs locally: the code index, chat history and snapshot repo never leave your machine.

Install

  1. Install Raggie Code from the VS Code Extensions view.
  2. Open your project and click the Raggie icon.

That's it. The extension installs the raggiecode Python package for you, starts the agent, and shows a setup page for your API key and model. You only need Python 3.10+ on your machine. See Getting started.

for some reason if that failed just run pip install raggiecode in the terminal to install the raggiecode python package manually.

Command line

pip install raggiecode

Or from source:

git clone https://github.com/Hussein-L-AlMadhachi/RaggieCode.git
cd RaggieCode
pip install .

Requires Python 3.10+ and an API key for an OpenAI-compatible provider (or a local model server).

Quick start

With the extension, just open the chat. From a terminal:

raggie setup            # add an API key, pick a provider and model
raggie code .           # interactive chat in the current project
raggie code --web       # same agent, in your browser
raggie code . --prompt "Add input validation to the login endpoint"

In the terminal chat, press Esc then Enter to send. Type /help for the in-chat commands, /undo to roll back the agent's last change.

Point at exact lines with @path/to/file.py:10-25 anywhere in your prompt.

See it in action

$ raggie code .

Raggie Agent (code) v1.0.2 - Interactive Mode
--------------------------------------------------

Thinking mode: Zen - to change it use /thinkingMode

You:
❯ Add input validation to the login endpoint and update all callers

Agent (deepseek-v4-flash:0):
I'll start by finding the login endpoint and tracing its callers.

[tool] GetSymbolSourceCode(symbol_name=login)
[tool] WalkCallTree(symbol_name=login, max_depth=3)
[tool] EditSymbol(symbol_name=login, new_source=...)
[tool] ReplaceText(file_path=src/api/routes.py, ...)
[tool] Shell(command=python -m pytest tests/test_auth.py)

All 3 callers updated and tests pass.

tracking changes...
type /undo to undo the last code changes

Documentation

Everything lives in docs/.

Getting started VS Code extension, command-line install, setup, first session, @file references, /undo
Commands All CLI commands and in-chat slash commands
Configuration Config files, roles.json, providers, AGENTS.md, ignore files
Local models Ollama, vLLM, LM Studio and other local servers
Planning and subagents Thinking modes, todo lists, subagents, handover, crash recovery
Tools The 32 built-in tools and how permissions work
Skills Skills system, Agent Skills format, auto-discovery
Code indexing Languages, project detection, performance
Undo and history .raggie/git, /undo, /redo, crash safety
Code health Complexity score, class bloat, /health report
Web UI The built-in web UI
ACP Zed and other editors over ACP
MCP External MCP servers
Architecture Source layout and agent loop, for contributors
FAQ

License

Copyright 2026 Hussein Al-Madhachi

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Metadata

Release files for raggiecode 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for raggiecode 1.0.2
File Size Uploaded
raggiecode-1.0.2.tar.gz 1.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for raggiecode 1.0.2
File Interpreter ABI Platform
raggiecode-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / raggiecode-1.0.2.tar.gz

Download URL raggiecode-1.0.2.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
7324d7e93312f84fc5100cbcc8473ac321d149e88ea9b7e92a1237420d6df525
BLAKE2b-256 checksum
How to use checksums
536e2d6ad3bb7f90a17bb06334951bbfc51a9b9e000510411ed37f618516c24d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / raggiecode-1.0.2-py3-none-any.whl

Download URL raggiecode-1.0.2-py3-none-any.whl
Size 901.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a2523cc7fb8bda98d83f21812be6eee9a90f29f5ffcdccdb0f0a76889cf3787
BLAKE2b-256 checksum
How to use checksums
e2c2feda6c2ecfffc9e888fc023990241aa89cc7e9b64508bd3a94d4288c4f20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page