The bundle declares what the agent is and what it can do. Deploy it and you get a callable resource.Documentation Index
Fetch the complete documentation index at: https://zpg6.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
swarmlord.jsonc
Fields
| Field | Purpose |
|---|---|
name | Stable handle. URLs and swarmlord run <name> reference this. |
model | providerId + modelId. See Models below. |
instructions | System prompt. |
mcps | Built-in MCP ids — see MCPs. |
secretGrants | Secret keys the agent is allowed to read. |
triggers | Cron and webhook triggers that self-fire the agent. |
command | Custom CLI subcommands. |
customTools | JSON-Schema tool blocks the model can call. |
$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 intomodelId:
~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
name → same agent id, new revision.
Calling
Every invocation creates a fresh session.Triggers
An agent can fire itself.@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
${1}, ${2}, and named flags. The CLI dispatches the resolved prompt against the agent.