EveryDev.ai
Subscribe
Home
Tools

3,965+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. bough
    bough icon

    bough

    AI Coding Assistants

    A terminal coding agent where the model writes one JavaScript program per turn instead of calling tools one at a time, enabling batched, branching actions in a single round trip.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Free and open-source under the Apache-2.0 license. Bring your own LLM provider API key.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Coding AssistantsAgent FrameworksCommand Line Assistants

    Alternatives

    IndusagiMastra CodeZero
    Developer
    Andrey LukinAndrey Lukin builds bough, an open-source terminal coding ag…

    Listed Sep 2026

    About bough

    bough is an open-source terminal coding agent written in Go, created by Andrey Lukin and released under the Apache-2.0 license. Rather than exposing a list of discrete tools the model calls one at a time, bough gives the model a JavaScript runtime where it writes a full program per turn — patching files, running shell commands, and calling MCP tools as ordinary function calls in the same script. The project reached v0.2.7 as of September 2026 and is described by its author as a one-person project in daily use.

    What It Is

    bough is a CLI-first coding agent that implements what the README calls "code mode": the model responds with a JavaScript block, bough executes it, and the output feeds back into the next model turn. This means a single model response can patch a file, run tests, inspect the diff, and branch on the result — all without an extra round trip. The approach is grounded in prior research; the README cites the CodeAct paper (arXiv 2402.01030) and draws comparisons to HuggingFace's smolagents and Cloudflare's Code Mode. bough positions itself closest to Claude Code, opencode, and pi, and deliberately borrows their conventions (AGENTS.md/CLAUDE.md, skills, hooks, MCP, subagents) while differing architecturally.

    The Code-Mode Architecture

    The core design decision is that every tool — tools.view, tools.patch, tools.bash, tools.spawn, and any MCP tool — is a plain function inside the JavaScript runtime. The model writes one program that can call several of them, loop over results, and conditionally branch, rather than waiting for the agent loop to dispatch each call separately. The author's own session logs (September 2–15, 2026, mostly openai/gpt-6-astra) show 735 turns running 5,521 programs that made 10,542 tool calls — 1.9 per program — with 52% of programs making more than one call and 30% using control flow (if, for, try).

    Plugin-First Design

    bough is structured as a small kernel where every component is a plugin row in a YAML file:

    • Provider — Anthropic, OpenAI, OpenRouter, or Cerebras (bring your own key)
    • Loop, tools, TUI, web UI, MCP, hooks, skills — all replaceable rows
    • Live reload — saving bough.yml mid-session remounts only changed rows; the conversation survives because context is rebuilt from the append-only JSONL session log
    • init.js — adds tools, commands, or whole providers in a few lines without writing Go
    • Go plugins — new rows can be written in Go for deeper integration

    Three Interfaces

    bough ships three ways to interact with it:

    • bough — a terminal UI (built with Bubbletea) with a / command palette, @file references, !shell escapes, esc esc to rewind, and -c to resume a session
    • bough serve — a web control room showing live transcripts, pending questions, and pasted images; the first visit walks through adding a key and picking a repo
    • bough --headless — stdin-in, events-out mode with --json for scripts and benchmarks

    Sessions are stored as append-only JSONL under ~/.bough/history, enabling resume, search, and mid-conversation model switching.

    Safety Model and Known Gaps

    File tools are scoped to the git checkout bough started in; tools.write and tools.patch refuse paths outside it. The shell (tools.bash) runs as the user with no sandbox by default. For an enforced boundary, bough --project <slug> runs the shell inside a Linux container (Apple container, macOS only for now) with per-turn git worktree snapshots and /undo support. The README explicitly notes: no Windows build, container sessions require macOS, local sessions have no per-turn file checkpoints, and the usage numbers come from one person's sessions rather than a controlled benchmark.

    Update: v0.2.7

    The latest release is v0.2.7, published September 15, 2026. The repository was last pushed on September 18, 2026, indicating active development. The project also ships an LLM wiki feature (bough wiki install) that has an agent compile session logs into cited markdown pages of decisions, root causes, and gotchas — readable in bough serve with claims shown beside their source log entries.

    bough - 1

    Community Discussions

    Be the first to start a conversation about bough

    Share your experience with bough, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Free and open-source under the Apache-2.0 license. Bring your own LLM provider API key.

    • Full terminal UI and web control room
    • Code mode: model writes programs instead of single tool calls
    • Anthropic, OpenAI, OpenRouter, Cerebras provider support
    • MCP tool integration
    • Hooks, skills, and plugin system

    Capabilities

    Key Features

    • Code mode: model writes one JavaScript program per turn instead of calling tools one at a time
    • tools.view, tools.patch, tools.bash, tools.spawn and MCP tools as plain JS functions
    • Plugin architecture: every component (provider, loop, tools, TUI, web UI) is a YAML row
    • Live reload: saving bough.yml mid-session remounts only changed rows
    • Supports Anthropic, OpenAI, OpenRouter, and Cerebras providers
    • Append-only JSONL session history with resume, search, and mid-session model switching
    • Terminal UI with / palette, @file references, !shell escapes, esc esc rewind
    • bough serve: web control room with live transcripts and image paste
    • bough --headless: stdin/stdout mode for scripts and benchmarks
    • MCP (Model Context Protocol) tool integration
    • Hooks: plain JS files that run on session events (session-start, pre-code-exec, post-result, etc.)
    • Skills: CLAUDE.md-compatible skill definitions loaded by name in prompts
    • Project sessions: shell runs in Linux container with per-turn git worktree snapshots and /undo
    • LLM wiki: agent compiles session logs into cited markdown pages
    • File tools scoped to git checkout for safety
    • init.js for adding tools and providers without writing Go
    • No telemetry
    • macOS and Linux, x86-64 and arm64

    Integrations

    Anthropic Claude
    OpenAI
    OpenRouter
    Cerebras
    MCP (Model Context Protocol) servers
    Git
    Apple container (macOS)
    Homebrew
    Go toolchain
    Bun (web UI build)
    Playwright (web UI tests)
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate bough and help others make informed decisions.

    Developer

    Andrey Lukin

    Andrey Lukin builds bough, an open-source terminal coding agent written in Go. The project takes a code-mode approach to agentic AI, having the model write executable JavaScript programs instead of calling tools one at a time. bough is a one-person project in daily use, released under the Apache-2.0 license.

    Read more about Andrey Lukin
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Indusagi icon

    Indusagi

    An open-source terminal-first AI coding agent framework with a TypeScript SDK and CLI for building autonomous agent loops with full programmatic control.

    Mastra Code icon

    Mastra Code

    Mastra Code is a terminal-based AI coding agent that connects to 70+ AI models and provides tools for reading, searching, editing, and executing code directly in your terminal.

    Zero icon

    Zero

    An open-source terminal coding agent built in Go that reads repos, edits files, runs commands, and supports 25+ model providers with local session storage and no telemetry.

    Browse all tools

    Related Topics

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    868 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    720 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    246 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions