Implementations

Reference implementations, SDKs, and testing tools for TCF.

Official Reference Implementations

๐Ÿฆ€

tcf-core-rs

Rust ยท v0.4.0

Reference implementation of the TCF protocol. Full support for all transport bindings, E2EE via MLS, and a compliance test suite.

View on crates.io โ†’
๐Ÿ“˜

tcf-js

TypeScript ยท v0.4.0

Browser and Node.js SDK with WebSocket and HTTP/2 transports. Includes React hooks for building chat UIs.

View on npm โ†’
๐Ÿ

tcf-py

Python ยท v0.4.0

Python SDK with async support. Ideal for AI agent integrations and server-side applications.

View on PyPI โ†’

Community SDKs

๐Ÿน

tcf-go

Go ยท v0.3.1

Community-maintained Go implementation. Supports WebSocket transport.

โ˜•

tcf-java

Java ยท v0.2.0

Spring Boot integration for TCF. Community project by @javachat.

Tools

  • TCF Inspector โ€” CLI tool for debugging TCF message streams
  • TCF Compliance Suite โ€” Automated tests to verify spec compliance
  • TCF Playground โ€” Web-based sandbox for testing messages