pinecall chat
Talk to the agent in this terminal.
pinecall chat [agent] [--agent <name>] [--file agent.tsx] [--prod] [--as <contact>]
[--state file [--case n]] [--events]
A written caller against the agent, at whoever holds it — your own pinecall start in another
terminal, a colleague's, production's with --prod — in the corner your key reaches. Nothing is
started here: start is the one verb that runs the agent, and chat, test, simulate,
remember and personas try only knock at the gateway, naming no app, so it sends each call to
the newest process that holds the slug. Nobody holding it is the gateway's refusal, printed as it
came. With nothing after it, the agent of this directory; with a slug, that agent.
A written call runs in the gateway, so a gateway that restarts drops the socket — and keeps the
call. chat says the gateway went away — the call is kept, reconnecting…, dials again naming
the call, and the conversation goes on, history and state whole. It gives up after about a minute.
A call the gateway ended is not a gateway that went away: when the agent hangs up, the desk ends the
call, or a vendor refuses it for good (✗ anthropic refused this call's model: Your credit balance is too low…), the lines say why and chat ends there.
Lines read from a pipe or a file are said one at a time, as a person types them: each once the agent answered the one before, its tools included (a minute at most per line). Lines typed at a terminal are said as they are typed.
When the input ends — Ctrl-D, or the end of a pipe — chat hangs up once the agent has answered
every line it was sent, one turn at a time (a minute at most). It hangs up through the gateway,
which ends the call before it closes the socket, so the agent's process stops with nothing live: printf 'hello\n' | pinecall chat prints the answer and leaves a
call that ended caller_hung_up, never one left open.
$ pinecall chat --as +34600000001
‹ hi, I'd like to change my Thursday appointment
› Of course. Could I have your full name and phone number?
$ pinecall chat clinica-norte
The positional is an agent's slug, never a file. --file names an agent of the project by
its class's path, and it is the same word in every verb that reads one (test, simulate,
remember, personas, docs, memory); --agent names one agent of a project of several, by
its folder's name, and is required there because a chat talks to one.
--as is who is calling: the call's contact, the id memory files it under. It is the call's
call.started.caller in its log and its state, what the agent's hook reads as call.contact
(from stays the visitor id the chat came through), and what pinecall data erase contact finds
the call by. --state file [--case n] opens the
call in a state: the same goldens file prompt reads. It rides the call's socket (?state=) and
the gateway puts it on the call's call.started, so it opens a call in a colleague's agent too. --events prints the wire instead. --prod talks to production's
agent, while your org lets you act there; nothing said is the sandbox.