Development

Find the source repository and contribution path for the part of BitRouter you want to change.

1 min readEdit this page

BitRouter is developed in the open. Use this page when you intend to change the product, its documentation, or its agent-facing setup rather than operate an existing deployment.

Choose the repository

ChangeRepository
Router, CLI, protocols, providers, policies, or generated OpenAPI sourcebitrouter/bitrouter
Website, guides, API reference presentation, blog, or changelogbitrouter/bitrouter-docs
Agent-install and setup skillsbitrouter/agent-skills

Documentation workflow

Most documentation is hand-authored .mdx. Two surfaces are generated and must be changed at their source:

  • API endpoint pages come from openapi.yaml through pnpm generate:openapi.
  • The CLI page comes from the binary snapshot and cli-overlays/ through pnpm generate:cli.

Before opening a documentation change, run:

pnpm lint:docs
pnpm test
pnpm build

For operating an existing binary, start with Self-hosting. For adding a model, provider, or router-owned tool without changing core behavior, start with Customization.

How is this guide?

On this page