What Are Station Agents?
Station agents are AI-powered automation tools that:- Execute multi-step tasks autonomously
- Access tools and APIs through MCP servers
- Run on your infrastructure with your credentials
Unlike ChatGPT or Claude, Station agents have direct access to your tools (AWS, databases, filesystems) and can execute complex workflows without copy-pasting commands.
Dotprompt Format
Every agent is a.prompt file with YAML frontmatter and a template body:
Frontmatter Reference
| Field | Type | Required | Description |
|---|---|---|---|
metadata.name | string | Yes | Agent display name |
metadata.description | string | Yes | What the agent does |
metadata.tags | array | No | Categories for search |
model | string | Yes | AI model to use |
max_steps | integer | Yes | Maximum tool calls (5-15 typical) |
tools | array | Yes | MCP tools the agent can use |
Model Selection
| Model | Use Case | Speed | Cost |
|---|---|---|---|
gpt-4o-mini | Simple tasks, file ops | Fast | Low |
gpt-4o | Complex reasoning | Medium | Medium |
claude-3-5-sonnet-latest | Code analysis, security | Medium | Medium |
Creating Agents
- CLI
- File
Running Agents
Discovering Tools
List available MCP tools for your agents:Coding Backends
Agents can be enhanced with coding capabilities that allow them to read, write, and modify files.OpenCode Backend
Enable AI coding with filesystem access via OpenCode:| Tool | Description |
|---|---|
coding_open | Start a coding session in a directory |
code | Execute coding tasks (read/write/refactor) |
coding_close | End the session |
coding_commit | Commit changes to git |
coding_push | Push to remote repository |
The transport mechanism (HTTP or NATS) is configured at the Station level, not per-agent. This makes agent definitions portable across different deployments. See OpenCode Backend for backend configuration.
Coding Frontmatter Options
| Field | Type | Required | Description |
|---|---|---|---|
coding.enabled | boolean | Yes | Enable coding tools for this agent |
coding.workspace_path | string | No | Default workspace directory |
OpenCode Backend
Full guide to OpenCode integration, HTTP vs NATS backends, and container mode
Sandbox Backend
For isolated code execution in containers (different from OpenCode), use the sandbox backend:Sandbox Execution
Run code safely in isolated Docker containers
Notifications
Enable agents to send webhook notifications (ntfy, Slack, or any webhook endpoint):notify tool with parameters:
| Parameter | Description |
|---|---|
message | Notification content (required) |
title | Subject line (optional) |
priority | min, low, default, high, urgent |
tags | Emoji tags like ["warning", "white_check_mark"] |
Notifications
Full guide to webhook configuration and formats

