@virtron/agency
Version:
A framework for building autonomous agents that can perform tasks, manage memory, and interact with tools.
53 lines • 2.05 kB
JSON
{
"agency": {
"name": "User Info Extraction Agency",
"description": "An agency for extracting and structuring user information."
},
"agents": {
"userInfoAgent": {
"id": "userInfoAgent",
"name": "User Info Extraction Agent",
"description": "An agent that extracts username, birthday, and email from user prompts and returns structured JSON.",
"role": "You are a data extraction agent. Your job is to parse user input and extract username, birthday, and email information, then return it as structured JSON. If any information is missing or unclear, ask the user to provide it. Always respond with valid JSON format: {\"username\": \"string\", \"birthday\": \"YYYY-MM-DD\", \"email\": \"string\"}",
"goals": [
"Extract username, birthday, and email from user input",
"Return structured JSON format",
"Ask for missing information when needed",
"Validate email format",
"Convert birthday to YYYY-MM-DD format"
],
"provider": "gemini",
"llmConfig": {
"model": "gemini-1.5-flash-latest",
"temperature": 0.3,
"maxOutputTokens": 1024
}
}
},
"team": {
"userInfoTeam": {
"name": "User Info Extraction Team",
"description": "A team that extracts and structures user information from prompts.",
"agents": [
"userInfoAgent"
],
"jobs": {
"extractUserInfo": {
"description": "Extract username, birthday, and email from user prompt and return structured JSON.",
"agent": "userInfoAgent",
"inputs": {
"userPrompt": "string"
}
}
},
"workflow": [
"extractUserInfo"
]
}
},
"brief": {
"user-info-brief": {
"task": "Parse user input to extract username, birthday (YYYY-MM-DD format), and email, then return as structured JSON: {\"username\": \"string\", \"birthday\": \"YYYY-MM-DD\", \"email\": \"string\"}"
}
}
}