Skip to content
Pine Computer Request access
Menu

14 / 26 Documents and data · Example

Build a research deck

Every slide in the finished deck names the report or web page its figure came from.

Illustration of an example: in your research software, an analyst’s three decks are built in the firm’s PowerPoint template. The analyst signs in to Quillmark when the computer asks. Each chart is taken from a Quillmark report, a Quillmark dataset or a web page, and its slide names that source; the numbers behind the charts go into an Excel file beside the deck.
Who it’s for
Consulting software whose analysts turn a paid library and the open web into client decks.
Why it’s hard
The best figures sit in Quillmark’s paid reports, which open only for the firm’s subscription. Tracing a figure after the deck is built means doing the reading twice.
You get back
  • A PowerPoint deck in the firm’s template
  • The numbers behind the charts, in Excel
How it runs, in your product’s code

An analyst types the question and clicks Build. A computer searches Quillmark and the open web in separate tabs, keeping each figure with the report or page it came from. The analyst signs in to Quillmark when asked. The slides are built in PowerPoint on the firm’s template.

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 the cold-chain storage market in our library and on  the open web. Build a deck in our template.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.