โš ๏ธ UNDER DEVELOPMENT: This project is not finished. Content and actions are placeholders and subject to change.

Documentation

Everything you need to install, configure, and get the most from AI Cockpit.

Quick Reference

Keyboard shortcuts

  • Ctrl+Enter โ€” Send prompt
  • Escape โ€” Cancel in-flight response
  • โ†‘ (first line) โ€” Previous prompt
  • โ†“ (last line) โ€” Next prompt / restore draft
  • Ctrl+Shift+R โ€” Hard reload after deploy

%%MARKER%% Protocol

  • %%CREATE:path%% โ€ฆ %%END%% โ€” Write file
  • %%WORKER:provider:model:prompt%% โ€” Call cloud API
  • %%TOOL:tool:preset:path%% โ€” Run local CLI
  • %%PROPOSE:snippet%% โ€ฆ %%END%% โ€” Propose code

Deploy pattern (after every change)

sudo cp ~/Downloads/<file> /var/www/html/cockpit/<file> sudo chown www-data:www-data /var/www/html/cockpit/<file> sudo chmod 644 /var/www/html/cockpit/<file> # Then Ctrl+Shift+R in browser

Start / stop

~/scripts/cockpit_start.sh # Start tmux sessions ~/scripts/cockpit_stop.sh # Stop all sessions tmux ls # Check session state tmux attach -t cockpit-claude # Debug a session

Key File Locations

/var/www/html/cockpit/ Web root index.html Main UI (~13,000 lines) bridge.php Streaming queue library.php RAG backend workers.php Cloud LLM dispatch tools.php Local CLI execution themes.php Theme registry (36 themes) attachments.php Per-chat attachment storage paths.json Runtime path config โ† edit this for your paths ~/scripts/ agent_loop.sh Per-agent queue watcher crud_executor.sh %%MARKER%% dispatcher cockpit_start.sh Start all tmux sessions cockpit_stop.sh Stop all sessions ~/scripts/cockpit_data/ All persistent data โ€” back this up! snippets/ Accumulator code snippets (JSON) knowledge/ Accumulator knowledge items (JSON) workers_keys.enc Encrypted API keys (AES-256-GCM) /home/D/Software/Programing/LocalAIProjs/ Project data <project>/ chat_<name>_contexts/ Attachments + summaries COCKPIT.md Per-project agent context