components/

directory
v0.0.0-...-3309b9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: MIT

Directories

Path Synopsis
agent
memory/file
Package file provides a simple JSONL-backed MemoryStore implementation.
Package file provides a simple JSONL-backed MemoryStore implementation.
memory/opensearch
Package opensearch provides an OpenSearch-backed implementation of the MemoryStore interface for persistent, production-grade agent memory storage with BM25 text search and optional kNN vector search via eino's indexer/opensearch and retriever/opensearch components.
Package opensearch provides an OpenSearch-backed implementation of the MemoryStore interface for persistent, production-grade agent memory storage with BM25 text search and optional kNN vector search via eino's indexer/opensearch and retriever/opensearch components.
profilesupervisor
Package profilesupervisor provides a profile supervisor agent factory that dynamically selects, at runtime, the sub-agent whose shell sandbox uses the right OCI base image for the task.
Package profilesupervisor provides a profile supervisor agent factory that dynamically selects, at runtime, the sub-agent whose shell sandbox uses the right OCI base image for the task.
document
transformer/prune
Package prune provides a document.Transformer that removes documents whose trimmed content is below a configurable minimum length.
Package prune provides a document.Transformer that removes documents whose trimmed content is below a configurable minimum length.
indexer
opensearch
Package opensearch provides an Indexer implementation backed by OpenSearch, plus supporting utilities for index lifecycle management (field mapping merges, source-hash lookups, bulk reconciliation).
Package opensearch provides an Indexer implementation backed by OpenSearch, plus supporting utilities for index lifecycle management (field mapping merges, source-hash lookups, bulk reconciliation).
examples/contextopt_persistent command
Command contextopt_persistent demonstrates how to combine the cross-request session condenser (components/memory/session) with the intra-run context optimizer (components/middleware/contextopt) WITHOUT paying the LLM summarization cost twice.
Command contextopt_persistent demonstrates how to combine the cross-request session condenser (components/memory/session) with the intra-run context optimizer (components/middleware/contextopt) WITHOUT paying the LLM summarization cost twice.
runner
Package runner bridges an eino adk.Runner run to the cross-request session lifecycle (session.Turn) so that any eino project gets streaming + history persistence out of the box, without re-implementing the glue per project.
Package runner bridges an eino adk.Runner run to the cross-request session lifecycle (session.Turn) so that any eino project gets streaming + history persistence out of the box, without re-implementing the glue per project.
session
Package session provides the generic, cross-request lifecycle for persisting a conversation history on top of a memory.Memory store.
Package session provides the generic, cross-request lifecycle for persisting a conversation history on top of a memory.Memory store.
middleware
agentattr
Package agentattr provides an adk.ChatModelAgentMiddleware that attributes the callbacks/activity event stream to a named agent.
Package agentattr provides an adk.ChatModelAgentMiddleware that attributes the callbacks/activity event stream to a named agent.
contextopt
Package contextopt provides context-window optimization strategies (inspired by kilocode's session compaction) for the eino ecosystem.
Package contextopt provides context-window optimization strategies (inspired by kilocode's session compaction) for the eino ecosystem.
promptenhance
Package promptenhance provides an ADK middleware that enhances user prompts through a small model and optionally asks for human approval before sending the enhanced version to the supervisor.
Package promptenhance provides an ADK middleware that enhances user prompts through a small model and optionally asks for human approval before sending the enhanced version to the supervisor.
safety
Package safety provides an adk.ChatModelAgentMiddleware that enforces a safety control layer around LLM tool invocations.
Package safety provides an adk.ChatModelAgentMiddleware that enforces a safety control layer around LLM tool invocations.
model
cachestab
Package cachestab provides a deterministic, non-destructive normalization of tool definitions to maximize prompt-cache stability (port of headroom's tool_def_normalize).
Package cachestab provides a deterministic, non-destructive normalization of tool definitions to maximize prompt-cache stability (port of headroom's tool_def_normalize).
chatmodel
Package chatmodel provides a provider-generic factory for constructing an eino model.ToolCallingChatModel from a single, additive Config.
Package chatmodel provides a provider-generic factory for constructing an eino model.ToolCallingChatModel from a single, additive Config.
copilot
Package copilot provides a GitHub Copilot provider implementation.
Package copilot provides a GitHub Copilot provider implementation.
Package prompt provides a base of solid system prompts by type, extensible per project.
Package prompt provides a base of solid system prompts by type, extensible per project.
retriever
tool
github
Package github provides eino tools that interact with GitHub repositories, issues, pull requests, releases, branches, and webhooks.
Package github provides eino tools that interact with GitHub repositories, issues, pull requests, releases, branches, and webhooks.
opensearch_retriever
Package opensearch_retriever provides a generic tool.InvokableTool that wraps the existing OpenSearch retriever, enabling semantic document search via natural-language queries as an invokable tool.
Package opensearch_retriever provides a generic tool.InvokableTool that wraps the existing OpenSearch retriever, enabling semantic document search via natural-language queries as an invokable tool.
shell
Package shell provides an eino shell tool backed by the Dagger engine.
Package shell provides an eino shell tool backed by the Dagger engine.
websearch
Package websearch provides eino tools for DuckDuckGo web search and URL fetching with anti-bot mitigations (cookie jar, browser headers, session warm-up), HTML-to-Markdown conversion, and SSRF protection.
Package websearch provides eino tools for DuckDuckGo web search and URL fetching with anti-bot mitigations (cookie jar, browser headers, session warm-up), HTML-to-Markdown conversion, and SSRF protection.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL