src.marcus_mcp.tools.agent module#
Agent Management Tools for Marcus MCP.
This module contains tools for managing AI agents in the Marcus system: - register_agent: Register a new agent with skills and role - get_agent_status: Get current status and tasks for an agent - list_registered_agents: List all registered agents
- async src.marcus_mcp.tools.agent.register_agent(agent_id, name, role, skills, state, project_id='')[source]#
Register a new agent with the Marcus system.
- Parameters:
agent_id (
str) – Unique identifier for the agentname (
str) – Display name for the agentrole (
str) – Agent’s role (e.g., ‘Backend Developer’)state (
Any) – Marcus server state instanceproject_id (
str) – ID of the project this agent is working on. Used to scope request_next_task results so agents from concurrent experiments cannot steal tasks across project boundaries (GH-388).
- Returns:
Dict with success status, registration details, and project_id.
- Return type: