How to use Pinecall: build your first voice receptionist, from install to first simulated call

2026-11-30来源 dev.toEnglish

How to use Pinecall: build your first voice receptionist, from install to first simulated call

Post 3 in a short Pinecall series. Post 1 covered what the launch gets right about testing and guardrails; post 2 covered the testing stack (goldens, simulated callers, judges). This one is the build itself: install to first simulated call, in the order you'd actually do it.

Pinecall is open source (Apache-2.0, built on LiveKit). It gives a small business a voice agent that answers its own phone — bookings, hours, handoffs to a human — with a testing-first workflow. Here is the shortest honest path from zero to an agent you have actually heard speak.

Step 0 — Know what you're building (and what you're not)

Before installing anything, decide the job in one sentence: "answer the front-desk phone, take bookings, and hand off anything else to a human." If the job needs stages, conditions, or its own state, build it in code (TypeScript or Python). If it's a simple form — instructions, opening line, fields to collect, one HTTP tool to your own API — Pinecall Studio in the browser will do, and you can download the code later when it outgrows the form.

And the line that matters most: this is for your own business's calls, with disclosure and consent — the agent says it's an AI before the greeting, and books only after the caller agrees. Never cold outreach, never pretending to be human.

Step 1 — Install the CLI and sign in

Node 24+ on your machine, then:

npm i -g pinecall pinecall login 

pinecall login signs the machine in once, through the browser. Check where you landed:

pinecall whoami 

One launch-week gotcha before you spend any sandbox budget: Pinecall's pricing page and its docs disagreed about the free sandbox size (120 minutes / 30 simulations on one page; 30 minutes / 10 simulations on two others). Trust only your own org's number:

pinecall limits 

Run it first. Budget your simulations against the real number, not the marketing one.

Step 2 — Scaffold the project and its first agent

pinecall new acme --agent front-desk 

This writes the project layout: pinecall.json (gateway and org — it holds no key, so it commits with the project), agents/front-desk/ with the agent class, its docs/ and test/ folders, a ring-0 test, and one golden. The folder's name is the agent's slug. A second agent later is pinecall generate agent <name>.

Then install the project's one dependency (npm install — @pinecall/agents for TypeScript) and read the single most important command in the whole workflow:

pinecall prompt 

It prints the exact text the model reads — no key, no network. Read it. If it contains a claim your business can't back — a price, a promise, a policy — fix it now. The prompt is the product your callers will meet.

Step 3 — Hear it before anyone else does

Start the agent on your machine and keep it running:

pinecall start 

In a second terminal, talk to it in writing — the fastest debug loop there is, and it spends messages, not voice minutes:

pinecall chat 

Fix the prompt, re-read pinecall prompt, and chat again. One change per instruction: one agent, one tool, one test at a time.

Step 4 — Prove it with a golden, then a simulated caller

Write one golden first: a booking conversation with a must-be-true end state — not "the reply sounded nice," but checkable facts: the booking exists, for the time the caller agreed to, and nothing else was booked.

pinecall test 

Then put a simulated caller on it — a persona with a goal and a way of speaking, over a line with background noise and packet loss, because that's what real telephony sounds like:

pinecall simulate 

Start with the personas that break assumptions: the rambling caller who buries the request in a story, the impatient caller who interrupts, the caller who changes their mind mid-booking. Read the transcripts yourself. If a transcript embarrasses you, the prompt — not the model — is usually the fix.

Step 5 — The supervised first call

Only after the golden is green and the simulations read clean: one supervised live call (pinecall supervise — listen, whisper, take the line) before the agent answers alone. Then wire the judges in — disclosed, consent, honoured-stop — with pinecall eval, so a build that fails disclosure doesn't ship because someone was in a hurry.

The pre-flight checklist

  1. pinecall limits — know your sandbox budget.
  2. pinecall new — project and first agent scaffolded.
  3. pinecall prompt — read the exact text callers will meet.
  4. pinecall chat — written caller, prompt fixed by hand.
  5. One golden green in pinecall test, one simulated caller survived in pinecall simulate.
  6. One supervised live call before it answers alone.

Going deeper

I packaged my launch-week notes into two things:

  • Free starter kit — Chapter 1 of the tutorial, 3 working templates, the cheat sheet, and a 2-minute walkthrough: https://payhip.com/b/0pifs
  • Full starter pack ($9.99) — a 21-section tutorial (build paths in code, Studio, and MCP; providers and BYOK; self-hosting on your own GPU; the dialling rules that refuse cold lists by design), deployment templates, 3 reception workflows, and 6 assistant prompts: https://payhip.com/b/bdEXL

Disclosure: the pack is my own product on Payhip; this tutorial is independent and not affiliated with Pinecall. Steps are docs-verified from docs.pinecall.io, checked November 2026 — I ran the CLI help entry point in a sandbox, but did not create a Pinecall account, deploy an agent, or place a live call for this series, so judge the platform on your own sandbox test. The pack teaches compliant reception use only — your own business's calls, with disclosure and consent — never cold outreach.

原文:https://www.a8q9.cn/en/article/how-to-use-pinecall-build-your-first-voice-receptionist-from-install-to-first-si-6f1440.html

相关文章