The CLI is intentionally dumb — Claude (or another agent) running in your terminal does the natural-language parsing and constructs structuredDocumentation Index
Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
Use this file to discover all available pages before exploring further.
upstack calls. No LLM ever runs server-side in Upstack.
Example session
upstack measures, then issues a single build call. Same result as the API quickstart, in one structured command.
Why this works
- Discovery is free.
upstack measuresdoesn’t require any special scope. An agent can introspect what’s available before constructing a request. - The CLI is structured input for the agent’s structured output. Flags are JSON-shaped (
--measures m1,m2,m3,--from-file payload.json). No shell-quoting gymnastics for natural-language prompts. - Every command can be replayed. Pass
--from-fileto load a JSON body, then iterate via flags. The agent doesn’t need to remember state — it can re-issue.
What the agent should NOT do
- Don’t ask the user for their API key over chat. Credentials are already in
~/.upstackrc; the CLI handles auth automatically. - Don’t hand-construct API request bodies in chat. Use the CLI as the structured interface — it’s already typed and validated.