Glossary

Definitions of key terms used throughout the Orchid documentation.

A quick-reference dictionary of terms used across the Orchid documentation. Each entry links to the page where the concept is explained in depth.

TermDefinition
AgentA named, YAML-configured unit of intelligence that handles a specific domain. Each agent has a description, a set of tools, and an optional custom class. See Agents.
Agentic loopThe inner reasoning cycle where an LLM issues tool_calls, the framework executes them, and the results are fed back until the LLM produces a final answer. See Agents.
AGENTS.mdA per-package Markdown file containing AI-specific context: structure, rules, patterns, and pitfalls.
Bearer tokenAn HTTP Authorization: Bearer <token> credential. Orchid resolves it to an OrchidAuthContext at the API entry point via OrchidIdentityResolver. See OAuth & Auth.
BoilerplateThe minimal code needed to wire a new consumer agent into Orchid — typically a YAML entry plus an optional Python subclass of OrchidAgent.
DCR (Dynamic Client Registration)RFC 7591 — the protocol Orchid uses in oauth MCP auth mode to register a new OAuth client with a server's authorisation server at runtime, without pre-provisioned credentials. See OAuth & Auth.
EmbeddingA fixed-length numeric vector that encodes the semantic meaning of a text chunk. Orchid uses embeddings to index and retrieve documents in the vector store (Qdrant or ChromaDB). See Embeddings.
Hierarchical RAGOrchid's five-level scoping system (root → tenant → user → chat → agent) that controls which vector collections an agent can read from. See Hierarchical RAG.
BloomThe execution layer of Pollen + Bloom. Triggers match incoming Signals and run them through the LangGraph supervisor as JobRuns. See Pollen + Bloom.
LLMProviderThe abstract interface (orchid_ai.core.llm) for simple text completions. Injected by the graph builder; consumer agents call self.summarise() rather than depending on a concrete provider.
Mini-agentA parallel sub-agent forked by an opt-in parent during a single turn. The parent decomposes the request, N minis run focused agentic loops in parallel, and an aggregator synthesises the outcomes. See Mini-Agents.
OrchidAgentThe base ABC (orchid_ai.core.agent) that every agent class extends. Provides run(), summarise(), extract_conversation_history(), and RAG helpers. See Agents.
OrchidAuthContextA dataclass (orchid_ai.core.state) carrying tenant_key, user_id, and bearer_header. Resolved once at the API entry point and threaded through the graph. See OAuth & Auth.
OrchidChatStorageThe ABC (orchid_ai.persistence.base) for chat session and message persistence. The library ships a PostgreSQL implementation; consumers can provide alternatives. See Persistence.
OrchidMCPClientThe abstract MCP client (orchid_ai.core.mcp) combining OrchidMCPToolCaller and OrchidMCPDiscoverable. Handles capability discovery, caching, and tool invocation. See MCP Integration.
OrchidRAGScopeA frozen dataclass (orchid_ai.rag.scopes) that constructs typed, hierarchical filter objects for the vector store backend. Always use this — never pass raw tenant_id strings. See Hierarchical RAG.
Parse-onceThe pattern of calling extract_text() exactly once per document and passing the result to both the prompt builder and ingest_document(pre_extracted_text=...). Avoids double-parsing cost. See Document Parsing.
PollenThe event-ingestion substrate of Pollen + Bloom. Ingests, persists, and dispatches immutable Signals from webhooks, schedulers, agents, or custom producers. See Pollen + Bloom.
Passthrough authMCP auth mode where the user's bearer token is forwarded unchanged to the MCP server. The server must trust the same identity provider as the Orchid API. See MCP Integration.
Scope (RAG)A level in the five-level hierarchy (root / tenant / user / chat / agent) that determines which vector collections are visible to a retrieval query. See Hierarchical RAG.
Sliding-window summarizationAn opt-in supervisor feature that compresses older conversation turns into a summary, keeping only the most recent exchanges verbatim. Reduces token usage for long sessions. See Supervisor.
SupervisorThe LangGraph node that routes user messages to the correct agent, manages conversation history, and assembles the final response. Configurable via the supervisor: YAML section. See Supervisor.
Tool strategyThe algorithm used by GenericAgent to invoke tools during skill execution: all (parallel), sequential, or llm_decides. See Tool Strategies.
Vector storeA database optimised for approximate nearest-neighbour search over embedding vectors. Orchid supports Qdrant (full-featured, containerised) and ChromaDB (embedded, on-disk, zero-infra CLI default). See Hierarchical RAG.
YAML-firstOrchid's design principle that new agents, tool strategies, and parser registrations are added via YAML configuration rather than code changes, following the Open/Closed principle. See Configuration.