Skip to main content

Official CLI for CueAPI — open-source execution accountability primitive for AI agents. Schedule agent work, require evidence-backed outcomes, and gate execution with write-once verification from your terminal.

Project description

For AI agents: This is the CueAPI CLI. Install with pip install cueapi. Authenticate with cueapi login. Create a cue: cueapi create --name "task-name" --cron "0 9 * * *" --url https://your-handler.com. List cues: cueapi list. View a cue and its recent executions: cueapi get <cue-id>. Your API key can also be set via CUEAPI_API_KEY env var. Do not retry on authentication errors.

CueAPI CLI

Your agents are failing silently. CueAPI tells you when and why.

Cron has no concept of success. Cue does.

License Python PyPI Docs

The official CLI for CueAPI. Manage your cues, check executions, and verify outcomes from the terminal.

Built for AI builders running agents in production. Schedule your agent tasks, confirm delivery, and verify outcomes without leaving the terminal.


Install

pip install cueapi

Quick start

# Authenticate
cueapi login

# Create your first cue
cueapi create --name "morning-agent-brief" --cron "0 9 * * *" --url https://your-agent.com/run

# See what is scheduled
cueapi list

# Inspect a cue and its recent executions
cueapi get <cue-id>

Why CueAPI over cron?

Cron fires a job. That is it. No retries. No delivery confirmation. No outcome tracking. No visibility.

Feature Cron CueAPI
Fires on schedule Yes Yes
Confirms delivery No Yes
Tracks outcomes No Yes
Retries on failure No Yes (1, 5, 15 min)
Alerts on failure No Yes
Execution history No Yes

Commands

Command Description
cueapi login Authenticate and store API key
cueapi whoami Show current user and plan
cueapi logout Remove local credentials
cueapi quickstart Guided first-cue setup
cueapi create Create a new cue (supports --worker, --payload, --on-failure)
cueapi list List all cues
cueapi get <id> Get cue details and recent executions
cueapi update <id> Update an existing cue
cueapi pause <id> Pause a cue
cueapi resume <id> Resume a cue
cueapi delete <id> Delete a cue
cueapi fire <id> Fire an existing cue immediately, optional --payload-override
cueapi executions list List historical executions across all cues
cueapi executions list-claimable List unclaimed worker executions, filter by --task / --agent
cueapi executions get <id> Fetch one execution by ID
cueapi executions claim <id> --worker-id ID Atomically claim an execution
cueapi executions claim-next --worker-id ID [--task] Claim the next available execution
cueapi executions heartbeat <id> --worker-id ID Extend the claim lease
cueapi executions report-outcome <id> --success/--failure Report a write-once outcome
cueapi usage Show current usage and limits
cueapi key regenerate Regenerate API key
cueapi upgrade Open billing
cueapi manage Open Stripe billing portal

Auth

Credentials stored in ~/.config/cueapi/credentials.json.

Override with env var: export CUEAPI_API_KEY=cue_sk_your_key

Or pass inline: cueapi list --api-key cue_sk_your_key


Transport modes

The CLI works with both webhook and worker cues. For worker cues running without a public URL, install the worker daemon separately:

pip install cueapi-worker

See cueapi-python for the full SDK and worker setup.


Links


Releases

Releases are published to PyPI with PEP 740 attestations via GitHub Actions Trusted Publishing.


License

MIT. See LICENSE.


Built by Vector Apps

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cueapi-0.2.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cueapi-0.2.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file cueapi-0.2.0.tar.gz.

File metadata

  • Download URL: cueapi-0.2.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for cueapi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fb4874066aa2a5b9613f908f829c55ec452bbc8334d22e28fd4c473ed4eeaccc
MD5 6488af0e523cad0699640116f716a328
BLAKE2b-256 eedbbd64c342c12a13e729955a330ebe34e2e59815c3d066998096359a9b169b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cueapi-0.2.0.tar.gz:

Publisher: publish.yml on cueapi/cueapi-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cueapi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cueapi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for cueapi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a070bd541268488308cd2b5571be190fcbe74dc171a81ca12a9de8130b3caeb
MD5 01ca3f2db0a3cd45734d620104503fe6
BLAKE2b-256 74095fe5d2ad308697e18be916a550f7662231f00bd802d48d20e7d979ccac55

See more details on using hashes here.

Provenance

The following attestation bundles were made for cueapi-0.2.0-py3-none-any.whl:

Publisher: publish.yml on cueapi/cueapi-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page