Configuration

Customize Agent22's behavior, branch strategy, and integration settings.

Project configuration

Projects are configured through The Hub dashboard. A project maps to a single Git repository and defines how Agent22 interacts with your codebase and work tracker.

Repository settings

SettingDescriptionDefault
NameDisplay name for the project
Git repo URLSSH URL of the repository (e.g. [email protected]:org/repo.git)
Main branchBase branch Agent22 creates feature branches frommain
Agent instructionsInstructions written to AGENTS.md in the repo — guides the coding agent on conventions, architecture, and expectations

SCM provider

Configure which source code management platform hosts your repository:

SettingDescription
SCM providergithub, gitlab, or gitea
SCM provider URLAPI URL for your SCM platform (auto-inferred for GitHub and GitLab)
SCM usernameUsername for Git commits
SCM API tokenAPI token with repo read/write access
SSH private keyPEM-format private key for Git operations

Default SCM provider URLs:

  • GitHub — https://api.github.com
  • GitLab — https://gitlab.com/api/v4
  • Gitea — must be provided manually

Work provider

Configure where Agent22 pulls work items from:

SettingDescription
Work sourcegithub, jira, or trello
Work provider URLAPI URL of the work provider (auto-inferred for GitHub and Trello)
Work filterJQL query (Jira), search query (GitHub), or filter (Trello) to select which items Agent22 picks up

Provider-specific settings:

ProviderAdditional settings
JiraJira account email and Jira API token
TrelloTrello API key and Trello API token
GitHubUses the SCM API token for authentication

Project secrets

You can add key/value secrets to a project. These are injected as environment variables into the agent at runtime.

FieldDescription
KeySecret name (used as the environment variable name)
ValueSecret value
ViewableWhether the value is visible in the Hub UI after creation

Agent configuration

Agents are configured through The Hub and control which coding model is used and what mode the agent operates in.

SettingDescriptionDefault
NameDisplay name for the agent
Modework (implement features from work items) or review (review pull requests)
ProjectWhich project the agent is assigned to
ProviderLLM provider — opencode, anthropic, or openaiopencode
ModelModel identifier (e.g. opencode/gpt-5.1-codex)opencode/gpt-5.1-codex
API tokenAPI token for the selected LLM provider

Agent statuses

Agents report one of four statuses:

  • offline — not running
  • waiting — running but no work items to process
  • working — actively implementing a work item or reviewing a PR
  • errored — encountered a failure

Agent instructions

The Agent instructions field on the project is one of the most important configuration options. This content is written to an AGENTS.md file in the repository root before the coding agent starts work. Use it to describe:

  • Project architecture and directory structure
  • Coding conventions and style preferences
  • Testing expectations (whether to write tests, which framework to use)
  • Framework and library preferences
  • Any patterns to follow or avoid

Next steps