Skip to content

agent-trail/typescript-sdk

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

Package Purpose
@agent-trail/schema Vendored Agent Trail schema and validation fixtures.
@agent-trail/types Generated TypeScript declarations for Agent Trail records.
@agent-trail/core JSONL parsing, validation, hashing, serialization, and reconciliation.
@agent-trail/adapter-kit Reader, mapping, source-schema, and reconciler primitives for adapters.
@agent-trail/source-schemas JSON Schemas for supported upstream source-agent records.
@agent-trail/adapters Concrete adapters for supported coding agents.
@agent-trail/catalog SQLite catalog primitives for source sessions, stored objects, and shares.
@agent-trail/redact Redaction APIs and configuration loading for shared trails.
@agent-trail/store Content-addressed local store for finalized trail artifacts.
@agent-trail/render-model Renderer-agnostic transcript model for viewers.
@agent-trail/sessions Workflow 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

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors