Agent-native CLI
xt

Your database, your integrations, every agent — one command.

A fast, portable CLI that gives any AI agent structured access to your Xtended workspace and all your connected tools — straight from the terminal.

$ curl -fsSL https://cli.xtended.ai/install.sh | sh

Works with Claude Code· Cursor· ChatGPT· any agent or shell

1.6×
Faster than MCP
Stateless HTTP, zero handshake
80%
Fewer tokens of overhead
Compact output vs. JSON-RPC
Zero
Connection drops
Stateless by design

Measured against the equivalent MCP round-trips on the same workspace. No magic — just less protocol.

What it gives you

Everything your workspace can do, scriptable

Five things xt does well — and uses every day.

A powerful database, in your terminal

Query, filter, sort and paginate your records like a real relational store — no SQL client, no UI round-trip.

xt records list bugs --where 'status=open' --sort created_at:desc

Aggregate & bulk-create

GROUP BY, COUNT, SUM, AVG over your data — and bulk-write whole arrays of records straight from stdin.

xt records aggregate bugs --select 'status, COUNT(*)' --group-by status

All your integrations

Reach Slack, Jira, GitHub, PostHog and the rest through one consistent interface. Same syntax, every tool.

xt integrations query github search-repos --params-json '{"q":"…"}'

Portable across every agent

One small binary, no daemon. It runs wherever your agent runs — Claude Code, Cursor, ChatGPT, CI, or a plain shell.

xt setup-agent # drops the right prompt into your agent

Batch query everything, in one call

Pipeline dozens of reads and writes — across your tables and your integrations — in a single batched request. One round-trip instead of fifty.

xt batch operations.json --continue-on-error --output results.json
A quick reminder

The commands you'll actually use

Explore the schema, query data, reach integrations, and batch it all — without leaving the prompt.

~ xt --help
Explore
$ xt schema # all tables & fields
$ xt schema bugs --detail full # one table in detail
$ xt search "payment failed" # full-text across tables
Query & analyse
$ xt records list bugs --where 'status=open' --limit 20
$ xt records count bugs --where 'severity=critical'
$ xt records aggregate bugs --select 'status, COUNT(*)' --group-by status
Write
$ xt records create bugs --set title='Login broken' --set severity=high
$ xt records update bugs rec_abc123 --set status=resolved
$ echo '[…]' | xt records bulk create bugs # many at once
Integrations & batch
$ xt integrations list # what's connected
$ xt integrations query slack list-channels
$ xt batch ops.json --continue-on-error # pipeline everything

Add -q for ID-only output, --json for structured, --dry-run on any write.

Get started

Up and running in under a minute

Three steps from zero to your first query.

1
Install the CLI
curl -fsSL https://cli.xtended.ai/install.sh | sh
2
Authenticate (browser or API key)
xt login
3
Run your first command
xt schema

Give your agent the keys.

One install. Your whole workspace, scriptable.

$ curl -fsSL https://cli.xtended.ai/install.sh | sh