html

Developers

The full platform. From your terminal.

The CEO.ai CLI gives you complete access to strategy, builds, deployments, agents, and workflows — from the command line, shell scripts, or CI/CD pipelines. Everything the dashboard can do, ceo can do.

terminal
# Install  
$ npm install -g @ceo-ai/cli  
  
# Authenticate  
$ ceo auth login  
  
# Start a new business from an idea  
$ ceo business create --from-idea "A platform connecting Latin American workers with UAE employers"  
  
# Build the strategy  
$ ceo strategy build --business trabajo-emiratos  
 50 strategic artifacts generated  
  
# Deploy the website  
$ ceo website deploy --business trabajo-emiratos --domain trabajoemiratos.com  
 Website deployed to https://trabajoemiratos.com  
  
# Build the full-stack app  
$ ceo app build --business trabajo-emiratos --output ./app  
 102 files generated · 65,412 lines · strategy-embedded
npm install -g @ceo-ai/cli

Everything the platform does.
Scriptable.

The CLI isn't a thin wrapper. It's a first-class interface to the full CEO.ai system — strategy, builds, deployments, workflows, agents, and business management.

Strategy

Generate, inspect, and refine your strategic foundation from the terminal.

$ ceo strategy build $ ceo strategy show --artifact icp $ ceo strategy export --format md $ ceo strategy refine --focus positioning

Build & Deploy

Generate websites, full-stack apps, and deploy them — all from one interface.

$ ceo website build --business my-project $ ceo website deploy --domain example.com $ ceo app build --output ./src $ ceo app deploy --env production

Agents

Run agents, create new ones, pipe outputs between them, manage your roster.

$ ceo agent run marketing-writer $ ceo agent list --business my-project $ ceo agent create --from-template seo $ ceo agent run analyst | ceo agent run writer

Workflows

Trigger multi-step workflows, schedule recurring runs, monitor execution.

$ ceo workflow run weekly-content $ ceo workflow list --status active $ ceo workflow create --from-prompt "..." $ ceo workflow logs --last 10

Business

Manage businesses, check KPIs, review the One Big Thing, track progress.

$ ceo business list $ ceo business status --business my-project $ ceo business kpis --period 30d $ ceo business focus --show one-big-thing

Prompt

Talk to CEO.ai directly. Ask anything. Get structured responses you can pipe.

$ ceo prompt "What should I focus on this week?" $ ceo prompt --business my-project "Analyze churn" $ ceo prompt --json "List my top 3 priorities" $ cat brief.md | ceo prompt --stdin

Automate with GitHub Actions

Trigger CEO.ai from your CI/CD pipeline. Build strategy updates on schedule, deploy websites on merge, run marketing workflows on cron — all automated.

Deploy website on push to main

# .github/workflows/deploy.yml  
name: Deploy Website  
on:  
  push:  
    branches: [main]  
  
jobs:  
  deploy:  
    runs-on: ubuntu-latest  
    steps:  
      - uses: actions/checkout@v4  
      - run: npm install -g @ceo-ai/cli  
      - run: ceo auth token ${{ secrets.CEO_API_KEY }}  
      - run: ceo website deploy --business my-project

Generate weekly content automatically

# .github/workflows/content.yml  
name: Weekly Content  
on:  
  schedule:  
    - cron: '0 8 * * 1'  # Every Monday 8am  
  
jobs:  
  content:  
    runs-on: ubuntu-latest  
    steps:  
      - run: npm install -g @ceo-ai/cli  
      - run: ceo auth token ${{ secrets.CEO_API_KEY }}  
      - run: ceo workflow run weekly-content --business my-project

Composable by design

Pipe agent outputs into other agents. Chain commands into scripts. Combine CEO.ai with any Unix tool. Output as JSON, Markdown, or plain text.

Analyze your competitive landscape, then generate positioning based on the gaps:

$ ceo agent run competitor-analyst --json | ceo agent run positioning-strategist --stdin

