Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计异常

agnoagno 搜索

Agent Skill

agno 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,469

周安装

149

GitHub Stars

9

下载量

1,216
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agno(agno 搜索)
来源仓库:https://github.com/delorenj/skills
仓库路径:skills/agno
安装命令:
npx skills add https://github.com/delorenj/skills --skill agno
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/delorenj/skills --skill agno

简介

agno 技能提供对 Agno 框架的全面支持,涵盖多代理系统构建与 MCP 集成开发。

  • 适用于需要创建结构化输出、实现工作流编排或部署 AgentOS 运行时的项目。
  • 支持 stdio、SSE 与 Streamable HTTP 等多种 MCP 传输协议,便于灵活集成。
  • 使用前应确认目标环境支持 FastAPI 与 JWT 中间件,并评估模型选择与资源消耗。
  • agno 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agno Skill

Comprehensive assistance with Agno development - a modern AI agent framework for building production-ready multi-agent systems with MCP integration, workflow orchestration, and AgentOS runtime.

When to Use This Skill

This skill should be triggered when:

  • Building AI agents with tools, memory, and structured outputs
  • Creating multi-agent teams with role-based delegation and collaboration
  • Implementing workflows with conditional branching, loops, and async execution
  • Integrating MCP servers (stdio, SSE, or Streamable HTTP transports)
  • Deploying AgentOS with custom FastAPI apps, JWT middleware, or database backends
  • Working with knowledge bases for RAG and document processing
  • Debugging agent behavior with debug mode and telemetry
  • Optimizing agent performance with exponential backoff, retries, and rate limiting

Key Concepts

Core Architecture

  • Agent: Single autonomous AI unit with model, tools, instructions, and optional memory/knowledge
  • Team: Collection of agents that collaborate on tasks with role-based delegation
  • Workflow: Multi-step orchestration with conditional branching, loops, and parallel execution
  • AgentOS: FastAPI-based runtime for deploying agents as production APIs

MCP Integration

  • MCPTools: Connect to single MCP server via stdio, SSE, or Streamable HTTP
  • MultiMCPTools: Connect to multiple MCP servers simultaneously
  • Transport Types: stdio (local processes), SSE (server-sent events), Streamable HTTP (production)

Memory & Knowledge

  • Session Memory: Conversation state stored in PostgreSQL, SQLite, or cloud storage (GCS)
  • Knowledge Base: RAG-powered document retrieval with vector embeddings
  • User Memory: Persistent user-specific memories across sessions

Quick Reference

1. Basic Agent with Tools

from agno.agent import Agent
from agno.tools.duckduckgo import DuckDuckGoTools

agent = Agent(
    tools=[DuckDuckGoTools()],
    markdown=True,
)

agent.print_response("Search for the latest AI news", stream=True)

2. Agent with Structured Output

from agno.agent import Agent
from pydantic import BaseModel, Field

class MovieScript(BaseModel):
    name: str = Field(..., description="Movie title")
    genre: str = Field(..., description="Movie genre")
    storyline: str = Field(..., description="3 sentence storyline")

agent = Agent(
    description="You help people write movie scripts.",
    output_schema=MovieScript,
)

result = agent.run("Write a sci-fi thriller")
print(result.content.name)  # Access structured output

3. MCP Server Integration (stdio)

import asyncio
from agno.agent import Agent
from agno.tools.mcp import MCPTools

async def run_agent(message: str) -> None:
    mcp_tools = MCPTools(command="uvx mcp-server-git")
    await mcp_tools.connect()

    try:
        agent = Agent(tools=[mcp_tools])
        await agent.aprint_response(message, stream=True)
    finally:
        await mcp_tools.close()

asyncio.run(run_agent("What is the license for this project?"))

4. Multiple MCP Servers

import asyncio
import os
from agno.agent import Agent
from agno.tools.mcp import MultiMCPTools

async def run_agent(message: str) -> None:
    env = {
        **os.environ,
        "GOOGLE_MAPS_API_KEY": os.getenv("GOOGLE_MAPS_API_KEY"),
    }

    mcp_tools = MultiMCPTools(
        commands=[
            "npx -y @openbnb/mcp-server-airbnb --ignore-robots-txt",
            "npx -y @modelcontextprotocol/server-google-maps",
        ],
        env=env,
    )
    await mcp_tools.connect()

    try:
        agent = Agent(tools=[mcp_tools], markdown=True)
        await agent.aprint_response(message, stream=True)
    finally:
        await mcp_tools.close()

5. Multi-Agent Team with Role Delegation

