Skip to main content
The bundle declares what the agent is and what it can do. Deploy it and you get a callable resource.
swarmlord.jsonc

Fields

JSONC comments and $schema URLs are supported. The full schema is published at https://api.swarmlord.ai/schema/swarmlord.json.

Models

Models are routed through OpenRouter, so any model listed at openrouter.ai/models is supported. Just paste the OpenRouter id into modelId:
Use a ~vendor/model-latest alias to always run on the latest revision — e.g. ~anthropic/claude-sonnet-latest or ~openai/gpt-mini-latest. Override per-call with session.send(..., { modelId }) to try a different model mid-conversation. Billing tracks the actual model used, in USD.

Deploying

Re-running upserts: same name → same agent id, new revision.

Calling

Every invocation creates a fresh session.

Triggers

An agent can fire itself.
Cron — standard 5-field expressions plus @hourly, @daily, @weekly. Resolution is one minute. Webhook — the platform mints POST /trigger/<userId>/<agentId>/<suffix>. POST anything to that URL (from GitHub, Stripe, Slack — anything) and the agent runs with the request body as input.

Custom CLI commands

Templates support ${1}, ${2}, and named flags. The CLI dispatches the resolved prompt against the agent.