Meaning and contracts
Exact schema execution, typed contracts, pack compilation, reference replay, reward aggregation, semantic hashes, and the control-plane client.
@t2kai/core
Developer preview
T2K gives your application a persistent semantic layer for what exists, what is true now, what matters, what is allowed, what ran, and what happened next. You keep the model runtime and tools. T2K keeps the decision legible and governable.
A real package boundary
T2K does not require your agent, connector framework, or vertical workflow to move inside Studio. Each runtime remains independently testable, versioned, and replaceable.
Exact schema execution, typed contracts, pack compilation, reference replay, reward aggregation, semantic hashes, and the control-plane client.
@t2kai/core
Registry, graph ownership, evidence, Decision Contexts, authority, episodes, active policy delivery, held-out replay, human review, REST, MCP, and audit.
studio.t2k.ai
Domain packs, business facts, model runtime, tools, connectors, execution, measurements, and the user experience.
your agent or product
Open developer preview
The standard, compiler, typed contracts, client, reference evaluator, conformance kit, synthetic Harborlight replay, and tested project scaffold are public under Apache-2.0. The provenance-backed npm packages and clean-install path are verified on Node 20 and 22.
npx create-t2k@latest my-decision-loopcd my-decision-loop && npm startontology + facts + policies + evidencerecommendation != authorizationontology-pack.json
decision-context.json
policies/
baseline.json
candidate.json
episodes/
holdout.json
src/
run.mjs
$ npm start
replay.status passed
candidate.action rebalance_route
recommendation.status eligible_for_human_review
authorization.status not_authorized
Canonical agent loop
Each boundary creates an object you can inspect later. No outcome silently becomes truth, reward, or a production policy update.
Three compatible interfaces
T2kClient covers registry, graph, decision, execution, learning, publication, and rollback workflows. @t2kai/core@0.1.0 and create-t2k@0.1.0 are published with GitHub Actions provenance and verified registry attestations.
Approved Studio integrations call versioned /api/v1 routes with scoped API keys. Never ship keys in browser code.
Connect at POST /api/mcp. MCP obeys the same scope, graph, mount, authority, and lifecycle controls.
GET /api/healthGET /api/ready/schemas/t2k-ontology-pack.v1.schema.jsonatomic activation + rollbackStart with one decision
Compile a small pack, bind a private graph, and close one measurable episode end to end.