-
Notifications
You must be signed in to change notification settings - Fork 4.5k
chore: enhance cookbook demo with more examples #5012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the right track!
Some general comments on the structure imo-
-
Should we keep the file name concept specific like instead of
education_tutor.pylets have them likeknowledge_agent.py,agent_with_storage.pyso similar to how we have right nowbasic.py,memory_agent.pyetc. -
Why like this? I think because its easier to navigate while demo-ing for Ashpreet and its immediately clear of what type of feature is being displayed etc.
-
Maybe it would make sense to have the usecase ones inside the
showcasefolder and feature specific ones out in the root directory? wdyt @dirkbrnd @manuhortet -
We need more cookbooks showing multimodal, tool hooks, guardrails etc too
- Replace print() with logging.info() for better uvicorn integration - Simplified metrics output: single-line format with pipe separators - Added Python logging configuration for agno.metrics logger - Maintains console print for direct visibility - Works in both AgentOS/uvicorn and terminal environments Format: Tokens: 1,738 | Cost: /bin/zsh.01 | Time: 2.45s | Tools: tool1, tool2
- Remove emojis for cleaner documentation - Add detailed sample prompts for each agent - Show specific test cases for each feature - Include expected behaviors (blocked prompts, state management) - Organize by agent with clear feature mapping - Add testing instructions for all 10 core features
Co-authored-by: manu <[email protected]>
Co-authored-by: manu <[email protected]>
## Summary Added OSS Maintainer Intelligence Team demonstrating Agno Teams capabilities for open source project management. ## Features Implemented ### 1. Team Composition (5 Specialized Agents) - **PR Review Council** - Comprehensive code review using Claude - **Issue Triage Specialist** - Intelligent categorization and prioritization - **Security Guardian** - Vulnerability detection and security analysis - **Community Relations Manager** - Contributor engagement - **Release Coordinator** - Changelog generation and release planning ### 2. Agno Features Showcased ✅ **Teams** - Multi-agent coordination with intelligent delegation ✅ **Sessions** - Multi-turn PR reviews and issue management ✅ **Memory** - Remember contributor history, project patterns, decisions ✅ **Knowledge Base** - Project documentation with LanceDB vector search ✅ **State Management** - Track metrics, priority queues, release schedules ✅ **GitHub Integration** - Real-time data fetching with GithubTools ✅ **Database** - PostgreSQL for persistent sessions and memory ### 3. GitHub Integration - Optional real GitHub API integration via GithubTools - Graceful fallback to text-based analysis without token - Fetches real PR data, issues, commits from repositories ### 4. Documentation Updates - Added comprehensive section to `cookbook/demo/README.md` - Added quick prompts to `cookbook/demo/config.yaml` - Added showcase prompts to `cookbook/demo/showcase_config.yaml` ## Files Changed - `cookbook/demo/teams/oss_maintainer_team.py` (new) - `cookbook/demo/run.py` (registered team) - `cookbook/demo/config.yaml` (added quick prompts) - `cookbook/demo/showcase_config.yaml` (added showcase prompts) - `cookbook/demo/README.md` (added documentation) ## Test Plan 1. Start demo: `python cookbook/demo/run.py` 2. Connect to os.agno.com at http://localhost:7777 3. Select "OSS Maintainer Intelligence" team 4. Test with quick prompts or custom queries ## Demo Prompts - "Review PR #4983 from agno-agi/agno repository" - "Triage issue: Memory leak after 24 hours" - "Plan release v2.2.0 with breaking changes" --------- Co-authored-by: Kaustubh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Summary
Features to demo
Type of change
Checklist
./scripts/format.shand./scripts/validate.sh)Additional Notes
Add any important context (deployment instructions, screenshots, security considerations, etc.)