# LittleGhost API index

Documentation version: Edge

Canonical HTML: https://littleghostai.org/docs/api.html

Every public class and module is listed here. Open an entry for signatures, ownership, and failure behavior.

- [LittleGhost](LittleGhost.md) — Build AI features as ordinary Ruby classes.
- [LittleGhost::AGUI](LittleGhost/AGUI.md) — AG-UI connects LittleGhost streams to user interfaces that speak the AG-UI protocol.
- [LittleGhost::AGUI::Adapter](LittleGhost/AGUI/Adapter.md) — Adapter turns a LittleGhost stream into AG-UI event hashes.
- [LittleGhost::AbstractMethodError](LittleGhost/AbstractMethodError.md) — Raised when an abstract framework method has no concrete implementation.
- [LittleGhost::AdapterLoadError](LittleGhost/AdapterLoadError.md) — Raised when a configured provider adapter cannot be constructed.
- [LittleGhost::Agent](LittleGhost/Agent.md) — Defines one reusable model-driven behavior with prompts, tools, and limits.
- [LittleGhost::Agent::ContextManagement](LittleGhost/Agent/ContextManagement.md) — Keep long conversations within the model's available context window.
- [LittleGhost::Agent::ContextManagement::ClassMethods](LittleGhost/Agent/ContextManagement/ClassMethods.md) — Exposes context-management declarations on agent classes.
- [LittleGhost::Agent::Delegation](LittleGhost/Agent/Delegation.md) — Give one agent a bounded way to ask another agent for help.
- [LittleGhost::Agent::Delegation::ClassMethods](LittleGhost/Agent/Delegation/ClassMethods.md) — Exposes delegation declarations on agent classes.
- [LittleGhost::Agent::Skills](LittleGhost/Agent/Skills.md) — Let an agent discover application-authored instructions only when it needs them.
- [LittleGhost::Agent::Skills::ClassMethods](LittleGhost/Agent/Skills/ClassMethods.md) — Exposes skill discovery declarations on agent classes.
- [LittleGhost::Agent::ToolLoop](LittleGhost/Agent/ToolLoop.md) — Stop an agent from repeating a tool call that cannot make progress.
- [LittleGhost::Agent::ToolLoop::ClassMethods](LittleGhost/Agent/ToolLoop/ClassMethods.md) — Exposes tool-loop detection declarations on agent classes.
- [LittleGhost::AgentBuilder](LittleGhost/AgentBuilder.md) — Builds an Agent definition from declarations made at runtime.
- [LittleGhost::AgentBusyError](LittleGhost/AgentBusyError.md) — Raised when a run-scoped Agent is already handling another invocation.
- [LittleGhost::AgentInterjectionError](LittleGhost/AgentInterjectionError.md) — Raised when an active run cannot accept an interjection.
- [LittleGhost::AgentStreamSource](LittleGhost/AgentStreamSource.md) — Describes which Agent produced an event during a Run.
- [LittleGhost::AgentStreamStep](LittleGhost/AgentStreamStep.md) — Identifies one assembly step in the path to a streamed Agent invocation.
- [LittleGhost::Artifact](LittleGhost/Artifact.md) — Represents a file, image, or document produced by a Tool or supplied to a Run.
- [LittleGhost::Artifacts](LittleGhost/Artifacts.md) — Stores files from Run input and Tool results, then presents them to agents as bounded images, documents, previews, or Workspace references.
- [LittleGhost::Assembly](LittleGhost/Assembly.md) — Gives one agent or a coordinated group the same callable entrypoint.
- [LittleGhost::Assembly::Attempt](LittleGhost/Assembly/Attempt.md) — One bounded attempt to execute a child Assembly step.
- [LittleGhost::Assembly::Step](LittleGhost/Assembly/Step.md) — One logical child execution in a composite Assembly result.
- [LittleGhost::Assembly::Trajectory](LittleGhost/Assembly/Trajectory.md) — Immutable queries over the steps returned by one assembly invocation.
- [LittleGhost::AssemblyBuilder](LittleGhost/AssemblyBuilder.md) — Builds an Assembly when its participants or routes are discovered at runtime.
- [LittleGhost::AssemblyDefinition](LittleGhost/AssemblyDefinition.md) — A complete Assembly configuration produced by an AssemblyBuilder.
- [LittleGhost::AssemblyError](LittleGhost/AssemblyError.md) — Base class for failures coordinating one or more assemblies.
- [LittleGhost::AssemblyLimitError](LittleGhost/AssemblyLimitError.md) — Raised when an assembly exceeds its configured execution bound.
- [LittleGhost::AssemblyRoutingError](LittleGhost/AssemblyRoutingError.md) — Raised when an assembly cannot choose one valid next participant.
- [LittleGhost::AssemblyStepTimeoutError](LittleGhost/AssemblyStepTimeoutError.md) — Raised when one assembly step exceeds its local timeout.
- [LittleGhost::CancelledError](LittleGhost/CancelledError.md) — Raised when cancellation stops an operation.
- [LittleGhost::CapabilityError](LittleGhost/CapabilityError.md) — Raised when a backend cannot enforce a requested sandbox capability.
- [LittleGhost::CleanupError](LittleGhost/CleanupError.md) — Raised when one or more managed resources fail to close.
- [LittleGhost::CodeMode](LittleGhost/CodeMode.md) — Runs model-authored orchestration code in a child interpreter.
- [LittleGhost::CodeMode::Broker](LittleGhost/CodeMode/Broker.md) — Keeps tool authorization and execution in the trusted parent process.
- [LittleGhost::CodeMode::Catalog](LittleGhost/CodeMode/Catalog.md) — Normalizes a trusted Tool catalog for a guest language and rejects names that would collide or shadow code-mode controls.
- [LittleGhost::CodeMode::Engine](LittleGhost/CodeMode/Engine.md) — Adapter contract for a code-mode language.
- [LittleGhost::CodeMode::JavascriptEngine](LittleGhost/CodeMode/JavascriptEngine.md) — Runs model-written JavaScript in an isolated V8 context.
- [LittleGhost::CodeMode::ProgramResult](LittleGhost/CodeMode/ProgramResult.md) — Describes one observation of a code-mode program.
- [LittleGhost::CodeMode::Protocol](LittleGhost/CodeMode/Protocol.md) — Length-prefixed JSON framing shared by code-mode parent and child hosts.
- [LittleGhost::CodeMode::RubyEngine](LittleGhost/CodeMode/RubyEngine.md) — Runs model-written Ruby in a fresh sandboxed process.
- [LittleGhost::CodeMode::Session](LittleGhost/CodeMode/Session.md) — Lifecycle contract for one Engine's active program.
- [LittleGhost::Configuration](LittleGhost/Configuration.md) — Configure shared services and lookup rules before agents start.
- [LittleGhost::ConfigurationError](LittleGhost/ConfigurationError.md) — Raised for invalid framework or application configuration.
- [LittleGhost::Content](LittleGhost/Content.md) — Content gives messages a shared vocabulary for text, attachments, tool calls, tool results, and model reasoning.
- [LittleGhost::Content::Document](LittleGhost/Content/Document.md) — Contains binary document data, its MIME media type, and a display name.
- [LittleGhost::Content::Image](LittleGhost/Content/Image.md) — Contains binary image data, its MIME media type, and an optional display name.
- [LittleGhost::Content::Reasoning](LittleGhost/Content/Reasoning.md) — Preserves provider reasoning without forcing every provider into one representation.
- [LittleGhost::Content::Text](LittleGhost/Content/Text.md) — Contains model-visible text.
- [LittleGhost::Content::ToolResult](LittleGhost/Content/ToolResult.md) — Carries the model-facing result for one ToolUse.
- [LittleGhost::Content::ToolUse](LittleGhost/Content/ToolUse.md) — Describes one tool call requested by a provider-backed model.
- [LittleGhost::ContextWindowOverflowError](LittleGhost/ContextWindowOverflowError.md) — Raised when a provider reports that the request exceeds its context window.
- [LittleGhost::CredentialError](LittleGhost/CredentialError.md) — Raised when no usable credentials can be resolved for a provider.
- [LittleGhost::DataMap](LittleGhost/DataMap.md) — DataMap holds JSON-compatible application data with indifferent key access.
- [LittleGhost::DeadlineExceededError](LittleGhost/DeadlineExceededError.md) — Raised when an operation reaches its deadline.
- [LittleGhost::Decision](LittleGhost/Decision.md) — Declarative collection of typed questions for one decision request.
- [LittleGhost::DecisionAnswer](LittleGhost/DecisionAnswer.md) — One typed answer returned by a decision provider.
- [LittleGhost::DecisionRequest](LittleGhost/DecisionRequest.md) — Carries the state, questions, and request controls passed to a decision provider.
- [LittleGhost::DecisionResult](LittleGhost/DecisionResult.md) — Carries validated answers and token usage from one decision call.
- [LittleGhost::DependencyError](LittleGhost/DependencyError.md) — Raised when an explicitly selected optional integration or backend dependency is unavailable.
- [LittleGhost::Embeddings](LittleGhost/Embeddings.md) — Carries provider-neutral inputs and results for text embeddings.
- [LittleGhost::Embeddings::Request](LittleGhost/Embeddings/Request.md) — Carries the validated inputs and controls for one embedding operation.
- [LittleGhost::Embeddings::Response](LittleGhost/Embeddings/Response.md) — Carries validated embedding vectors without provider response objects.
- [LittleGhost::Error](LittleGhost/Error.md) — Base class for LittleGhost domain errors.
- [LittleGhost::Events](LittleGhost/Events.md) — Events lets an application react to noteworthy agent activity without coupling LittleGhost to a logger or event backend.
- [LittleGhost::Events::ConsoleListener](LittleGhost/Events/ConsoleListener.md) — JSON-lines listener suitable for diagnostics and local development.
- [LittleGhost::Events::Reporter](LittleGhost/Events/Reporter.md) — Thread-safe event publisher with process-wide and fiber-scoped listeners.
- [LittleGhost::Execution](LittleGhost/Execution.md) — Runs one dormant Run in the background while the caller remains free to serve health checks, deliver interjections, or coordinate shutdown.
- [LittleGhost::ExecutionState](LittleGhost/ExecutionState.md) — ExecutionState carries request-scoped values across scheduled fibers and worker threads.
- [LittleGhost::Graph](LittleGhost/Graph.md) — Routes a request through named Assembly nodes and declared edges.
- [LittleGhost::Graph::State](LittleGhost/Graph/State.md) — Read-only routing data passed to conditions and input mappers.
- [LittleGhost::GraphBuilder](LittleGhost/GraphBuilder.md) — Builds a Graph from nodes and routes discovered at runtime.
- [LittleGhost::Harnesses](LittleGhost/Harnesses.md) — Harnesses run external coding-agent command-line tools, such as Claude Code, Codex, and OpenCode, as bounded subprocesses: inside an isolating Sandbox with the tool's own safeguards off, or on the host with them on.
- [LittleGhost::Harnesses::Base](LittleGhost/Harnesses/Base.md) — Runs one coding-agent command-line tool as a bounded Sandbox process and turns its JSON-lines output into StreamEvent values and a Result.
- [LittleGhost::Harnesses::ClaudeCode](LittleGhost/Harnesses/ClaudeCode.md) — Runs Claude Code in non-interactive print mode with --output-format stream-json.
- [LittleGhost::Harnesses::Codex](LittleGhost/Harnesses/Codex.md) — Runs Codex with codex exec --json.
- [LittleGhost::Harnesses::OpenCode](LittleGhost/Harnesses/OpenCode.md) — Runs OpenCode with opencode run --format json --agent build.
- [LittleGhost::Harnesses::Request](LittleGhost/Harnesses/Request.md) — One unit of work for a harness: the task and the limits it runs under.
- [LittleGhost::Harnesses::Result](LittleGhost/Harnesses/Result.md) — The outcome of one Harnesses::Base#run.
- [LittleGhost::Harnesses::State](LittleGhost/Harnesses/State.md) — Mutable progress that a harness parser records while reading one run's output.
- [LittleGhost::Harnesses::Tool](LittleGhost/Harnesses/Tool.md) — Lets an Agent delegate a coding task to an external coding-agent tool.
- [LittleGhost::Harnesses::ToolServer](LittleGhost/Harnesses/ToolServer.md) — Serves Tool instances to a harness over the Model Context Protocol's Streamable HTTP transport on a Unix socket, so a coding-agent tool can call the same tools as the Agent that delegated to it.
- [LittleGhost::Instrumentation](LittleGhost/Instrumentation.md) — Instrumentation turns agent work into structured lifecycle notifications.
- [LittleGhost::Instrumentation::Bus](LittleGhost/Instrumentation/Bus.md) — Thread-safe notification bus used by the process-wide Instrumentation API.
- [LittleGhost::Instrumentation::Handle](LittleGhost/Instrumentation/Handle.md) — A Handle represents work between Instrumentation.start and #finish.
- [LittleGhost::Instrumentation::Subscriber](LittleGhost/Instrumentation/Subscriber.md) — Subclass Subscriber to connect a telemetry backend.
- [LittleGhost::InvalidPromptTemplateError](LittleGhost/InvalidPromptTemplateError.md) — Raised for unsafe names, escaped roots, cycles, or excessive recursion.
- [LittleGhost::Invocation](LittleGhost/Invocation.md) — Carry one application request into an agent run.
- [LittleGhost::InvocationError](LittleGhost/InvocationError.md) — Raised when an invocation payload or operation is invalid.
- [LittleGhost::Lookup](LittleGhost/Lookup.md) — Lookup holds path values shared by prompt and skill discovery.
- [LittleGhost::Lookup::Root](LittleGhost/Lookup/Root.md) — Holds an expanded lookup path and the optional trusted boundary it must remain within after symbolic links are resolved.
- [LittleGhost::MCP](LittleGhost/MCP.md) — Connects Agents to Tools published by Model Context Protocol servers through an application-provided official MCP Ruby client.
- [LittleGhost::MCP::Toolset](LittleGhost/MCP/Toolset.md) — Loads remote Tool classes through an application-created official MCP::Client.
- [LittleGhost::MalformedToolCallError](LittleGhost/MalformedToolCallError.md) — Raised when a model returns an invalid tool-call representation.
- [LittleGhost::Message](LittleGhost/Message.md) — A Message carries one participant's contribution to an agent conversation.
- [LittleGhost::MissingPromptLocalError](LittleGhost/MissingPromptLocalError.md) — Raised when an ERB template references a missing local variable.
- [LittleGhost::MissingPromptTemplateError](LittleGhost/MissingPromptTemplateError.md) — Raised when no configured root contains the requested template.
- [LittleGhost::Model](LittleGhost/Model.md) — Model is the resolved connection between an agent selection and a provider.
- [LittleGhost::ModelCapabilities](LittleGhost/ModelCapabilities.md) — Describes the optional features a model can use.
- [LittleGhost::ModelInterface](LittleGhost/ModelInterface.md) — Interface for executable model implementations accepted by agents.
- [LittleGhost::ModelRequest](LittleGhost/ModelRequest.md) — Carries everything a provider needs for one model stream.
- [LittleGhost::ModelResolver](LittleGhost/ModelResolver.md) — Maps an application model role to an executable Model.
- [LittleGhost::ModelResponse](LittleGhost/ModelResponse.md) — Represents the final result shared by every provider stream.
- [LittleGhost::Models](LittleGhost/Models.md) — Immutable model identities, metadata, configuration readers, and catalogs.
- [LittleGhost::Models::Catalog](LittleGhost/Models/Catalog.md) — Resolves model facts from refreshed data and the snapshot packaged with LittleGhost.
- [LittleGhost::Models::Catalog::ModelsDevSource](LittleGhost/Models/Catalog/ModelsDevSource.md) — Refreshes normalized facts from the public models.dev catalog.
- [LittleGhost::Models::Catalog::Source](LittleGhost/Models/Catalog/Source.md) — Interface for catalog refresh implementations.
- [LittleGhost::Models::Configuration](LittleGhost/Models/Configuration.md) — Loads trusted provider connections or logical model profiles from YAML.
- [LittleGhost::Network](LittleGhost/Network.md) — Network policy helpers used by sandbox backends.
- [LittleGhost::Network::AuthorizerServer](LittleGhost/Network/AuthorizerServer.md) — Answers Envoy's headers-only external authorization requests on a Unix socket by calling a trusted authorizer.
- [LittleGhost::Network::Decision](LittleGhost/Network/Decision.md) — Trusted authorization result and tightly scoped upstream header changes.
- [LittleGhost::Network::EnvoyGateway](LittleGhost/Network/EnvoyGateway.md) — Manages Envoy as a native process or pinned Docker sidecar for one Sandbox.
- [LittleGhost::Network::ExternalGateway](LittleGhost/Network/ExternalGateway.md) — Exposes an application-managed proxy to an isolated sandbox without claiming ownership of its lifecycle or attesting what it enforces.
- [LittleGhost::Network::Facade](LittleGhost/Network/Facade.md) — A plaintext listener that forwards every request to one HTTPS host.
- [LittleGhost::Network::Gateway](LittleGhost/Network/Gateway.md) — Lifecycle contract implemented by filtered-egress gateways.
- [LittleGhost::Network::HostPolicy](LittleGhost/Network/HostPolicy.md) — Declares which HTTPS requests each host accepts and which credentials the gateway adds before forwarding them.
- [LittleGhost::Network::Request](LittleGhost/Network/Request.md) — Normalized, headers-only request metadata passed to a trusted authorizer.
- [LittleGhost::OutputLimitError](LittleGhost/OutputLimitError.md) — Raised when configured generation limits stop the agent before completion.
- [LittleGhost::PathSet](LittleGhost/PathSet.md) — PathSet keeps prompt or skill lookup roots in deterministic search order.
- [LittleGhost::PolicyError](LittleGhost/PolicyError.md) — Raised when a sandbox policy is internally invalid.
- [LittleGhost::PromptResolver](LittleGhost/PromptResolver.md) — PromptResolver renders conventional ERB prompt views.
- [LittleGhost::PromptTemplateError](LittleGhost/PromptTemplateError.md) — Base error raised while locating or rendering a prompt template.
- [LittleGhost::ProtocolError](LittleGhost/ProtocolError.md) — Raised when a provider violates the expected request-response protocol.
- [LittleGhost::ProviderError](LittleGhost/ProviderError.md) — Base class for provider request, response, and protocol failures.
- [LittleGhost::ProviderRegistry](LittleGhost/ProviderRegistry.md) — Constructs built-in and application provider adapters from named provider connections.
- [LittleGhost::Providers](LittleGhost/Providers.md) — Provider adapters translate model APIs into LittleGhost's shared streaming request and response types.
- [LittleGhost::Providers::Anthropic](LittleGhost/Providers/Anthropic.md) — Connects a Model to Anthropic's Messages API.
- [LittleGhost::Providers::Anthropic::CatalogSource](LittleGhost/Providers/Anthropic/CatalogSource.md) — Enriches availability and limits from Anthropic's model list endpoint.
- [LittleGhost::Providers::Base](LittleGhost/Providers/Base.md) — Shared provider contract.
- [LittleGhost::Providers::Bedrock](LittleGhost/Providers/Bedrock.md) — Bedrock lets LittleGhost features use models available through Amazon Bedrock.
- [LittleGhost::Providers::Bedrock::CatalogSource](LittleGhost/Providers/Bedrock/CatalogSource.md) — Enriches Bedrock availability and on-demand pricing using bounded, SigV4-signed AWS APIs.
- [LittleGhost::Providers::Bedrock::CredentialResolver](LittleGhost/Providers/Bedrock/CredentialResolver.md) — Resolves common AWS credentials without depending on an AWS SDK.
- [LittleGhost::Providers::Bedrock::StreamError](LittleGhost/Providers/Bedrock/StreamError.md) — Represents an error event returned inside a Bedrock stream.
- [LittleGhost::Providers::Configuration](LittleGhost/Providers/Configuration.md) — Holds trusted provider connection settings independently from model profiles.
- [LittleGhost::Providers::Gemini](LittleGhost/Providers/Gemini.md) — Connects a Model to Google's Gemini generateContent API.
- [LittleGhost::Providers::Gemini::CatalogSource](LittleGhost/Providers/Gemini/CatalogSource.md) — Enriches Gemini availability and limits from the Developer API.
- [LittleGhost::Providers::HTTPError](LittleGhost/Providers/HTTPError.md) — Reports a bounded HTTP or network failure from a provider connection.
- [LittleGhost::Providers::LMStudio](LittleGhost/Providers/LMStudio.md) — LMStudio connects LittleGhost to an LM Studio server through its OpenAI-compatible API.
- [LittleGhost::Providers::LMStudio::CatalogSource](LittleGhost/Providers/LMStudio/CatalogSource.md) — Refreshes downloaded model metadata from LM Studio's native read-only model listing endpoint.
- [LittleGhost::Providers::OpenAI](LittleGhost/Providers/OpenAI.md) — OpenAI connects LittleGhost features to OpenAI models for generation and embeddings.
- [LittleGhost::Providers::OpenAICompatible](LittleGhost/Providers/OpenAICompatible.md) — OpenAICompatible brings OpenAI-style Responses or Chat Completions endpoints into LittleGhost.
- [LittleGhost::Providers::OpenAICompatible::StreamError](LittleGhost/Providers/OpenAICompatible/StreamError.md) — Represents a structured error received inside an otherwise successful provider stream.
- [LittleGhost::Providers::OpenRouter](LittleGhost/Providers/OpenRouter.md) — OpenRouter gives one LittleGhost provider access to models routed through OpenRouter.
- [LittleGhost::Providers::OpenRouter::CatalogSource](LittleGhost/Providers/OpenRouter/CatalogSource.md) — Adds richer routing metadata and pricing from OpenRouter's live catalog.
- [LittleGhost::Providers::Typesafe](LittleGhost/Providers/Typesafe.md) — Direct TypeSafe Jev decision API connection.
- [LittleGhost::Providers::VertexAI](LittleGhost/Providers/VertexAI.md) — Connects a Model to Gemini models hosted by Google Vertex AI.
- [LittleGhost::Providers::VertexAI::CredentialResolver](LittleGhost/Providers/VertexAI/CredentialResolver.md) — Resolves Vertex access tokens from explicit values, service-account ADC, or the Google metadata server.
- [LittleGhost::Run](LittleGhost/Run.md) — Observe one top-level assembly execution from start to finish.
- [LittleGhost::RunContext](LittleGhost/RunContext.md) — RunContext gives tools and workflows one place for shared state, cancellation, deadlines, checkpoints, and accumulated usage.
- [LittleGhost::RunResult](LittleGhost/RunResult.md) — RunResult gives callers one final view of an Assembly invocation.
- [LittleGhost::Runtime](LittleGhost/Runtime.md) — Owns the shared services that assemblies reuse across many Runs.
- [LittleGhost::Runtime::Hook](LittleGhost/Runtime/Hook.md) — Hooks let applications prepare runs, select session history, transform interjections, and map errors to caller-safe messages.
- [LittleGhost::Sandbox](LittleGhost/Sandbox.md) — A Sandbox governs filesystem operations and child processes that explicitly pass through it.
- [LittleGhost::Sandbox::Capabilities](LittleGhost/Sandbox/Capabilities.md) — Describes the operations, network modes, and isolation mechanism a Sandbox backend implements.
- [LittleGhost::Sandbox::EnvironmentPolicy](LittleGhost/Sandbox/EnvironmentPolicy.md) — Declares which environment values a Sandbox may pass to child processes.
- [LittleGhost::Sandbox::Execution](LittleGhost/Sandbox/Execution.md) — Carries captured process output, exit status, and an optional execution error from Sandbox#execute or Sandbox#executeprogram.
- [LittleGhost::Sandbox::Limits](LittleGhost/Sandbox/Limits.md) — Bounded file and process output sizes applied by Sandbox tools.
- [LittleGhost::Sandbox::NetworkPolicy](LittleGhost/Sandbox/NetworkPolicy.md) — Declares outbound connectivity for sandbox-launched processes.
- [LittleGhost::Sandbox::Policy](LittleGhost/Sandbox/Policy.md) — Normalizes requested filesystem, process, environment, and child-network controls into one immutable policy.
- [LittleGhost::Sandbox::ProcessRunner](LittleGhost/Sandbox/ProcessRunner.md) — Runs one bounded child process from trusted application code and terminates its entire process group when the Run is cancelled or the command exceeds its timeout.
- [LittleGhost::Sandbox::ProcessRunner::Result](LittleGhost/Sandbox/ProcessRunner/Result.md) — The outcome of one ProcessRunner.capture call.
- [LittleGhost::Sandbox::ProcessSession](LittleGhost/Sandbox/ProcessSession.md) — Owns one sandboxed child process and its bounded input and output streams.
- [LittleGhost::Sandbox::Scope](LittleGhost/Sandbox/Scope.md) — A non-owning, capability-reduced view of a Sandbox for one agent or Tool set.
- [LittleGhost::SandboxConfigurationError](LittleGhost/SandboxConfigurationError.md) — Base class for sandbox setup failures that trusted application code can diagnose before model-controlled work starts.
- [LittleGhost::Sandboxes](LittleGhost/Sandboxes.md) — Built-in sandbox provider classes grouped for direct construction.
- [LittleGhost::Sandboxes::Bubblewrap](LittleGhost/Sandboxes/Bubblewrap.md) — Runs each command in a fresh Bubblewrap namespace on Linux.
- [LittleGhost::Sandboxes::Native](LittleGhost/Sandboxes/Native.md) — Selects the operating system's built-in LittleGhost isolation backend.
- [LittleGhost::Sandboxes::Seatbelt](LittleGhost/Sandboxes/Seatbelt.md) — Runs child programs under macOS Seatbelt.
- [LittleGhost::Sandboxes::Unrestricted](LittleGhost/Sandboxes/Unrestricted.md) — A convenient host-backed sandbox for trusted local work.
- [LittleGhost::Session](LittleGhost/Session.md) — Sessions let an agent continue a conversation without tying it to one Ruby process.
- [LittleGhost::SessionStore](LittleGhost/SessionStore.md) — SessionStore connects LittleGhost conversations to application persistence.
- [LittleGhost::SessionStores](LittleGhost/SessionStores.md) — Ready-to-use persistence implementations for LittleGhost conversations.
- [LittleGhost::SessionStores::AgentCoreMemory](LittleGhost/SessionStores/AgentCoreMemory.md) — AgentCoreMemory keeps LittleGhost conversations in Amazon Bedrock AgentCore Memory so they can resume across Ruby processes and deployments.
- [LittleGhost::SessionStores::Filesystem](LittleGhost/SessionStores/Filesystem.md) — Filesystem preserves LittleGhost sessions across process restarts in an application-controlled directory.
- [LittleGhost::SessionStores::Memory](LittleGhost/SessionStores/Memory.md) — Memory keeps conversations available for the life of one Ruby process.
- [LittleGhost::Skills](LittleGhost/Skills.md) — Skills give agents focused instructions and supporting resources on demand.
- [LittleGhost::Skills::Catalog](LittleGhost/Skills/Catalog.md) — A Catalog lets an agent discover focused instructions without putting every skill in its prompt.
- [LittleGhost::Skills::Skill](LittleGhost/Skills/Skill.md) — Holds the metadata and instructions loaded from one SKILL.md file.
- [LittleGhost::StreamEvent](LittleGhost/StreamEvent.md) — StreamEvent gives every provider and interface the same language for live agent output.
- [LittleGhost::StructuredResult](LittleGhost/StructuredResult.md) — Associates a validated structured value with its declared schema name.
- [LittleGhost::StructuredResultError](LittleGhost/StructuredResultError.md) — Raised when structured output is absent, invalid, or exceeds safety limits.
- [LittleGhost::Subagents](LittleGhost/Subagents.md) — Subagents let one agent hand focused work to other agents and continue the conversation when those agents finish.
- [LittleGhost::Subagents::AgentPath](LittleGhost/Subagents/AgentPath.md) — AgentPath gives every delegated conversation a stable place beneath its parent.
- [LittleGhost::Subagents::Definition](LittleGhost/Subagents/Definition.md) — A Definition describes one kind of agent available for delegation.
- [LittleGhost::Subagents::Manager](LittleGhost/Subagents/Manager.md) — Manager coordinates delegated conversations without making an application build its own worker pool or message protocol.
- [LittleGhost::Subagents::Manager::CleanupError](LittleGhost/Subagents/Manager/CleanupError.md) — Raised when one or more managed workers cannot stop within the cleanup deadline.
- [LittleGhost::Support](LittleGhost/Support.md) — Support collects small building blocks for LittleGhost extensions.
- [LittleGhost::Support::Callbacks](LittleGhost/Support/Callbacks.md) — Callbacks lets extensions prepare, replace, or cancel framework work in a predictable order.
- [LittleGhost::Support::CancellationToken](LittleGhost/Support/CancellationToken.md) — CancellationToken lets related work stop cooperatively without killing its calling thread or fiber.
- [LittleGhost::Support::ClassAttributes](LittleGhost/Support/ClassAttributes.md) — ClassAttributes gives framework extension classes small, thread-safe, inheritable settings.
- [LittleGhost::Support::ContentCapture](LittleGhost/Support/ContentCapture.md) — ContentCapture lets an application opt selected diagnostic content into telemetry after redaction and scrubbing.
- [LittleGhost::Support::HTTPClient](LittleGhost/Support/HTTPClient.md) — HTTPClient gives integrations a shared, bounded streaming HTTP layer.
- [LittleGhost::Support::InterruptibleStream](LittleGhost/Support/InterruptibleStream.md) — InterruptibleStream turns a blocking producer into a lazy, cancellable Ruby stream.
- [LittleGhost::Support::InterruptibleStream::CleanupError](LittleGhost/Support/InterruptibleStream/CleanupError.md) — Raised when the producer thread remains active past the fixed shutdown bound.
- [LittleGhost::Support::Loader](LittleGhost/Support/Loader.md) — Loader finds agents, assemblies, and tools from a conventional application layout.
- [LittleGhost::Support::Loader::ConflictError](LittleGhost/Support/Loader/ConflictError.md) — Raised when a conventional path collides with an existing constant or autoload.
- [LittleGhost::Support::Loader::ExpectedConstantError](LittleGhost/Support/Loader/ExpectedConstantError.md) — Raised when a loaded file does not define the constant implied by its path.
- [LittleGhost::Support::OutputTruncation](LittleGhost/Support/OutputTruncation.md) — OutputTruncation keeps large tool results within a predictable context budget without breaking UTF-8.
- [LittleGhost::Support::Redactor](LittleGhost/Support/Redactor.md) — Redactor removes common credential keys, known secret values, and secret-shaped strings from nested diagnostic data.
- [LittleGhost::Swarm](LittleGhost/Swarm.md) — Lets configured Agent members hand one request directly to one another.
- [LittleGhost::SwarmBuilder](LittleGhost/SwarmBuilder.md) — Builds a Swarm at runtime while keeping its members Agent-only.
- [LittleGhost::Tool](LittleGhost/Tool.md) — Give an agent a validated way to call application code.
- [LittleGhost::Tool::Binding](LittleGhost/Tool/Binding.md) — Supply run-scoped collaborators when tools are instantiated outside an agent.
- [LittleGhost::Tool::Result](LittleGhost/Tool/Result.md) — Returns a Ruby value together with files or media produced by a Tool.
- [LittleGhost::ToolError](LittleGhost/ToolError.md) — Base class for expected failures while executing a Tool.
- [LittleGhost::ToolExecution](LittleGhost/ToolExecution.md) — Gives runtime hooks one complete view of a tool call while they prepare or observe its execution.
- [LittleGhost::ToolLoopError](LittleGhost/ToolLoopError.md) — Raised when repeated identical tool calls reach the configured termination limit.
- [LittleGhost::ToolRegistry](LittleGhost/ToolRegistry.md) — ToolRegistry turns an agent's tool declarations into the exact set a model can call during one run.
- [LittleGhost::Tools](LittleGhost/Tools.md) — Ready-made model-facing tools for filesystem, process, and planning work.
- [LittleGhost::Tools::Filesystem](LittleGhost/Tools/Filesystem.md) — Filesystem gives an agent read, list, write, and replace tools backed by the application's Sandbox.
- [LittleGhost::Tools::Filesystem::Exclusive](LittleGhost/Tools/Filesystem/Exclusive.md) — Provides filesystem tools marked exclusive for shared workspace mutation.
- [LittleGhost::Tools::Filesystem::ListFiles](LittleGhost/Tools/Filesystem/ListFiles.md) — Lists one directory through the configured sandbox.
- [LittleGhost::Tools::Filesystem::ReadFile](LittleGhost/Tools/Filesystem/ReadFile.md) — Reads one UTF-8 text file through the configured sandbox.
- [LittleGhost::Tools::Filesystem::ReplaceInFile](LittleGhost/Tools/Filesystem/ReplaceInFile.md) — Replaces one unique text occurrence through a writable sandbox.
- [LittleGhost::Tools::Filesystem::WriteFile](LittleGhost/Tools/Filesystem/WriteFile.md) — Writes one UTF-8 text file through a writable sandbox.
- [LittleGhost::Tools::Shell](LittleGhost/Tools/Shell.md) — Shell lets an agent run a command through the configured Sandbox.
- [LittleGhost::Tools::WriteTodos](LittleGhost/Tools/WriteTodos.md) — WriteTodos lets an agent share a live plan with the application and the person following its work.
- [LittleGhost::Tracing](LittleGhost/Tracing.md) — Optional adapters for sending LittleGhost instrumentation to tracing tools.
- [LittleGhost::Tracing::OpenTelemetry](LittleGhost/Tracing/OpenTelemetry.md) — OpenTelemetry turns LittleGhost lifecycle notifications into GenAI spans and events.
- [LittleGhost::Tracing::PayloadLimiter](LittleGhost/Tracing/PayloadLimiter.md) — Keeps span attributes within a byte budget before a tracing backend rejects or silently drops them.
- [LittleGhost::TrustedPath](LittleGhost/TrustedPath.md) — Marks a caller-supplied prompt directory as trusted application code.
- [LittleGhost::UnsupportedInputError](LittleGhost/UnsupportedInputError.md) — Raised when an invocation contains an unsupported input form.
- [LittleGhost::UnsupportedModelOperationError](LittleGhost/UnsupportedModelOperationError.md) — Raised when a provider does not implement the requested model operation.
- [LittleGhost::UnsupportedPlatformError](LittleGhost/UnsupportedPlatformError.md) — Raised when a sandbox backend does not support the current operating system.
- [LittleGhost::Usage](LittleGhost/Usage.md) — Usage makes token accounting consistent across model providers.
- [LittleGhost::Workflow](LittleGhost/Workflow.md) — Coordinates Assembly participants with ordinary Ruby control flow.
- [LittleGhost::Workflow::Invocation](LittleGhost/Workflow/Invocation.md) — Holds one lazy Assembly call inside a workflow composition.
- [LittleGhost::WorkflowBuilder](LittleGhost/WorkflowBuilder.md) — Builds a Workflow whose Ruby composition block is supplied at runtime.
- [LittleGhost::Workspace](LittleGhost/Workspace.md) — A Workspace names the host paths associated with a Run.
