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.

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

uv 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.1.1.tar.gz (322.7 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.1.1-py3-none-any.whl (215.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ctrlcode-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8466759135a25eaf448da7c29d8e9a808663030e175a221a452abbf71da639fa
MD5 92c284a546a84e74026fbebe5b8570da
BLAKE2b-256 f85580c6733276dbbe710016f63996e30efc25665efe74971c5f574402a0451a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ctrlcode-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e03bf3c84a3e004a6162163d7b43fcfe8e411ed6849f24e29afce68afeec87cc
MD5 57d2926763904e1b903586a4f3cf7737
BLAKE2b-256 39e931ece5bd966686d3279e7c37cc41ebc6ee0910aeb597db59252800ac7204

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