Wire format abstraction for LLM APIs in the TAU ecosystem.
go get github.com/tailored-agentic-units/format
The root module exposes the Format interface, data types, and a thread-safe registry. Concrete implementations live in sub-modules with their own go.mod, keeping the root dependency-free from provider-specific SDKs.
format (root) — Format interface, registry, data types
openai/ — OpenAI-compatible format (sub-module)
converse/ — AWS Bedrock Converse format (sub-module)
| Module | Install | Protocols |
|---|---|---|
| openai | go get github.com/tailored-agentic-units/format/openai |
Chat, Vision, Tools, Embeddings |
| converse | go get github.com/tailored-agentic-units/format/converse |
Chat, Vision, Tools |
Sub-modules use explicit registration — no hidden init() side effects:
import (
"github.com/tailored-agentic-units/format"
"github.com/tailored-agentic-units/format/openai"
)
func main() {
openai.Register()
f, err := format.Create("openai")
}- Root:
github.com/tailored-agentic-units/protocol - Sub-modules: root + protocol (no cloud SDKs)