sekuire run
Run your agent locally with automatic installation and bootstrap.
Usage
sekuire run [OPTIONS]
Options
| Option | Description |
|---|---|
-c, --cmd <CMD> | Command to run agent (auto-detects if omitted) |
--workspace <ID> | Workspace ID (defaults to config) |
--backend <URL> | Backend URL (default: https://api.sekuire.ai) |
--agent <ID> | Sekuire agent ID (defaults to manifest hash) |
--install-token <TOKEN> | Use existing install token (skip minting) |
--upstream-url <URL> | Override upstream URL (default: manifest or http://localhost:8000/a2a/tasks) |
--capability <CAP> | Capabilities to register (repeatable) |
--heartbeat-interval <SEC> | Heartbeat interval (default: 60) |
--no-heartbeat | Disable automatic heartbeats |
What It Does
- Installs the agent in the workspace
- Bootstraps with install token
- Registers capabilities
- Starts heartbeat loop
- Runs your agent command
Examples
Basic Run
Uses sekuire.yml config
sekuire run
With Custom Command
Python agent
sekuire run --cmd "python main.py"
Node.js agent
sekuire run --cmd "npm start"
Rust agent
sekuire run --cmd "cargo run --release"
Production Setup
Full configuration
sekuire run \
--workspace ws_prod_12345 \
--backend https://api.sekuire.ai \
--capability "data_analysis" \
--capability "code_generation" \
--heartbeat-interval 30
Heartbeat
The CLI sends periodic heartbeats to indicate the agent is alive:
Default: every 60 seconds
sekuire run
Custom interval
sekuire run --heartbeat-interval 30
Disable heartbeats
sekuire run --no-heartbeat
Configuration Resolution
- Workspace:
--workspaceoverrides~/.sekuire/auth.json(configworkspace.id) - Capabilities:
--capabilityoverridessekuire.ymlcapabilities.provides - Upstream URL:
--upstream-urloverridessekuire.ymla2a.upstream_url
Troubleshooting
"Workspace not configured"
sekuire config set workspace.id ws_your_workspace_id
"Not authenticated"
sekuire login
"Agent not found"
sekuire push # Push your agent first