Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@uzaxirr
Copy link
Contributor

@uzaxirr uzaxirr commented Oct 13, 2025

Summary

Features to demo

  1. Tools - External API integration (YFinance, DuckDuckGo, DALL-E)
  2. Knowledge/RAG - Vector database with hybrid search (LanceDB)
  3. Multimodal - Image generation and analysis (DALL-E, GPT-4o vision)
  4. Pre/Post Hooks - Input validation, tool monitoring, metrics display
  5. Guardrails - PII detection, prompt injection protection
  6. Agent Sessions - Persistent conversation history and context
  7. Agent State - Shopping cart, travel preferences across sessions
  8. Memory - User preferences and session summaries
  9. Structured Outputs - Pydantic schemas for typed responses
  10. Metrics - Automatic performance tracking (tokens, cost, latency)

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

Additional Notes

Add any important context (deployment instructions, screenshots, security considerations, etc.)

@uzaxirr uzaxirr self-assigned this Oct 13, 2025
@uzaxirr uzaxirr requested a review from a team as a code owner October 13, 2025 06:57
@kausmeows kausmeows changed the title enhance cookbook demo with more examples chore: enhance cookbook demo with more examples Oct 13, 2025
Copy link
Contributor

@kausmeows kausmeows left a 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-

  1. Should we keep the file name concept specific like instead of education_tutor.py lets have them like knowledge_agent.py, agent_with_storage.py so similar to how we have right now basic.py, memory_agent.py etc.

  2. 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.

  3. Maybe it would make sense to have the usecase ones inside the showcase folder and feature specific ones out in the root directory? wdyt @dirkbrnd @manuhortet

  4. 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
@uzaxirr uzaxirr requested a review from kausmeows October 14, 2025 07:43
uzaxirr and others added 11 commits October 16, 2025 18:25
## 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]>
Copy link
Contributor

@kausmeows kausmeows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@manuhortet manuhortet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kausmeows kausmeows merged commit 4e63ae1 into main Oct 17, 2025
5 checks passed
@kausmeows kausmeows deleted the cookbook-imp branch October 17, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants