Skip to content

tailored-agentic-units/protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protocol

Foundation types for the TAU agent ecosystem.

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

Packages

Package Purpose
protocol Protocol constants (Chat, Vision, Tools, Embeddings, Audio), Message, Role, ToolCall types
config AgentConfig, ClientConfig, ProviderConfig, ModelConfig with JSON serialization and merge support
response Unified Response with ContentBlock interface (TextBlock, ToolUseBlock), StreamingResponse, EmbeddingsResponse
model Runtime Model type bridging configuration to domain
streaming StreamReader interface and StreamLine type for streamed LLM responses

Usage

import (
    "github.com/tailored-agentic-units/protocol"
    "github.com/tailored-agentic-units/protocol/config"
)

// Create messages
messages := []protocol.Message{
    protocol.SystemMessage("You are a helpful assistant."),
    protocol.UserMessage("Hello!"),
}

// Load agent configuration from JSON
cfg, err := config.LoadAgentConfig("agent.json")

Dependencies

Standard library only.

About

TAU Protocol — foundational types for the TAU agent ecosystem: protocol constants, message types, configuration, response model, streaming interfaces

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages