Skip to main content

Adaptive coding harness with differential fuzzing - transforms AI slop into production-ready code

Project description

ctrl+code

Adaptive coding harness with differential fuzzing - transforms AI slop into production-ready code.

NOTE: This is beta software, there are rough edges. Please report anything you find

Configuration

ctrl+code follows platform conventions for config and data storage:

Platform Config Data Cache
Linux ~/.config/ctrlcode/ ~/.local/share/ctrlcode/ ~/.cache/ctrlcode/
macOS ~/Library/Application Support/ctrlcode/ ~/Library/Application Support/ctrlcode/ ~/Library/Caches/ctrlcode/
Windows %APPDATA%\ctrlcode\ %LOCALAPPDATA%\ctrlcode\ %LOCALAPPDATA%\ctrlcode\Cache\

Environment Variables

Override default directories:

  • CTRLCODE_CONFIG_DIR: Config file location
  • CTRLCODE_DATA_DIR: Session logs and persistent data
  • CTRLCODE_CACHE_DIR: Conversation storage and temp files

Configuration File

Copy config.example.toml to your config directory as config.toml and fill in your API keys.

Agent Instructions (AGENT.md)

Customize agent behavior with AGENT.md files, loaded hierarchically:

  1. Global (~/.config/ctrlcode/AGENT.md) - Your personal defaults across all projects
  2. Project (<workspace>/AGENT.md) - Project-specific instructions

Example global AGENT.md:

# Global Agent Defaults

- Always use semantic commit messages
- Show tool results explicitly
- Prefer built-in tools over scripts

Example project AGENT.md:

# MyProject Instructions

## Architecture
- Frontend: React + TypeScript
- Backend: FastAPI + PostgreSQL

## Style
- Use async/await for all I/O
- Prefer functional components

Instructions are injected into the system prompt, giving the agent context about your preferences and project structure.

Installation

pip install ctrlcode

Usage

Start the TUI (auto-launches server):

ctrlcode

Or start server separately:

ctrlcode-server

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

ctrlcode-0.2.0.tar.gz (324.9 kB view details)

Uploaded Source

Built Distribution

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

ctrlcode-0.2.0-py3-none-any.whl (217.9 kB view details)

Uploaded Python 3

File details

Details for the file ctrlcode-0.2.0.tar.gz.

File metadata

  • Download URL: ctrlcode-0.2.0.tar.gz
  • Upload date:
  • Size: 324.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.17

File hashes

Hashes for ctrlcode-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c0e482dd641a35d3907b0c12ec8ff2ee8faffa3c772b9cadfb9a7b8040b30453
MD5 90cc04fdfe145a5a4dace90a077ce9a8
BLAKE2b-256 4aba0b64b8bac9534182a6a3d1ffd676efeb318d66fb62242e6f0738f4e3c7b8

See more details on using hashes here.

File details

Details for the file ctrlcode-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ctrlcode-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 217.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.17

File hashes

Hashes for ctrlcode-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9eae4f9315234470d3b23f1a753d63c01f30ca28712d9d49cee0483ba183f330
MD5 6c3f0b631f4576662251369874b720ca
BLAKE2b-256 5a6b6bbd3fb85f2a04ca0972c236c212078cd21d74f76e47684db79eef206e68

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