Skip to content
robotadocs

Examples

Short walkthroughs, each focused on one task with the Robota libraries or the robota CLI. Every snippet uses the packages' current public APIs. For complete projects you can clone and run (web servers, bots, scripts, single-capability demos), see examples/ in the repository.

Agent core

  • Basic Conversation — an agent that keeps conversation history across runs
  • Tool Calling — Zod-validated function tools, built-in file and shell tools, and sandboxed tools
  • Multi-Provider — registering Anthropic, OpenAI, DeepSeek, Gemini, Gemma and Qwen on one agent and switching between them
  • Streaming — text as the model generates it

Sessions

CLI

  • Interactive Mode — the terminal UI: slash commands, permission prompts, status line
  • Print Mode — robota -p for scripts and pipelines

Transports