What it is
The starter is a finished product with a placeholder name. Give it a job in a sentence and a Computer does it while you watch.
The steps arrive in plain words on the left and the Computer works on its live screen on the right. The answer comes back in the thread with the files it made.
- Run several sessions side by side, each with its own thread.
- Take the controls of the Computer at any moment, then hand them back.
- Save a finished job as a skill, and put a job on a schedule.
- Keep secrets in a vault and use one by its name; the thread never holds the value.
- Send files in with a job and get files back with the answer.
In the film
One real job, as typed: read the three latest posts on Tailwind's blog and write the team a briefing, a paragraph on each, saved as a file.
The Computer opens the blog and reads the posts. Part-way through, the person takes the controls, scrolls the page themselves and hands them back. The briefing arrives with its file.
How it was built
Tandem keeps the sessions, the thread and every control around the screen. It has no model key. The work goes to Pine's agent on the Computer in one call.
turn = await session.agent.run(goal, {
idempotencyKey,
secrets,
}) Everything else in the starter is that call made useful: showing the screen, passing the controls, keeping files, running it again on a schedule.
Run it
You need Node.js 22 or later and a Pine Computer project with an API key.
git clone https://github.com/PineComputer/pine-computer
cd pine-computer/examples/starter
npm install
cp .env.example .env.local
npm run dev Then rename it. Tandem is a name to replace: one file for the name, one colour for the accent, and it is yours.