by truffle-ai
Agent harness and tookit for building AI agents and agentic applications. CLI and SDKs included
# Add to your Claude Code skills
git clone https://github.com/truffle-ai/dextoGuides for using ai agents skills like dexto.
Last scanned: 5/11/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-11T07:43:12.128Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}See how dexto compares with popular alternatives.
dexto is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by truffle-ai. Agent harness and tookit for building AI agents and agentic applications. CLI and SDKs included. It has 661 GitHub stars.
Yes. dexto passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/truffle-ai/dexto" and add it to your Claude Code skills directory (see the Installation section above).
dexto is primarily written in TypeScript. It is open-source under truffle-ai on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh dexto against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Dexto 2.0 CLI: manage your Dexto cloud agents, chats, sandboxes and Sites, and run AI agents in your terminal.
Node.js 20 or later works; 22 is recommended. Use npm. Install once:
npm install -g dexto
If npm fails with EACCES, don't use sudo; use the install script
(installs under ~/.dexto, no admin).
dexto login --device prints a link and code on stderr, then waits for approval. Run it so you
can read its output while it waits, and pass both to the person.
Do not approve sign-in on their behalf. Check the first account result:
dexto whoami --json
Success is exit 0 with your account identity. Signed-out account commands exit 3 with
needs_sign_in; for a headless machine, run dexto login --device and retry. Installation and
dexto --version need no sign-in. Account and workspace requests do; model runs also need a
configured model or credits. This check starts no model run.
Dexto is an agent harness—the orchestration layer that turns LLMs into reliable, stateful agents that can take actions, remember context, and recover from errors.
Think of it like an operating system for AI agents:
| Component | Analogy | Role |
|---|---|---|
| LLM | CPU | Raw processing power |
| Context Window | RAM | Working memory |
| Dexto | Operating System | Orchestration, state, tools, recovery |
| Your Agent | Application | Domain-specific logic and clients |
Dexto ships with a production-ready coding agent you can use immediately via the CLI.
# Launch the coding agent (default)
dexto
# Or explicitly
dexto --agent coding-agent
What it can do:
Ready-to-use interfaces:
/commands, streaming output, and session managementThe coding agent is just one example of what you can build. Create your own agents by defining a YAML config—same architecture, your domain.
npm install -g dexto
# Alternative: native installer (no sudo)
# macOS / Linux / WSL
curl -fsSL https://dexto.ai/install | sh
# Windows PowerShell
irm https://dexto.ai/install.ps1 | iex
# Or build from source
git clone https://github.com/truffle-ai/dexto.git
cd dexto && pnpm install && pnpm install-cli
Upgrade/uninstall and migration troubleshooting live in docs:
# Start Dexto (first run: `dexto login`, or set a provider key such as ANTHROPIC_API_KEY)
dexto
More options:
dexto -p "create a landing page for a coffee shop" # One-shot task
dexto --auto-approve "refactor this codebase" # Skip confirmations
dexto -m claude-sonnet-4-5-20250929 # Switch models
dexto --help # Explore all options
Inside the interactive CLI, type / to explore commands—switch models, manage sessions, configure tools, and more.
Switch models with /model inside the interactive CLI, or pass -m <model>.
Logs are stored in ~/.dexto/logs/. Use DEXTO_LOG_LEVEL=debug for verbose output.
Switch models mid-conversation—no code changes, no restarts.
| Provider | Models |
|---|---|
| OpenAI | gpt-5.2, gpt-5.2-pro, gpt-5.2-codex, o4-mini |
| Anthropic | Claude Sonnet, Opus, Haiku (with extended thinking) |
| Gemini 3 Pro, 2.5 Pro/Flash | |
| Groq | Llama 4, Qwen, DeepSeek |
| xAI | Grok 4, Grok 3 |
| Local | Ollama, GGUF via node-llama-cpp (Llama, Qwen, Mistral, etc.) |
| + Gateways | OpenRouter, AWS Bedrock, Vertex AI, LiteLLM |
Run locally for privacy: Local models keep data on your machine with automatic GPU detection (Metal, CUDA, Vulkan).
Connect to Model Context Protocol servers—Puppeteer, Linear, ElevenLabs, Firecrawl, Sora, and more.
# agents/my-agent.yml
mcpServers:
filesystem:
type: stdio
command: npx
args: ['-y', '@modelcontextprotocol/server-filesystem', '.']
browser:
type: stdio
command: npx
args: ['-y', '@anthropics/mcp-server-puppeteer']
Browse and add servers via /mcp commands in the CLI.
Fine-grained control over what your agent can do:
permissions:
mode: asks-you # Asks you: approve file edits, shell commands and other changes
# mode: full-access # Full access: run tools without asking
toolPolicies:
alwaysAllow:
- mcp--filesystem--read_file
- mcp--filesystem--list_directory
Agents remember which tools you've approved per session.
Conversations persist across restarts. Create memories that shape agent behavior.
# Continue last conversation
dexto -c
# Resume specific session
dexto -r session-abc123
# Read a chat's messages
dexto chat history session-abc123
Agents can spawn specialized sub-agents to handle complex subtasks. The coding agent uses this to delegate exploration:
# In your agent config
tools:
- type: agent-spawner
allowedAgents: ["explore-agent"]
maxConcurrentAgents: 5
defaultTimeout: 300000 # 5 minutes
Built-in sub-agents:
Any agent in the Agent Registry can be spawned as a sub-agent—including custom agents you create and register.
Sub-agents run ephemerally, auto-cleanup after completion, and forward tool approvals to the parent—so users see one unified approval flow.
| Mode | Command | Use Case |
|---|---|---|
| CLI | dexto |
Interactive chat in the terminal |
| Headless | dexto run "task" |
One task; JSON when piped |
Platform integrations: Discord, Telegram
Build AI agents programmatically. Everything the CLI does, your code can too.
npm install @dexto/core
import { DextoAgent } from '@dexto/core';
const agent = new DextoAgent({
llm: { provider: 'openai', model: 'gpt-5.2', apiKey: process.env.OPENAI_API_KEY }
});
await agent.start();
const session = await agent.createSession();
const response = await agent.generate('What is TypeScript?', session.id);
console.log(response.content);
// Streaming
for await (const event of await agent.stream('Write a story', session.id)) {
if (event.name === 'llm:chunk') process.stdout.write(event.content);
}
// Multimodal
await agent.generate([
{ type: 'text', text: 'Describe this image' },
{ type: 'image', image: base64Data, mimeType: 'image/png' }
], session.id);
// Switch models mid-conversation
await agent.switchLLM({ model: 'claude-sonnet-4-5-20250929' });
Start a server programmatically:
Start a Dexto server programmatically to expose REST and SSE streaming APIs to interact and manage your agent backend.
import { DextoAgent } from '@dexto/core';
import { loadAgentConfig, startHon