Agentbits

DocumentationGetting started

Providers

The five AI providers Agentbits supports (with Gemini and local models through OpenAI-compatible endpoints), what agents can do with each, how to set them up, and how to mix providers and models.

A provider is what an agent thinks with: an official CLI on your computer, a model API, or the free Demo. The provider decides what an agent can do. A Claude Code agent can edit files in the project folder, while an API agent works with text and Agentbits’ own tools only. You choose a default provider and can give any agent a different one.

What each provider can do

Claude Code CLI Codex CLI Anthropic API OpenAI API Demo
You need Claude Code installed and signed in Codex CLI installed and signed in An Anthropic API key An OpenAI API key, or an OpenAI-compatible endpoint Nothing
Project folder Required Required Optional Optional Optional
Read and edit files in the project folder Yes Yes, in its sandbox No No Simulated
Run commands Yes Yes, in its sandbox No No Simulated
Web access Yes Yes Reads pages as text Reads pages as text No
Connections (SSH, databases) Yes Yes Yes Yes Yes
Attached files Yes Yes Yes Yes Yes
Images Yes Yes Yes, plus scanned PDFs Yes (PDFs not sent natively) No
Skills and apps (MCP) Yes Yes Yes Yes Yes
Token usage Full, with cost in $ Total only Full, no cost Full, no cost (compatible endpoints may not report it) Estimated

Everything in the table still depends on the agent’s permissions. For example, a Claude Code agent edits files only with Write files on, runs commands only with Terminal on, and reaches the web only with Network on. With the Browser permission, an agent on any of these providers can read public web pages as text. Require approval works with every provider.

Claude Code CLI

Agentbits runs the official claude CLI in the background. File and terminal tools are turned on according to the permission matrix.

  1. Install Claude Code on your computer.

  2. Sign in once in a terminal. You can use Terminal → Shells inside Agentbits:

    claude auth login
  3. In Agentbits, open Settings → Providers → Add provider and choose Claude Code CLI. The form shows ● installed if it found claude. Leave CLI path empty to find it on your PATH, or enter the full path.

  4. Pick a Model and click Save and test. The test checks the CLI version and that you are signed in.

Notes:

  • The project must have a folder. Agents start in it, and file edits outside it (and any extra allowed folders) are refused.
  • Agentbits starts Claude Code with your project’s own .claude settings, hooks and .mcp.json ignored, so a repository can’t change how the agent runs.
  • Besides the listed models you can use aliases such as sonnet or opus. An alias always uses the newest model of that family on your account.

Codex CLI

Agentbits runs OpenAI’s codex exec command in sandbox mode.

  1. Install Codex CLI.

  2. Sign in once in a terminal:

    codex login
  3. In Settings → Providers → Add provider, choose Codex CLI, check that it is found, pick a model and click Save and test.

Notes:

  • Codex always runs commands in its own sandbox. It writes only inside the project folder, and gets network access only when the agent has the Network permission.
  • A Codex agent needs Read files. Without it, the agent doesn’t run.
  • In tasks, Codex agents get Agentbits’ own tools through its MCP bridge: connections, files, skills, apps and team_status. Access is checked in the bridge, as for every other provider. Attached files also go into the prompt as far as they fit, and images are passed to the CLI. Extra allowed folders are not supported.
  • Codex reports only a total token count, without cost or an input/output split.

Note: Some parts of the Codex integration (the tool bridge, apps and images) have so far been tested only against a simulated CLI. If something doesn’t work, please report it.

Anthropic API and OpenAI API

These call the model directly with your API key: the Anthropic Messages API, or the OpenAI Chat Completions API.

  1. Get an API key from Anthropic or OpenAI.
  2. In Settings → Providers → Add provider, choose the provider, paste the API key, pick a Model and click Save and test.

The key is encrypted with your operating system’s keychain and stored locally. It is never sent back to the interface, to agents or to logs. To change a key, delete the provider and add it again.

API agents have no file system or terminal access. They can’t change files in the project folder or run commands. They work with text plus Agentbits’ own tools: the connections they are allowed to use, the files shared with them, saving new text files, skills, apps and, with the Browser permission, reading web pages. For code changes, use a CLI provider.

When you enter a key, the model list also shows Other models on your account. OpenAI’s GPT-6 models are not listed, because they can’t use tools through Chat Completions. Use them through Codex CLI instead.

Gemini and local models (OpenAI-compatible endpoints)

The OpenAI API provider can also talk to any server that speaks the OpenAI Chat Completions API. When you add an OpenAI API provider, choose an Endpoint:

Endpoint What it is
OpenAI The OpenAI API.
Google Gemini Gemini through its OpenAI-compatible API. Get a key in Google AI Studio.
Ollama (on this computer) A local model served by Ollama at 127.0.0.1:11434. Start Ollama and pull a model first.
LM Studio (on this computer) A local model served by LM Studio at 127.0.0.1:1234. Start its server and load a model first.
Other OpenAI-compatible address Any compatible server, for example a company gateway (…/v1).

With Ollama and LM Studio, nothing leaves your computer, and the API key is optional. A key is only ever sent over HTTPS, or over plain http to this computer (localhost / 127.0.0.1). Agents on these endpoints have the same abilities and limits as OpenAI API agents. Compatible endpoints may not report token usage.

Note: Endpoints were tested against a simulated local OpenAI-compatible server, not yet with real Gemini, Ollama or LM Studio. If something doesn’t work, please report it.

Demo (simulation)

Demo needs no key and calls no model. Agents look as if they were working: the lead splits your request into tasks, agents show simulated steps, write reports and go to review. It is only a simulation: it never calls a tool, so it reads or changes no files, connections, servers or apps and runs no tests. Its reports, the lead’s review and the task cards say so, and the file names in a Demo report are only examples.

Use Demo to learn the app and try templates. It doesn’t do real work. If you have no providers set up at all, agents run in demo mode.

Mix providers and models

The default provider is used for every agent that doesn’t have its own. To change it, click Make default next to a provider in Settings → Providers.

To give one agent a different provider or model:

  1. Open Organization → Agents and select the agent.
  2. In the Model section, choose a Provider and a Model.

Provider’s model uses whatever model the provider is set to. If you switch the agent to a different kind of provider, its model is reset. Models are picked from a list. For a model that isn’t listed yet, choose Custom model name… and type its exact name.

For example, developers on Claude Code CLI can work in the project folder while an API agent writes up research or analyzes attached documents.

Agents with different providers work at the same time. Autopilot hands a task to every free agent, so a Claude Code agent and a Codex agent can each run their own task in parallel. Each agent works on one task at a time. Agents don’t message each other directly: the project lead splits the work, assigns it and reviews the results, and the team shares the project memory and each task’s thread. With race mode, two members on different providers or models can even try the same task. See Parallel work.

If sign-in expires

If a CLI session expires or a key stops working, Agentbits posts a message in the project’s #general, marks the agent with an error and pauses the whole team. Sign in again (claude auth login or codex login) or replace the key, test the provider in Settings → Providers, then click Resume in the top bar.

What is not supported

  • Agentbits does not include, install or sign in to the CLIs. You install them and sign in yourself.
  • You can’t sign in with a Claude account or subscription inside the app. Use an API key or your own Claude Code sign-in.
  • Providers that aren’t OpenAI-compatible, beyond the ones on this page, are not supported.
  • There is no project or monthly budget. You can cap time, tokens and cost per task run in Settings → Security and limits; the cost cap works only with Claude Code, the one provider that reports cost. Watch token usage in Reports.

Found something wrong or missing? Open an issue on GitHub