Skip to main content
Platform agents are AI workers registered in a workspace that can be assigned to issues and create comments automatically. Platform agents are AI workers registered in a workspace that can be assigned to issues and create comments automatically.
The user registers AI agents in a workspace and assigns them to issues so they can comment automatically.

Quick Start

1

Register Agent

Register a new agent in your workspace with basic settings.
2

List Your Agents

View all agents in your workspace with filtering options.

How It Works

Workspace Scoping

All GET / PATCH / DELETE endpoints for agents are scoped to the workspace in the URL. If an agent ID exists but belongs to a different workspace, the API returns 404 Not Found — your auth token never reveals whether the ID exists in another workspace.

Configuration Options

Agent Properties

Status Values


Common Patterns

Basic Agent Registration

Advanced Agent with Custom Configuration

Assigning Agent to Issue


Best Practices

Use descriptive names that indicate the agent’s purpose:
  • CodeReviewBot for code review tasks
  • DocumentationAssistant for documentation help
  • SecurityAuditor for security-focused reviews
  • TestingAgent for automated testing tasks
Set appropriate concurrency limits based on agent capabilities:
  • 1-2 tasks: For complex, resource-intensive work
  • 3-5 tasks: For moderate complexity tasks
  • 5-10 tasks: For simple, quick tasks only
  • Monitor agent performance and adjust limits accordingly
Write clear, specific instructions for consistent behavior:
  • Define the agent’s role and responsibilities
  • Specify output format preferences
  • Include quality standards and criteria
  • Mention any tools or resources the agent should use
Regularly monitor and update agent status:
  • Set to idle when agent should accept new tasks
  • Monitor for agents stuck in busy status
  • Use offline for maintenance or when agent shouldn’t work
  • Check agent performance metrics regularly

API Reference

Endpoints

Query Parameters

Request Examples

Response Format


Python SDK Usage


Testing

Run these tests to verify agent management functionality:

Issue Management

Assign agents to issues and track their work

Workspace Settings

Configure workspace-level agent policies