Overview
Feature request from Featurebase to enable programmatic agent creation and interaction via API, allowing external systems to spin up and use Chipp agents without the UI.
Sub-Issues
- ENG-1608: Template-Based Agent Creation Endpoint (POST /templates/{id}/instantiate)
- ENG-1609: Simple Input API for Template-Based Agents (POST /agents/{id}/input)
- ENG-1610: Optional Webhook Delivery for Longer Tasks
Use Cases
- Agencies: Spin up white-labeled agents for clients programmatically
- SaaS integrations: Use Chipp agents as backend helpers
- Automation flows: Integrate agents into Zapier/Make workflows
- Long-running tasks: Async webhook delivery for complex workflows
MVP Scope
- Mark agents as "templates" in UI
- POST /templates/{templateid}/instantiate β returns new agentid + entry points
- POST /agents/{agent_id}/input β returns agent response
- Optional webhook_url parameter for async delivery
Technical Considerations
- Authentication: API keys or OAuth
- Rate limiting for agent creation
- Template versioning
- Webhook retry logic