Skip to main content
Preview: AI Builder Portal is in preview. Features and capabilities are under active development and may change.

Overview

An agent blueprint is a blueprint with autonomous mode enabled. It defines which AI runtime to use, which repositories to clone, and how to connect to your project tracker. When a matching issue appears in Linear, the system launches a workspace from this blueprint and runs the agent autonomously. Agent blueprints share the same underlying infrastructure as workspace blueprints - lifecycle states, target cluster selection, and Qovery environment mapping all work the same way. See Blueprint Management for those shared concepts.

Workspace vs Agent Blueprints

AspectWorkspace BlueprintAgent Blueprint
PurposeHuman development environmentAutonomous AI agent
TriggerUser creates workspace from catalogAgent @mentioned or assigned on issue
Appears in catalogYesNo
Additional configNoneRuntime, repositories, Linear mapping
Lifecycle statesTesting / Enabled / DisabledTesting / Enabled / Disabled
Target clusterConfigurableConfigurable
Access controlACLs applyN/A (not in user catalog)

Configuration Reference

These settings are specific to agent blueprints. They control which runtime executes the agent, how the agent connects to Linear, and how many runs can execute concurrently.
SettingTypeDefaultDescription
Autonomous EnabledBooleanfalseEnables autonomous mode on the blueprint. When disabled, the blueprint behaves as a standard workspace blueprint.
Agent RuntimeEnumclaudeThe AI coding runtime that drives the agent. See Runtime Details for options.
Linear TeamString or nullnullThe Linear team whose issues the agent monitors. Required when autonomous mode is enabled.
In-Progress StateString or nullnullThe Linear workflow state the issue transitions to when the agent claims it. Required when autonomous mode is enabled.
In-Review StateString or nullnullThe Linear workflow state the issue transitions to when the agent opens a pull request. Optional.
Needs-Human StateString or nullnullThe Linear workflow state the issue transitions to when the agent fails or times out. Optional.
System PromptString(empty)Optional instructions prepended to the issue context when the agent starts. Use this to provide project-specific guidance to the AI runtime.
Max Concurrent RunsNumber3Maximum number of issues the agent works on simultaneously. Each concurrent run launches a separate workspace.
Run TimeoutNumber (minutes)60Maximum duration for a single agent run. The workspace is stopped when the timeout is reached, and the issue transitions to the Needs-Human state if configured.

Runtime Details

Each agent blueprint specifies one AI coding runtime. The runtime determines which CLI tool runs inside the workspace and which API key environment variable is required.
RuntimeCLI CommandAPI Key Env Var
Claude Codeclaude -pANTHROPIC_API_KEY
OpenCodeopencode runANTHROPIC_API_KEY
Codexcodex --full-autoOPENAI_API_KEY
Gemini CLIgemini -pGEMINI_API_KEY
Cursor CLIcursor-agentANTHROPIC_API_KEY

Resource Defaults

Agent blueprints created through the wizard use these default resource allocations. You can adjust them under Advanced during creation or by editing the blueprint later.
ResourceDefault
CPU4000 mCPU (4 vCPU)
Memory4096 MB (4 GB)
Storage10 GB
The target cluster defaults to the first non-production cluster in your organization.

Git Provider Support

Agent blueprints support three git providers for cloning repositories, pushing branches, and creating pull requests:
ProviderSupported
GitHubYes
GitLabYes
BitbucketYes
The provider is detected automatically from the repository URL configured in the blueprint. The agent template handles authentication, branch creation, and PR creation for all three providers.

Official Agent Template

Agent blueprints created through the wizard use the official agent template (ghcr.io/qovery/autonomous-agent-template:latest) as the base Docker image. This image includes all five AI runtimes, development tooling, and the autonomous entrypoint script. You can extend the template with project-specific dependencies by creating a custom Dockerfile that builds on top of the official image. See Agent Template for details on customization, environment variables, and the governance proxy.

API Key Management

The API key for the selected runtime is stored as an environment variable on the blueprint’s Qovery environment. Different runtimes use different environment variable names - see the Runtime Details table for the mapping. The key is set during blueprint creation when you enter it in the wizard. To update it later:
  1. Open the Qovery Console.
  2. Navigate to the project and environment backing the agent blueprint.
  3. Edit the environment variables and update the relevant API key.
The API key is stored encrypted and injected into the workspace container at launch. It is never exposed in the portal UI after initial entry.

Editing Agent Blueprint Settings

To modify an existing agent blueprint:
  1. Navigate to Admin > Blueprints in the portal.
  2. Click the blueprint name to open its settings.
  3. Select the Autonomous tab.
From this tab you can:
  • Enable or disable autonomous mode
  • Change the AI runtime
  • Update the Linear team and workflow state mappings
  • Adjust concurrency limits and run timeout
The In-Progress State is required for the agent to claim issues. If autonomous mode is enabled but no In-Progress state is set, the save button is disabled and the agent cannot run. Configure this field before enabling autonomous mode.
If the portal does not have Linear connected via OAuth, a warning is displayed on the Autonomous tab prompting you to connect Linear first. See Linear Integration for setup instructions.

Next Steps

Getting Started

Set up your first autonomous agent from scratch.

Managing Runs

Monitor active runs, review results, and troubleshoot failures.

Linear Integration

Configure labels, workflow states, and issue routing.