The new wizard
Answer a few questions and bxAgents new builds the agent: tools, MCP servers, channels, access and deploy target.
On this page
The new wizard
Run bxAgents new in a terminal with no --model and it asks what the agent should do, then writes the project to match. Nothing in it is magic: every answer ends up in a file you can read, and the last screen prints the one-line command that would build the same project without any questions.
bxAgents new my-agent
It is a full-screen UI in the teal of the BxAgents logo. Arrow keys (or j/k) move, Space ticks, Enter confirms, Esc goes back one question, Ctrl+C cancels and creates nothing. Answers you have given collapse to one line each above the current question.
The whole wizard in one run: a single agent on OpenAI with web search, memory saved to disk and a web chat.

Answers you have given collapse to one line each above the question.
What it asks
| Stage | What you choose | What it writes |
|---|---|---|
| Name, purpose | The agent's name and a one-line description | name, description in Agent.yml |
| Shape | A single agent, a team, a scheduled agent, an MCP server | The matching template |
| Model | A provider, then optionally a model name (Enter takes the provider's default). Another provider lets you type provider/model yourself | model, and a stub for the provider's <PROVIDER>_API_KEY in .env |
| Model settings | Whether to tune the model, then the temperature (0 to 2), the longest answer in tokens and the timeout in seconds. Enter leaves one unset | params (temperature, max_tokens) and options (timeout) in Agent.yml |
| Tools | Date and time, fetch pages, search the web, browse websites, files, images, speech and translation | A tools: list; browsing also adds bx-playwright to your box.json |
| Search provider | The built-in one, Brave, Tavily, Exa or Google | A key stub in .env, and a line in instructions.md telling the agent which provider to use |
| File tools | Read only, all 19, or tool by tool, then the folders they may use | toolOptions.bxai.allowedPaths |
| Memory | In memory, or saved to disk | memory and checkpointer |
| MCP servers | GitHub, Stripe, Notion, Atlassian, Cloudflare, Supabase, Git | mcpServers entries and token stubs |
| Channels | Web chat, HTTP API, Telegram, Slack, Discord, WhatsApp, Teams, SMS, GitHub, Email, Signal | A gateways/*.bx file and the stubs it needs |
| Web access | Open, a shared key, or named users with passwords | apiKeyEnvVar or users on the web chat entry |
| Guard | Flag or block suspicious input, or turn the guard off | A security block |
| Look and feel | The terminal chat's prompt style (bars, bars-hints, rule, box or panel), then the widgets for the top bar and for the bottom (agent, profile, folder, user, clock, machine, git, date, session, elapsed, ctx for the context size) | A tui: block, written only when you change something |
| Deploy | Docker, DigitalOcean, SSH, SFTP, FTP, a local folder, or later | deploy/<target>.json |
| Review | A summary of every answer and the one-line command that repeats it. Choose Create the project, Start over or Cancel | Nothing until you create |
A stage whose answer you already gave as a flag is skipped and shown as answered. A stage that does not apply (the search provider when search is off) is skipped without a word.

A stage appears only when an earlier answer needs it: ticking web search asks which provider.

The look-and-feel stage previews each widget with a sample value.
File tools never get the whole disk
bx-ai ships 19 file tools but registers none of them. The wizard offers them, and always asks which folders they may use: the temp folder (tmp), the folder you run the agent from (cwd), or a path you type. It will not continue with none. There is no way to ask for unrestricted access from the wizard or from the flags; an empty list is refused because bx-ai reads an empty list as "everywhere".
tools:
- readFile@bxai
- listDirectory@bxai
toolOptions:
bxai:
allowedPaths:
- tmp
- cwd
Secrets
The wizard never asks you to type a secret that it stores.
- API keys and tokens go in
.envas empty stubs, each under a comment saying where to get it. The files that use them hold only the variable's name. - A web access key is generated for you (a random 64-character value) and written to
.env, because it protects something you are about to run. - A web chat password is hashed with the same PBKDF2 hasher as
bxAgents hash-password; only the hash reachesgateways/webui.bx, and it is safe to commit.
.env is in the .gitignore the project is created with.
MCP servers
The wizard offers the seven connectors and asks which to leave out. The ones you keep are offered to every person, who connects their own account; nothing is written for them in Agent.yml unless you leave some out. --mcp (and add mcp) still writes a server of your own into mcpServers, with its credential read from the environment when the app starts:
mcpServers:
- name: github
url: "https://api.githubcopilot.com/mcp/"
token: "${env.GITHUB_PERSONAL_ACCESS_TOKEN}"
| Server | Credential | Risk |
|---|---|---|
| GitHub | GITHUB_PERSONAL_ACCESS_TOKEN | High: can open and merge pull requests, push files, trigger Actions |
| Stripe | STRIPE_AGENT_API_KEY | High: moves money. Use a sandbox account first |
| Notion | NOTION_MCP_TOKEN | Medium: edits and deletes pages. Tokens need a Business or Enterprise plan |
| Atlassian | ATLASSIAN_API_TOKEN | Medium: creates and updates work items and pages. Needs an admin to allow API tokens first |
| Cloudflare | CLOUDFLARE_API_TOKEN | High: DNS, Workers, billable resources, depending on the token |
| Supabase | SUPABASE_ACCESS_TOKEN | High: runs SQL. The address starts read-only |
A high-risk connector shows what it can do before a person connects it. Git runs as a program on your machine (uvx mcp-server-git, pinned to a version we have checked, and started without the agent's secrets in its environment), so it needs uv installed where the agent runs, and it works in the folder you start the agent from. The wizard writes it as a command entry; see programs as MCP servers.
Connectors
Every connector is offered by default. The wizard asks Leave out any connectors? and writes a connectors: key only when you leave some out (or all). Nothing is connected by creating the project.
After it is created

The last screen: where the project is, what to do next, and the command that repeats it without questions.
new runs box install (skip it with --skipInstall), then prints what is left: the keys to fill in, how to chat, test, serve and deploy, and, for each channel you chose, the setup that happens outside the project. For WhatsApp that means the Meta app, the verify token and a public address; for Slack, Socket Mode and two tokens; for Signal, a running signal-cli. The same steps live on each gateway page.
Without the wizard
The wizard writes nothing a flag cannot. The last screen prints the command; this one came from a real run:
bxAgents new support-bot --name=support-bot --model=claude --with=time,fetch,search --search=brave \
--mcp=github --channels=web,telegram --web-auth=key --guard=flag --deploy=docker --registry=ghcr:me/support-bot
| Flag | Takes |
|---|---|
--with | time, fetch, search, browse, files, media (a list) |
--search | http, brave, tavily, exa, google |
--files, --files-dir | read, all or a list of tool names; folders as tmp, cwd or absolute paths. Both are needed together |
--temperature | A number from 0 to 2 |
--max-tokens, --timeout | A positive whole number (tokens, seconds) |
--memory | cache or file |
--mcp | MCP server ids (a list) |
--connectors | all, none, only:a,b or exclude:a,b |
--channels | web, api, or channel ids (a list) |
--web-auth | open or key. Users need passwords, so they come from the wizard or from gateways/webui.bx |
--guard | off, flag or block |
--prompt | bars, bars-hints, rule, box or panel |
--widgets, --widgets-bottom | Widget names for the top bar and for the bottom (a list), or none |
--deploy | docker, digitalocean, ssh, sftp, ftp, local, with --registry=ghcr:owner/name (or dockerhub:, docr:), --app, --region, --host, --user, --remote-path, --destination as the target needs |
A flag with a bad value stops the command and says what the flag accepts. The wizard turns on when:
| You run | Result |
|---|---|
bxAgents new at a terminal | The full-screen wizard |
bxAgents new in a pipe, or with --no-tui | The same questions as numbered lines. Type back to go back |
bxAgents new --model=... | No questions: a model means a script is calling. Add --wizard to be asked the rest |
bxAgents new --no-wizard or --yes | No questions, flags and defaults only |
Set NO_COLOR for plain output. The Agent.yml options the wizard writes need the default Agent.yml, so they cannot be combined with --class.