Skip to content
Pine Computer Request access
Menu

23 / 26 Sales and marketing · Example

Draft content from research

A writer approves the sources first, then gets a draft guide in Word with each claim cited.

Who it’s for
Content-marketing software whose users publish research-backed guides under their own bylines.
Why it’s hard
A figure without a source can’t go in a guide with the writer’s name on it. Whether a source is fit to cite in public is the writer’s call.
You get back
  • A draft guide, as a Word document
  • The approved sources, cited where they’re used
How it runs, in your product’s code

The computer reads the Food Statistics Office’s figures for restaurants and cafés, and the surveys around them, keeping each claim with its page. Before a word is drafted, the writer gets the source list on the live screen and approves it. The guide is then written in Word, following the style guide your product handed over. Any claim it couldn’t source is highlighted for the writer to cut.

Ruby · example
computer = pine.create_computer(  location: { country: "US" },  ephemeral: true)session = computer.create_session(name: "main", browser: true) session.agent.run(<<~JOB)  Draft a guide to cutting food waste for small restaurants,  with a source for every claim.JOB session.agent.events do |event|  case event.type  when "needs_input"    # Your user takes the controls on the live desktop in your    # product, does what only they can, and hands them back.    session.agent.answer(event.payload["request_id"], "Done.")  when "result"    session.list_artifacts(turn_id: event.turn_id).each do |file|      row.attach(file.filename, session.read_artifact(file.id))    end    break if event.terminal?  endend computer.stop

Build more.
Hand AI the work.

Pine Computer is invite-only while in beta.