8000 feat: registry by willemcdejongh · Pull Request #2726 · agno-agi/agno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: registry #2726

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

Merged
merged 64 commits into from
May 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
5d6b510
Fix import error
willemcdejongh Apr 1, 2025
962bd6b
Remove register fields
willemcdejongh Apr 16, 2025
8b300f4
update
Ayush0054 Apr 17, 2025
e4ee423
Api registrations teams agent registration fix (#2871)
Ayush0054 Apr 21, 2025
4d1bc43
update
Ayush0054 Apr 23, 2025
a8f58e2
update
Ayush0054 Apr 23, 2025
23b1b6c
update
Ayush0054 Apr 23, 2025
1bba1a1
update
Ayush0054 Apr 23, 2025
198a167
Update
dirkbrnd Apr 23, 2025
02c6e1c
Merge branch 'api-registrations' of https://github.com/agno-agi/agno …
dirkbrnd Apr 23, 2025
71a59a5
update
Ayush0054 Apr 23, 2025
0d9a456
update
Ayush0054 Apr 24, 2025
22d184e
add parent_team_id
Ayush0054 Apr 24, 2025
58fedb0
update
Ayush0054 Apr 25, 2025
11d9cbc
update
Ayush0054 Apr 28, 2025
46a4176
app registration (#2992)
Ayush0054 Apr 30, 2025
89e2f7f
Merge branch 'main' into api-registrations
Ayush0054 Apr 30, 2025
8196eff
fix
Ayush0054 Apr 30, 2025
95236a7
formatting
Ayush0054 Apr 30, 2025
ffc89c4
update
Ayush0054 Apr 30, 2025
204cae9
update
Ayush0054 Apr 30, 2025
671eec6
revert cookbook files
Ayush0054 May 2, 2025
65ac24c
update
Ayush0054 May 2, 2025
38a3f09
formatting
Ayush0054 May 2, 2025
62e53f1
update
Ayush0054 May 2, 2025
cb14404
remove registration of members inside teams two times
Ayush0054 May 5, 2025
d8aed15
update
Ayush0054 May 5, 2025
7a65bb1
update
Ayush0054 May 5, 2025
d515ffd
update endpoint
Ayush0054 May 5, 2025
1af7be2
Merge branch 'main' into api-registrations
Ayush0054 May 5, 2025
ef17f01
update
Ayush0054 May 6, 2025
297b909
feat: apps status (#3097)
anuragts May 6, 2025
cfa4dc7
workflow registration init (#3117)
Ayush0054 May 9, 2025
fd0cc44
Raise HTTPException in status if appid is not same (#3172)
anuragts May 12, 2025
47b543a
update
Ayush0054 May 13, 2025
06946e9
Merge branch 'main' into api-registrations
Ayush0054 May 14, 2025
4f91183
update
Ayush0054 May 15, 2025
f533791
update
Ayush0054 May 15, 2025
b783e5c
update
Ayush0054 May 15, 2025
cef7766
update
Ayush0054 May 15, 2025
af07b1e
update
Ayush0054 May 15, 2025
867be50
update
Ayush0054 May 19, 2025
d3bf39b
update
Ayush0054 May 20, 2025
39041d5
update
Ayush0054 May 20, 2025
88a8dbe
Merge branch 'main' of github.com:phidatahq/phidata into api-registra…
Ayush0054 May 20, 2025
b8c9726
update
Ayush0054 May 20, 2025
0edf916
update
Ayush0054 May 20, 2025
27c1146
update
Ayush0054 May 20, 2025
6cb9832
fastapi registration
Ayush0054 May 20, 2025
0c40dbe
update
Ayush0054 May 21, 2025
8be00ec
updates
Ayush0054 May 21, 2025
9051729
update
Ayush0054 May 21, 2025
f5b2efa
add whatsapp app
Ayush0054 May 21, 2025
7ea9294
update
Ayush0054 May 21, 2025
ae4f423
Merge
dirkbrnd May 22, 2025
e34fdfd
update
Ayush0054 May 22, 2025
3c17942
Merge branch 'main' into api-registrations
Ayush0054 May 23, 2025
c73c6b0
update
Ayush0054 May 26, 2025
69390f9
Merge branch 'main' of https://g 8000 ithub.com/agno-agi/agno into api-regi…
dirkbrnd May 26, 2025
2fd7572
UpdatE
dirkbrnd May 26, 2025
48379d6
update
Ayush0054 May 26, 2025
2e9ed46
update
Ayush0054 May 26, 2025
6fa43c3
FIX THE VALIDATION ERROR
Ayush0054 May 26, 2025
d3c5515
Merge branch 'main' into api-registrations
Ayush0054 May 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions cookbook/agent_concepts/memory/playground.py
685C
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,20 @@
)


app = Playground(agents=[agent]).get_app()
playground = Playground(
agents=[
agent,
],
app_id="memory-playground-app",
name="Memory Playground",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("playground:app")
# Start the playground server
playground.serve(
app="playground:app",
host="localhost",
port=7777,
reload=True,
)
17 changes: 14 additions & 3 deletions cookbook/agent_concepts/rag/agentic_rag_agent_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,20 @@
markdown=True,
)

app = Playground(agents=[rag_agent]).get_app()
playground = Playground(
agents=[
rag_agent,
],
app_id="agentic-rag-agent-ui-app",
name="Agentic RAG Agent UI",
)
app = playground.get_app()

if __name__ == "__main__":
# Load the knowledge base: Comment after first run as the knowledge base is already loaded
knowledge_base.load(upsert=True)
serve_playground_app("agentic_rag_agent_ui:app", reload=True)
playground.serve(
app="agentic_rag_agent_ui:app",
host="localhost",
port=7777,
reload=True,
)
16 changes: 15 additions & 1 deletion cookbook/agents_from_scratch/playground.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,18 @@

if __name__ == "__main__":
# Run the playground app
serve_playground_app("playground:app", reload=True)
playground = Playground(
agents=[
simple_agent,
agent_with_tools,
agent_with_knowledge,
agent_with_storage,
agno_assist,
],
app_id="agents-from-scratch-playground-app",
name="Agents from Scratch Playground",
)
app = playground.get_app()

if __name__ == "__main__":
playground.serve(app="playground:app", reload=True)
11 changes: 8 additions & 3 deletions cookbook/apps/fastapi/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@
markdown=True,
)

app = FastAPIApp(
fastapi_app = FastAPIApp(
agent=basic_agent,
).get_app()
name="Basic Agent",
app_id="basic_agent",
description="A basic agent that can answer questions and help with tasks.",
)

app = fastapi_app.get_app()

if __name__ == "__main__":
serve_fastapi_app("basic:app", port=8001, reload=True)
fastapi_app.serve(app="basic:app", port=8001, reload=True)
11 changes: 8 additions & 3 deletions cookbook/apps/fastapi/study_friend.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,14 @@
markdown=True,
)

app = FastAPIApp(
fastapi_app = FastAPIApp(
agent=StudyBuddy,
).get_app()
name="StudyBuddy",
app_id="study_buddy",
description="A study buddy that helps users achieve their educational goals through personalized guidance, interactive learning, and comprehensive resource curation.",
)

app = fastapi_app.get_app()

if __name__ == "__main__":
serve_fastapi_app("study_friend:app", port=8001, reload=True)
fastapi_app.serve(app="study_friend:app", port=8001, reload=True)
11 changes: 8 additions & 3 deletions cookbook/apps/playground/agno_assist.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from agno.embedder.openai import OpenAIEmbedder
from agno.knowledge.url import UrlKnowledge
from agno.models.openai import OpenAIChat
from agno.playground import Playground, serve_playground_app
from agno.playground import Playground
from agno.storage.sqlite import SqliteStorage
from agno.tools.dalle import DalleTools
from agno.tools.eleven_labs import ElevenLabsTools
Expand Down Expand Up @@ -180,10 +180,15 @@
)

# Create and configure the playground app
app = Playground(agents=[agno_support, agno_support_voice]).get_app()
playground = Playground(
agents=[agno_support, agno_support_voice],
app_id="agno-assist-playground-app",
name="Agno Assist Playground",
)
app = playground.get_app()

if __name__ == "__main__":
load_kb = False
if load_kb:
agent_knowledge.load(recreate=True)
serve_playground_app("agno_assist:app", reload=True)
playground.serve(app="agno_assist:app", reload=True)
10 changes: 8 additions & 2 deletions cookbook/apps/playground/audio_conversation_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@
),
)

