Skip to main content
Mythos

Cargo CLI is a 📝Cargo product that drives the entire GTM platform — data models, connectors, workflows, agents, and billing — from the terminal as the @cargo-ai/cli npm package, returning every response as JSON so runs slot cleanly into scripts, CI, and pipelines.

Shipped as one of Cargo's three developer surfaces, it rounds out the imperative command layer alongside the declarative 📝Cargo CDK and the AI-driven Skills system — all in a single binary (cargo-ai, aliased cargo). Async operations like runs and batches either poll or block with --wait-until-finished, and failures exit non-zero for clean pipeline gating.

It's built for GTM engineers, automation pipelines, and AI agents that need programmatic workspace control without a browser. Signup is free with 100 starter credits and no credit card, so the CLI is usable from the first install.

The terminal handle on the same Cargo stack that already runs under 📝One Inc's GTM engine — installed and authed into the One Inc workspace, so the whole platform is one cargo command away instead of a browser tab.

Key Features

  • Orchestration — run tools, plays, and batches, then inspect their runs and traces; long-running jobs either poll or block synchronously with the --wait-until-finished flag for clean gating.
  • Storage — define and manage 📝Cargo Object Models — accounts, contacts, deals, columns, and relationships — directly from the command line without touching the web UI or the API.
  • Connections — authenticate third-party integrations such as HubSpot and Salesforce, then discover the callable actions each connector exposes to your tools, plays, and agents.
  • AI agents — create agents, cut and manage releases, and chat with them from the shell; cargo ask defaults to streaming its replies through 📝Claude Code on the local machine.
  • Workspace & billing — administer users, API tokens, and roles, track credit consumption across enrichment and orchestration, and pull invoices, all scriptable from one binary.

Getting Started

  1. Install globally with npm install -g @cargo-ai/cli — the free tier ships 100 credits.
  2. Authenticate: cargo-ai login --token <api-token>, or use --oauth or --email.
  3. Confirm the setup by running cargo doctor and cargo whoami for the workspace.
  4. Browse the eight command domains with cargo --help, then run a tool or play.
  5. Parse the JSON output in scripts; block on async runs with --wait-until-finished.

Contexts

Created with 💜 by One Inc | Copyright 2026