Dexto is an open-source terminal-based AI coding assistant developed by Truffle AI. Designed to operate directly inside developer workspaces, it coordinates codebase analysis, file manipulation, and code generation through modular skills and an extensible agent runtime. In daily operations, Dexto runs via the terminal to manage multi-step engineering tasks. Its architecture decouples core configuration from execution, handling context compaction, interaction state persistence, and scoped filesystem operations. The agent uses session-backed message queues and persistent approval scopes to ensure reproducible state management during complex coding sessions. Dexto distinguishes itself through its unified tool interface—combining internal utilities and custom user tools into a cohesive execution context—alongside configurable agent skills under .agents/skills. This allows teams to tailor agent capabilities, route contracts, and approval policies to their specific development workflows. The project is distributed as an open-source TypeScript monorepo managed via Changesets, making it accessible for local developer use and custom agent pipeline integration.
Decoupled Core Architecture — Separates execution logic, tool systems, context compaction, and configuration for clean modularity. - Persisted Interaction State — Retains session state, message queues, and approval scopes across agent interactions. - Unified Tool Interface — Merges internal operational tools and user-defined custom tools into a single execution runtime. - Repository-Level Skills — Supports specialized skill configurations defined in repository directories like .agents/skills. - Scoped Filesystem Services — Constrains file access and code edits per execution context for controlled workspace operations.
Use cases
Use Case: Automated Multi-File Refactoring Developers use Dexto to coordinate broad refactoring across multiple files. The agent utilizes its persisted session state to track multi-turn modifications while adhering to defined approval scopes.
Use Case: Custom Skill and Tool Integration Teams integrate internal project scripts and custom APIs into Dexto's tooling runtime, allowing the agent to run automated test harnesses and route verifications during code generation.
Use Case: Terminal-Driven Code Inspection and Patching Engineers invoke Dexto directly from the CLI to investigate route contracts, trace logic flows across services, and generate scoped patches within terminal-first workflows.
Who it is for
Dexto is aimed at software engineers and technical leads who need an extensible, terminal-native coding agent with strict state management and customizable tool integrations. It is less suitable for users looking for a fully managed GUI-based IDE assistant without command-line configuration.
Install guide
Installation Install Dexto via npm or build from the source repository (standard Node.js workflow): bash npm install -g dexto # Alternatively, build from source git clone https://github.com/truffle-ai/dexto.git cd dexto pnpm install pnpm build
First Run Set your required LLM provider API credentials in your environment: bash export ANTHROPIC_API_KEY="your-anthropic-api-key" export OPENAI_API_KEY="your-openai-api-key" Initialize Dexto in your target project directory: bash dexto init
Example Session Instruct Dexto to analyze a specific subsystem and apply code updates: bash dexto "Analyze the route contracts in src/routes and update Hono handler inference checks"
SWE-agent — SWE-agent is an open-source autonomous software engineering agent harness built and maintained by researchers from Princeton University and Stanford University.…
Agentic Engineering Framework — Agentic Engineering Framework is an open-source orchestration harness and governance layer developed by Dimitri Geelen. It is designed to constrain,…
Hivelore — Hivelore is an open-source agent harness and contextual memory orchestrator created by Doucs91. It provides persistent project memory, decision tracking,…
Weaver — Weaver is an open-source agent harness and orchestration framework maintained by sean35mm on GitHub. Built on top of the Bun…
Stratless — Stratless is an open-source agent harness and execution orchestrator developed by the Stratless AI team. It provides a modular infrastructure…
Context Bridge — Context Bridge is an open-source CLI agent harness and context orchestration utility developed by serdardb. It is built to facilitate…