samples/ folder contains complete applications demonstrating Dartantic in
action. These aren’t toy examples; they’re functional tools you can use and
extend.
Dartantic CLI
A full-featured command-line interface for the Dartantic framework. Think of it ascurl for AI: scriptable, composable, and ready for shell pipelines.
Key features:
- Multiple commands: chat, generate, embed, models
- Custom agents via settings file
- DotPrompt templates with variable substitution
- MCP server integration
- Structured JSON output with schemas
Chatarang
An interactive REPL chat application with multi-provider support and tool calling. Perfect for exploring what AI can do when given real capabilities. Key features:- Switch providers mid-conversation
- Built-in tools: weather, location, web fetch
- Slash commands for app control
- Conversation history with tool visibility
Patterns
These samples show two different patterns:- Dartantic CLI: Non-interactive, scriptable, single-turn. Great for automation, shell scripts, and CI/CD pipelines.
- Chatarang: Interactive REPL with multi-turn conversations. Great for exploration and debugging.
Next Steps
- Quick Start - Get the framework running
- Tool Calling - Build your own tools
- MCP Support - Connect to external tool servers