app = Playground(agents=[audio_and_text_agent]).get_app()
playground = Playground(
agents=[audio_and_text_agent],
name="Audio Conversation Agent",
description="A playground for audio conversation agent",
app_id="audio-conversation-agent",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("audio_conversation_agent:app", reload=True)
playground.serve(app="audio_conversation_agent:app", reload=True)
12 changes: 8 additions & 4 deletions cookbook/apps/playground/azure_openai_agents.py
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,13 @@
markdown=True,
)

app = Playground(
agents=[web_agent, finance_agent, youtube_agent, research_agent, image_agent]
).get_app()
playground = Playground(
agents=[web_agent, finance_agent, youtube_agent, research_agent, image_agent],
name="Azure OpenAI Agents",
description="A playground for Azure OpenAI agents",
app_id="azure-openai-agents",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("azure_openai_agents:app", reload=True)
playground.serve(app="azure_openai_agents:app", reload=True)
12 changes: 8 additions & 4 deletions cookbook/apps/playground/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@
markdown=True,
)

app = Playground(
playground = Playground(
agents=[
basic_agent,
]
).get_app()
],
name="Basic Agent",
description="A playground for basic agent",
app_id="basic-agent",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("basic:app", reload=True)
playground.serve(app="basic:app", reload=True)
16 changes: 9 additions & 7 deletions cookbook/apps/playground/blog_to_podcast.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from agno.agent import Agent
from agno.models.openai import OpenAIChat
from agno.playground import Playground, serve_playground_app
from agno.playground import Playground
from agno.storage.sqlite import SqliteStorage
from agno.tools.eleven_labs import ElevenLabsTools
from agno.tools.firecrawl import FirecrawlTools
Expand Down Expand Up @@ -42,11 +42,13 @@
),
)

