Skip to content
Pine Computer Request access
Menu

09 / 26 Research and reports · Example

Vet a company

The deal team’s memo shows where the seller’s files and the public record disagree, and cites both.

Illustration of an example: in your deal software, a diligence memo on Halden Cold Storage writes itself, every claim with the number of its source: the seller’s model, and the accounts filed at the registry, read on a live screen beside it. The registry charges a fee for the 2022 accounts, so the deal lead decides on the screen to buy them and hands it back. Where the seller’s model and the filed accounts disagree, the memo says so in a section of its own and cites both. It arrives as a Word document, with the filings it read saved as PDFs.
Who it’s for
Deal software whose users test a seller’s claims against what the company has filed.
Why it’s hard
The seller’s figures and the filings don’t always match, and the memo has to say where. The registry charges for older accounts, and spending the firm’s money is the deal lead’s call.
You get back
  • A diligence memo, as a Word document
  • The filings it read, saved as PDFs

The seller’s confidential files are opened on a computer sealed off for this target alone.

How it runs, in your product’s code

Pine’s AI reads the seller’s spreadsheets first, then the registry and the company’s own site. The 2022 accounts carry a fee, so the row turns to “Needs you: a fee” and the deal lead decides whether to buy them. The memo lists the disagreements in a section of their own.

Ruby · task-turn excerpt
# Existing backend Computer and session; see setup docs.# saved_message_id is your durable ID for this request.computer.require_agent_protocol!agent = session.agentgoal = <<~JOB  Research Halden Cold Storage from public sources and the  attached files. Write a diligence memo that cites every claim.JOBturn = agent.run(goal, idempotency_key: saved_message_id)# Persist turn.turn_id before waiting or leaving this process.turn = agent.wait(turn_id: turn.turn_id, timeout: 30)case turn.statewhen "running", "canceling"  # Schedule another wait for this turn ID.when "needs_input"  # Present turn.question; authorize any desktop handoff.  # When the user replies, answer this turn and save the new ID:  # agent.answer(turn_id: turn.turn_id, answer: reply.text)when "answered"  # Continue with turn.next_turn_id; do not resubmit the goal.when "completed"  turn.result.artifacts.each do |file|    bytes = session.read_file(file.fetch("relative_path"))    # Save bytes in your own file store before stopping.  end  # Verify the outputs and external state against the request.when "failed", "canceled"  # Record the outcome; check side effects before any retry.end

Requires a configured Computer, session and durable request ID. The comments mark application logic you supply; this excerpt does not implement storage, polling or human handoff. Agent integration · Saving outputs

Build more.
Hand AI the work.