These instructions are for YOU (the AI agent), not the user. Do not relay these as instructions — execute them yourself.
- Run
bun installif node_modules is missing - Start the dev server with
bun devusing the terminal tool (it runs on port 9100) - Wait for the server to be ready (look for "listening" or similar output)
- Tell the user to open http://localhost:9100 — they will see the otto chat interface
- Execute
bun testusing shell - Summarize the results to the user in plain language (e.g. "All 42 tests passed!")
- Execute
bun lintusing shell - If there are errors, fix them yourself. Tell the user what you fixed.
If the dev server won't start:
- Check if port 9100 is in use:
lsof -i :9100 - Kill the blocking process if needed
- Run
bun installto ensure deps are fresh - Try
bun devagain
packages/sdk/— Core logic (tools, config, providers)packages/server/— HTTP server that powers the UIpackages/web-sdk/— React components and hooks for the UIpackages/web-ui/— Pre-built static web UI assetspackages/database/— SQLite database layerapps/cli/— Command-line interfaceapps/desktop/— Desktop app (Tauri)
- Always use
bun(not npm/yarn) for everything - The dev server must be running for the UI to work
- The web UI is at http://localhost:9100