Skip to content

Repository files navigation

Agent Trail TypeScript SDK

Note

This repository owns SDK package behavior. Agent Trail wire-format decisions live in the spec repository.

TypeScript packages for Agent Trail schema assets, generated types, core JSONL utilities, adapter authoring, source-agent adapters, redaction, catalog metadata, render models, workflow orchestration, and content-addressed local storage.

Packages

PackagePurpose
@agent-trail/schemaVendored Agent Trail schema and validation fixtures.
@agent-trail/typesGenerated TypeScript declarations for Agent Trail records.
@agent-trail/coreJSONL parsing, validation, hashing, serialization, and reconciliation.
@agent-trail/adapter-kitReader, mapping, source-schema, and reconciler primitives for adapters.
@agent-trail/source-schemasJSON Schemas for supported upstream source-agent records.
@agent-trail/adaptersConcrete adapters for supported coding agents.
@agent-trail/catalogSQLite catalog primitives for source sessions, stored objects, and shares.
@agent-trail/redactRedaction APIs and configuration loading for shared trails.
@agent-trail/storeContent-addressed local store for finalized trail artifacts.
@agent-trail/render-modelRenderer-agnostic transcript model for viewers.
@agent-trail/sessionsWorkflow APIs for discover, list, load, share, and export.

Contributor Docs

Related Repositories

Development

mise run setup
mise run check

Use mise run check:actions after editing GitHub Actions workflows.

See CONTRIBUTING.md for workflow and PR expectations.

License

MIT. See LICENSE.

About

TypeScript SDK packages for reading, writing, validating, redacting, and storing Agent Trail files

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages