Skip to content

Agent

The Agent type belongs to the Definition Layer — it defines what a thing is.

FieldTypeRequiredDescription
rolestringnoAgent’s role or purpose
modelstringnoLLM model identifier (e.g. gpt-4)
systemPrompttextareanoSystem prompt for the agent
temperaturenumbernoSampling temperature (0–2)
maxTokensnumbernoMaximum token limit
toolstagsnoAvailable tool names
PropertyValue
Slugagent
IDbuiltin-agent
Icon🤖
SystemYes
LayerDefinition
{
"title": "Research Assistant",
"minionTypeId": "builtin-agent",
"status": "active",
"fields": {
"role": "researcher",
"model": "gpt-4",
"systemPrompt": "You are a research assistant that finds and summarizes papers.",
"temperature": 0.3,
"maxTokens": 4096,
"tools": ["web-search", "summarize", "cite"]
},
"tags": ["research", "ai-assistant"]
}
RelationTargetMeaning
parent_ofThought, Prompt Template, Test CaseAgent owns sub-minions
implementsAPI ContractAgent satisfies an interface
depends_onAnother AgentAgent requires another agent
import { TypeRegistry, createMinion } from 'minions-sdk';
const registry = new TypeRegistry();
const type = registry.getBySlug('agent')!;
const { minion, validation } = createMinion({
title: 'Research Assistant',
fields: { role: 'researcher', model: 'gpt-4', tools: ['web-search'] },
}, type);