Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent is the single home of the agent model:
|
Package agent is the single home of the agent model: |
|
a2a
Package a2a adapts a remote A2A (Agent2Agent) agent into a FlowCraft agent.Engine.
|
Package a2a adapts a remote A2A (Agent2Agent) agent into a FlowCraft agent.Engine. |
|
agenttest
Package agenttest provides reusable contract-test machinery for the interfaces declared in core/agent — agent.Engine, agent.Host, agent.Observer, agent.Referee, agent.CheckpointStore, agent.Resumer, agent.StreamSink, agent.Preparer, agent.Committer, agent.CommitViewProvider, agent.CheckpointSuggester and agent.ScriptRuntime.
|
Package agenttest provides reusable contract-test machinery for the interfaces declared in core/agent — agent.Engine, agent.Host, agent.Observer, agent.Referee, agent.CheckpointStore, agent.Resumer, agent.StreamSink, agent.Preparer, agent.Committer, agent.CommitViewProvider, agent.CheckpointSuggester and agent.ScriptRuntime. |
|
bindings
Package bindings exposes per-execution host APIs to script runtimes.
|
Package bindings exposes per-execution host APIs to script runtimes. |
|
checkpoint/workspace
Package workspace provides an agent.CheckpointStore backed by a workspace.Workspace.
|
Package workspace provides an agent.CheckpointStore backed by a workspace.Workspace. |
|
scriptrt
Package scriptrt owns the deployment resource protocol for script runtimes.
|
Package scriptrt owns the deployment resource protocol for script runtimes. |
|
scriptrt/jsrt
Package jsrt provides a goja-based JavaScript implementation of agent.ScriptRuntime.
|
Package jsrt provides a goja-based JavaScript implementation of agent.ScriptRuntime. |
|
scriptrt/luart
Package luart provides a pure-Go Lua 5.1 implementation of agent.ScriptRuntime using github.com/yuin/gopher-lua (no CGO).
|
Package luart provides a pure-Go Lua 5.1 implementation of agent.ScriptRuntime using github.com/yuin/gopher-lua (no CGO). |
|
Package delegation defines backend-neutral contracts for assigning work to another agent or execution target.
|
Package delegation defines backend-neutral contracts for assigning work to another agent or execution target. |
|
hostwrap
Package hostwrap bridges core/delegation and the runtime host factory seam.
|
Package hostwrap bridges core/delegation and the runtime host factory seam. |
|
kanban
Package kanban provides an in-memory core/delegation AsyncBackend and WorkSource.
|
Package kanban provides an in-memory core/delegation AsyncBackend and WorkSource. |
|
kanban/resource
Package resource adapts kanban delegation backends to deployment resources.
|
Package resource adapts kanban delegation backends to deployment resources. |
|
tool
Package delegation exposes backend-neutral delegate, delegation_status, and delegation_targets tools.
|
Package delegation exposes backend-neutral delegate, delegation_status, and delegation_targets tools. |
|
Package deploy assembles a deployment from a resource+agent document: the Document DTO (resources forming a dependency DAG, agents binding them), and the Builder with two phases: Build constructs resources in topological order, Wire attaches observers and hooks and binds agents.
|
Package deploy assembles a deployment from a resource+agent document: the Document DTO (resources forming a dependency DAG, agents binding them), and the Builder with two phases: Build constructs resources in topological order, Wire attaches observers and hooks and binds agents. |
|
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 builds an agent.Engine from a declarative graph definition plus a registry of node types.
|
Package graph builds an agent.Engine from a declarative graph definition plus a registry of node types. |
|
nodes
Package nodes ships the standard node types for graph graphs: inference (single-shot LLM generation) and tool (batch tool execution); the script node lives in the sibling package nodes/script.
|
Package nodes ships the standard node types for graph graphs: inference (single-shot LLM generation) and tool (batch tool execution); the script node lives in the sibling package nodes/script. |
|
resource
Package resource adapts the graph engine to deployment resources: it registers the agent.Engine/graph factory that compiles a [graph.GraphDefinition] with node types wired from resource deps.
|
Package resource adapts the graph engine to deployment resources: it registers the agent.Engine/graph factory that compiles a [graph.GraphDefinition] with node types wired from resource deps. |
|
Package inference is the inference resource.
|
Package inference is the inference resource. |
|
inferencetest
Package inferencetest provides reusable conformance suites for inference providers.
|
Package inferencetest provides reusable conformance suites for inference providers. |
|
route
Package route provides optional model selection above inference.Runtime.
|
Package route provides optional model selection above inference.Runtime. |
|
Package memory defines implementation-neutral capabilities for supplying and accepting agent memory.
|
Package memory defines implementation-neutral capabilities for supplying and accepting agent memory. |
|
hook
Package hook adapts memory capabilities to agent lifecycle hooks.
|
Package hook adapts memory capabilities to agent lifecycle hooks. |
|
render
Package render projects structured memory context into prompt content.
|
Package render projects structured memory context into prompt content. |
|
Package message owns the provider-neutral wire DTOs shared by every chat turn: a role-tagged Message carrying an ordered Content of [Part]s, plus the tool-call DTOs (ToolDefinition, ToolCall, ToolResult) and the JSON Schema helpers that build a ToolDefinition.
|
Package message owns the provider-neutral wire DTOs shared by every chat turn: a role-tagged Message carrying an ordered Content of [Part]s, plus the tool-call DTOs (ToolDefinition, ToolCall, ToolResult) and the JSON Schema helpers that build a ToolDefinition. |
|
media
Package media defines operation-neutral image, audio, and video value types.
|
Package media defines operation-neutral image, audio, and video value types. |
|
Package resource defines FlowCraft's resource protocol: the serializable DTOs of a deployment document (resources with kinds, settings, and DAG dependencies), the Factory contract every resource module implements, and the registry that wires kinds to factories.
|
Package resource defines FlowCraft's resource protocol: the serializable DTOs of a deployment document (resources with kinds, settings, and DAG dependencies), the Factory contract every resource module implements, and the registry that wires kinds to factories. |
|
Package runtime assembles and owns a deployment, its event routing, and transport-neutral sessions.
|
Package runtime assembles and owns a deployment, its event routing, and transport-neutral sessions. |
|
Package sandbox is the agent's execution boundary: where commands run, what they can reach (net), what they can see (env), and how much they can consume (resources).
|
Package sandbox is the agent's execution boundary: where commands run, what they can reach (net), what they can see (env), and how much they can consume (resources). |
|
bwrap
Package bwrap implements core/sandbox.Runner on top of the bubblewrap (https://github.com/containers/bubblewrap) binary — a Linux process isolator built around user / mount / pid / net namespaces and bind mounts.
|
Package bwrap implements core/sandbox.Runner on top of the bubblewrap (https://github.com/containers/bubblewrap) binary — a Linux process isolator built around user / mount / pid / net namespaces and bind mounts. |
|
bwrap/internal/bridge
Package bridge implements the in-netns half of bwrap NetAllowList / NetProxy enforcement.
|
Package bridge implements the in-netns half of bwrap NetAllowList / NetProxy enforcement. |
|
local
Package local provides the no-isolation Runner backed by os/exec.
|
Package local provides the no-isolation Runner backed by os/exec. |
|
seatbelt
Package seatbelt implements core/sandbox.Runner on top of Apple's sandbox-exec (Seatbelt / SBPL) — the only built-in confinement primitive on macOS.
|
Package seatbelt implements core/sandbox.Runner on top of Apple's sandbox-exec (Seatbelt / SBPL) — the only built-in confinement primitive on macOS. |
|
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. |
|
logfile
Package logfile provides an OTel log Exporter that writes records to a rotating local file using natefinch/lumberjack.
|
Package logfile provides an OTel log Exporter that writes records to a rotating local file using natefinch/lumberjack. |
|
mcp
Package mcp attaches Model Context Protocol servers to a [tool.Registry], turning every tool a server exposes into an ordinary [tool.Tool].
|
Package mcp attaches Model Context Protocol servers to a [tool.Registry], turning every tool a server exposes into an ordinary [tool.Tool]. |
|
tooltest
Package tooltest provides reusable fixtures and contract suites for core/tool implementations.
|
Package tooltest provides reusable fixtures and contract suites for core/tool implementations. |
|
Package utils is the shared boundary between authoring formats and the JSON core protocol.
|
Package utils is the shared boundary between authoring formats and the JSON core protocol. |
|
net
Package net contains the shared network-policy and enforcement machinery used by the sandbox backends.
|
Package net contains the shared network-policy and enforcement machinery used by the sandbox backends. |
|
Package workspace provides a persistent, filesystem-shaped storage abstraction for agent state.
|
Package workspace provides a persistent, filesystem-shaped storage abstraction for agent state. |
Click to show internal directories.
Click to hide internal directories.