Tekkscope: Full-Stack AI Research Platform
I built the backend behind a research dashboard, public API and MCP tools: search, extraction, streaming, reports and deployment.
[1] Surfaces
Product surfaces & engineering ownership
Shared core behind browser, API, and MCP workflows.
Shared research core
Three ways in, one source-backed research system.
I own the FastAPI research routes, model routing, retrieval and extraction, SSE and Redis streaming, MCP, reports, natural language to structured output (NLTS), Supabase data flows, deployment and backend tests. I built the core research platform.
Three access surfaces, one system
Web users, API clients and outside agents all use the same platform logic.
Ownership ledger
Primary capabilities
Link search · Extracted search · Lens · DeepLens · ReportLens · Tek Chat · NLTS. Seven features share retrieval, extraction, model, streaming and storage code instead of duplicating it.
[2] Retrieval
Search, extraction & research pipeline
Finding sources and extracting pages in a real browser are shared by every research mode.
Source-backed retrieval
Optional query expansion fans out into concurrent search, deduplication, a capped browser run and cleaned source output.
Reused across modes
Engineering decisions
Link-only search stops after finding sources. Extracted search and research continue through browser extraction before the model writes an answer or report.
[3] Routing & streaming
LLM routing, failover & real-time streaming
Provider failover and streaming are separate layers inside one research request.
Ordered model routing
The same ordered routing serves synchronous, asynchronous and tool-enabled calls.
Real-time SSE streaming
Each user has a bounded local queue, and Redis carries events across the 8 workers.
If Redis is off or down, local delivery still works. Stream events cover progress, response chunks, citations, downloads and end of stream.
Streaming runs across 8 workers in production. Redis delivers events between workers, and the connection manager de-duplicates messages and bounds queues.
[4] Agents & output
Agent access, structured output & stored artifacts
The same core serves outside agents, JSON for machines and downloadable long-form reports.
MCP agent surface (JSON-RPC over stdio)
Seven tools use the same search, extraction, research, saved-source and report code as the product.
Report generation (ReportLens)
Reports are saved as files you can download.
Natural language → structured JSON
A caller-supplied or inferred schema feeds quick research and constrained extraction.
NLTS returns structured_output, schema_used and research_summary. Report workflows save the generated files and create download links.
[5] Infrastructure
Infrastructure, reliability & engineering decisions
How it's deployed, what keeps it reliable, and what this write-up does not claim.
Production delivery (Docker + Kubernetes on EKS)
GitHub Actions deploys the backend and Redis manifests, with the backend image pinned to the CI commit.
Reliability mechanisms
Verified results
Engineering decisions
Note on scope
High-level architecture and named technologies only. No secrets, customer data, or unverified performance, uptime or quality numbers.
Want to talk about any of this?
Happy to go deeper on provider failover, streaming, or browser extraction.