Technical documentation
OpenChat-1
LLM + real data = real insights
OpenChat is not another chat wrapper. It is a minimal interface over multi-model LLMs (Grok by default via OpenRouter/xAI, or any model you choose) permanently wired to a multi-sector historical and realtime data lake — the leverage that turns fluency into facts.
Thesis
Language models alone invent plausible numbers. Data platforms alone dump tables without narrative. OpenChat multiplies both: the model reasons; the lake constrains. Every conversation can call catalog search, dataset metadata, historical JSONL packages, and realtime feeds. Citations use stable dataset slugs.
insights = llm.reason(question, tools=openchat_data) // tools: search_catalog, get_dataset_records, // list_realtime_feeds, get_platform_overview, …
Architecture (open infrastructure)
- Chat surface — minimal UI at /chat
- Model router — OpenRouter multi-model + direct xAI Grok fallback
- Data tools — first-party connector to the OpenChat lake (biggest leverage)
- Agent templates — product research, IG+Replicate+Blotato, Anthropic docs, trading bots, …
- Connectors — API-to-API open definitions anyone can publish
- Credits — prepurchase tokens; 1 free prompt after signup + captcha
Source for built-ins lives under apps/web/src/lib/openchat/ — templates, connectors, catalog. Community plugins are stored and listed in the library; the goal is continuous growth without a closed marketplace silo.
Agent templates (examples)
- Demo Factory (first use-case) — Playwright records OpenChat + ElevenLabs voice + Blotato 3 videos/day on X & Instagram. See /docs/demo-pipeline
- Product research — competitors, pricing, demand signals grounded in lake data
- Instagram video posts — script → Replicate video → Blotato publish (bring API keys)
- Document writer — Anthropic/Claude long-form with dataset citations
- Trading bots — upload code + equity history; co-pilot with market feeds
Billing
Users sign up with captcha, receive one free prompt, then prepurchase token credit packs. Each chat completion settles prompt+completion tokens against the wallet. Platform LLM keys (OpenRouter/xAI) are server-side; user connector keys (Replicate, Blotato, Anthropic direct) stay with the user for specialized agents.
Growing the ecosystem
- Add a connector under
lib/openchat/connectors/ - Add an agent template under
lib/openchat/templates/ - Register in
catalog.tsor publish via UI - Ship more lake packages so every agent gets smarter for free
Domain: openchat.one