Dexter AI / Dexter GitHub

Dexter on GitHub: The Open-Source Financial Research Agent

The virattt/dexter project on GitHub is one of the most-starred AI finance tools ever built. Here's what it does, how it works, and how our hosted version compares.

About virattt/dexter on GitHub

The virattt/dexter repository is an open-source autonomous financial research agent created by virattt. Since its release, it has accumulated over 23,500 GitHub stars — making it one of the most widely recognized AI finance tools on the platform.

The project's core idea: financial questions are complex and multi-dimensional. Rather than asking an AI to answer from memory, Dexter decomposes the question into structured research tasks, retrieves live financial data for each task, and validates the findings before returning a report.

23.5k+GitHub Stars
MITLicense
TypeScriptPrimary language

How the Dexter Architecture Works

The Dexter GitHub project follows an autonomous agent loop pattern:

  1. Question intake — The user submits a financial question in natural language
  2. Task planner — The LLM decomposes the question into 2–6 discrete research sub-tasks
  3. Data executor — Each sub-task triggers a specific financial data API call (income statements, cash flows, market data)
  4. Validation layer — Findings are cross-checked. The agent iterates if results are inconsistent
  5. Report generator — A structured research report is produced with findings, sources, and confidence notes
  6. Loop detection — Built-in limits prevent infinite loops on ambiguous queries

Self-Hosting vs Using Dexter AI (Hosted)

Self-hosting from GitHubDexter AI (Hosted)
Setup timeHours (Node.js, API keys, env config)Under 2 minutes
Financial data APIsMust configure and pay separatelyIncluded
LLM API keysMust provision and manageIncluded
MaintenanceYour responsibilityManaged for you
Scratchpad logsLocal JSONL filesWeb dashboard
CostLLM + data API costsFlat monthly plan

Self-hosting makes sense for developers who want full control over model selection, data sources, and logging. Dexter AI (hosted) is for analysts and investors who want the research capability without the infrastructure overhead.

Dexter Tech Stack (from GitHub)

  • Runtime: Bun v1.0+
  • Language: TypeScript (99.4% of codebase)
  • LLM support: OpenAI, Anthropic (Claude), Google (Gemini), xAI, OpenRouter
  • Data sources: Financial datasets API (income statements, balance sheets, market data)
  • Search: Exa / Tavily web search integration
  • Evaluation: LangSmith integration for tracking research quality
  • WhatsApp: Gateway for conversational access to financial research

Use Dexter AI Without the Setup

Get the full Dexter research engine in your browser — no Bun, no API keys, no config files. Start with the hosted Pro plan.

View Plans → View on GitHub ↗