agents_create
ActiveTool of io.github.saloprj/dialogbrain
Create a new AI agent in the workspace. Execution modes: - ai_assisted (default, recommended): Two-phase AI — fast pre-classifier (Haiku) for keyword filtering and simple replies, then full AI with tools for complex messages. Best for: auto-replies, group monitoring, keyword-based filtering. - agentic: Autonomous multi-step agent with planning and tool execution. Best for: complex scheduled tasks, multi-step automation. - rule_based: Simple pattern matching without AI. For keyword filtering: use ai_assisted mode + set keywords in trigger conditions (free, deterministic) and/or auto_reply_rules (smart, LLM-based) via agents.update.
Parameters schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the AI agent (1-100 characters)"
},
"model": {
"enum": [
"deepseek-chat",
"deepseek-reasoner",
"gpt-4.1",
"gpt-4.1-mini",
"gpt-4.1-nano",
"gpt-4o",
"claude-haiku-4-5-20251001",
"claude-sonnet-4-6",
"claude-opus-4-6",
"kimi-k2.6"
],
"type": "string",
"description": "LLM the agent runs on. OMIT to use the platform default (deepseek-chat). Applied right after creation so you don't need a follow-up agents_update."
},
"prompt_id": {
"type": "integer",
"description": "ID of the prompt to assign to this agent"
},
"send_mode": {
"enum": [
"auto",
"draft"
],
"type": "string",
"description": "Default send mode: 'auto' or 'draft'. OMIT to use 'draft' (the default)."
},
"description": {
"type": "string",
"description": "Optional description of what this agent does"
},
"text_engine": {
"enum": [
"rule_based",
"ai_assisted",
"agentic",
"claude_channels"
],
"type": "string",
"description": "Text-execution engine: 'rule_based', 'ai_assisted', 'agentic' (default), or 'claude_channels'. Voice is derived from triggers, not engine. OMIT to use the default ('agentic')."
},
"allowed_tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "Explicit allow-list of tool IDs the agent may call on triggered runs (e.g. ['workbench.run_python', 'messages.send']). OMIT to use system defaults. Applied right after creation."
},
"max_iterations": {
"type": "integer",
"description": "Hard cap on agentic-loop turns per run (1-50). OMIT for the default (10)."
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries