Add agent and skill system: implement Agent and Skill classes, register media and naked agents, and create media_info demo skill
Build and Push Agent API / build (push) Successful in 5s

This commit is contained in:
2026-05-10 19:24:44 +02:00
parent 54ac77ab51
commit cb4ebfa43e
7 changed files with 276 additions and 22 deletions
+19
View File
@@ -0,0 +1,19 @@
"""
media-agent — an agent that knows how to handle media queries
(Jellyfin / Sonarr / Seerr / subtitle requests).
For now it only loads the *media_info* demo skill which teaches it
a structured response format. Later you'll add real API-calling skills.
"""
from agents import Agent, register
media_agent = Agent(
agent_id="media-agent",
description="Media assistant — handles movie/TV/subtitle/ticket requests. "
"Will eventually connect to Seerr, Sonarr, Jellyfin, etc.",
skills=["media_info"],
base_prompt="You are a media assistant. Help users with their media library.",
)
register(media_agent)