AI Agents
AI Agents CLI
SPREVA's command line, for any agent that can run shell commands.
- Connects with
- CLI, Skill
Before you start
- Node.js 20 or later.
- An API key, created in SPREVA under Developer, then API keys.
Set it up
- 1
Install the CLI:
Terminal npm i -g @spreva/cli - 2
Give it your API key:
Terminal export SPREVA_API_KEY=spreva_sk_... - 3
Install the Agent Skill for agents that read shared skills, or choose your agent's own target on the Agent Skill page:
Terminal spreva skill install --target agents - 4
Check that everything is in place:
Terminal spreva doctor
Also works with
- The CLI's stdio bridge
Run
spreva mcpas a local MCP server, for apps that only start servers on your machine.
Check it works
Start a new conversation and ask:
What's going out this week on SPREVA?
AI Agents CLI calls SPREVA's overview tool and answers with the workspace's time zone, what goes out next and anything that needs attention. The first time, AI Agents CLI may ask you to allow the tool.
Troubleshooting
Something else? Troubleshooting covers sign-in loops, plans, limits and time zones.