Getting Started
Installation
Install with mise (recommended):
mise use communiqueOr with cargo:
cargo install communiquePre-built binaries for macOS, Linux, and Windows are also available on the GitHub releases page.
Prerequisites
communiqué needs an API key for the LLM provider that will generate your release notes. Set one of the following:
# For Claude models (default)
export ANTHROPIC_API_KEY="sk-ant-..."
# For OpenAI-compatible providers
export OPENAI_API_KEY="sk-..."The provider is auto-detected from the model name: claude-* models use Anthropic, everything else uses OpenAI-compatible endpoints.
For GitHub features (reading PR details, publishing releases), you also need a GitHub token:
export GITHUB_TOKEN="ghp_..."The token needs the repo scope (or public_repo for public repositories). The easiest way to create one:
gh auth token # if you use the GitHub CLIOr create a personal access token in GitHub settings.
Quick Start
1. Initialize your config
Generate a communique.toml in your repository root:
communique init2. Generate release notes
Generate release notes for a specific git tag:
communique generate v1.0.0communiqué automatically finds the previous tag, gathers the git history and PR data, and produces editorialized release notes.
3. Publish to GitHub
Write the release notes directly to a GitHub Release:
communique generate v1.0.0 --github-releaseHow It Works
- Scans your git history between two tags
- Extracts PR references from commit messages
- Fetches PR details and diffs from GitHub (if token provided)
- Sends context to an LLM equipped with codebase exploration tools
- The agent reads files, searches code, and builds a mental model of the changes
- Outputs a concise changelog entry and a detailed release narrative