CLI Reference

Install: npm install -g @parel/cli

# parel config

shell
# Set API server and key
parel config set --server https://api.parel.sh --key pk_your_key

# Show current config
parel config show
# server: https://api.parel.sh
# apiKey: pk_your...key
# config: ~/.parel/config.json

# parel deploy

Deploy an agent from a YAML config file.

shell
parel deploy agent.yaml
# ✓ Deployed: my-agent (agent_a1b2c3d4)
#   https://api.parel.sh/agents/agent_a1b2c3d4

# parel agents

shell
# List all agents
parel agents list

# Get agent detail (JSON)
parel agents get agent_a1b2c3d4

# Delete agent
parel agents delete agent_a1b2c3d4

# parel sessions

shell
# List sessions
parel sessions list
parel sessions list --agent agent_a1b2c3d4
parel sessions list --status running --limit 10

# Create session
parel sessions create agent_a1b2c3d4

# parel chat

Send a message and stream the response in real-time.

shell
parel chat --session abc123 "Summarize the latest news"
# Text streams inline
# [tool] bash({"command": "curl ..."})
# [result] {"output": "..."}
# Here's what I found: ...

# parel logs

Show events and logs for a session.

shell
parel logs abc123
# ── Events ──
#   10:42:03  [1] turn:start  {"turnNumber":1}
#   10:42:08  [2] turn:end    {"turnNumber":1}
# ── Logs ──
#   10:42:05  model_call  {"provider":"anthropic"}

# parel steer

Redirect a running session mid-execution.

shell
parel steer --session abc123 "Focus on AI posts only"

# Global Options

FlagDescription
--server <url>Override API server URL for this command