Daily Operation
Start it
Section titled “Start it”bakin startOnce it’s running, open http://localhost:3737. That’s Bakin basecamp.
Want it always running? Set Bakin up to run as a service.
The default port is 3737. If something else is already on it, override the port:
PORT=3838 bakin startFor access from another machine, expose the port through Tailscale, Cloudflare Tunnel, or whatever you already trust. Bakin is local-first and assumes you control the network in front of it.
Stop and restart
Section titled “Stop and restart”bakin stopbakin restartrestart is a stop followed by start. Good for picking up settings changes, core agent file changes, or rare plugin manifest/schema changes that don’t auto-reload.
Dev-installed plugins (bakin plugins install --dev <path>) load on normal start because Bakin follows the symlink under ~/.bakin/plugins/<id>. Live rebuilds for source edits only run under bakin dev.
Check that it’s healthy
Section titled “Check that it’s healthy”Two flavors of “is it working”:
bakin status # is the server running, and on what portbakin doctor # full health check across runtime, models, channels, pluginsRun status for a quick “is it up”. Run doctor when something feels off or after a major change.
Get the freshest Bakin
Section titled “Get the freshest Bakin”bakin updatePulls the latest GitHub release, verifies checksums.txt, and swaps your binary in place. It doesn’t touch a running server. Run bakin restart afterward for the new binary to take effect.
Tail the logs
Section titled “Tail the logs”bakin logs # rolling server logbakin logs mcp # MCP audit logLog lines go to both stdout and ~/.bakin/logs/server.log (10 MB rotation, single backup). Tail with the commands above or watch the file directly.
Inspect runtime paths
Section titled “Inspect runtime paths”bakin pathsShows where Bakin resolved its home directory, content dir, plugin paths, logs, and lock files. Useful when something feels off and you want to confirm where state actually lives.
Reindex search
Section titled “Reindex search”If search results look stale, or you’ve edited ~/.bakin/ files outside the app:
bakin reindex # all tablesbakin reindex --table=tasks # one tableUse --rebuild only when you want to drop the existing index and start fresh.
Prefer the dashboard? The same controls live in the Health plugin.
Run as a service (macOS)
Section titled “Run as a service (macOS)”Optional. To keep Bakin running across reboots:
bakin setup service # install LaunchAgentbakin setup service --uninstall # remove itPlenty of people just leave bakin start running in a terminal session or window. Whatever works.
For agents
Section titled “For agents”Lifecycle commands (start/stop/restart/update/logs) are human-only. The diagnostic and search surfaces are also exposed as MCP exec tools so agents can self-check and pull data.
bakin_exec_health_doctor: Run system diagnostics (agent roster, skill sync, runtime, taskboard, assets, etc.). Returns detailed check results. Use fresh=true to force a full re-check instead of returning cached results.bakin_exec_health_status: Get a quick system health summary — uptime, memory, active MCP sessions, and doctor error/warning counts. Useful for checking system state before starting work.
bakin_exec_search_facets: Get facet value counts for a plugin. Useful for understanding data distribution (e.g., how many tasks per status).bakin_exec_search_lookup: Look up a specific indexed document by its key and plugin.bakin_exec_search_query: Search across all Bakin content (tasks, assets, projects, workflows, schedule, team, memory, messaging) or a specific plugin. Returns ranked results with scores.bakin_exec_search_reindex: Trigger a full reindex of all content types (or a specific plugin). Use after bulk data changes.bakin_exec_search_similar: Find documents similar to a given text description. Uses semantic (vector) search for meaning-based matching.bakin_exec_search_stats: Get search system health: enabled status, per-table document counts, and index stats.bakin_exec_search_table: Search a specific Bakin plugin with facet filtering. Returns results plus facet counts for filtering.
bakin_exec_get_paths: agent equivalent ofbakin paths.
Full schemas in the Exec tools reference.