Export your ICP to a file, then generate targeted ad copy from it:

$ ceo strategy show --artifact icp --json > icp.json  
$ cat icp.json | ceo agent run ad-copywriter --stdin --variants 5

Build a full business from idea to deployed app in a single script:

#!/bin/bash  
# napkin-to-business.sh — From idea to live in one script  
  
IDEA="A platform connecting Latin American workers with UAE employers"  
  
$ ceo business create --from-idea "$IDEA" --name trabajo-emiratos  
$ ceo strategy build --business trabajo-emiratos  
$ ceo website build --business trabajo-emiratos  
$ ceo website deploy --domain trabajoemiratos.com  
$ ceo app build --business trabajo-emiratos --output ./app  
$ ceo app deploy --env production  
  
echo "Done. Business live at trabajoemiratos.com"

The same business that was built in the TrabajoEmiratos case study — as a 7-line shell script.

Command reference

Every command supports --help, --json output, and --verbose logging. Here's the full command tree.

ceo auth

login logout token <api-key> whoami

ceo business

create --from-idea <text> | --from-domain <domain> list status --business <name> kpis --period <range> focus --show one-big-thing | three-big-rocks delete --business <name> --confirm

ceo strategy

build --business <name> show --artifact <name> list-artifacts refine --focus <area> export --format md | json | pdf

ceo website

build --business <name> preview --port <number> deploy --domain <domain> status

ceo app

build --business <name> --output <dir> deploy --env <environment> status logs --follow

ceo agent

run <agent-name> [--stdin] [--json] list --business <name> create --from-template <template> describe <agent-name>

ceo workflow

run <workflow-name> create --from-prompt <text> list --status active | paused | completed logs --workflow <name> --last <n> schedule --cron <expression>

ceo prompt

"<question>" [--business <name>] --stdin --json | --md | --plain --agent <agent-name>

What would you automate?

Describe what you'd build with the CLI and we'll help you get started — whether it's a deployment pipeline, a content workflow, or a full business-in-a-script.

Common questions

Is the CLI the same as the dashboard, or a subset?

+

The CLI is a full-access interface to the CEO.ai platform. Everything you can do in the dashboard — create businesses, build strategy, deploy websites, run agents, execute workflows — you can do from the terminal. Some users use the dashboard exclusively, some use the CLI exclusively, and many use both depending on the task.

Can I use the CLI in GitHub Actions and other CI/CD systems?

+

Yes. The CLI supports non-interactive authentication via API keys (ceo auth token $KEY), making it ideal for CI/CD pipelines. Use it in GitHub Actions, GitLab CI, CircleCI, Jenkins, or any environment that can run Node.js. We provide example workflow files for common setups.

Can I pipe the output of one agent into another?

+

Yes. All agent commands support --json output and --stdin input, so you can compose agents using standard Unix pipes: ceo agent run analyst --json | ceo agent run writer --stdin. You can also pipe output to jq, files, or any other tool in your workflow.

Do I need to be a developer to use the CLI?

+

You need to be comfortable with a terminal, but you don't need to be a software engineer. If you can run npm install and type commands, you can use the CLI. That said, if you're not a terminal user, the dashboard gives you the same capabilities with a visual interface — use whichever you prefer.

Is there an API in addition to the CLI?

+

Yes. The CLI is built on top of the CEO.ai REST API. If you need programmatic access from your own applications — custom integrations, webhooks, embedded experiences — the API Reference has full documentation.

What platforms does the CLI run on?

+

Anywhere Node.js runs — macOS, Linux, Windows (including WSL), Docker containers, and all major CI/CD environments. Install with npm install -g @ceo-ai/cli and you're ready.

Get started in 30 seconds

Install the CLI, authenticate, and run your first command.

terminal
$ npm install -g @ceo-ai/cli  
$ ceo auth login  
$ ceo prompt "What should I build next?"