RENDER RESEARCHER WORKFLOW

Autonomous AI research agent powered by Render Workflows. Insights stored in Postgres.

Workflow Pipeline

Each research run executes across isolated containers. Render Workflows handles queuing, retry logic, and parallel fan-out. The pipeline: trigger → orchestrate → search → summarize → persist.

trigger

Trigger Run

User clicks 'Trigger Run' in the dashboard, or the cron job fires daily at 1 PM UTC.

SourcesWeb UI / Cron Job
InputTopic + config
startTask via SDK
orchestrator

orchestrate_research

Root workflow task. Coordinates search and summarization across parallel subtasks using Promise.all().

ExecutionDurable, isolated container
Fan-outParallel search + summarize
fan-out
search

search_exa

Neural web search via Exa API. Returns 10 results with auto-extracted content.

Retry2x with backoff
Lookback24 hours
search

search_hackernews

HN story search via Algolia API. No API key required.

Retry2x with backoff
SourceAlgolia HN API
sources → top N by score
batch

summarize_source (x N)

One subtask per source article, all running in parallel. Each calls Claude to produce a structured insight.

ModelClaude Sonnet 4
OutputStructured JSON via Zod
Retry2x with backoff
ParallelismOne container per source
insights → orchestrator
persist

Persist to Postgres

Deduplicates by URL hash, inserts new sources + insights into Render Postgres.

DedupSHA-256 URL hash
Tablessources, insights, runs

Render Services

ServiceTypeRuntimePurpose
researcher-webWeb ServiceNode.js + HonoDashboard UI, trigger endpoint, insight API
researcher-cronCron JobNode.jsDaily scheduled trigger (1 PM UTC)
render-researcher-workflowWorkflowNode.js 20 + tsxDurable task execution
researcher-dbPostgresPostgreSQL 18Sources, insights, run history

Confidence Score

Each insight has a confidence score (0–100%) assigned by Claude during summarization. It rates how relevant and substantive the source article is relative to the research topic.

70–100%

Highly relevant, substantive

40–69%

Partially relevant, limited depth

0–39%

Tangential or lacks substance

Search Sources

exaactive

Exa Neural Search

AI-powered web search, 10 results, 24h lookback

hackernewsactive

Hacker News (Algolia)

Recent HN stories, no key required

arxivplanned

arXiv Research Papers

Academic papers — not yet implemented

Tech Stack

Hono

Web framework for API + server-rendered UI

Tailwind CSS v4

Utility-first CSS with theme tokens

Drizzle ORM

Type-safe Postgres with schema-as-code

Render SDK

TypeScript SDK for workflow tasks

Vercel AI SDK

Structured output via generateObject + Zod

Exa SDK

Neural web search with content extraction

tsx

Direct TypeScript execution for workflows