BotConnector

Switchboard · open source

An agent harness where everything is a plugin.

Switchboard runs an AI agent on your own machine, in the terminal (sbx) or in a local web console. It reads and edits files, runs commands after you approve them, and can be reached from Telegram or Discord. Use it with BotConnector Cloud, your own provider key, or a model on your computer.

npm install -g @botconnector/switchboard

Needs Node.js 20.11 or newer (22 for the Discord channel). MIT licence. Source on GitHub · npm

The Switchboard web console: a project folder with its files on the left, and a chat where the agent explored the project and suggested next steps.
The local web console (sbx web): your project and files on the left, the conversation on the right.

Local AI in Switchboard v0.4.5

Run GGUF models on your own computer using the original BotConnector Local Core, already bundled with the Switchboard npm installation. There is no second model manager to install.

One model manager

sbx local opens the original BotConnector model manager. Explicitly choose a compatible llama.cpp runtime and GGUF model for your hardware.

Connect from the console

Start a model in BotConnector Local, then open sbx web → Settings → Models → Local AI → Refresh → Use local model.

Local stays local

Inference uses the loopback endpoint on your device. If the local runtime stops, Switchboard fails visibly instead of silently switching to Cloud AI.

Get started in three steps

  1. Install or upgrade: npm install -g @botconnector/switchboard@latest.
  2. Open the original model manager with sbx local. Choose and explicitly install/start a model suited to your RAM/CPU/GPU. Check it with sbx local status.
  3. Run sbx web and select the running model in Settings → Models.

Requires Node.js 20.11+. GGUF model weights and llama.cpp binaries are not downloaded automatically by npm. Speed and vision/tool support depend on your model and device. Large GGUF browser-agent tasks and Spark-X2.5 remain experimental. This public website does not run anything on your hardware.

v0.4.5 release and Windows portable · Install via npm · BotConnector Local for offline chat and WebApp pairing

Drive Chrome from the side panel

The Switchboard Browser Companion is a free Chrome extension on the Chrome Web Store. Ask for a task in the side panel, such as "fill in this form" or "open this page and summarise it", and watch each step as the agent works. It needs Switchboard running on your computer: sbx web --preset browser. Get it on the Chrome Web Store

  • One tab, not your whole browser. The agent works in its own "Switchboard" tab group and stays on the tab it was given, so opening other tabs does not redirect it. It can only close tabs it opened itself.
  • Chrome asks for each site. You allow a website in Chrome before the agent touches it, and you can decline.
  • You choose how much to approve. Manual asks before every action. Auto checks each action and asks when it detects a risk. Skip turns off automatic checks. Screenshots and downloads always require your explicit approval; prohibited actions remain blocked. When asked, you can allow once, allow for the session, or reject.
  • Some things stay blocked. Purchases, new accounts, permanent deletion, captchas and password or card fields are refused.
  • Real input. Clicks, typing, choosing options, scrolling, key presses such as Enter, Tab and the arrow keys, and page screenshots. A local activity log shows what it did, and you can stop a task at any time.
The Chrome side panel after the agent filled in a registration form and submitted it. The page shows the status "Terkirim: Budi dari Bandung", and the panel lists what was filled in.
The agent filled a form, sent it and reported the result.
The Chrome side panel asking for approval before clicking the Kirim button, with the choices Allow once, Allow for session and Reject.
Before it clicks Send, the agent asks: allow once, for the session, or reject.

If the side panel shows an error

A message such as "Terjadi galat: fetch failed" comes from the call to the AI model, not from the browser connection. Check these in order:

  1. Internet connection on the computer running Switchboard. Switchboard cannot reach the model provider. Try again once the network is stable.
  2. Switch model. In sbx web, open Settings → Models and pick another model. If you use Local AI, run sbx local status to confirm the runtime is active.
  3. Reconnect the browser. If the extension shows "Connected elsewhere" or is not connected, run sbx web --preset browser again, open the extension's connection page, enter the new pairing code (valid 15 minutes, single use), then choose Connect browser.
  4. Allow the site. If the extension icon shows "!", open the panel and choose "Allow in Chrome & continue".

After the first install, refresh the page tab so the extension is detected.

Safe by default

  • Approvals. Shell commands, file writes and MCP tools ask first (risky mode). Answer once, for the session, or refuse.
  • Undo. /changes lists what the agent wrote, /undo restores the files, and never overwrites a file you edited afterwards.
  • Sandbox. Run commands inside bubblewrap or Docker with no network and none of your environment.
  • Local console. sbx web only listens on your own machine and checks every request.

What it can do

Work in a project

Read, write and search files, run commands, fetch web pages and search the web. Switch the project folder from the console with a folder browser.

Keep going when a model fails

List fallback models. If a free model is rate limited or down before it answers, the same request moves to the next one, and a failing model is skipped for a while.

Remember

Plain MEMORY.md notes you can read and edit, search across past sessions, and compaction that summarises old history.

Skills and presets

Reusable SKILL.md skills (the Agent Skills format) and presets that fix the prompt, model and tools for a job, such as a read-only code reviewer.

Delegate

Subagents work in parallel or in the background, with token and cost budgets, and recover after a restart without repeating finished work.

Connect tools

MCP servers (tools, resources and prompts), and a browser through Playwright MCP or the Chrome extension.

Chat from your phone

Telegram and Discord channels with approval buttons. Unknown people get a pairing code that you approve on your computer.

Run on a schedule

Cron automations run unattended and deliver the result to the console or a chat. Anything that needs approval is refused.

Script it

sbx run --json prints one JSON line per event and a final result with an exit code, for CI and scripts.

Commands

CommandWhat it does
sbx chatInteractive session in the current folder (/new, /compact, /usage, /changes, /undo).
sbx run "task"Run one task and print the answer. Add --json for machine-readable output.
sbx webOpen the local web console at 127.0.0.1:7777.
sbx doctorCheck the configuration, the endpoint and your key.
sbx channelsRun Telegram and Discord; sbx channels pairing | approve | revoke manage who may talk to it.
sbx automationsAdd, list and run scheduled tasks.
sbx skills · sbx memory · sbx presetsManage skills, notes and agent presets.
--preset · --sandbox · --approvalChoose the preset, run commands in a sandbox, or change how often it asks.

Set BOTCONNECTOR_API_KEY to use BotConnector Cloud, or add your own provider in Settings. Not sure which tool fits? BCCLI is the coding agent for the terminal; Switchboard is the open harness for building your own agent setups. Full documentation