Skip to content

tailored-agentic-units/format

Repository files navigation

format

Wire format abstraction for LLM APIs in the TAU ecosystem.

go get github.com/tailored-agentic-units/format

Architecture

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)

Sub-modules

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

Registration

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")
}

Dependencies

  • Root: github.com/tailored-agentic-units/protocol
  • Sub-modules: root + protocol (no cloud SDKs)

About

TAU Format — wire format abstraction for LLM APIs: Format interface, OpenAI and Converse implementations, data types

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages