explaingit

virattt/dexter

📈 Trending25,840TypeScriptAudience · developerComplexity · 3/5ActiveSetup · moderate

TLDR

AI agent that autonomously researches financial questions by gathering real-time stock data, analyzing statements, and explaining its reasoning step-by-step.

Mindmap

mindmap
  root((Dexter))
    What it does
      Autonomous research
      Financial analysis
      Real-time data
    Key features
      Task planning
      Self-validation
      Loop prevention
      Web search
    Data sources
      Income statements
      Balance sheets
      Cash flow data
    Interfaces
      Chat interface
      WhatsApp
    Tech stack
      TypeScript
      Bun runtime
    Use cases
      Due diligence
      Investment research
      Company analysis

Things people build with this

USE CASE 1

Analyze a company's profitability trends over multiple years by asking a plain-English question and letting Dexter gather and synthesize financial statements.

USE CASE 2

Conduct investment due diligence by having Dexter autonomously research competitor metrics, revenue growth, and financial health across multiple data sources.

USE CASE 3

Send financial research questions from WhatsApp and receive detailed analysis with step-by-step reasoning without manually pulling data from multiple platforms.

Tech stack

TypeScriptBunOpenAI APIFinancial data API

Getting it running

Difficulty · moderate Time to first run · 30min

Requires OpenAI API key and financial data API credentials to run.

License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

Dexter is an AI-powered autonomous agent designed specifically for financial research. Instead of making you manually look up stock data, read income statements, and piece together analysis yourself, Dexter takes a complex financial question in plain English and handles the entire research process on its own. When you ask it something like "How has Apple's profitability changed over the past five years?", Dexter breaks that question into a series of concrete research steps, pulls real-time financial data (income statements, balance sheets, cash flow statements), checks whether the data it gathered actually answers the question, and iterates if it hasn't gathered enough evidence yet. It explains its reasoning at each step, so you can follow along with how it reached its conclusion. Key features include automatic task planning, self-validation of its own outputs to avoid premature answers, built-in safeguards to prevent it from running endlessly in loops, and optional web search for broader context. You can also interface with it through WhatsApp, sending questions from your phone. A financial analyst, investor, or anyone doing due diligence on a company would use Dexter to accelerate research that would otherwise involve manually pulling and cross-referencing multiple data sources. It requires API keys from OpenAI and a financial data provider to function. The project is written in TypeScript and runs on the Bun runtime.

Copy-paste prompts

Prompt 1
Set up Dexter with my OpenAI API key and financial data provider credentials, then ask it: 'How has Tesla's operating margin changed over the last three years?'
Prompt 2
Use Dexter to research whether a company's debt-to-equity ratio has improved or worsened over the past five years, and have it explain which financial statements it used.
Prompt 3
Configure Dexter to answer this question via WhatsApp: 'What are the top three risks to Microsoft's revenue based on their latest 10-K filing?'
Prompt 4
Ask Dexter to compare the cash flow generation of two competitors and explain which one is more efficient at converting revenue to cash.
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.