Skip to content
Pine Computer Request access
Menu

10 / 26 Research and reports · Example

Compare technical approaches

Every library on the shortlist is installed and run, so the report compares what the code does.

Illustration of an example: in your engineering workspace, a report comparing three libraries for syncing data offline writes itself, each claim with the number of its source. The Corran Digital Library asks for a sign-in at a paywalled paper, so the engineer signs in through their organisation on the live screen and hands it back. Then the same test runs on each library, on the same screen: two people edit one note offline, then sync. Each library’s result lands in the comparison, and the report ends in a recommendation. It arrives as a PDF, with the test script and its output.
Who it’s for
AI coding tools whose users pick an open-source library on the strength of its README.
Why it’s hard
A README says what a library should do, and only running it shows what it does. The papers behind them are in the Corran Digital Library, under the organisation’s account.
You get back
  • A PDF report with a recommendation
  • The test scripts it ran, and their output

Code from strangers’ repositories runs on a sealed computer in the cloud, far from the engineer’s laptop.

How it runs, in your product’s code

The computer reads each project’s docs, then the papers they cite. Corran asks for a sign-in at the first paywalled paper, and the engineer signs in through their organisation. Then it clones each repository and runs the same test in each: two people edit one note offline, then sync. The report says what each library did with the conflict, and which to pick.

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  Compare the open-source libraries for syncing data offline,  and recommend one.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.