openclaw
Skills for the OpenClaw personal AI assistant, covering browser automation, routing requests to coding agents, presenting canvas widgets, running apps on temporary machines, and sharing diffs.
truffle-ai/dexto is an agent harness and toolkit for building AI agents and agentic applications, with a CLI and SDKs included. It ships agents and commands, and suits teams that want sub-agent spawning, MCP integration and session memory.
$ npm install -g dexto



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.
Deutsch | English | Español | français | 日本語 | 한국어 | Português | Русский | 中文
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, startHonoApiServer } from 'dexto';
const config = await loadAgentConfig('./agents/my-agent.yml');
const agent = new DextoAgent(config);
const { server } = await startHonoApiServer(agent, 3001);
// POST /api/message, GET /api/sessions, etc.
This starts an HTTP server with full REST and SSE APIs, enabling integration with web frontends, webhooks, and other services. See the REST API Documentation for available endpoints.
Advanced SDK Usage
Create and manage multiple conversation sessions with persistent storage.
const agent = new DextoAgent(config);
await agent.start();
// Create and manage sessions
const session = await agent.createSession('user-123');
await agent.generate('Hello, how can you help me?', session.id);
// List and manage sessions
const sessions = await agent.listSessions();
const history = await agent.getSessionHistory('user-123');
await agent.deleteSession('user-123');
// Search across conversations
const results = await agent.searchMessages('bug fix', { limit: 10 });
Switch between models and providers dynamically.
// Get current configuration
const currentLLM = agent.getCurrentLLMConfig();
// Switch models (provider inferred automatically)
await agent.switchLLM({ model: 'gpt-5.2' });
await agent.switchLLM({ model: 'claude-sonnet-4-5-20250929' });
// Switch model for a specific session
await agent.switchLLM({ model: 'gpt-5.2' }, 'session-123');
// Get supported providers and models
const providers = agent.getSupportedProviders();
const models = agent.getSupportedModels();
For advanced MCP server management, use the MCPManager directly.
Skills for the OpenClaw personal AI assistant, covering browser automation, routing requests to coding agents, presenting canvas widgets, running apps on temporary machines, and sharing diffs.
Gives Claude Code users skills to drive Orca-managed worktrees, terminals and the embedded browser through the orca CLI, plus Jira and Linear ticket work and inline HTML chat visuals. Covers chart, table and mockup output.
Orchestrates teams of AI agents to run work like a company, with a Node.js server and React UI. Adds skills for delegating tasks, following up on results, reviewing team status, and managing Paperclip tasks from Hermes.
Organizes your AI agents for round-the-clock operation, with tools to hire, schedule and report on your agent team. Lets you oversee the agents without staying online yourself.
Install it with the command on its page. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it