from agno.agent import Agent
from agno.team import Team
from agno.tools.duckduckgo import DuckDuckGoTools
from agno.tools.hackernews import HackerNewsTools

research_agent = Agent(
    name="Research Specialist",
    role="Gather information on topics",
    tools=[DuckDuckGoTools()],
    instructions=["Find comprehensive information", "Cite sources"],
)

news_agent = Agent(
    name="News Analyst",
    role="Analyze tech news",
    tools=[HackerNewsTools()],
    instructions=["Focus on trending topics", "Summarize key points"],
)

team = Team(
    members=[research_agent, news_agent],
    instructions=["Delegate research tasks to appropriate agents"],
)

team.print_response("Research AI trends and latest HN discussions", stream=True)

6. Workflow with Conditional Branching

from agno.agent import Agent
from agno.workflow.workflow import Workflow
from agno.workflow.router import Router
from agno.workflow.step import Step
from agno.tools.duckduckgo import DuckDuckGoTools
from agno.tools.hackernews import HackerNewsTools

simple_researcher = Agent(
    name="Simple Researcher",
    tools=[DuckDuckGoTools()],
)

deep_researcher = Agent(
    name="Deep Researcher",
    tools=[HackerNewsTools()],
)

workflow = Workflow(
    steps=[
        Router(
            routes={
                "simple_topics": Step(agent=simple_researcher),
                "complex_topics": Step(agent=deep_researcher),
            }
        )
    ]
)

workflow.run("Research quantum computing")

7. Agent with Database Session Storage

from agno.agent import Agent
from agno.db.postgres import PostgresDb

db = PostgresDb(
    db_url="postgresql://user:pass@localhost:5432/agno",
    schema="agno_sessions"
)

agent = Agent(
    db=db,
    session_id="user-123",  # Persistent session
    add_history_to_messages=True,
)

# Conversations are automatically saved and restored
agent.print_response("Remember my favorite color is blue")
agent.print_response("What's my favorite color?")  # Will remember

8. AgentOS with Custom FastAPI App

from fastapi import FastAPI
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.os import AgentOS

# Custom FastAPI app
app = FastAPI(title="Custom App")

@app.get("/health")
def health_check():
    return {"status": "healthy"}

# Add AgentOS routes
agent_os = AgentOS(
    agents=[Agent(id="assistant", model=OpenAIChat(id="gpt-5-mini"))],
    base_app=app  # Merge with custom app
)

if __name__ == "__main__":
    agent_os.serve(app="custom_app:app", reload=True)

9. Agent with Debug Mode

from agno.agent import Agent
from agno.tools.hackernews import HackerNewsTools

agent = Agent(
    tools=[HackerNewsTools()],
    debug_mode=True,  # Enable detailed logging
    # debug_level=2,  # More verbose output
)

# See detailed logs of:
# - Messages sent to model
# - Tool calls and results
# - Token usage and timing
agent.print_response("Get top HN stories")

10. Workflow with Input Schema Validation

from typing import List
from agno.agent import Agent
from agno.workflow.workflow import Workflow
from agno.workflow.step import Step
from pydantic import BaseModel, Field

class ResearchTopic(BaseModel):
    """Structured research topic with specific requirements"""
    topic: str
    focus_areas: List[str] = Field(description="Specific areas to focus on")
    target_audience: str = Field(description="Who this research is for")
    sources_required: int = Field(description="Number of sources needed", default=5)

workflow = Workflow(
    input_schema=ResearchTopic,  # Validate inputs
    steps=[
        Step(agent=Agent(instructions=["Research based on focus areas"]))
    ]
)

# This will validate the input structure
workflow.run({
    "topic": "AI Safety",
    "focus_areas": ["alignment", "interpretability"],
    "target_audience": "researchers",
    "sources_required": 10
})

Reference Files

This skill includes comprehensive documentation in references/:

agentos.md (22 pages)

  • MCP server integration (stdio, SSE, Streamable HTTP)
  • Multiple MCP server connections
  • Custom FastAPI app integration
  • JWT middleware and authentication
  • AgentOS lifespan management
  • Telemetry and monitoring

agents.md (834 pages)

  • Agent creation and configuration
  • Tools integration (DuckDuckGo, HackerNews, Pandas, PostgreSQL, Wikipedia)
  • Structured outputs with Pydantic
  • Memory management (session, user, knowledge)
  • Debugging with debug mode
  • Human-in-the-loop patterns
  • Multimodal agents (audio, video, images)
  • Database backends (PostgreSQL, SQLite, GCS)
  • State management and session persistence

