Connect GitHub to let your agents create issues, search code, and reference pull requests.Documentation Index
Fetch the complete documentation index at: https://docs.duckie.ai/llms.txt
Use this file to discover all available pages before exploring further.
Capabilities
| Capability | Supported |
|---|---|
| Knowledge Source | ✓ Search code and issues |
| Deployment Trigger | ✓ Respond to issues/PRs |
| Tool Actions | ✓ Create issues, add comments |
Setup
Connect via OAuth
- Go to Settings → Connections in Duckie
- Find GitHub and click Connect
- You’ll be redirected to GitHub
- Choose which repositories to grant access to
- Authorize Duckie
- You’ll be redirected back to Duckie
Repository Access
You can grant access to:- All repositories: Full access to your account/org
- Select repositories: Choose specific repos
For organization repositories, an org admin may need to approve the OAuth app.
Using as a Deployment Trigger
Trigger agents based on GitHub activity:- Go to Deploy
- Click Create Deployment
- Select your agent
- Choose GitHub as the trigger
- Configure events:
- Issue opened — New issue filed
- Issue comment — Comment on an issue
- PR opened — New pull request
- PR review — Review submitted
Use Cases
- Auto-triage: Label and assign new issues
- Answer questions: Respond to questions in issues
- PR assistance: Help with pull request questions
Available Tools
| Tool | Description |
|---|---|
github_create_issue | Create a new issue |
github_add_comment | Comment on issue/PR |
github_search_code | Search repository code |
github_search_issues | Search issues and PRs |
github_get_issue | Get issue details |
github_add_labels | Add labels to issue |
Tool Examples
Create Issue from Support Ticket
Search for Related Issues
Using as Knowledge Source
Index GitHub content:- Go to Train → Knowledge
- Click Add Source
- Select GitHub
- Choose repositories and content types:
- Issues: Bug reports and discussions
- README/Docs: Documentation files
- Code: Source code (for technical support)
Best Practices
For Open Source Projects
Deploy Duckie to help with community support:- Answer common questions in issues
- Point to documentation
- Help triage new issues
For Internal Repositories
Use Duckie to bridge support and engineering:- Create issues from support tickets
- Search for existing bugs
- Track resolution status
Use Labels Effectively
Create labels for Duckie-related issues:support-reportedneeds-triagedocumentation
Troubleshooting
”Repository not accessible”
- Verify you granted access to the repository
- For org repos, check if admin approval is needed
- Re-authenticate if permissions changed
”Cannot create issue”
- Verify you have write access to the repository
- Check that issues are enabled for the repo
”Search not returning results”
- GitHub search has rate limits
- Try more specific search queries
- Verify the repository is indexed