Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect Amp Code to Swarmia

Track Amp Code's Git activity and usage data in Swarmia.

Create a custom AI tool to track the Git activity Amp creates, and optionally send Amp usage data to track adoption and costs.

Track Amp Code's Git activity

You need the organization admin role to set this up.

  1. Go to Settings → AI tools and find Other AI tools.

  2. Click Add new and enter Amp as the name and amp as the API identifier.

  3. Under Linked authors, search for and select Amp's GitHub accounts: ampagent and ampcode-com.

  4. Click Save.

Amp may author commits with amp@ampcode.com or noreply@ampcode.com. Linking its authors lets Swarmia attribute the Git activity associated with those identities to Amp with high confidence.

Swarmia shows the activity in AI-assisted PRs, Cloud agents, and Review agents. Read more about linking authors to a custom AI tool.

Send Amp usage data (optional)

To show Amp usage in Users and licenses and add time-based pull request attribution, retrieve daily per-user data from Amp's workspace analytics API and send it to Swarmia's additional AI integrations API.

Create an External API Application in Amp and give it the amp.api:workspace.analytics:view scope. Add amp.api:workspace.members:view to receive users' email addresses, which Swarmia uses to match usage data to authors.

When you send the data:

  • Match each daily usage record to a Swarmia author by email.

  • Report whether the person had access to Amp and whether they used it that day.

  • Amp's API includes daily USD usage per person, which you can include as cost data in AI cost.

Swarmia uses these daily records for time-based, low-confidence AI-assisted attribution.

For authentication, request fields, and data-import details, see send usage data to the API.

Last updated

Was this helpful?