Skip to main content
Glama

agent_spawn

Assign tasks to AI agents by writing instructions to a shared blackboard for automated workflow execution in multi-agent systems.

Instructions

Dispatch a task to a named agent by writing a task record to the blackboard. The agent will pick it up on its next poll cycle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesID of the agent to assign the task to (e.g. "code_writer", "data_analyst")
task_keyYesBlackboard key for the task (e.g. "task:write:auth_module")
instructionYesNatural language instruction for the agent
payload_jsonNoOptional JSON-encoded extra payload for the agent
ttlNoTime-to-live for the task entry in seconds (default: 3600)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jovancoding/network-ai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server