app = Playground(
agents=[
blog_to_podcast_agent,
]
).get_app(use_async=False)
playground = Playground(
agents=[blog_to_podcast_agent],
app_id="blog-to-podcast-playground-app",
name="Blog to Podcast Playground",
description="A playground for blog to podcast",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("blog_to_podcast:app", reload=True)
playground.serve(app="blog_to_podcast:app", reload=True)
10 changes: 8 additions & 2 deletions cookbook/apps/playground/coding_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@
),
)

app = Playground(agents=[coding_agent]).get_app()
playground = Playground(
agents=[coding_agent],
name="Coding Agent",
description="A playground for coding agent",
app_id="coding-agent",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("coding_agent:app", reload=True)
playground.serve(app="coding_agent:app", reload=True)
10 changes: 7 additions & 3 deletions cookbook/apps/playground/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class MovieScript(BaseModel):
response_model=MovieScript,
)

app = Playground(
playground = Playground(
agents=[
simple_agent,
web_agent,
Expand All @@ -226,7 +226,11 @@ class MovieScript(BaseModel):
image_agent,
movie_writer,
],
).get_app()
app_id="demo-playground-app",
name="Demo Playground",
description="A playground for demo",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("demo:app", reload=True)
playground.serve(app="demo:app", reload=True)
10 changes: 8 additions & 2 deletions cookbook/apps/playground/gemini_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
debug_mode=True,
)

app = Playground(agents=[finance_agent]).get_app(use_async=False)
playground = Playground(
agents=[finance_agent],
name="Gemini Agents",
description="A playground for Gemini agents",
app_id="gemini-agents",
)
app = playground.get_app(use_async=False)

if __name__ == "__main__":
serve_playground_app("gemini_agents:app", reload=True)
playground.serve(app="gemini_agents:app", reload=True)
10 changes: 8 additions & 2 deletions cookbook/apps/playground/grok_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,13 @@
markdown=True,
)

app = Playground(agents=[finance_agent, youtube_agent, web_agent]).get_app()
playground = Playground(
agents=[finance_agent, youtube_agent, web_agent],
name="Grok Agents",
description="A playground for Grok agents",
app_id="grok-agents",
)
app = playground.get_app()

if __name__ == "__main__":
serve_playground_app("grok_agents:app", reload=True)
playground.serve(app="grok_agents:app", reload=True)
10 changes: 7 additions & 3 deletions cookbook/apps/playground/groq_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,13 @@
markdown=True,
)

app = Playground(agents=[finance_agent, youtube_agent, web_agent]).get_app(
use_async=False
playground = Playground(
agents=[finance_agent, youtube_agent, web_agent],
name="Groq Agents",
description="A playground for Groq agents",
app_id="groq-agents",
)
app = playground.get_app(use_async=False)

if __name__ == "__main__":
serve_playground_app("groq_agents:app", reload=True)
playground.serve(app="groq_agents:app", reload=True)
11 changes: 8 additions & 3 deletions cookbook/apps/playground/mcp_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,16 @@ async def run_server() -> None:
markdown=True,
)

playground = Playground(agents=[agent])
app = playground.get_app()
playground = Playground(
agents=[agent],
name="MCP Demo",
description="A playground for MCP",
app_id="mcp-demo",
)
playground.get_app()

# Serve the app while keeping the MCPTools context manager alive
serve_playground_app(app)
playground.serve(app="mcp_demo:app", reload=True)


if __name__ == "__main__":
Expand Down
12 changes: 8 additions & 4 deletions cookbook/apps/playground/multimodal_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
)


app = Playground(
playground = Playground(
agents=[
image_agent,
ml_gif_agent,
Expand All @@ -185,8 +185,12 @@
fal_agent,
gif_agent,
audio_agent,
]
).get_app(use_async=False)
],
name="Multimodal Agents",
description="A playground for multimodal agents",
app_id="multimodal-agents",
)
app = playground.get_app(use_async=False)

if __name__ == "__main__":
serve_playground_app("multimodal_agents:app", reload=True)
playground.serve(app="multimodal_agents:app", reload=True)
13 changes: 10 additions & 3 deletions cookbook/apps/playground/ollama_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from agno.agent import Agent
from agno.models.ollama import Ollama
from agno.playground import Playground, serve_playground_app
from agno.playground import Playground
from agno.storage.sqlite import SqliteStorage
from agno.tools.duckduckgo import DuckDuckGoTools
from agno.tools.yfinance import YFinanceTools
Expand Down Expand Up @@ -88,7 +88,14 @@
markdown=True,
)

app = Playground(agents=[web_agent, finance_agent, youtube_agent]).get_app()
playground = Playground(
agents=[web_agent, finance_agent, youtube_agent],
name="Ollama Agents",
description="A playground for ollama agents",
app_id="ollama-agents",
)
app = playground.get_app(use_async=False)


if __name__ == "__main__":
serve_playground_app("ollama_agents:app", reload=True)
playground.serve(app="ollama_agents:app", reload=True)
10 changes: 7 additions & 3 deletions cookbook/apps/playground/reasoning_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
)


app = Playground(
playground = Playground(
agents=[
cot_agent,
reasoning_tool_agent,
Expand All @@ -231,11 +231,15 @@
thinking_tool_agent,
],
teams=[reasoning_finance_team],
).get_app()
name="Reasoning Demo",
app_id="reasoning-demo",
description="A playground for reasoning",
)
app = playground.get_app()

if __name__ == "__main__":
asyncio.run(agno_docs.aload(recreate=True))
serve_playground_app("reasoning_demo:app", reload=True)
playground.serve(app="reasoning_demo:app", reload=True)


# reasoning_tool_agent
Expand Down
Loading
Loading
0