# dexter | Virat Singh | Knowledge Base | Instagit

An autonomous agent for deep financial research

GitHub Stars: 15.4k

Repository: https://github.com/virattt/dexter

---

## Articles

### [How to Run the Dexter Agent with TypeScript: Complete Setup Guide](/virattt/dexter/how-can-i-run-the-dexter-agent-with-typescript)

Learn to run the Dexter agent with TypeScript. Follow our guide to install Bun, clone the repository, and launch the CLI or integrate the Agent class for custom workflows. Get started easily!

- Tags: how-to-guide
- Published: 2026-02-19

### [What Programming Language and Runtime Does Dexter Use?](/virattt/dexter/what-programming-language-and-runtime-does-dexter-use)

Discover Dexter's tech stack. This AI agent is built with TypeScript and runs on the Bun runtime for efficient ECMAScript module execution.

- Tags: internals
- Published: 2026-02-16

### [What UI Library Does Dexter Use for Its CLI? A Deep Dive into Ink](/virattt/dexter/what-ui-library-does-dexter-use-for-its-cli)

Discover what UI library Dexter uses for its CLI. Dexter leverages Ink, a React-based library for interactive terminal components. Learn more about this powerful tool.

- Tags: deep-dive
- Published: 2026-02-16

### [What Is the Dexter Evals System? Automated Benchmarking for Financial AI Agents](/virattt/dexter/what-is-the-purpose-of-the-dexter-evals-system)

Discover the Dexter Evals System, an automated framework for benchmarking financial AI agents. Learn how it accurately measures agent performance using dataset-driven tests and LLM-as-judge evaluation.

- Tags: internals
- Published: 2026-02-16

### [Where Are Dexter Settings Configured? A Complete Guide to Configuration Management](/virattt/dexter/where-are-dexter-settings-configured)

Discover where Dexter settings are configured in the virattt/dexter repository. Learn about the settings.json location and config utils for efficient management.

- Tags: how-to-guide
- Published: 2026-02-16

### [How Dexter's Scratching Management Works for LLM Context Control](/virattt/dexter/how-does-dexters-scratching-management-work-for-context)

Dexter's scratching management for LLM context control uses an append-only scratchpad and token monitoring to clear old tool results while saving an audit trail.

- Tags: internals
- Published: 2026-02-16

### [How to Enable the WhatsApp Gateway for Dexter: A Complete Setup Guide](/virattt/dexter/how-to-enable-the-whatsapp-gateway-for-dexter)

Learn how to enable the WhatsApp gateway for Dexter with this complete setup guide. Configure your gateway, run Dexter, and scan the QR code to connect your WhatsApp.

- Tags: how-to-guide
- Published: 2026-02-16

### [Dexter Skill Discovery Precedence Order: How Local Overrides Work in virattt/dexter](/virattt/dexter/what-is-the-precedence-order-for-dexter-skill-discovery)

Understand Dexter skill discovery precedence order. Learn how local overrides in virattt/dexter resolve conflicts by prioritizing project-specific skills over user-wide and built-in ones.

- Tags: internals
- Published: 2026-02-16

### [How Dexter Formats WhatsApp Messages: Plain Text and Media Handling](/virattt/dexter/how-does-dexter-format-whatsapp-messages)

Learn how Dexter formats WhatsApp messages as plain text or media payloads, sending them via Baileys. Discover how Dexter extracts inbound text from conversations and media captions.

- Tags: how-to-guide
- Published: 2026-02-16

### [How to Define Custom Workflows in Dexter Using Skills: A Complete Guide](/virattt/dexter/how-can-i-define-custom-workflows-in-dexter-using-skills)

Learn to define custom workflows in Dexter using skills. Create a SKILL.md file in your skills directory to automate tasks and streamline your development process.

- Tags: how-to-guide
- Published: 2026-02-16

### [Dexter Web Search Tools: How the AI Agent Searches the Internet](/virattt/dexter/which-web-search-tools-does-dexter-use)

Discover Dexter's AI web search tools. Learn how Dexter dynamically chooses between Exa, Perplexity, and Tavily based on your API key configuration for efficient internet searches.

- Tags: how-to-guide
- Published: 2026-02-16

### [What Is the Dexter Browser Tool and How Does It Work?](/virattt/dexter/what-is-the-dexter-browser-tool-used-for)

Discover the Dexter browser tool, a Playwright-based layer for AI agents. Navigate web pages, capture DOM snapshots, and interact with elements via a JSON interface.

- Tags: tutorial
- Published: 2026-02-16

### [How Dexter's `read_filings` Tool Works: LLM-Powered SEC Filing Analysis](/virattt/dexter/how-does-dexters-read_filings-tool-work)

Discover how Dexter's read_filings tool uses LLMs for efficient SEC filing analysis. Get targeted data extraction without downloading full documents. Learn more today.

- Tags: deep-dive
- Published: 2026-02-16

### [What Are the Primary Financial Tools Available in Dexter? A Complete Guide to the Finance Package](/virattt/dexter/what-are-the-primary-financial-tools-available-in-dexter)

