Amp launches Threads HTTP API for agent automation
Amp Chronicle reports that Amp's new Threads HTTP API can create Amp orb threads, read agent responses, and send follow-up messages. The report gives token scopes and request examples for automations such as alert triage, scheduled error review, and investigating main-branch CI failures. It also recommends service accounts for organization- or team-level automation, connected to a code host so repositories can be cloned.
The API gives automated systems a documented interface for delegating work to Amp agents and continuing the resulting threads, supporting integrations around alerts, CI, bots, and internal workflows.
You can now create Amp orb threads, read agent responses, and post follow-up messages through the HTTP API.
This makes it easy for any automated system to delegate work to Amp:
- Investigate alerts. An error tracker or paging webhook starts a thread for each critical alert.
- Fix CI failures. When CI fails on
main, a thread finds the cause and opens a fix PR. - Triage on a schedule. Every morning, a job sends the past day's top errors to Amp.
- Start threads from bots and internal tools. A Slack bot, a support workflow, or an issue-report queue starts a thread, then reads the result or sends a follow-up.
To try it, create a personal access token in Settings → Access Tokens with these scopes:
amp.api:threads:writeamp.api:threads.meta:readamp.api:threads.contents:read
If you're testing this in the terminal, set AMP_TOKEN to this value.