For the complete documentation index, see llms.txt. This page is also available as Markdown.

Standalone mode (for individuals)

Set up AI Architect on your local machine (e.g. Laptop) for quick evaluation

Bito's AI Architect can be self-hosted in two ways depending on your use case.

  • Enterprise mode — (for teams to share the same indexed codebase, or you require Kubernetes, SSO, or dedicated server infrastructure. See the Enterprise mode setup guide.)

  • Standalone mode — (for individuals to quickly try out AI Architect on your own machine)

This guide covers Standalone mode — a lightweight, single-machine install for individual developers who want to get up and running quickly, without provisioning shared infrastructure or coordinating with a DevOps team. It runs entirely in Docker on your local machine and automatically registers itself with your coding agents.

Why choose self-hosted deployment? Organizations with strict data governance requirements, air-gapped environments, or specific compliance needs benefit from running AI Architect within their own infrastructure. Your codebase analysis and knowledge graph stay entirely within your control, while still providing the same powerful context-aware capabilities to your AI coding tools.

What you'll accomplish: By the end of this guide, you'll have AI Architect running on your local machine, connected to your Git repositories, and ready to integrate with AI coding tools like Claude Code, Cursor, Windsurf, GitHub Copilot, etc. through the Model Context Protocol (MCP).

Prerequisites

a. Required accounts and tokens

1

Bito API Key (aka Bito Access Key)

You'll need a Bito account and a Bito Access Key to authenticate AI Architect. You can sign up for a Bito account at https://alpha.bito.ai, and create an access key from Settings -> Advanced Settings

2

Git provider

We support the following Git providers:

  • GitHub

  • GitLab

  • Bitbucket

  • Azure DevOps

So, you'll need an account on one of these Git providers to index your repositories with AI Architect.

3

Git Access Token

A personal access token from your chosen Git provider is required. You'll use this token to allow AI Architect to read and index your repositories.

  1. GitHub Personal Access Token (Classic): To use GitHub repositories with AI Architect, ensure you have a CLASSIC personal access token with repo access. We do not support fine-grained tokens currently.

  2. GitLab Personal Access Token: To use GitLab repositories with AI Architect, a token with API access is required.

  3. Bitbucket Access Token: To use Bitbucket repositories with AI Architect, you need API Token or HTTP Access Token depending on your Bitbucket setup.

    1. Bitbucket Cloud (API Token): You must provide both your token and email address.

    2. Bitbucket Self-Hosted (HTTP Access Token): You must provide both your token and username.

  4. Azure DevOps (cloud) Personal Access Token with Full access: The token must be created for the Azure DevOps organization whose repositories you want to index.

4

LLM API keys

Bito's AI Architect uses Large Language Models (LLMs) to build a knowledge graph of your codebase.

LLM API keys are required for self-managed AI Architect deployments. Provide an API key for the LLM provider you plan to use, such as:

  • Anthropic (Claude)

  • OpenAI (GPT)

  • Portkey

  • Google Vertex AI

  • Azure AI

  • Novita

  • AWS Bedrock

  • Google Gemini

  • Local OpenAI-compatible (bring your own server)

What you need to configure Google Vertex AI:

  • A GCP service-account key JSON with Vertex AI access

  • The GCP project ID

  • A region (e.g. us-central1)

