Directories
¶
| Path | Synopsis |
|---|---|
|
agentcore
|
|
|
artifact
Package artifact is the Artifact Core: Ref, Binding and the two-state RetentionLedger.
|
Package artifact is the Artifact Core: Ref, Binding and the two-state RetentionLedger. |
|
artifact/artifacttest
Package artifacttest is the conformance suite of the Artifact Core (agent-artifact.md section 8).
|
Package artifacttest is the conformance suite of the Artifact Core (agent-artifact.md section 8). |
|
chatlog
Package chatlog is the first-party conversation module.
|
Package chatlog is the first-party conversation module. |
|
checkpoint
Package checkpoint is the consumer's position in a ledger: the durable cursor of a catch-up subscription.
|
Package checkpoint is the consumer's position in a ledger: the durable cursor of a catch-up subscription. |
|
checkpoint/checkpointtest
Package checkpointtest holds the reference implementation of the checkpoint.Store contract and its conformance suite.
|
Package checkpointtest holds the reference implementation of the checkpoint.Store contract and its conformance suite. |
|
compaction
Package compaction records Session context-maintenance operations.
|
Package compaction records Session context-maintenance operations. |
|
driver
Package driver performs finite advancement of durable Turns.
|
Package driver performs finite advancement of durable Turns. |
|
executor
Package executor makes provider effects durable: a Worker owns the execution record of every accepted Assignment -- its payload, its ExecutionRef, its lifecycle state and its Outcome -- and hands the effect itself to one Backend chosen once, at Dispatch.
|
Package executor makes provider effects durable: a Worker owns the execution record of every accepted Assignment -- its payload, its ExecutionRef, its lifecycle state and its Outcome -- and hands the effect itself to one Backend chosen once, at Dispatch. |
|
executor/notice
Package notice is the one bounded notice log every settlement source in the executor tier keeps: a Worker announcing that an AssignmentKey settled, a Backend announcing that a Ref settled.
|
Package notice is the one bounded notice log every settlement source in the executor tier keeps: a Worker announcing that an AssignmentKey settled, a Backend announcing that a Ref settled. |
|
executor/protocol
Package protocol defines the wire/application protocol for the process- independent effect port in agent/run/effect.
|
Package protocol defines the wire/application protocol for the process- independent effect port in agent/run/effect. |
|
executor/store
Package store is the Executor's authority over one execution: the commit ledger of an effect's attempts and the lease that fences its writers.
|
Package store is the Executor's authority over one execution: the commit ledger of an effect's attempts and the lease that fences its writers. |
|
executor/store/storetest
Package storetest holds the reference implementation of the execution store contract and the conformance suite every adapter runs.
|
Package storetest holds the reference implementation of the execution store contract and the conformance suite every adapter runs. |
|
history
Package history answers fork-boundary questions about a Session's ledger: it reads the turn and chatlog event types, so callers need not scan raw commits themselves.
|
Package history answers fork-boundary questions about a Session's ledger: it reads the turn and chatlog event types, so callers need not scan raw commits themselves. |
|
jsonstable
Package jsonstable provides immutable RFC 8785 (JCS) JSON values for agent wire protocols, and the stable identity computed over them: Digest, typed-payload digest preimages, and strict decoding.
|
Package jsonstable provides immutable RFC 8785 (JCS) JSON values for agent wire protocols, and the stable identity computed over them: Digest, typed-payload digest preimages, and strict decoding. |
|
ledger
Package ledger is the commit vocabulary of an append-only event ledger: commits and their event batches, the domains that group a commit's events, positions and heads, and the classified errors every store over it reports.
|
Package ledger is the commit vocabulary of an append-only event ledger: commits and their event batches, the domains that group a commit's events, positions and heads, and the classified errors every store over it reports. |
|
module
Package module is the framework the ledger's writers declare themselves through: a module names its event types with versioned codecs, the stream domains it owns and how each reads across a parent edge, the projections it folds and the modules it requires.
|
Package module is the framework the ledger's writers declare themselves through: a module names its event types with versioned codecs, the stream domains it owns and how each reads across a parent edge, the projections it folds and the modules it requires. |
|
observe
Package observe carries a Session's observations in two streams.
|
Package observe carries a Session's observations in two streams. |
|
preset
Package preset is the authority-side catalog of decision identities: an AgentPreset in, a digest-checked PresetRef out.
|
Package preset is the authority-side catalog of decision identities: an AgentPreset in, a digest-checked PresetRef out. |
|
prompt
Package prompt is the model-input seam of the agent core: the catalog that resolves an AgentPreset's PromptBuilderRef to a PromptBuilder and the Sources a builder reads from.
|
Package prompt is the model-input seam of the agent core: the catalog that resolves an AgentPreset's PromptBuilderRef to a PromptBuilder and the Sources a builder reads from. |
|
run
Package run defines a Run: one execution attempt with a unique identity that is recoverable and never rewritten.
|
Package run defines a Run: one execution attempt with a unique identity that is recoverable and never rewritten. |
|
run/canonical
Package canonical is the canonical identity of a Run: the digest rules (Digests) for every body a fact names or a derived identity covers, and the derivation (Identity) of every RunID-scoped identity -- step, call, response, effect and command ids.
|
Package canonical is the canonical identity of a Run: the digest rules (Digests) for every body a fact names or a derived identity covers, and the derivation (Identity) of every RunID-scoped identity -- step, call, response, effect and command ids. |
|
run/effect
Package effect defines the process-independent protocol between the Run Loop and the component that performs model/tool effects.
|
Package effect defines the process-independent protocol between the Run Loop and the component that performs model/tool effects. |
|
run/frozen
Package frozen is the frozen-body protocol of a Run.
|
Package frozen is the frozen-body protocol of a Run. |
|
run/model
Package model holds the durable, provider-neutral model data a Run persists by digest: ModelRequest, Message, ToolDefinition, ModelResult, Usage and their parts, plus the canonical rendering of tool arguments.
|
Package model holds the durable, provider-neutral model data a Run persists by digest: ModelRequest, Message, ToolDefinition, ModelResult, Usage and their parts, plus the canonical rendering of tool arguments. |
|
run/plan
Package plan derives what a Run's MachineState asks for next and persists none of it.
|
Package plan derives what a Run's MachineState asks for next and persists none of it. |
|
run/reconcile
Package reconcile compares durable Run intents with Execution Authority.
|
Package reconcile compares durable Run intents with Execution Authority. |
|
run/redispatch
Package redispatch is the dispatch ledger of one effect: the process manager's own decisions.
|
Package redispatch is the dispatch ledger of one effect: the process manager's own decisions. |
|
run/redispatch/redispatchtest
Package redispatchtest holds the reference implementation of the dispatch ledger contract (redispatch.Store) and its conformance suite.
|
Package redispatchtest holds the reference implementation of the dispatch ledger contract (redispatch.Store) and its conformance suite. |
|
run/schema
Package schema composes the Run protocol's contracts: the state machine, the fact and command codec, the digest rules, the snapshot codec, the identity derivation and the frozen-body codec.
|
Package schema composes the Run protocol's contracts: the state machine, the fact and command codec, the digest rules, the snapshot codec, the identity derivation and the frozen-body codec. |
|
run/sessionstore
Package sessionstore is the Run domain over a Session ledger: the twilight/run/ event definitions, the twilight/run/machine projection, the frozen-body store over the content store, and the RunStore adapter (SessionRunStore) that commits Run commands through a Session Writer.
|
Package sessionstore is the Run domain over a Session ledger: the twilight/run/ event definitions, the twilight/run/machine projection, the frozen-body store over the content store, and the RunStore adapter (SessionRunStore) that commits Run commands through a Session Writer. |
|
run/sessionstore/sessionstoretest
Package sessionstoretest builds the Run session store's ports over throwaway durable stores for tests.
|
Package sessionstoretest builds the Run session store's ports over throwaway durable stores for tests. |
|
run/sessionstore/storetest
Package storetest is the RunStore conformance suite.
|
Package storetest is the RunStore conformance suite. |
|
run/store
Package store is the transactional boundary of a Run: the RunStore port a Loop drives, the Snapshot a command sees, the CommitRequest and CommitResult of one command, the pure EvaluateCommit every adapter runs inside its own commit, and FoldRun, the rebuild of a MachineState from a Run's complete fact sequence.
|
Package store is the transactional boundary of a Run: the RunStore port a Loop drives, the Snapshot a command sees, the CommitRequest and CommitResult of one command, the pure EvaluateCommit every adapter runs inside its own commit, and FoldRun, the rebuild of a MachineState from a Run's complete fact sequence. |
|
run/wire
Package wire is the persisted protocol of Run facts and commands: the sealed variant registry of each schema version, the typed fact payloads and the command envelope, and the codec that stores a MachineState as a durable snapshot.
|
Package wire is the persisted protocol of Run facts and commands: the sealed variant registry of each schema version, the typed fact payloads and the command envelope, and the codec that stores a MachineState as a durable snapshot. |
|
runtime
Package runtime interprets a Session's durable conversation state.
|
Package runtime interprets a Session's durable conversation state. |
|
runtime/runtimetest
Package turntest is the Store-parameterized conformance suite of the Turn module.
|
Package turntest is the Store-parameterized conformance suite of the Turn module. |
|
session
Package session is the Session kernel: the lineage tree of immutable commit segments and the storage, ownership and read machinery over them.
|
Package session is the Session kernel: the lineage tree of immutable commit segments and the storage, ownership and read machinery over them. |
|
session/filestore
Package filestore is the JSONL-backed session.Store: the kernel Ledger over a file Storage.
|
Package filestore is the JSONL-backed session.Store: the kernel Ledger over a file Storage. |
|
session/filestore/filestoretest
Package filestoretest opens throwaway file-backed stores for tests: the JSONL Session ledger and the cas content store, each under t.TempDir.
|
Package filestoretest opens throwaway file-backed stores for tests: the JSONL Session ledger and the cas content store, each under t.TempDir. |
|
session/sessiontest
Package sessiontest is the Store-parameterized conformance suite of the Session kernel (agent-session.md section 7).
|
Package sessiontest is the Store-parameterized conformance suite of the Session kernel (agent-session.md section 7). |
|
session/unit
Package unit is the one place a cross-module commit of a Session is assembled.
|
Package unit is the one place a cross-module commit of a Session is assembled. |
|
session/writer
Package writer is the single in-process write entry of one Session A commit is a pipeline of stages, one per file: encoding and stream affinity (encode.go), artifact admission and retention claims (admission.go), projection folding and cache (projector.go), observer fan-out (observers.go).
|
Package writer is the single in-process write entry of one Session A commit is a pipeline of stages, one per file: encoding and stream affinity (encode.go), artifact admission and retention claims (admission.go), projection folding and cache (projector.go), observer fan-out (observers.go). |
|
session/writer/writertest
Package writertest composes explicit acquisition, binding and cleanup for tests.
|
Package writertest composes explicit acquisition, binding and cleanup for tests. |
|
sessionkernel
Package sessionkernel is the Session-side semantic mechanism: the durable fact layer one Session's meaning lives in -- the Store and its Writers, the module Registry and the projections folded from it, the Run module's Session adapter, the Turn protocol's committer, the chatlog's commands, the content store behind the frozen bodies and the fork/collect lifecycle over the Store.
|
Package sessionkernel is the Session-side semantic mechanism: the durable fact layer one Session's meaning lives in -- the Store and its Writers, the module Registry and the projections folded from it, the Run module's Session adapter, the Turn protocol's committer, the chatlog's commands, the content store behind the frozen bodies and the fork/collect lifecycle over the Store. |
|
testutil/local
Package local is the colocated executor: model and tool effects run in goroutines of this process against a static Catalog.
|
Package local is the colocated executor: model and tool effects run in goroutines of this process against a static Catalog. |
|
testutil/sdkconv
Package sdkconv provides test-side conversions between the SDK's model types and the persisted values of agentcore/run/model.
|
Package sdkconv provides test-side conversions between the SDK's model types and the persisted values of agentcore/run/model. |
|
turn
Package turn is the Turn module: the logical Turn's own facts (started, failed, superseded), the identity derivations that name them, the protocol vocabulary operated on them and the surface that projects Turn state from the Session's facts.
|
Package turn is the Turn module: the logical Turn's own facts (started, failed, superseded), the identity derivations that name them, the protocol vocabulary operated on them and the surface that projects Turn state from the Session's facts. |
|
internal
|
|
|
canonicaljson
Package canonicaljson is the one RFC 8785 (JCS) rule of the module: the SDK canonicalizes the raw JSON it first carries with it, and the agent's stable values re-canonicalize with it, so bytes produced on one side are the same bytes on the other.
|
Package canonicaljson is the one RFC 8785 (JCS) rule of the module: the SDK canonicalizes the raw JSON it first carries with it, and the agent's stable values re-canonicalize with it, so bytes produced on one side are the same bytes on the other. |
|
errorformat
Package errorformat decodes the error body formats that more than one provider package receives, such as OpenAI's, which OpenAI-compatible APIs copy.
|
Package errorformat decodes the error body formats that more than one provider package receives, such as OpenAI's, which OpenAI-compatible APIs copy. |
|
messagecompat
Package messagecompat normalizes provider-agnostic SDK messages for the instruction-role capabilities of a concrete provider protocol.
|
Package messagecompat normalizes provider-agnostic SDK messages for the instruction-role capabilities of a concrete provider protocol. |
|
reqheaders
Package reqheaders carries per-request HTTP headers on a context.
|
Package reqheaders carries per-request HTTP headers on a context. |
|
provider
|
|
|
alibabacloud/images
Package images provides an Alibaba Cloud Model Studio DashScope image provider.
|
Package images provides an Alibaba Cloud Model Studio DashScope image provider. |
|
alibabacloud/speech
Package speech provides an Alibaba Cloud DashScope CosyVoice TTS provider.
|
Package speech provides an Alibaba Cloud DashScope CosyVoice TTS provider. |
|
ark/videos
Package videos provides Ark / ModelArk video generation support for BytePlus ModelArk and Volcengine Ark data-plane APIs.
|
Package videos provides Ark / ModelArk video generation support for BytePlus ModelArk and Volcengine Ark data-plane APIs. |
|
deepgram/speech
Package speech provides a Deepgram TTS provider.
|
Package speech provides a Deepgram TTS provider. |
|
elevenlabs/speech
Package speech provides an ElevenLabs TTS provider.
|
Package speech provides an ElevenLabs TTS provider. |
|
microsoft/speech
Package speech provides a Microsoft Azure Cognitive Services Text-to-Speech provider.
|
Package speech provides a Microsoft Azure Cognitive Services Text-to-Speech provider. |
|
minimax/speech
Package speech provides a MiniMax TTS provider.
|
Package speech provides a MiniMax TTS provider. |
|
openai/speech
Package speech provides an OpenAI-compatible TTS provider that targets the /audio/speech endpoint.
|
Package speech provides an OpenAI-compatible TTS provider that targets the /audio/speech endpoint. |
|
opencode/go
Package opencodego provides OpenCode Go through its Completions endpoint, and through Responses or Anthropic Messages for the models documented there.
|
Package opencodego provides OpenCode Go through its Completions endpoint, and through Responses or Anthropic Messages for the models documented there. |
|
openrouter/speech
Package speech provides an OpenRouter TTS provider.
|
Package speech provides an OpenRouter TTS provider. |
|
openrouter/videos
Package videos provides OpenRouter video generation support.
|
Package videos provides OpenRouter video generation support. |
|
providertest
Package providertest is the seam conformance suite for chat providers.
|
Package providertest is the seam conformance suite for chat providers. |
|
volcengine/speech
Package speech provides a Volcengine SAMI TTS provider.
|
Package speech provides a Volcengine SAMI TTS provider. |
Click to show internal directories.
Click to hide internal directories.