aptu-core
Core library for Aptu - AI-Powered Triage Utility.
Features
- AI Triage - Analyze issues with summaries, labels, and contributor guidance
- PR Review - AI-powered pull request analysis with full file content and multi-language AST context (Rust, Python, Go, Java, TypeScript, TSX, JavaScript, C, C++, C#, Fortran)
- Release Notes - AI-generated release notes from PRs between tags
- Security Scanning - Built-in security pattern detection with SARIF output
- Multiple Providers -
OpenRouter(default), Cerebras, Groq, Gemini,Z.AI, andZenMux - GitHub Integration - Auth, issues, PRs, and GraphQL queries
- Resilient - Exponential backoff, circuit breaker, rate limit handling
Installation
Add to your Cargo.toml:
[]
= "0.2"
Optional Features
| Feature | Description |
|---|---|
keyring |
Secure token storage using system keyring (macOS Keychain, Linux Secret Service, Windows Credential Manager) |
To enable optional features:
[]
= { = "0.2", = ["keyring"] }
Example
use ;
use Result;
async
Modules
ai- AI integration and triage analysisconfig- Configuration loading and XDG pathsfacade- High-level platform-agnostic APIgithub- GitHub API and authenticationhistory- Contribution history trackingrepos- Curated repository listsecurity- Security pattern detection and SARIF output
Support
For questions and support, visit clouatre.ca.
License
Apache-2.0. See LICENSE.