Dexter: An Autonomous Agent for Deep Financial Research
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Dexter is an autonomous financial research agent designed to think, plan, and learn while performing analysis. It leverages task planning, self-reflection, and real-time market data to tackle complex financial questions. This project provides a powerful tool for in-depth financial exploration, emphasizing its educational and informational purposes.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Dexter is an autonomous financial research agent designed to think, plan, and learn as it works. It performs in-depth analysis by utilizing task planning, self-reflection, and real-time market data. Envision it as a specialized tool, akin to Claude Code, but specifically engineered for comprehensive financial research.
It takes complex financial questions and transforms them into clear, step-by-step research plans. Dexter then executes these tasks using live market data, critically checks its own work, and refines the results to provide confident, data-backed answers.
Important Disclaimer: This project is intended for educational, entertainment, and informational purposes only. It is not designed for real trading or investment activities. Users should be aware that outputs may be incorrect, incomplete, or outdated, and it does not offer financial, investment, tax, or legal advice. Always consult a licensed financial advisor before making investment decisions.
Installation
To get Dexter up and running, follow these steps:
Prerequisites
You will need:
- Bun runtime (v1.0 or higher)
- OpenAI API key
- Financial Datasets API key
- Exa API key (optional, for web search)
Installing Bun:
For macOS/Linux:
curl -fsSL https://bun.com/install | bash
For Windows:
powershell -c "irm bun.sh/install.ps1|iex"
Verify installation:
bun --version
Setup Steps
Clone the repository:
git clone https://github.com/virattt/dexter.git cd dexterInstall dependencies with Bun:
bun installSet up your environment variables:
cp env.example .env # Edit .env and add your API keys # OPENAI_API_KEY=your-openai-api-key # FINANCIAL_DATASETS_API_KEY=your-financial-datasets-api-key # EXASEARCH_API_KEY=your-exa-api-key
Examples
Dexter offers various ways to interact and evaluate its capabilities.
How to Run
Run Dexter in interactive mode:
bun start
For development with watch mode:
bun dev
How to Evaluate
Dexter includes an evaluation suite to test its performance against financial questions.
bun run src/evals/run.ts
To run on a random sample:
bun run src/evals/run.ts --sample 10
Results are logged to LangSmith for detailed analysis.
How to Use with WhatsApp
Integrate Dexter with WhatsApp to chat and receive responses directly:
bun run gateway:login
bun run gateway
Then, message yourself on WhatsApp with a question for Dexter.
Why Use Dexter
Dexter stands out with its advanced capabilities designed for sophisticated financial analysis:
- Intelligent Task Planning: Automatically breaks down complex queries into structured research steps.
- Autonomous Execution: Selects and utilizes the appropriate tools to gather financial data efficiently.
- Self-Validation: Critically checks its own work and iterates on tasks until completion, ensuring accuracy.
- Real-Time Financial Data: Provides access to up-to-date income statements, balance sheets, and cash flow statements.
- Safety Features: Includes built-in loop detection and step limits to prevent unintended runaway execution.
These features make Dexter a powerful, self-improving agent for anyone looking to conduct deep financial research with an AI-driven approach.
Links
- GitHub Repository: virattt/dexter
- Follow on Twitter: virattt
- Join Discord Server: Dexter Discord
Related repositories
Similar repositories that may be relevant next.

Piping Server: Infinite Data Transfer Over Pure HTTP
June 20, 2026
Piping Server is an innovative open-source project enabling infinite data transfer between any device over pure HTTP. It acts as a simple, storageless server, facilitating data streaming with just `curl` or a web browser. This makes it ideal for secure, real-time communication and large file transfers without requiring any installation.

Synara: A Local-First Desktop App for AI-Powered Coding
June 17, 2026
Synara is a local-first desktop application designed to streamline coding with various AI agents and subscriptions. It integrates chats, terminals, browser previews, and Git operations into a single focused workspace, eliminating the need to juggle multiple windows. This app empowers developers to leverage their existing AI tools for parallel work across projects while maintaining a private, local environment.

Understand-Anything: Interactive Knowledge Graphs for Codebases
June 15, 2026
Understand-Anything is an innovative open-source project that transforms any codebase or knowledge base into an interactive knowledge graph. It allows developers to visually explore, search, and query their projects, making complex systems easier to comprehend. This tool integrates seamlessly with popular AI coding platforms like Claude Code, Codex, and Copilot.
Cabinet: An AI-First Knowledge Base and Startup OS
June 14, 2026
Cabinet is an AI-first knowledge base and startup OS designed to keep your data local and private. It allows you to build a custom AI team with agents that remember context, manage tasks, and automate workflows. This self-hosted solution ensures your information remains under your control, without vendor lock-in.
Source repository
Open the original repository on GitHub.