pinecall
The CLI a tenant runs: every verb on one map.
pinecall <group> [args]. Every verb, what it is for, what it takes, and what it prints. The endpoints
underneath are the gateway API — the runtime repo's docs/protocol/gateway-api.md — and this
CLI is a client of that contract and of nothing else, so anything here is something your own code
can do too. Which environment a verb acts in, and what is yours against what is the org's, is one page:
Sandbox and production.
One module per group, each registering its verbs on the one command tree; every group's module is
loaded on every invocation. pinecall with nothing after it prints the whole CLI on one screen; pinecall <group> --help prints that group's flags, after a subverb too (pinecall memory policy --help);
and pinecall --version (-v) prints the version installed — before a verb only: after one,
--version is that verb's own flag (pinecall test --version 2, below). Most groups have a default verb:
pinecall numbers is numbers list, pinecall memory <contact> is memory show <contact>,
pinecall deploy is deploy up, pinecall providers is providers catalog. docs, data,
data erase, generate and carriers add have none, and print their help. --prod and --json
are the CLI's own and go anywhere on the line.
npm i -g pinecall # the CLI, once per machine, for every language
pinecall start # in the project's directory: the process you deploy
The CLI never loads the framework. A TypeScript agent is served by the project's own
@pinecall/agents — the version it pinned, found from the project's root — and a project without
it is refused by name; a Ruby agent by the pinecall gem, a Python agent by the pinecall package
in the project's own .venv.
In a checkout the CLI runs from source through tsx (bin/pinecall.js); what npm installs is the
compiled dist/main.js and needs no loader.
Running the gateway yourself, from nothing? The runtime repo's docs/from-zero.md is that
path end to end, with every output under it.
The map#
| verb | what it is | needs the gateway |
|---|---|---|
login |
sign this machine in to a gateway through a browser, once: every verb runs on it | yes |
new |
a new project of one agent, in TypeScript, Ruby or Python, and its pinecall.json: where it runs |
only for the org |
generate |
g: one more agent in the project, or one more golden for one of its agents |
no |
start |
the app registered and answering — the process you deploy | yes |
console |
the platform's console in a browser, signed in: the sandbox's at <url>/sandbox/, --prod for production's at <url>/ |
yes |
chat |
a written caller against the agent, wherever it is held | yes |
prompt |
the exact prompt a state would produce, offline | no |
test |
the goldens (said out loud with --voice), through the agent wherever it is held |
yes |
simulate |
a model plays one caller, live, and the call is judged at hang-up | yes |
benchmark |
the report of comparisons already played: each setup against two bars, every call with its recording and its log | yes |
eval |
one real call re-checked by code | yes |
sessions |
the calls this agent has run, one of them whole, and its log entry by entry | yes |
runs |
the suites: list, show, diff, promote a call, watch the drift | yes |
cases |
the org's dataset — real calls kept as cases: list, groups, show, propose, apply, persona, approve, dismiss, reopen, pull, keep, add, forget | yes |
agent |
the agent's settings — yours, the team's, production's — set, clear, knowledge, history, diff, rollback, pull, push; list and stop the processes that hold it | yes |
kill |
an admin's: every app holding the agent in the env lets go of it and keeps its others; nothing is erased | yes |
lexicon |
an agent's words: how the voice says them and what the ears must know | yes |
pipeline |
what it hears, decides and speaks with, as the next call would be built; melody, what a caller hears while a tool runs |
yes |
line |
which phone is yours, and whose terminal a call from anybody else's rings in | yes |
numbers |
which number reaches which agent, in the environment it answers in, and which the org's accounts own free | yes |
carriers |
the org's carrier accounts — a Twilio account, a SIP peer, a WhatsApp number — where its numbers live | yes |
personas |
an agent's synthetic callers: Pinecall's switched on or off, its own written, generated, tried, pushed | yes |
judges |
every judge a call meets — Pinecall's switched on or off, the org's own, the agent's own: list, show, add, on, off, rm, try, agreement | yes |
judging |
whether the org's calls are judged, and the model the judges run on: Pinecall's, or one of yours | yes |
docs |
the documents the agent searches: push, pull, rm, list, drop, eval, attach, detach, attached | yes |
memory |
what memory kept about a contact, forgetting it, and recall's golden | yes |
remember |
the extraction goldens: what a hang-up makes of a call | yes |
supervise |
listen in on a live call and move on it | yes |
limits |
what the org may use in this environment, what it used, and whose keys its calls run on | yes |
providers |
every vendor this build runs, and the keys this org brought | yes |
voices |
a vendor's voices in a language, and one of them played here before it is chosen | yes |
walks |
a tutor agent's walks, recorded in its voice for a visitor to play with no call; one played here | yes |
dial |
an agent calls a number, with what its call opens with | yes |
text |
an agent sends a contact one SMS, or the first email of a thread | yes |
template |
an agent sends a contact one WhatsApp template; the sandbox answers and sends nothing | yes |
callbacks |
the numbers people left when every seat was taken | yes |
data |
the org's data: erasures and their trail, its policy, consent, the do-not-call list, export | yes |
deploy |
this project run by the platform itself: uploaded as a release, installed and started there; list, releases, rollback, logs, stop, start, rm | yes |
studio |
the agents built in the console's Studio, with no class: list, new, pull, push, try a tool, deploy, code | yes |
secrets |
the values the org's hosted apps are started with: list, set, rm — never read back | yes |
team |
the org's people: list, a password set for one, or a one-use link to choose it | yes |
telemetry |
where the org's calls' traces go: its own OpenTelemetry collector | yes |
monitors |
the numbers the org watches, and the line each must not cross | yes |
webhook |
where the org's alerts are posted | yes |
alerts |
the org's alerts of the last 90 days, and where they go | yes |
whoami |
which gateway, which org, which environments the key opens, and where the key came from | yes |
mcp |
the MCP server an assistant runs this CLI as; mcp install adds it to every assistant here |
the tools do |
Bare pinecall prints the verbs by what they are for, on one screen, and exits 0; pinecall --help is
the table above, whole. --prod is no verb's and every verb's: anywhere on the line, it runs that one command in
production (below) — and a verb that asks no gateway
anything, prompt, refuses it instead of accepting an environment it never visits.
--agent reads two ways, and the verb says which. A verb that reads the agent's files — start,
test, docs push, docs pull, cases pull, personas pull — takes the name of a folder under
agents/, and runs in the project. A verb that asks the gateway alone — sessions, agent,
lexicon, judges, cases, line, memory policy, docs attach, simulate, personas — takes
the agent's slug and runs from any folder; beside an agent's class, both read as that agent, and at the
root of a project of several agents both are refused with the names until --agent picks one. So an
agent with no folder, as one built in Studio, is simulated and given its callers from a
terminal by its slug: pinecall simulate --agent front-desk --persona in-a-hurry.