Explore Dexter's primary financial tools including financial_search and financial_metrics. Access real-time prices, historical data, SEC filings, and fundamental analysis via a unified interface.

- Tags: how-to-guide
- Published: 2026-02-16

### [How Dexter Conditionally Includes Its Tools: Environment-Based Registry Pattern](/virattt/dexter/how-are-dexter-tools-conditionally-included)

Learn how Dexter conditionally includes tools at runtime using environment variables and the registry pattern. Discover how this optimizes your agent for peak performance.

- Tags: internals
- Published: 2026-02-16

### [How Anthropic cache_control Reduces Token Costs by 90% in Dexter](/virattt/dexter/what-is-the-benefit-of-anthropics-cache_control-in-dexter)

Discover how Anthropic cache_control in Dexter slashes token costs by 90%. Learn to cache static instructions and optimize AI agent loops efficiently.

- Tags: performance
- Published: 2026-02-16

### [How Dexter Manages Token Usage in LLM Context Windows: A Deep Dive into the Source Code](/virattt/dexter/how-does-dexter-manage-token-usage-in-its-context)

Explore Dexter's source code to understand how it manages LLM token usage. Learn about its 100k token threshold, heuristic estimation, and audit trail for efficient context management.

- Tags: deep-dive
- Published: 2026-02-16

### [Dexter Context Management Strategy: How the AI Agent Handles Token Limits](/virattt/dexter/what-context-management-strategy-does-dexter-use)

Discover Dexter's context management strategy. Learn how this AI agent efficiently handles token limits using a sliding window and JSON-L scratchpad for optimal LLM performance.

- Tags: how-to-guide
- Published: 2026-02-16

### [How Dexter's Agent Core Handles Iterative Tool Execution](/virattt/dexter/how-does-dexters-agent-core-handle-iterative-tool-execution)

Discover how Dexter's agent core manages iterative tool execution. Learn about its Anthropic-style loop, asynchronous tool execution, and token budget management for efficient LLM prompting.

- Tags: internals
- Published: 2026-02-16

### [Which LLM Providers Does Dexter Support? A Complete Guide to AI Model Integration](/virattt/dexter/which-llm-providers-does-dexter-support)

Explore which LLM providers Dexter supports. This guide details integration with OpenAI, Gemini, Anthropic, and more for seamless AI model routing.

- Tags: how-to-guide
- Published: 2026-02-16

### [Core Components of the Dexter Agent: A Modular AI Architecture](/virattt/dexter/what-are-the-core-components-of-the-dexter-agent)

Explore the core components of the Dexter agent including the Agent Loop, Tool Executor, and Scratchpad. Discover how these modules create a modular AI architecture for efficient reasoning and answer synthesis.

- Tags: architecture
- Published: 2026-02-16

### [How to Set Up Dexter Financial Research Agent: Complete Installation and Configuration Guide](/virattt/dexter/how-to-set-up-dexter-financial-research-agent)

Learn to set up Dexter financial research agent easily. Follow our guide for installation, configuration with API keys, and launching Dexter for autonomous financial insights.

- Tags: how-to-guide
- Published: 2026-02-16

### [How Dexter Deduplicates Skills and Enforces Tool-Call Limits Before Execution](/virattt/dexter/dexter-skills-deduplication-limit-checking-tool-execution)

Dexter deduplicates skills and enforces tool call limits pre-execution. Learn how virattt/dexter ensures efficient and controlled tool usage with in-memory checks for agents and scratchpads.

- Tags: internals
- Published: 2026-02-16

### [Understanding the Scratchpad in Dexter's Agent Loop and Context Management](/virattt/dexter/dexter-scratchpad-role-agent-loop-context-management)

Discover the scratchpad in Dexter's agent loop. It acts as an append-only log, storing tool executions and LLM context, efficiently managing token limits.

- Tags: deep-dive
- Published: 2026-02-16

### [How Dexter Supports Multiple LLM Providers: OpenAI, Anthropic, and Google](/virattt/dexter/dexter-multi-llm-provider-support)

Dexter seamlessly integrates with OpenAI, Anthropic, and Google LLM providers. Discover how Dexter's provider registry and prefix-based resolution simplify multi-provider LLM access for your applications.

- Tags: deep-dive
- Published: 2026-02-16

### [How Dexter Manages Context to Prevent Token Overflow in LLM Agents](/virattt/dexter/dexter-context-management-token-overflow)

Dexter prevents token overflow in LLM agents by using a character heuristic to estimate token usage and pruning old tool results to stay under the 100,000 token limit.

- Tags: internals
- Published: 2026-02-16

### [How Dexter's Agent Loop Manages Tool Execution and Iteration: A Deep Dive into the Core Architecture](/virattt/dexter/dexter-agent-loop-tool-execution-and-iteration)

Explore Dexter's agent loop architecture. Learn how it manages LLM calls, tool execution with AgentToolExecutor, and iteration for efficient AI agent development.

- Tags: deep-dive
- Published: 2026-02-16

