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.

The wizard's second question

Answers you have given collapse to one line each above the question.

What it asks

StageWhat you chooseWhat it writes
Name, purposeThe agent's name and a one-line descriptionname, description in Agent.yml
ShapeA single agent, a team, a scheduled agent, an MCP serverThe matching template
ModelA provider, then optionally a model name (Enter takes the provider's default). Another provider lets you type provider/model yourselfmodel, and a stub for the provider's <PROVIDER>_API_KEY in .env
Model settingsWhether to tune the model, then the temperature (0 to 2), the longest answer in tokens and the timeout in seconds. Enter leaves one unsetparams (temperature, max_tokens) and options (timeout) in Agent.yml
ToolsDate and time, fetch pages, search the web, browse websites, files, images, speech and translationA tools: list; browsing also adds bx-playwright to your box.json
Search providerThe built-in one, Brave, Tavily, Exa or GoogleA key stub in .env, and a line in instructions.md telling the agent which provider to use
File toolsRead only, all 19, or tool by tool, then the folders they may usetoolOptions.bxai.allowedPaths
MemoryIn memory, or saved to diskmemory and checkpointer
MCP serversGitHub, Stripe, Notion, Atlassian, Cloudflare, Supabase, GitmcpServers entries and token stubs
ChannelsWeb chat, HTTP API, Telegram, Slack, Discord, WhatsApp, Teams, SMS, GitHub, Email, SignalA gateways/*.bx file and the stubs it needs
Web accessOpen, a shared key, or named users with passwordsapiKeyEnvVar or users on the web chat entry
GuardFlag or block suspicious input, or turn the guard offA security block
Look and feelThe 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
DeployDocker, DigitalOcean, SSH, SFTP, FTP, a local folder, or laterdeploy/<target>.json
ReviewA summary of every answer and the one-line command that repeats it. Choose Create the project, Start over or CancelNothing 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.

The search provider question

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

The question for the top bar widgets

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 .env as 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 reaches gateways/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}"
ServerCredentialRisk
GitHubGITHUB_PERSONAL_ACCESS_TOKENHigh: can open and merge pull requests, push files, trigger Actions
StripeSTRIPE_AGENT_API_KEYHigh: moves money. Use a sandbox account first
NotionNOTION_MCP_TOKENMedium: edits and deletes pages. Tokens need a Business or Enterprise plan
AtlassianATLASSIAN_API_TOKENMedium: creates and updates work items and pages. Needs an admin to allow API tokens first
CloudflareCLOUDFLARE_API_TOKENHigh: DNS, Workers, billable resources, depending on the token
SupabaseSUPABASE_ACCESS_TOKENHigh: 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 final screen after the project 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
FlagTakes
--withtime, fetch, search, browse, files, media (a list)
--searchhttp, brave, tavily, exa, google
--files, --files-dirread, all or a list of tool names; folders as tmp, cwd or absolute paths. Both are needed together
--temperatureA number from 0 to 2
--max-tokens, --timeoutA positive whole number (tokens, seconds)
--memorycache or file
--mcpMCP server ids (a list)
--connectorsall, none, only:a,b or exclude:a,b
--channelsweb, api, or channel ids (a list)
--web-authopen or key. Users need passwords, so they come from the wizard or from gateways/webui.bx
--guardoff, flag or block
--promptbars, bars-hints, rule, box or panel
--widgets, --widgets-bottomWidget names for the top bar and for the bottom (a list), or none
--deploydocker, 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 runResult
bxAgents new at a terminalThe full-screen wizard
bxAgents new in a pipe, or with --no-tuiThe 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 --yesNo 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.

Edit this page Download Markdown Last updated Nov 26, 2026, 8:45:51 AM Report an issue