Skip to main content

Context Augmentation & Reinforcement Layer - Desktop control panel for Claude Code

Project description

CARL Control Panel

A desktop settings UI for managing CARL (Context Augmentation & Reinforcement Layer) configuration.

Note: This is an optional addon. CARL works fully without this tool - it just makes managing settings easier.

Prerequisites

  • Python 3.10+ must be installed
    • Windows: Download from python.org (check "Add to PATH")
    • macOS: brew install python3
    • Linux: sudo apt install python3 python3-pip

Quick Start

Windows

Double-click launcher.pyw

Dependencies install automatically on first run.

macOS / Linux

python3 launcher-mac.py

Build Standalone App

Windows:

build.bat
# Creates: dist/CARL Control Panel.exe

macOS:

./build-mac.sh
# Creates: dist/CARL Control Panel.app

Architecture

carl-control-panel/
├── launcher.pyw      # Desktop launcher (splash, tray, pywebview)
├── launcher-mac.py   # Mac/Linux launcher
├── app.py            # Flask server (REST API)
├── api/              # Python API modules
├── templates/        # Jinja2 HTML templates
├── static/           # CSS/JS assets
├── hooks/            # Bundled CARL hooks
└── assets/           # Icons (optional)

The app uses a Flask + pywebview architecture:

  • app.py - Flask server providing REST API endpoints
  • launcher.pyw - Desktop launcher with splash screen and system tray
  • Frontend connects via HTTP to http://localhost:5050

Features

  • Multi-workspace support - Manage multiple CARL installations
  • Toggle management - DEVMODE, GLOBAL_STATE, domain states, etc.
  • Session overrides - Per-session toggle overrides
  • Hooks management - Install and wire CARL hooks
  • System tray - Minimize to tray, quick access

Development

Run Flask server directly for development:

python app.py
# Server runs at http://localhost:5050

Run with pywebview (full desktop experience):

python launcher.pyw  # Windows
python3 launcher-mac.py  # Mac/Linux

Troubleshooting

"No CARL installation found"

  • Make sure you have a .carl/manifest file in your workspace
  • Use "Initialize CARL" to create one

PyWebView issues on Linux

  • Install GTK: sudo apt install python3-gi gir1.2-webkit2-4.0

Server won't start

  • Check server.log for errors
  • Ensure port 5050 is available

License

Part of the CARL system. MIT License.

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

carl_control_panel-1.0.8.tar.gz (161.0 kB view details)

Uploaded Source

Built Distribution

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

carl_control_panel-1.0.8-py3-none-any.whl (182.3 kB view details)

Uploaded Python 3

File details

Details for the file carl_control_panel-1.0.8.tar.gz.

File metadata

  • Download URL: carl_control_panel-1.0.8.tar.gz
  • Upload date:
  • Size: 161.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for carl_control_panel-1.0.8.tar.gz
Algorithm Hash digest
SHA256 d7c954080461ff98a5c205b20b2d6d68a2c86c60755efdef795e40f28b9ad582
MD5 dcab8cb91b4c9e12ab672a4d20b995f3
BLAKE2b-256 fbca74884749a3e405506dd07697bf34a8b77206f2035cf93cf737a8ad722bee

See more details on using hashes here.

File details

Details for the file carl_control_panel-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for carl_control_panel-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9ccdd334831373ee2e87b9071319369c1dffb7d088fc8a2811e2b61d275fbaa7
MD5 6c13c5ca6d579664180f7997823507b9
BLAKE2b-256 1f45b9400901a5207c21b2c6e6a11a4f727230308a9bd8b0b2f35e8018cc9129

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