Quickstart
Get up and running with AgentGate in 15 minutes. By the end of this guide, you’ll have submitted your first work order and retrieved the results.Prerequisites
Before you begin, you’ll need:- An AgentGate account with an organization
- An organization API key
- A GitHub repository or codebase to work with
Don’t have an account? Sign up to get started.
Step 1: Get Your API Key
- Log in to your AgentGate Dashboard
- Navigate to Settings → API Keys
- Click Create API Key
- Give your key a name (e.g., “Development”)
- Select the scopes you need (or use wildcard for full access)
- Copy and save your API key securely
org_live_ followed by a random string.
Step 2: Make Your First API Call
Let’s submit a simple work order. This example asks AgentGate to add a README file to a repository.Step 3: Check the Result
The run executes asynchronously. Check the status by polling the run endpoint:| Status | Description |
|---|---|
pending | Queued for execution |
running | Currently executing |
succeeded | Completed successfully |
failed | Completed with failure |
cancelled | Stopped by user |
What Just Happened
When you submitted the work order:- AgentGate validated the request and created a work order
- A run was created to execute the work order
- An isolated workspace was set up from your repository
- The AI agent analyzed the code and generated the README
- Verification ran to ensure the output meets quality standards
- A pull request was created with the changes (if configured)