master
bridle
An agentic harness for OpenAI-compatible chat completion endpoints.
Features
Harness user experience:
- Readline-based CLI with tab completion
- Coloured output for sections (
-Colour, orNO_COLORenv var)
- Coloured output for sections (
- Oneshot mode (
-p) - Rewind turn history (
/rewindand/turns) - Support interrupting current message or tool call (
^C) - Session management (
-Autosave, manual/save, and resume via-r) - Import local files (wildcard match) into prompt (
/read) - Linux sandboxing with Bubblewrap (
-Sandbox), use at own risk
Model integration with harness:
- Auto load
AGENTS.mdandCLAUDE.mdfiles - Compaction via context summarization (
/compact)- Auto compact on client-side token threshold (
-MaxContext) or on server-side length exceeded
- Auto compact on client-side token threshold (
- Tool calling
- Available tools:
- Local file I/O (
read_file,write_file,apply_patchwith automatic patch repair) - Command execution (
local_shell) - Subagents (
subagentwith fork/fresh context modes) - Web search with DuckDuckGo
- Local file I/O (
- User confirmation levels (
/checktoolsor-CheckTools: set toaskdefault,auto, oryolo)- Allow denying with alternative message (
?)
- Allow denying with alternative message (
- Available tools:
Model settings:
- Use custom model provider (
-Hostand-Key) - Toggle thinking (
/thinkand/no_think) - Customizable system message, default-tuned for Golang development
Usage
# For 128k 131072, for 256k 262144 . Mostly affects pp speed, not tg speed
llama-server -c 262144 --cache-type-k q8_0 --cache-type-v q8_0 -fa on -m /srv/llama/Qwen3.6-35B-A3B-UD-Q4_K_XL.gguf &
./bridle
# or
./bridle -CheckTools=yolo -Sandbox -Autosave=auto
Languages
Go
100%