Agent Examples¶
This section demonstrates some runnable agents using OpenSage-ADK.
agents_101/: Common Agent Patterns¶
sample_agent: SingleOpenSageAgentwith one Python function tool.sample_agent_tool: Root agent that calls a sub-agent wrapped as anAgentTool.mcp_agent_sse: Connect to a remote MCP server over SSE.mcp_agent_stdio: Launch a local MCP server over stdio.mcp_server_tool: Mix a Python tool with a custom MCP server (streamable HTTP).
agents_with_features/: Agents with OpenSage-ADK Features¶
sample_agent_ensemble: Declare a static sub-agent and delegate to a specific model viacall_subagent.sample_dynamic_subagent: Root agent spawns specialized sub-agents at runtime.sample_summarization: Register history-summarization callbacks on every agent.sample_neo4j_logging: Persist agent history in a Neo4j graph.sample_web_search: Provider-side web search viaWebSearchTool, plus a Gemini + Google Search variant.
The agent_library/ directory ships runnable agents grouped by complexity. Use them as starting points when building your own.