Skip to content

Agents

Agents are LLM-powered entities with tool access and memory, running within FlowR workflows via ZeroClaw.

ModeLifecycleUse case
EphemeralCreated per step, destroyed afterOne-off tasks
SessionLives across calls with TTL, keyed by session_idConversations
PersistentLong-lived daemon, accepts messages via inboxAlways-on ops
ReactiveEvent-driven, wakes on webhooks/cron/eventsAutomation
{
"name": "my-agent",
"type_ref": "agent",
"config": {
"llm": "claude-sonnet",
"memory": "agent-memory",
"mode": "session",
"agent_id": "my-agent-001",
"ttl": 1800,
"mcp_servers": [{"url": "http://localhost:3002"}],
"system_prompt": "You are a helpful agent.",
"max_iterations": 10,
"flows": [
{"ref": "data-pipeline", "namespace": "default", "role": "data processing"}
]
}
}
TypeDescription
call:agentSync request-response (ephemeral or session)
send:agentAsync fire-and-forget to persistent/session agent
ask:agentAsync request-reply with polling
spawn:agentStart a persistent/reactive agent
stop:agentStop a persistent/reactive agent