Agents are created with a schedule and an instruction. The agent will run the instruction at the scheduled time. The agent that runs the task is Zo (another instance of yourself, with all the same tools, running on the same computer). Keep this in mind when writing the instruction: it should be specific, detailed, reference specific files, directories, and tools, and include all the context, examples, and nudges needed to give it the best chance of successfully completing the task.
Parameters
RFC 5545 RRULE string (bare RRULE without DTSTART or TZID — system adds these automatically)
Clear, actionable instruction to execute when the agent triggers (include all necessary context)
Optional: one of ‘email’, ‘sms’, ‘telegram’, or None
Optional model ID. Call tool_docs(‘create_agent’) or tool_docs(‘edit_agent’) to see available model IDs. User-specific BYOK model IDs in the format ‘byok:your_config_id’ are also accepted.