examples.md (188 pages)

  • Workflow patterns (conditional branching, loops, routers)
  • Team collaboration examples
  • Async streaming workflows
  • Audio/video processing teams
  • Image generation pipelines
  • Multi-step orchestration
  • Input schema validation

getting_started.md

  • Installation and setup
  • First agent examples
  • MCP server quickstarts
  • Common patterns and best practices

integration.md

  • Third-party integrations
  • API connections
  • Custom tool creation
  • Database setup

migration.md

  • Upgrading between versions
  • Breaking changes and migration guides
  • Deprecated features

other.md

  • Advanced topics
  • Performance optimization
  • Production deployment

Working with This Skill

For Beginners

Start with getting_started.md to understand:

  • Basic agent creation with Agent()
  • Adding tools for web search, databases, etc.
  • Running agents with .print_response() or .run()
  • Understanding the difference between Agent, Team, and Workflow

Quick Start Pattern:

from agno.agent import Agent
from agno.tools.duckduckgo import DuckDuckGoTools

agent = Agent(tools=[DuckDuckGoTools()])
agent.print_response("Your question here")

For Intermediate Users

Explore agents.md and examples.md for:

  • Multi-agent teams with role delegation
  • MCP server integration (local tools via stdio)
  • Workflow orchestration with conditional logic
  • Session persistence with databases
  • Structured outputs with Pydantic models

Team Pattern:

from agno.team import Team

team = Team(
    members=[researcher, analyst, writer],
    instructions=["Delegate tasks based on agent roles"]
)

For Advanced Users

Deep dive into agentos.md for:

  • AgentOS deployment with custom FastAPI apps
  • Multiple MCP server orchestration
  • Production authentication with JWT middleware
  • Custom lifespan management
  • Performance tuning with exponential backoff
  • Telemetry and monitoring integration

AgentOS Pattern:

from agno.os import AgentOS

agent_os = AgentOS(
    agents=[agent1, agent2],
    db=PostgresDb(...),
    base_app=custom_fastapi_app
)
agent_os.serve()

Navigation Tips

  1. Looking for examples? → Check examples.md first for real-world patterns
  2. Need API details? → Search agents.md for class references and parameters
  3. Deploying to production? → Read agentos.md for AgentOS setup
  4. Integrating external tools? → See integration.md for MCP and custom tools
  5. Debugging issues? → Enable debug_mode=True and check logs

Common Patterns

Pattern: MCP Server Connection Lifecycle

async def run_with_mcp():
    mcp_tools = MCPTools(command="uvx mcp-server-git")
    await mcp_tools.connect()  # Always connect before use

    try:
        agent = Agent(tools=[mcp_tools])
        await agent.aprint_response("Your query")
    finally:
        await mcp_tools.close()  # Always close when done

Pattern: Persistent Sessions with Database

from agno.agent import Agent
from agno.db.postgres import PostgresDb

db = PostgresDb(db_url="postgresql://...")

agent = Agent(
    db=db,
    session_id="unique-user-id",
    add_history_to_messages=True,  # Include conversation history
)

Pattern: Conditional Workflow Routing

from agno.workflow.router import Router

workflow = Workflow(
    steps=[
        Router(
            routes={
                "route_a": Step(agent=agent_a),
                "route_b": Step(agent=b),
            }
        )
    ]
)

Resources

Official Links

Key Concepts to Remember

  • Always close MCP connections: Use try/finally blocks or async context managers
  • Enable debug mode for troubleshooting: debug_mode=True shows detailed execution logs
  • Use structured outputs for reliability: Define Pydantic schemas with output_schema=
  • Persist sessions with databases: PostgreSQL or SQLite for production agents
  • Disable telemetry if needed: Set AGNO_TELEMETRY=false or telemetry=False

scripts/

Add helper scripts here for common automation tasks.

assets/

Add templates, boilerplate, or example projects here.

Notes

  • This skill was automatically generated from official Agno documentation
  • Reference files preserve structure and examples from source docs
  • Code examples include language detection for better syntax highlighting
  • Quick reference patterns are extracted from real-world usage in the docs
  • All examples are tested and production-ready

Updating

To refresh this skill with updated documentation:

  1. Re-run the scraper with the same configuration
  2. The skill will be rebuilt with the latest information from docs.agno.com

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.84%
按下载量换算351

Cursor

22.85%
按下载量换算278

Gemini CLI

14.85%
按下载量换算181

OpenCode

11.23%
按下载量换算137

Codex

7.55%
按下载量换算92

Antigravity

3.13%
按下载量换算38

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills