{"name":"Dexter: An Autonomous Agent for Deep Financial Research","description":"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.","github":"https://github.com/virattt/dexter","url":"https://osrepos.com/repo/virattt-dexter","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/virattt-dexter","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/virattt-dexter.md","json":"https://osrepos.com/repo/virattt-dexter.json","topics":["TypeScript","AI","Financial Research","Autonomous Agent","Machine Learning","Open Source","Market Data"],"keywords":["TypeScript","AI","Financial Research","Autonomous Agent","Machine Learning","Open Source","Market Data"],"stars":null,"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.","content":"## Introduction\n\nDexter 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.\n\nIt 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.\n\n**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.\n\n## Installation\n\nTo get Dexter up and running, follow these steps:\n\n### Prerequisites\n\nYou will need:\n*   [Bun](https://bun.com){:target=\"_blank\"} runtime (v1.0 or higher)\n*   OpenAI API key\n*   Financial Datasets API key\n*   Exa API key (optional, for web search)\n\n**Installing Bun:**\n\nFor macOS/Linux:\nbash\ncurl -fsSL https://bun.com/install | bash\n\n\nFor Windows:\nbash\npowershell -c \"irm bun.sh/install.ps1|iex\"\n\n\nVerify installation:\nbash\nbun --version\n\n\n### Setup Steps\n\n1.  **Clone the repository:**\n    bash\ngit clone https://github.com/virattt/dexter.git\ncd dexter\n    \n\n2.  **Install dependencies with Bun:**\n    bash\nbun install\n    \n\n3.  **Set up your environment variables:**\n    bash\ncp env.example .env\n# Edit .env and add your API keys\n# OPENAI_API_KEY=your-openai-api-key\n# FINANCIAL_DATASETS_API_KEY=your-financial-datasets-api-key\n# EXASEARCH_API_KEY=your-exa-api-key\n    \n\n## Examples\n\nDexter offers various ways to interact and evaluate its capabilities.\n\n### How to Run\n\nRun Dexter in interactive mode:\nbash\nbun start\n\n\nFor development with watch mode:\nbash\nbun dev\n\n\n### How to Evaluate\n\nDexter includes an evaluation suite to test its performance against financial questions.\nbash\nbun run src/evals/run.ts\n\nTo run on a random sample:\nbash\nbun run src/evals/run.ts --sample 10\n\nResults are logged to LangSmith for detailed analysis.\n\n### How to Use with WhatsApp\n\nIntegrate Dexter with WhatsApp to chat and receive responses directly:\nbash\nbun run gateway:login\nbun run gateway\n\nThen, message yourself on WhatsApp with a question for Dexter.\n\n## Why Use Dexter\n\nDexter stands out with its advanced capabilities designed for sophisticated financial analysis:\n\n*   **Intelligent Task Planning:** Automatically breaks down complex queries into structured research steps.\n*   **Autonomous Execution:** Selects and utilizes the appropriate tools to gather financial data efficiently.\n*   **Self-Validation:** Critically checks its own work and iterates on tasks until completion, ensuring accuracy.\n*   **Real-Time Financial Data:** Provides access to up-to-date income statements, balance sheets, and cash flow statements.\n*   **Safety Features:** Includes built-in loop detection and step limits to prevent unintended runaway execution.\n\nThese features make Dexter a powerful, self-improving agent for anyone looking to conduct deep financial research with an AI-driven approach.\n\n## Links\n\n*   **GitHub Repository:** [virattt/dexter](https://github.com/virattt/dexter){:target=\"_blank\"}\n*   **Follow on Twitter:** [virattt](https://twitter.com/virattt){:target=\"_blank\"}\n*   **Join Discord Server:** [Dexter Discord](https://discord.gg/jpGHv2XB6T){:target=\"_blank\"}","metrics":{"detailViews":2,"githubClicks":1},"dates":{"published":null,"modified":"2026-06-22T12:21:58.000Z"}}