This agent receives GitHub webhooks when releases or tags are created and automatically updates changelogs across repositories using Devin AI and LLM processing.
The Changelog Management Agent acts as a smart bridge between GitHub webhooks and Devin AI. When a repository has a new release or tag created, this agent:
- Receives the webhook from GitHub
- Uses LLM processing to analyze the payload and determine event type, repository, and version
- Dynamically generates a comprehensive prompt for Devin AI
- Sends the prompt to Devin AI, which then handles the changelog generation
- Monitors the response and status
Create a .env
file with your Devin API key and other required configuration:
DEVIN_API_KEY=your_devin_api_key_here
GITHUB_WEBHOOK_SECRET=your_github_webhook_secret_here
Configure a webhook in each repository with:
- Payload URL: Your deployed agent URL
- Content type:
application/json
- Events: Releases and Tags
This agent leverages AI in multiple ways:
- Webhook Analysis: Uses an LLM to parse and extract meaning from webhook payloads
- Prompt Generation: Dynamically creates detailed prompts for Devin AI
- Structured Output: Uses Zod schemas to ensure reliable data extraction
- Changelog Generation: Delegates the actual creation to Devin AI
For comprehensive documentation on Agentuity, visit our documentation site at agentuity.dev.
This agent is built using the Agentuity SDK.
# Install dependencies
bun install
# Run the agent locally
agentuity dev
# Deploy with Agentuity
agentuity deploy
- GitHub webhook triggers the agent when a release/tag is created
- The LLM analyzes the webhook payload to determine:
- If it's a valid release/tag event
- Which repository it relates to
- The version number
- If the repository is supported
- A second LLM pass generates a detailed, repository-specific prompt
- Devin AI processes the prompt, accessing repositories and updating changelogs
- Both the source repository and documentation repository are updated