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.5.tar.gz (9.6 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.5-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: codie_cli-0.1.5.tar.gz
  • Upload date:
  • Size: 9.6 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.5.tar.gz
Algorithm Hash digest
SHA256 491a61baaad731e0316aba579beee434c9f0f69f386f733babab51cffb222780
MD5 557c1d3b1feb02f29409594fd8cffdf7
BLAKE2b-256 3fe45546c1eec78d22c45a88c8ceed840153eb022324129e3bf49b6ff3bd4136

See more details on using hashes here.

File details

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

File metadata

  • Download URL: codie_cli-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 19.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3830fb9e812c3dacb2ac1905b43a0a614f30889143bc3cac6ff63dd63058eebd
MD5 992e252ccce84285e0470406d5bb5ffd
BLAKE2b-256 b1a785a834b73211627fe8506f202a7908bcc180c527f20440136968f04451ec

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