Skip to main content

Overview

Dexto gives you two ways to build AI agents. Pick the approach that fits your needs.

Two Ways to Build

CLI & Configuration

Build agents with YAML configuration files. No code required.

# my-agent.yml
systemPrompt: You are a helpful assistant.
llm:
provider: openai
model: gpt-5-mini
apiKey: $OPENAI_API_KEY
dexto --agent my-agent.yml

Best for: Quick prototypes, simple agents, config-driven workflows

Get started with CLI & Configuration


Dexto Agent SDK

Build agents programmatically with TypeScript. Full control over behavior and integration.

import { DextoAgent } from '@dexto/core';

const agent = new DextoAgent({
llm: { provider: 'openai', model: 'gpt-5-mini', apiKey: process.env.OPENAI_API_KEY }
});

await agent.start();
const session = await agent.createSession();
const response = await agent.generate('Hello!', session.id);

Best for: Custom apps, production systems, complex integrations

Get started with the Dexto Agent SDK


Which Should I Choose?

Use CaseRecommended
Quick prototype or demoCLI & Configuration
Simple task automationCLI & Configuration
Multi-agent systemsCLI & Configuration
Custom web applicationDexto Agent SDK
Production backend serviceDexto Agent SDK
Embedding in existing appDexto Agent SDK

Need Help?

Join our Discord community for questions and support.