Configuration
Most projects need no manual configuration:
nbx analyze .nbx configureBox configuration
Section titled “Box configuration”nbx init creates explicit box configuration when defaults are not enough:
nbx init --name my-box --alias appUse nbx repo to manage multiple repositories inside one box:
nbx repo add ./apps/api --as apinbx repo add ./apps/web --as webnbx repo listRepository aliases must be unique. Changing an alias changes repository identity and requires re-analysis.
Agent configuration
Section titled “Agent configuration”nbx configure detects and configures supported coding clients:
nbx configurenbx configure statusUse nbx configure --force to replace outdated managed assets. Avoid editing generated files by hand.
nbx init --cirequires existing box configuration and lock state.nbx status --checkexits non-zero when analysis is stale or integrity checks fail.nbx configure -yaccepts integration defaults without prompts.nbx verify --digest --audience agentproduces a concise verification report.
Targets
Section titled “Targets”Local reads use the current box. Use --box, --repo, or --remote explicitly when another target is intended.
Host a box privately
Section titled “Host a box privately”A box can have a private copy in your organization. You read it with --remote origin, like a git remote. Hosting is opt-in. First choose the organization:
nbx sync enable --organization <ORGANIZATION>This writes the organization to the [sync] section of .nbx/nbx.toml. It needs no sign-in and sends nothing about your box; only the usual telemetry runs (see What nbx sends). Review and commit that change. nbx sync disable clears it.
nbx push publishes the private copy, including the source text of each symbol (see What nbx sends). Only some nbx builds include it, and a build without it says so when you read --remote origin. Then read the copy:
nbx search "auth refresh flow" --remote originReading origin needs a sign-in, and it works only on a machine that has pushed the box with nbx push. Another machine, such as a teammate’s clone, reads origin after it pushes the box too. The copy is private to that organization. Public example boxes are in the Showcase.
Migrations
Section titled “Migrations”Preview metadata migrations before applying them:
nbx migrate --dry-run