QonQrete Quickstart Guide
Version: v1.0.0-stable (See VERSION file for the canonical version).
This guide will walk you through running your first cyQle with the QonQrete system.
What’s New in v1.0.0
- Bulletproof Language Detection: 400+ language keywords for all AI providers
- Enforced Briq Sensitivity: Guaranteed briq counts with automatic retry/merge
- New CLI Flags:
-c/--cyqlesfor cycle override - Updated Defaults: sensitivity 7, cycles 4
- 100% Pass Rate: Validated with 90 WoNQ Matrix runs
Prerequisites
- Docker: Ensure the Docker daemon is running (or see ../README.md for Microsandbox setup).
- API Keys: Before running, you must export the API keys for the AI providers you intend to use. The system will automatically check for the necessary keys based on your
worqspace/config.yamland exit with an error if they are not set.export OPENAI_API_KEY='your-key'export GOOGLE_API_KEY='your-key'(orGEMINI_API_KEY)export ANTHROPIC_API_KEY='your-key'export DEEPSEEK_API_KEY='your-key'export QWEN_API_KEY='your-key'
1. First-Time Setup
Build the secure Qage environment. You only need to do this once.
chmod +x qonqrete.sh
./qonqrete.sh init
2. Define Your TasQ
For a new project, edit worqspace/tasq.md to define your initial objective. For example:
Create a simple Python web server that listens on port 8080 and returns "Hello, QonQrete!" for all requests. The script should be executable.
To start with existing code, see the “Seeding a Project with Sqrapyard” section below.
3. Run a CyQle
This is the default manual mode. You can combine flags for different behaviors.
# Run with the TUI and security-focused agent personas
./qonqrete.sh run --tui --mode security
# Run in auto mode with highly granular task breakdown
./qonqrete.sh run --auto --briq-sensitivity 1
# Force user-gated mode, overriding a `cheqpoint: false` setting in config.yaml
./qonqrete.sh run --user
At the CheQpoint, you will be prompted to [Q]ontinue, [T]weaQ, or [X]Quit.
4. Seeding a Project with Sqrapyard
To begin a cyQle with a pre-existing codebase:
- Place your code files into the
worqspace/sqrapyard/directory. - If you have a specific objective for the first cycle, create a
worqspace/sqrapyard/tasq.mdfile. - Run
./qonqrete.sh run. The system will automatically copy the contents ofsqrapyardinto the activeqodeyardand use yourtasq.mdas the first instruction.
5. Configuration
Advanced options can be set in worqspace/.
config.yaml:use_qompressor:trueto generate token-efficient code skeletons (default),falseto use full code.use_qontextor:trueto generate a semantic index of the code (default),falseto disable.use_qontrabender:trueto enable policy-driven hybrid caching (default),falseto disable.cheqpoint: Sets the default behavior.truefor user-gated mode,falsefor autonomous. Can be overridden with--useror--auto.auto_cycle_limit: Set the maximum number of cycles for auto-mode.agents: Change the AI models for each agent. Forqontextor, setprovider: localto use the new high-speed, zero-cost analysis mode.mode: Set the default operational mode for agent personas (e.g.,program,enterprise,security,performance,innovative).briq_sensitivity: Set the default task breakdown granularity (0=atomic, 9=monolithic).
caching_policy.yaml(NEW in v0.8.0):- Defines Qontrabender behavior and operational modes
- Available modes:
local_fast,local_smart,cyber_bedrock,cyber_aggressive,paranoid_mincloud,debug_repro - See QONTRABENDER.md for full documentation
pipeline_config.yaml:microsandbox: Set totrueto make Microsandbox (msb) the default container runtime.
6. Qontrabender Quick Setup
To configure the cache bender:
- Edit
worqspace/config.yamlto select your mode:
agents:
qontrabender:
policy_file: "./caching_policy.yaml"
mode: local_smart # Options: local_fast, local_smart, cyber_bedrock, etc.
- Run Qontrabender commands:
# Check status
python worqer/qontrabender.py --status
# Analyze file fidelity decisions
python worqer/qontrabender.py --analyze
# Validate policy file
python worqer/qontrabender.py --validate
# List available modes
python worqer/qontrabender.py --modes
7. Cleaning the Workspace
To remove all qage_<timestamp> run directories, use the clean command.
./qonqrete.sh clean