What you need to configure Azure AI:

  • The Azure AI API key

  • The endpoint URL (e.g. https://<resource>.openai.azure.com)

What you need to configure Local OpenAI-compatible:

  • The base URL of your OpenAI-compatible /v1 endpoint (for example https://llm.internal:8000/v1)

  • The exact model name served by your endpoint (recommended: claude-haiku-4.5)

  • An API token — optional; sent as a Bearer token if provided, and can be left blank for keyless local servers

The endpoint must be reachable from inside the AI Architect containers: for a server running on the same host, use http://ai-architect-local:<port>/v1 instead of localhost, 127.0.0.1, or 0.0.0.0; for remote servers, use a private-network or VPN-resolvable hostname. Supported servers include vLLM, Ollama, LM Studio, LocalAI, TGI, and llama.cpp.

Testing with GitHub Copilot as your local endpoint? See How to test against the GitHub Copilot Bridge (VS Code) below.

AI Architect supports Portkey integration for custom proxy configurations.

With an Anthropic API key, indexing costs are typically $0.15 - $0.30 per MB of indexable code (source files only; binaries, archives, and images are skipped).

Teams of up to five members can use AI Architect for free with their preferred coding agents by using their own LLM API keys. Larger teams require Bito Enterprise Plan, which includes bundled LLM tokens. Further, if you want to power Bito Code Review Agent with AI Architect, you will need Bito Enterprise Plan regardless of the size of the team.

To use Bito's LLM instead (no LLM keys required from you), contact support@bito.ai about the Bito Enterprise Plan.

How to test against the GitHub Copilot Bridge (VS Code)

Overview. The Copilot Bridge extension exposes GitHub Copilot’s models inside VS Code as an OpenAI-compatible /v1 endpoint. Register it as the Local OpenAI-compatible provider above to test AI Architect against Copilot’s models without a separate LLM API key.

1. Install the extension. Install thinkability.copilot-bridge (repo: larsbaunwall/vscode-copilot-bridge). Ensure GitHub Copilot and Copilot Chat are installed and signed in — the bridge proxies the VS Code Language Model API and needs an active Copilot seat.

2. Configure (open Settings with Cmd+, on macOS or Ctrl+, on Windows/Linux, then search “bridge” — or edit settings.json directly):

  • "bridge.enabled": true

  • "bridge.port": 8000 — pin it (default 0 = random port, which breaks a stable baseURL)

  • "bridge.token": "<your-token>"REQUIRED; an empty token blocks all API access

  • "bridge.maxConcurrent": 4 — default 1 serializes AI Architect’s calls

3. Start it. Command Palette → Copilot Bridge: Enable (and Copilot Bridge: Status to confirm the port). After changing settings, re-run Enable or Developer: Reload Window.

4. Verify the bridge directly:

curl http://127.0.0.1:8000/health
curl -H "Authorization: Bearer <token>" http://127.0.0.1:8000/v1/models

Note an exact model id from /v1/models (e.g. claude-sonnet-4.6, gpt-5.4).

b. System requirements

The AI Architect standalone mode requires the following specs:

1

Hardware specifications

Minimum
Recommended

Operating System

macOS 12+, Ubuntu 20.04+

Same

Docker

Desktop 20.10+ with Compose v2

Docker Desktop 4.x+

Docker RAM

6 GB

8 GB+

Docker CPUs

3

4+

Disk

10 GB

50 GB+

Ports

5001–5005 free on localhost

Same

AI Architect automatically detects available system resources during setup and configures optimal resource allocation for its Docker containers. For most deployments, the automatic configuration provides good performance. However, you can manually adjust these settings to fine-tune performance or accommodate specific workload requirements.

You can customize resource limits by editing the .env-bitoarch file and run the command bitoarch restart --force to update the allocation. The following environment variables can be manually configured to control resource allocation.

CIS_PROVIDER_MEMORY_LIMIT=1g
CIS_MANAGER_MEMORY_LIMIT=2g
CIS_CONFIG_MEMORY_LIMIT=512m
MYSQL_MEMORY_LIMIT=2g
CIS_TRACKER_MEMORY_LIMIT=512m


CIS_PROVIDER_CPU_LIMIT=1.0
CIS_MANAGER_CPU_LIMIT=2.0
CIS_CONFIG_CPU_LIMIT=0.5
MYSQL_CPU_LIMIT=1.0
CIS_TRACKER_CPU_LIMIT=0.5
2

Docker Desktop / Docker Service (required)

Docker Compose is required to run AI Architect.

The easiest and recommended way to get Docker Compose is to install Docker Desktop.

Docker Desktop includes Docker Compose along with Docker Engine and Docker CLI which are Docker Compose prerequisites.

Install Docker Desktop

Installation guide

1

Configuration

Download the install.default.yaml file, then rename it to install.yaml and place it at ~/.bitoarch/install.yaml on your machine.

Open the file and update the configuration with your details by following the inline instructions.

Providing your Bito API key and Git credentials is required for the setup to work.

Note: Refer to the Prerequisites section for details on how to obtain the required items.

2

Install AI Architect

Before proceeding with the installation, ensure Docker Desktop / Docker Service is running on your system. If it's not already running, launch it and wait for it to fully start before continuing.

Open your terminal:

  • Linux/macOS: Use your standard terminal application

Execute the installation command:

Note: To install self-hosted AI Architect for your team, refer to Enterprise mode setup guide.

The installation script will:

  • Download the latest Bito AI Architect package

  • Extract it to your system

  • Initialize the setup process

Installing dependencies:

The AI Architect setup process will automatically check for required tools on your system. If any dependencies are missing (such as jq, which is needed for JSON processing), you'll be prompted to install them. Simply type y and press Enter to proceed with the installation.

3

Add repositories

Once your Git account is connected successfully, Bito automatically detects your repositories and populates the /usr/local/etc/bitoarch/.bitoarch-config.yaml file with an initial list. Review this file to confirm which repositories you want to index — feel free to remove any that should be excluded or add others as needed. Once the list looks correct, save the file, and continue with the steps below.

For versions older than 1.4.0, configuration file can be found in installation directory.

Below is an example of how the .bitoarch-config.yaml file is structured:

After updating the .bitoarch-config.yaml file, you have two options to proceed with adding your repositories for indexing:

  1. Auto Configure (recommended)

    • Automatically saves the repositories and starts indexing

    • If needed, edit the repo list before selecting this option

  2. Manual Setup

    • You have to manually update the configuration file and then start the indexing. Below we have provided complete details of the manual process.

Once you select an option, your Bito MCP URL and Bito MCP Access Token will be displayed. Make sure to store them in a safe place, you'll need them later when configuring MCP server in your AI coding agent (e.g., Claude Code, Cursor, Windsurf, GitHub Copilot (VS Code), etc.).

To manually apply the configuration, run this command:

4

Start indexing

Once your repositories are configured, AI Architect needs to analyze and index them to build the knowledge graph. This process scans your codebase structure, dependencies, and relationships to enable context-aware AI assistance.

Start the indexing process by running:

Note: Indexing process will take approximately 3-10 minutes per repository. Smaller repos take less time.

Once the indexing is complete, you can configure AI Architect MCP server in any coding or chat agent that supports MCP.

5

Check indexing status

Run this command to check the status of your indexing:

Example output:

What each section represents:

  • Configured Repositories: Shows how many repositories are added in your config file for indexing.

  • Repository Index Status: Shows the indexing progress for each individual repository.

  • Workspace Index Progress: Shows the status of indexes that combine and process information across multiple repositories.

  • Overall Status: Provides a single summary indicating whether indexing is still running, completed successfully, or failed.

6

Check MCP server details

To manually check the MCP server details (e.g. Bito MCP URL and Bito MCP Access Token), use the following command:

If you need to update your Bito MCP Access Token, use the following command:

Replace <new-token> with your new secure token value.

Important: After rotating the token, you'll need to update it in all AI coding agents (Claude Code, Cursor, Windsurf, etc.) where you've configured this MCP server.

7

Connect MCP client

Standalone mode runs MCP over HTTPS at https://localhost:5001/mcp with a local mkcert-signed leaf cert. The cert is per-host (issued at install time, never reused across machines); mkcert is auto-downloaded if not on PATH.

The install bootstrap auto-registers the local MCP into every detected coding agent (Claude Code, Cursor, Windsurf, VS Code, Junie, JetBrains AI Assistant) and prints a one-time IDE-restart prompt for each. After restart, your IDE connects without further config.

The cert auto-renews daily via an OS-native scheduler (launchd on macOS, systemd-user timer or crontab on Linux). Override the renew time via bitoarch mcp-cert schedule HH:MM. To opt out, set BITOARCH_CERT_AUTO_RENEW=false in .env-bitoarch and re-run bitoarch install.

Manual config fallback (if your IDE isn't auto-detected, or for the Claude Desktop main chat which doesn't read ~/.claude.json):

Note: Replace <Your-Bito-MCP-Access-Token> with the Bito MCP Access Token you received after completing the AI Architect setup.

Update repository list and re-index

Edit /usr/local/etc/bitoarch/.bitoarch-config.yaml file to add/remove repositories.

To apply the changes, run this command:

Start the re-indexing process using this command:

Configuring AI Architect for Bito AI Code Review Agent

Now that you have AI Architect set up, you can take your code quality to the next level by integrating it with Bito's AI Code Review Agent. This powerful combination delivers significantly more accurate and context-aware code reviews by leveraging the deep codebase knowledge graph that AI Architect has built.

Why integrate AI Architect with AI Code Review Agent?

When the AI Code Review Agent has access to AI Architect's knowledge graph, it gains a comprehensive understanding of your entire codebase architecture — including microservices, modules, APIs, dependencies, and design patterns.

This enables the AI Code Review Agent to:

  • Provide system-aware code reviews - Understand how changes in one service or module impact other parts of your system

  • Catch architectural inconsistencies - Identify when new code doesn't align with your established patterns and conventions

  • Detect cross-repository issues - Spot problems that span multiple repositories or services

  • Deliver more accurate suggestions - Generate fixes that are grounded in your actual codebase structure and usage patterns

  • Reduce false positives - Better understand context to avoid flagging valid code as problematic

Getting started with AI Architect-powered code reviews

  1. Log in to Bito Cloud

  2. Open the AI Architect Settings dashboard.

  3. In the Server URL field, enter your Bito MCP URL

  4. In the Auth token field, enter your Bito MCP Access Token

Need help getting started? Contact our team at support@bito.ai to request a trial. We'll help you configure the integration and get your team up and running quickly.

Upgrading AI Architect

Upgrade your AI Architect installation to the latest version while preserving your data and configuration. The upgrade process:

  • Automatically detects your current version

  • Downloads and extracts the new version

  • Migrates your configuration and data

  • Seamlessly transitions to the new version

  • Preserves all indexed repositories and settings

Upgrade instructions

If you're running version 1.1.0 or higher, navigate to your current installation directory and run:

Option 2: Upgrade from external location

If you need to run the upgrade from outside your installation directory (useful for version 1.0.0), use the --old-path parameter:

Upgrade parameters

The upgrade script supports the following parameters:

Your data is safe: All repositories, indexes, API keys, and settings are automatically preserved during upgrade.

Uninstall

Docker images are kept — docker image prune to reclaim.

Alternatively, you can also use the following curl command to uninstall AI Architect standalone mode:

Troubleshooting guide

Collect diagnostics for support

If you're experiencing issues and need help from the Bito support team, use the built-in diagnostic tool to capture a full snapshot of your deployment in one step.

Live health sweep — runs a pass/warn/fail check across all services and prints results to your terminal:

The --section flag accepts the following values:

Value
What it checks

prereqs

System prerequisites (Docker/Kubernetes, required tools)

install

Installation state and file integrity

filesystem

Disk space, volume mounts, log directories

config

Configuration files and environment variables

services

Container/pod status, health, and resource usage

connectivity

Service-to-service and network reachability

cert

TLS/SSL certificate validity

Support bundle — collects logs, service status, configuration (with secrets redacted), database health, and indexing state into a single shareable archive:

The command auto-detects whether you're running Docker Compose or Kubernetes. On completion it prints:

The resulting .tar.gz file is saved to ~/.bitoarch/diagnostics/ by default.

To save the bundle to a different location, use the --output parameter:

Example:

Manual troubleshooting commands

Available commands

For complete reference of AI Architect CLI commands, refer to Available commands.

Standalone-only commands

These exist only when MCP_AUTO_INSTALL=true in .env-bitoarch (set automatically by the Standalone install bootstrap). On Enterprise installs they are hidden from bitoarch --help and refuse to run.

Command

Description

bitoarch mcp-install [--email <addr>]

Re-register the local MCP with detected coding agents (Claude Code, Cursor, Windsurf, VS Code, Junie, JetBrains AI Assistant). Run after installing a new IDE.

bitoarch mcp-cert status

Cert verdict (✓/⚠/✗), days remaining, paths, scheduler state.

bitoarch mcp-cert renew

Force re-issue cert and restart cis-provider.

bitoarch mcp-cert renew --check

Renew only if expiring within 60 days (this is the cron entry point — not normally run by hand).

bitoarch mcp-cert paths

Print cert path.

bitoarch mcp-cert schedule

Show current renew time + scheduler state.

bitoarch mcp-cert schedule HH:MM

Set the daily auto-renew time (24h). Persists to .env-bitoarch as BITOARCH_CERT_RENEW_TIME.

The cert auto-renews daily via an OS-native scheduler (launchd on macOS, systemd-user timer on Linux/WSL, crontab fallback). To opt out, add BITOARCH_CERT_AUTO_RENEW=false to .env-bitoarch and re-run bitoarch install.

Common commands

Last updated