Skip to main content

Qodey logo

Qodey — Local AI Coding Agent

Qodey is a modern, polished terminal-based AI coding agent for Windows (CMD/PowerShell), powered entirely by locally installed Ollama models. No cloud, no API keys — your code stays on your machine.

qodey

…and you immediately start coding with AI.

Features

  • 🎨 Premium terminal UI (Rich panels, markdown, tables, spinners, streaming)
  • 🦙 Direct Ollama integration (http://127.0.0.1:11434), auto-detect + model picker
  • 📂 Any-folder workspace (/open), project auto-detection (React, Next.js, Python, Rust, …)
  • 🤖 Real agentic loop: inspect → plan → create/edit files → run commands → fix errors
  • 🛠️ Tools: read/write/edit/delete/rename files, mkdir, list, search, run shell commands
  • 🛡️ Permission modes: AUTO / CONFIRM / SAFE
  • 📋 Plan mode, context compaction, conversation history, token estimates
  • ⚙️ Local config at ~/.qodey/config.json

Requirements

  • Python 3.9+
  • Ollama installed and running (ollama serve)
  • At least one model, e.g. ollama pull qwen2.5-coder:32b

Install

Via npm (no GitHub download needed — still requires Python 3.9+ and Ollama, see below):

npm install -g qodey
qodey

Or via pip:

pip install qodey
qodey

Or from source (dev):

pip install -e .
python -m qodey

Or with pipx / uvx:

pipx install qodey

Commands

Command Description
/help Show commands
/open Change workspace
/models Show Ollama models
/model Change AI model (/model <name>)
/status Show system status
/files List project files
/tree Show project tree
/run Run a terminal command
/plan Toggle planning mode
/settings Open Qodey settings
/permissions Configure permissions (auto/confirm/safe)
/compact Compact conversation context
/clear Clear conversation
/exit Exit Qodey

Config (~/.qodey/config.json)

{
  "ollama_url": "http://127.0.0.1:11434",
  "default_model": "qwen2.5-coder:32b",
  "temperature": 0.2,
  "top_p": 0.9,
  "num_ctx": 32768,
  "streaming": true,
  "permission_mode": "confirm",
  "theme": "qodey-dark",
  "workspace": "C:\\Projects\\MyAIApp",
  "plan_mode": true,
  "max_agent_steps": 25
}

How the agent works

  1. System prompt includes workspace path, detected stack, and file list (never full dumps).
  2. Model replies with text + ```tool JSON blocks (or native Ollama tool calls).
  3. Qodey executes tools (with permission checks), feeds results back, and loops (up to max_agent_steps) until the task is done.
  4. Shell output is captured and fed back so the model can diagnose and fix errors.

License

MIT

Metadata

Release files for qodey 1.0.0

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

Source distribution (sdist)

Source distribution for qodey 1.0.0
File Size Uploaded
qodey-1.0.0.tar.gz 340.3 kB Details

Built distribution (wheel)

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

Total release size: 681.4 kB

Release files / qodey-1.0.0.tar.gz

Download URL qodey-1.0.0.tar.gz
Size 340.3 kB
Tags Source
SHA-256 checksum
How to use checksums
345070d8dacbc714d8f38507cc675a30186ec9da69799729124be1b95f852d36
BLAKE2b-256 checksum
How to use checksums
fa0e4f9a09b8d84033cb19cb4b3f0b4fb7d60e9403cff9f58357bf2e50a0c9a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / qodey-1.0.0-py3-none-any.whl

Download URL qodey-1.0.0-py3-none-any.whl
Size 341.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5f16dc9c7208d22af557bac4c71a85c94b17f41fe688046c750cdbc30efd6aa
BLAKE2b-256 checksum
How to use checksums
ecfb128219a442c04c3e20251f2a36a8f0458be38eb334ea0ef91b79ed461975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

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