sdk

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT

Directories

Path Synopsis
Package actor provides a generic, reusable actor pattern for serial message processing with independent context lifecycle.
Package actor provides a generic, reusable actor pattern for serial message processing with independent context lifecycle.
Package errdefs provides behavior-based error classification.
Package errdefs provides behavior-based error classification.
Package event provides a subject-routed publish/subscribe bus for Envelopes, plus an in-memory implementation suitable for single-process fan-out.
Package event provides a subject-routed publish/subscribe bus for Envelopes, plus an in-memory implementation suitable for single-process fan-out.
Package graph implements the core graph engine for FlowCraft.
Package graph implements the core graph engine for FlowCraft.
compiler
Package compiler provides the GraphCompiler that transforms a GraphDefinition into a CompiledGraph with static analysis.
Package compiler provides the GraphCompiler that transforms a GraphDefinition into a CompiledGraph with static analysis.
executor
Package executor provides the graph execution engine.
Package executor provides the graph execution engine.
node
Package node provides the Go-native LLM and Knowledge graph nodes.
Package node provides the Go-native LLM and Knowledge graph nodes.
node/scripts
Package scripts embeds all built-in JS node scripts via embed.FS.
Package scripts embeds all built-in JS node scripts via embed.FS.
variable
Package variable provides a typed variable system for the graph engine.
Package variable provides a typed variable system for the graph engine.
Package history manages conversation transcripts: append messages, load them back fitted to a model's context window, and (optionally) compact older turns into hierarchical summaries to keep that window finite.
Package history manages conversation transcripts: append messages, load them back fitted to a model's context window, and (optionally) compact older turns into hierarchical summaries to keep that window finite.
Package knowledge provides a side-effect-free knowledge base library: document storage, chunking, tokenization, and BM25 / semantic / hybrid retrieval over layered context (L0 abstract, L1 overview, L2 chunks).
Package knowledge provides a side-effect-free knowledge base library: document storage, chunking, tokenization, and BM25 / semantic / hybrid retrieval over layered context (L0 abstract, L1 overview, L2 chunks).
Package model defines the shared data types used across the SDK: multi-modal messages, tool calling protocol, and token usage tracking.
Package model defines the shared data types used across the SDK: multi-modal messages, tool calling protocol, and token usage tracking.
Package recall implements long-term agent memory on top of the unified retrieval layer.
Package recall implements long-term agent memory on top of the unified retrieval layer.
Package retrieval defines the unified indexing and retrieval API.
Package retrieval defines the unified indexing and retrieval API.
contract
Package contract provides a backend-agnostic test suite that any retrieval.Index implementation MUST pass.
Package contract provides a backend-agnostic test suite that any retrieval.Index implementation MUST pass.
journal
Package journal provides an optional append-only audit log over retrieval.Index.
Package journal provides an optional append-only audit log over retrieval.Index.
memory
Package memory provides MemoryIndex, the zero-dependency in-process retrieval.Index implementation.
Package memory provides MemoryIndex, the zero-dependency in-process retrieval.Index implementation.
pipeline
Package pipeline composes pluggable retrieval Stages over a retrieval.Index .
Package pipeline composes pluggable retrieval Stages over a retrieval.Index .
Package script defines a language-agnostic script execution interface.
Package script defines a language-agnostic script execution interface.
bindings
Package bindings assembles host capabilities into a script.Env for any script.Runtime implementation (jsrt, luart, etc.).
Package bindings assembles host capabilities into a script.Env for any script.Runtime implementation (jsrt, luart, etc.).
jsrt
Package jsrt provides a goja-based JavaScript implementation of script.Runtime.
Package jsrt provides a goja-based JavaScript implementation of script.Runtime.
luart
Package luart provides a pure-Go Lua 5.1 implementation of script.Runtime using github.com/yuin/gopher-lua (no CGO).
Package luart provides a pure-Go Lua 5.1 implementation of script.Runtime using github.com/yuin/gopher-lua (no CGO).
Package telemetry provides OpenTelemetry initialization and global accessor functions for traces, metrics, and logs.
Package telemetry provides OpenTelemetry initialization and global accessor functions for traces, metrics, and logs.
Package textsearch provides lightweight BM25 text search primitives: tokenizers (ASCII + CJK), Porter stemming, corpus statistics, and scoring.
Package textsearch provides lightweight BM25 text search primitives: tokenizers (ASCII + CJK), Porter stemming, corpus statistics, and scoring.
Package tool provides the tool system for LLM function-calling: Tool interface, Registry, concurrent execution, and schema building.
Package tool provides the tool system for LLM function-calling: Tool interface, Registry, concurrent execution, and schema building.
Package workflow defines the execution blackboard and high-level agent runtime types.
Package workflow defines the execution blackboard and high-level agent runtime types.
Package workspace provides a file-system sandbox abstraction.
Package workspace provides a file-system sandbox abstraction.

Jump to

Keyboard shortcuts

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