Skip to the viewer

.Worker v1

The .Worker viewer

A .Worker file defines an agentic worker: its job, the accounts it acts through, what it may do, what starts it, and where it runs. Paste one here to color it, format it and check it against the spec. New to the format? Read the documentation.

weekly-pipeline.Worker
Valid
3 documents · Worker, Assignment, BoxLn 1, Col 1 · .Worker v1

No problems

This file follows the .Worker v1 rules.

Everything runs in your browser. Nothing you paste is uploaded. Press Cmd+S to format, Tab to indent, and Esc then Tab to leave the editor.

Three kinds in one file

A .Worker file holds one or more YAML documents separated by ---. Each one declares a kind.

kind: Worker

The portable definition: job, model, instructions, skills, the connections it needs, policy and triggers.

kind: Assignment

One deployment of a worker for one client: whose accounts fill each connection, who approves, and the budget.

kind: Box

The machine: image, region, size, volume, sleep schedule, and the assignments that run on it.

Lint rules

Every check the viewer runs. Rule ids are stable, so you can refer to them in reviews.

.Worker lint rules with severity and description
RuleSeverityWhat it checks
yaml/syntaxerrorThe file must be valid YAML.
doc/api-versionerrorEvery document declares apiVersion: agenticworkers.com/v1.
doc/kinderrorkind is Worker, Assignment or Box.
doc/iderrorid is required, lowercase, and unique in the file. It never changes when the name does.
doc/unknown-keywarningTop-level keys must be known for the kind. Close misspellings get a suggestion.
job/summarywarningA Worker states its job in one sentence.
model/providerwarningopenai-codex and custom providers are applied as box config, not stored by the platform yet.
connection/shapeerrorEach connection has an id, a via of composio, mcp or env, and the fields that via needs.
connection/allow-listerrorAn MCP connection lists the tools it may use. An empty list would expose every tool.
connection/enumerrorauth, on_missing and on_expired use the documented values.
policy/ruleerrorpolicy.default is allow or deny, and each rule is allow, require_approval, forbid or require.
policy/unknown-connectionwarningA dotted tool reference starts with a declared connection id.
trigger/shapeerrorEach trigger has an id and exactly one of cron, every, event or webhook.
trigger/cronerrorcron has five fields; every is a number and a unit (5m, 1h).
trigger/deliverwarningdeliver is chat, telegram, chat_and_telegram or none.
trigger/event-connectionerrorAn event trigger names a declared connection.
secret/inlineerrorSecret values never appear in the file. Use vault://box/NAME.
secret/nameerrorSecret names are uppercase and avoid reserved prefixes (AGW_, HERMES_, COMPOSIO, GATEWAY_, API_SERVER_, BOX_GATEWAY).
secret/agent-scopewarningvault://agent/ references are not supported by the platform yet.
bind/unknown-connectionerrorAn Assignment binds only connections its Worker declares.
bind/missingerrorAn Assignment binds every required connection.
bind/mixed-ownerserrorComposio connections on one worker share one owner: org, or agent and client. The platform uses one Composio account set per agent.
bind/inviteerrorClient invites need owner client or agent, and expire in 1d, 7d or 30d.
box/machineerrorBox cpus are 1, 2, 4, 6 or 8, memory is at most 16Gi, and volumes are at most 100Gi.
box/capacitywarningWorker memory requests on a box fit inside its machine memory.
resources/limitserrorA memory limit is at least the memory request.
value/todowarningTODO values must be filled in before apply.