<!--
Sitemap:
- [Installation](/installation)
- [Upgrading](/upgrading): Version-specific steps for upgrading an existing Bento install.
- [Concepts](/concepts)
- [Build your first pipeline](/tutorials/pipeline-args)
- [Target a specific issue or PR from a URL](/tutorials/url-targeting)
- [Keep state across runs](/tutorials/pipeline-state)
- [Fire a pipeline on a schedule or on demand](/tutorials/schedule-and-fire)
- [Configuration](/configuration)
- [Knowledge Base](/knowledge-base/)
- [Method & delivery](/knowledge-base/modes)
- [Config](/knowledge-base/config)
- [MCP](/knowledge-base/mcp)
- [Pipeline configuration reference](/pipelines/config)
- [Filters](/pipelines/filters)
- [Triggers](/triggers/)
- [GitHub Trigger](/triggers/github)
- [Linear Trigger](/triggers/linear)
- [Webhook](/triggers/webhook)
- [Schedule Trigger](/triggers/schedule)
- [Manual Trigger](/triggers/manual)
- [Traces](/pipelines/traces)
- [Slack](/integrations/slack)
- [Public Access](/public-access)
- [Context Engineering](/context-engineering)
- [Best Practices](/best-practices)
- [Troubleshooting](/troubleshooting)
- [Architecture](/architecture/vision)
- [Workspaces](/workspaces)
- [Authentication](/authentication)
- [Identity](/identity)
- [Security](/security)
- [References](/references)
- [Changelog](/changelog): Bento release history.
- [CLI Reference](/cli/)
- [Setup](/cli/setup)
- [Lifecycle](/cli/lifecycle)
- [Sandbox Image](/cli/image)
- [Observability](/cli/observability)
- [Diagnostics](/cli/diagnostics)
- [Triggers](/cli/triggers)
- [Workbench](/cli/workbench)
- [Auth](/cli/auth)
- [Knowledge](/cli/knowledge)
- [Bento](/index)
- [Runtime Wrapper](/architecture/runtime-wrapper)
- [Skill Evolve](/architecture/skill-evolve)
-->

# CLI Reference

The `bento` CLI manages the daemon lifecycle and provides operational visibility.

| Section | Commands |
|---------|----------|
| [Setup](/cli/setup) | `init`, `update`, `setup gh` |
| [Lifecycle](/cli/lifecycle) | `daemon start/stop/restart/reload/install/uninstall`, `serve` |
| [Sandbox Image](/cli/image) | `image pull` |
| [Observability](/cli/observability) | `daemon status`, `daemon logs`, `trace`, `queue status/resume/reconcile/purge`, `ps`, `invocation list/status/show/logs` |
| [Diagnostics](/cli/diagnostics) | `doctor`, `probe` |
| [Triggers](/cli/triggers) | `trigger list/fire/inspect/replay/schedule` |
| [Workbench](/cli/workbench) | `workbench open/pause/destroy/remove/sweep/diff` |
| [Auth](/cli/auth) | `auth setup`, `auth login`, `token`, `connect github`, `connections list/remove` |
| [Knowledge](/cli/knowledge) | `ask`, `knowledge-base` (`kb`) |

## Daemon Endpoint

Commands that talk to the daemon resolve its address automatically: the
`BENTO_DAEMON_URL` env var (full origin, e.g. for a remote daemon) wins,
then `BENTO_PORT`, then `port:` in the project's `.bento/daemon.yaml`
(legacy `webhooks.port` still honored), falling back to `7890`.
