Adds a new task to an agent’s checklist. Returns the ID of the created task. Tasks are checklist items that track what an agent needs to do. Each task has a subject line, an optional description, and an optional activation condition that keeps the task dormant until a trigger fires.Documentation Index
Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | on laptop | The agent’s slug. Optional on VMs (defaults to self). |
subject | string | yes | Short summary of the task. |
-d | string | no | Detailed task description. |
--activate-when | string | no | Activation condition name. When set, the task stays dormant until the condition is met. Valid: files_modified. |
--pattern | string | no | Glob pattern for file matching. Used with --activate-when files_modified. Supports path.Match syntax plus ** for recursive directory matching. |
--workspace | string | no | Workspace name. Overrides the value from murmur.yaml. |
Examples
Create a basic task
Create a task with a description
Create a conditionally activated task
This task stays dormant until the agent pushes a commit that modifies a Go test file:murmur task ls --active after the agent pushes a matching file.
Self-create on a VM
When running on an agent VM, omit the slug:Errors
| Code | Meaning | What to do |
|---|---|---|
NOT_FOUND | No agent with that slug exists. | Check the slug spelling. Use murmur ls to see running agents. |
UNAUTHENTICATED | Identity token is missing or expired. | Run murmur auth or check your murmur.local.yaml configuration. |
INVALID_ARGUMENT | Unknown activation condition. | Use a valid --activate-when value. Currently only files_modified is supported. |
Related
- Agents — concept overview
murmur task update— change a task’s status, subject, or dependenciesmurmur task ls— list all tasks on an agent’s checklistmurmur task get— retrieve details for a single taskmurmur status— query agent statusmurmur spawn— start an agent