Agent Evals via HTTP Endpoint
HTTP Agent CI/CD Integration
Learn how to integrate HTTP endpoint evaluations into your CI/CD pipeline using GitHub Actions
Automate your agent evaluations by integrating them into your CI/CD pipeline. This guide shows you how to use GitHub Actions with the Maxim Actions repository to test workflows automatically.
GitHub Actions Setup
The Maxim Actions repository provides pre-built GitHub Actions that make it easy to run agent tests in your CI/CD pipeline.
Prerequisites
Before setting up the GitHub Action, you’ll need to setup the following:
- GitHub Secrets: Store your Maxim API key securely
- GitHub Variables: Configure your workspace and resource IDs
- Workflow ID: The specific workflow ID from the Maxim platform
Environment Setup
Add these secrets and variables to your GitHub repository:
Secrets (Repository Settings → Secrets and variables → Actions):
MAXIM_API_KEY
: Your Maxim API key
Variables (Repository Settings → Secrets and variables → Actions):
WORKSPACE_ID
: Your Maxim workspace IDDATASET_ID
: The dataset to use for testingWORKFLOW_ID
: The workflow ID to test
Complete GitHub Actions Workflow
Create a file .github/workflows/agent-evaluation.yml
in your repository:
Next Steps
- Local Endpoint Testing - Test agents with custom HTTP endpoints
- Endpoint on Maxim - Use workflows stored on the Maxim platform