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.3.0.tar.gz (325.0 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.3.0-py3-none-any.whl (219.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ctrlcode-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9863e6c48984399c8f87696ae9b55bdef7278a773871848c81e3aba025131fab
MD5 ad3977ec2843b27b3878bdebd4128beb
BLAKE2b-256 50b9fefbf8ce79b47dd4a3a081a8c49a80b37001d944a74d06f34083ba546980

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ctrlcode-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc4ec25d2a83dd6be769096f3e9a9d9fddad374ff17a68a36d94e61a03040c5
MD5 60b6c2ef46088fe1e42418266839c49b
BLAKE2b-256 cee3a9ec63fa1c73808dafc8bb8d0e8e6bcb08f8d0d8afa9201f44320a9ede44

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