agent-factory: generate agent auto-retrieve-files-from-a-reposito

This commit is contained in:
2026-04-13 20:00:51 +00:00
parent 56916f44cf
commit 940e2a5b80
19 changed files with 569 additions and 0 deletions

29
app/skills.py Normal file
View File

@@ -0,0 +1,29 @@
"""
A2A skill declarations for AutoRetrieveFilesFromAReposito.
"""
from a2a.types import AgentSkill
AUTO_RETRIEVE_FILES_FROM_A_REPOSITO_SKILLS = [
AgentSkill(
id="auto_retrieve_files_from_a_reposito_skill",
name="AutoRetrieveFilesFromAReposito",
description="Retrieve files from a repository",
tags=["auto-generated"],
examples=[],
),
]
AGENT_CONFIG = {
"name": "AutoRetrieveFilesFromAReposito",
"description": "Fetch all Java workflow files from the Gitea repository",
"version": "1.0.0",
"framework": "LangGraph + Starlette",
"capabilities": {
"streaming": False,
"async": True,
},
"input_schema": {"repository_url": "string", "update_scope": "string"},
"output_schema": {"workflow_files": "string[]"},
}