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
Build and Push Agent API / build (push) Successful in 5s
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user