CLI Quickstart¶
This walkthrough uses the current Go CLI command set and output shape.
Step 1: Install¶
Step 2: Configure¶
runagents config set endpoint https://your-workspace.try.runagents.io/api/v1
runagents config set api-key ra_ws_your_workspace_key
runagents config get
Step 3: Seed Starter Resources¶
This creates starter resources (echo-tool, playground-llm) if missing.
Step 4: Create Agent File¶
Create agent.py:
Step 5: Deploy¶
runagents deploy \
--name hello-world \
--file agent.py \
--tool echo-tool \
--model openai/gpt-4o-mini
Notes:
runagents deploymaps toPOST /deployon your configured API base URL.- For tool-call authorization, bind policies via console deploy flow, API (
policiesfield), or action plans.
Step 6: Verify Agent¶
Step 7: Inspect Runs¶
Step 8: Approvals (When Triggered)¶
If a policy rule returns approval_required, use:
runagents approvals list
runagents approvals approve <request-id>
# or
runagents approvals reject <request-id>
Useful Commands¶
runagents tools list
runagents tools get echo-tool
runagents models list
runagents context export -o json