Bough is a terminal coding agent where the model writes JavaScript programs that execute tool calls directly, enabling batch operations and conditional branching in a single step rather than sequential round trips. The tool supports multiple LLM providers, operates locally with append-only session history, and is highly configurable through YAML plugins.