Skip to content
Pine Computer Request access
Menu

08 / 26 Research and reports · Example

Track competitors weekly

Every Monday, your users read what each competitor changed on its pricing page and in its release notes.

Illustration of an example: in your intelligence software, this week’s competitor report writes itself, each change beside what the page said last week, with the number of its source. Ashlow raised the price of its Team plan and retired its legacy dashboards; the pricing pages are read on a live screen beside the report. Ashlow also has a page for a usage-based plan that wasn’t there last week, so the product marketer is asked whether to track it, adds it from the screen and hands it back. The report arrives as a Word document.
Who it’s for
Competitive-intelligence software whose users hear about a rival’s new plan weeks late, from a customer.
Why it’s hard
A change only shows if you know what the page said last week, line by line. Features are retired as quietly as they launch, so a line that disappears matters as much as a new one.
You get back
  • This week’s report, as a Word document
  • Each change beside what the page said before
How it runs, in your product’s code

Each Monday the computer opens every competitor’s pricing page and release notes beside last week’s report. It notes every difference, down to Ashlow retiring its legacy dashboards. Ashlow also has a page for a usage-based plan that wasn’t there last week, so the product marketer is asked whether to track it.

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 each competitor’s pricing page and release notes with  last week’s report, and write this week’s.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.