Skip to main content

AI-powered CLI coding agent. Reads, writes, and debugs your code.

Project description

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

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

codie_cli-0.1.8.tar.gz (9.7 MB view details)

Uploaded Source

Built Distribution

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

codie_cli-0.1.8-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file codie_cli-0.1.8.tar.gz.

File metadata

  • Download URL: codie_cli-0.1.8.tar.gz
  • Upload date:
  • Size: 9.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for codie_cli-0.1.8.tar.gz
Algorithm Hash digest
SHA256 4bb977e4f467068ed6d2be7f6bef7b11c03481e25fc348a61c15919fd6308bf3
MD5 89d6af6230b26fc8068d8e81f646cb8b
BLAKE2b-256 e6eef3ed2f142f53f09908f169b1bd277a3fa6237bb036104b0c3a48d55de6e0

See more details on using hashes here.

File details

Details for the file codie_cli-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: codie_cli-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for codie_cli-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 72aa9cc8b1a6e663b86b1e5786aaffafcff16d50cd4dfd47ea2fd8b0060c8971
MD5 fb47b7bdee6be9a5577931ed3748d867
BLAKE2b-256 bda3e9dd3f2bda6ad35e364d4540a61c2d85e0ce2894b8701bbe3c793f7b5519

See more details on using hashes here.

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