A voice-driven research canvas where AI agents do the digging while you think out loud.
Research on the internet is linear — a chat thread or a search results page forces one thread of thought, when real research branches constantly. Field is different: you talk to a supervisor AI about a topic, it dispatches background research agents to search and gather sources, and the results land on an infinite visual canvas as connected, provenance-tagged nodes — articles, tweets, videos, PDFs, threads — while the conversation keeps going. Every piece of evidence is permanently labeled by how reliable it is (primary document, verified reporting, social claim, unverified), and Field never hides that label to make a source look more credible than it is.
- Talk to the supervisor. Speak or type — the agent holds full session context (every node on the canvas, the running transcript) and replies in low-latency streamed voice.
- It dispatches research agents. Ask it to look into something and it spins up one or more background workers that search the web, fetch sources, and extract claims — asynchronously, so the conversation never blocks on a slow fetch.
- Sources land on the canvas in real time. Each result becomes a node — rendered with its native embed (tweet, YouTube, Reddit thread, PDF, article preview) — and streams onto the canvas via Supabase Realtime the moment a worker finishes, no polling or refresh.
- Everything is honestly labeled. Every node carries a permanent source-tier badge. In Canon mode the AI ranks and weights what it says by that tier; in Frontier mode nothing is filtered or ranked, but the tier stays visible either way — Field labels origin type, it never adjudicates truth.
- The canvas becomes the research. Branch a cluster of nodes into its own plane, link nodes manually or accept AI-suggested links, open the reader to select-and-quote a source, or ask Field to write a grounded Markdown document off the whole session.
- Voice supervisor agent — streamed speech in and out, session-aware, interruptible mid-reply.
- Background research workers — dispatched asynchronously, run concurrently, write sourced nodes (or a clear error node) to the canvas as they complete.
- Infinite provenance-tagged canvas — pan/zoom, native embeds per node type, AI-suggested and manual linking, persisted layout.
- Canon / Frontier modes — reliability-weighted vs. equal-weight evidence surfacing, chosen per session.
- Planes — branch a selection of nodes (or everything tied to one entity) into its own Excel-tab-style workspace without losing the parent canvas.
- Ask the Field — AI writes a full Markdown document grounded in the entire session's corpus; export as PDF, Word, or Markdown, or drop it back onto the canvas as a node.
- In-app reader — open any source in a drawer, select text, and ask a follow-up question directly against that passage.
- Entity heatmap — see which people, organizations, and claims recur across the session and drill into every node that touches one.
- Multi-provider AI, bring your own key — the entire AI core (chat, extraction, linking, summaries, briefs) runs on Anthropic by default or on your own OpenAI / DeepSeek / YUNWU.AI / Google / Groq key from Settings, so the app keeps working even if one provider is unavailable.
- On-demand summarization — a node's AI summary generates the first time you open it, never eagerly at creation.
- Frontend: Next.js 14 (App Router) · TypeScript strict · Tailwind CSS · React Flow for the canvas · Zustand for canvas/UI state · TanStack Query for server state
- Worker service: standalone Node/TypeScript service for the voice WebSocket and BullMQ research agents — kept separate from the Next.js app because Vercel functions can't hold a WebSocket open or run a multi-minute job
- Database/Auth/Realtime/Storage: Supabase (Postgres, schema owned by a shared Drizzle package, row-level security throughout)
- Queue: Redis (Upstash) + BullMQ
- AI: Anthropic by default; OpenAI-compatible BYOK support for OpenAI, DeepSeek, YUNWU.AI, Google, and Groq
- Voice: Deepgram (streaming STT) + ElevenLabs (streaming TTS)
- Search: Exa
Full detail — including the schema, API contracts, and the design system — lives in
docs/; start with docs/PRD.md. Agent-facing conventions are in
CLAUDE.md.
apps/web Next.js 14 app — UI, auth, session/node/edge CRUD (Vercel)
apps/worker-service Always-on Node service — voice WebSocket + BullMQ research agents (Railway)
packages/db Shared Drizzle schema, enums, ranking helpers, SQL migrations
docs/ PRD, architecture, data model, API contracts, design system, decisions
- Node.js ≥ 20 and pnpm 9 (
npm i -g pnpm@9) - A Supabase project (Postgres, Auth, Storage, Realtime)
- An Upstash Redis database (BullMQ queue)
- An Anthropic API key (the default AI provider — required)
- Exa (web search) and voice keys: Deepgram, ElevenLabs
- Optional: an X API bearer token for tweet metadata (tweet nodes fall back gracefully without it), and/or your own OpenAI / DeepSeek / YUNWU.AI / Google / Groq key if you want to run the AI core on a provider other than Anthropic
pnpm install
cp .env.example .env # fill in every value
# 1. Build the shared schema package (web + worker-service import its dist)
pnpm --filter @field/db build
# 2. Apply migrations (tables, indexes, RLS policies, triggers, storage bucket)
pnpm --filter @field/db migrate
# 3. (optional) Seed a dev user + sample session
pnpm --filter @field/db seed # dev@field.local / field-dev-password-1
# 4. In Supabase: Auth → Providers → enable Email (and Google if you want OAuth),
# and set Auth → URL Configuration → Site URL to http://localhost:3001pnpm --filter worker-service dev # voice WS + research agents on :8787
pnpm --filter web dev # Next.js app on :3001Sign in, create a session, tap the mic, and ask the agent to look into something.
pnpm -r lint # ESLint + strict TypeScript, all workspaces
pnpm -r test # unit tests (source-tier logic, ranking, linking, API validation)
pnpm -r build # production builds- web → Vercel. Set every env var from
.env.example;NEXT_PUBLIC_WORKER_SERVICE_WS_URLmust be the publicwss://origin of the worker-service. - worker-service → Railway (always-on). Build:
pnpm --filter @field/db build && pnpm --filter worker-service build; start:node apps/worker-service/dist/server.js. Expose/healthfor liveness. - Both deployables share the same Supabase project and Upstash Redis; the only cross-service
call is the authenticated job dispatch (
WORKER_SERVICE_INTERNAL_SECRET).