core/

directory
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT

Directories

Path Synopsis
Package agentcore is a reusable, product-agnostic agent runtime: the turn loop, tool calling, hooks, permissions, memory, and the Agent Definition.
Package agentcore is a reusable, product-agnostic agent runtime: the turn loop, tool calling, hooks, permissions, memory, and the Agent Definition.
engine
Code generated by testdata/generate-format-patterns.ts; DO NOT EDIT.
Code generated by testdata/generate-format-patterns.ts; DO NOT EDIT.
host
Package host supplies reusable policy and checkpoint utilities around the native engine.
Package host supplies reusable policy and checkpoint utilities around the native engine.
ai
Package ai owns provider transports, native transcripts, stream events, OAuth/account pools and model catalogs.
Package ai owns provider transports, native transcripts, stream events, OAuth/account pools and model catalogs.
jscompat
Package jscompat holds the JavaScript semantics that the core/ai port of Pi emulates: Number() and parseFloat parsing, ECMAScript whitespace, JSON repair and streaming parse, JSON.stringify, URLSearchParams encoding, lone surrogate sanitising, and the Object/property helpers (Object.values, property reads, strict equality, SameValueZero, spread) used by the model catalog and auth code.
Package jscompat holds the JavaScript semantics that the core/ai port of Pi emulates: Number() and parseFloat parsing, ECMAScript whitespace, JSON repair and streaming parse, JSON.stringify, URLSearchParams encoding, lone surrogate sanitising, and the Object/property helpers (Object.values, property reads, strict equality, SameValueZero, spread) used by the model catalog and auth code.
protocol
Package protocol owns provider-neutral request, capability, session and error contracts shared by AI clients and agent plugins.
Package protocol owns provider-neutral request, capability, session and error contracts shared by AI clients and agent plugins.
Package jsonjs normalizes serialized JSON using JavaScript value semantics.
Package jsonjs normalizes serialized JSON using JavaScript value semantics.
Package telemetry ports Pi's explicit-parent, callback-scoped telemetry to Go.
Package telemetry ports Pi's explicit-parent, callback-scoped telemetry to Go.
export
Package export delivers telemetry to host-owned sinks.
Package export delivers telemetry to host-owned sinks.

Jump to

Keyboard shortcuts

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