Skip to main content

Codie

An AI-powered CLI coding agent. Reads, writes, and debugs your code. Like Claude Code, but yours.

→ create a REST API with FastAPI and add tests
  ⚙ Tool call: write_file
  ⚙ Tool call: write_file
  ⚙ Tool call: run_command
  ⚙ Tool call: run_debug
Codie: Done. API is running on port 8000, all tests passing.

Features

  • File tools — read, write, edit, delete files in your project
  • Shell access — run commands with mode-aware confirmation
  • Code search — ripgrep-powered search across your codebase
  • Web tools — search the web and read documentation
  • Debug loop — automatically runs lint and tests after writing code
  • Project memory — remembers your stack, conventions, and key files across sessions
  • Token tracking — see exactly how much each session costs

Requirements

  • Python 3.10+

  • ripgrep — winget install BurntSushi.ripgrep (Windows) / brew install ripgrep (Mac) / apt install ripgrep (Linux)

  • A Groq API key (free)

  • A Tavily API key (free, 1000 searches/month)

  • A Jina API key (free, 500 RPM)

Installation

pip install codie-cli

On first run, Codie will walk you through setting up your API keys:

codie

Welcome to Codie! Let's get you set up.

Groq API key (console.groq.com): ...
Tavily API key (tavily.com): ...
Jina API key (jina.ai, optional): ...
Default mode [review/auto/plan] (enter for review):

Config saved to ~/.codie/config.toml

Usage

codie                  # start in review mode (default)
codie --mode auto      # start in auto mode
codie --mode plan      # start in plan mode
codie --version        # show version
codie --configure      # update API keys and settings

Modes

Mode Behavior
review Confirms each file edit and mutating shell command
auto Runs everything without asking (still confirms destructive commands)
plan Shows full plan first, user approves once, then executes

Slash Commands

Command Description
/help Show available commands
/mode <mode> Change mode mid-session
/cost Show token usage and cost for this session
/remember <thing> Save something to project memory
/clear Clear the screen
/exit Exit Codie

Project Memory

Codie can maintain a .codie/AGENT.md file in your project root. It stores your stack, conventions, important files, and notes — and injects them into every session so you never have to re-explain your project.

codie
# Setup project memory? [y/n]: y
# Project memory created at .codie/AGENT.md

Add .codie/AGENT.md to git to share context with your team. Add .codie/sessions/ to .gitignore.

Configuration

Config is stored at ~/.codie/config.toml. Run codie --configure to update it.

You can also use environment variables:

export GROQ_API_KEY=...
export TAVILY_API_KEY=...
export JINA_API_KEY=...

License

MIT

Metadata

Release files for codie-cli 0.1.8

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

Source distribution (sdist)

Source distribution for codie-cli 0.1.8
File Size Uploaded
codie_cli-0.1.8.tar.gz 9.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for codie-cli 0.1.8
File Interpreter ABI Platform
codie_cli-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 MB

Release files / codie_cli-0.1.8.tar.gz

Download URL codie_cli-0.1.8.tar.gz
Size 9.7 MB
Tags Source
SHA-256 checksum
How to use checksums
4bb977e4f467068ed6d2be7f6bef7b11c03481e25fc348a61c15919fd6308bf3
BLAKE2b-256 checksum
How to use checksums
e6eef3ed2f142f53f09908f169b1bd277a3fa6237bb036104b0c3a48d55de6e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / codie_cli-0.1.8-py3-none-any.whl

Download URL codie_cli-0.1.8-py3-none-any.whl
Size 20.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72aa9cc8b1a6e663b86b1e5786aaffafcff16d50cd4dfd47ea2fd8b0060c8971
BLAKE2b-256 checksum
How to use checksums
bda3e9dd3f2bda6ad35e364d4540a61c2d85e0ce2894b8701bbe3c793f7b5519
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

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