Core Components

The building blocks of the ask-rb ecosystem. Each component is a standalone gem that you can use independently or compose into an agent.

Component Purpose
LLM Providers OpenAI, Anthropic, Google, Ollama, Bedrock, Mistral, Cloudflare
UI Kit 16 Web Components for AI chat — Lit, Shadow DOM
Tools & Execution Tool framework, shell tools, result types
Sandbox Providers Isolated code execution — local, Docker, Daytona, Cloudflare
The Agent Loop Session lifecycle, think-call-execute, compaction
Workflows & Graphs Multi-step durable workflows with checkpointing, sub-graphs, approval, timeouts, retry
Skills On-demand methodology for agents
Schema & Structured Output JSON Schema DSL for tool params and structured output
Credential Resolution Environment, file, Rails credentials, OAuth
MCP Client Model Context Protocol client for Ruby
Web Search Local SearXNG-backed web search — tool library and MCP server
RAG Pipeline Document loaders, text splitters, vector stores, MMR — full RAG pipeline

Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.