Directories
¶
| Path | Synopsis |
|---|---|
|
Package assistants provides core logic for LLM agents, including assistant orchestration, tool integration, and callback handling.
|
Package assistants provides core logic for LLM agents, including assistant orchestration, tool integration, and callback handling. |
|
Package chatmodel includes base IO schema definitions and message types for chat-based LLMs.
|
Package chatmodel includes base IO schema definitions and message types for chat-based LLMs. |
|
Package encoding provides a pluggable framework for encoding and decoding data in various formats (JSON, YAML, TOML, etc.) for agentic flows.
|
Package encoding provides a pluggable framework for encoding and decoding data in various formats (JSON, YAML, TOML, etc.) for agentic flows. |
|
dummy
Package dummy encoder/decoder
|
Package dummy encoder/decoder |
|
json
Package json json encoder/decoder
|
Package json json encoder/decoder |
|
toml
Package toml encoder/decoder
|
Package toml encoder/decoder |
|
yaml
Package yaml encoder/decoder
|
Package yaml encoder/decoder |
|
Package mcp provides support for Message Control Protocol (MCP) transports, including local and SSE-based communication for distributed agentic flows.
|
Package mcp provides support for Message Control Protocol (MCP) transports, including local and SSE-based communication for distributed agentic flows. |
|
internal/protocol
This file implements the core protocol layer for JSON-RPC communication in the MCP SDK.
|
This file implements the core protocol layer for JSON-RPC communication in the MCP SDK. |
|
transport/localtransport
Package localtransport implements local transport mechanisms for MCP, enabling efficient in-process and local communication for agentic flows.
|
Package localtransport implements local transport mechanisms for MCP, enabling efficient in-process and local communication for agentic flows. |
|
transport/sse
Package sse implements Server-Sent Events (SSE) transport for MCP, enabling real-time, bidirectional communication for agentic flows over HTTP.
|
Package sse implements Server-Sent Events (SSE) transport for MCP, enabling real-time, bidirectional communication for agentic flows over HTTP. |
|
transport/sse/internal/sse
Package sse provides the low-level implementation of Server-Sent Events (SSE) transport for MCP, handling connection management, message streaming, and protocol details.
|
Package sse provides the low-level implementation of Server-Sent Events (SSE) transport for MCP, handling connection management, message streaming, and protocol details. |
|
transport/stdio/internal/stdio
This file implements the stdio transport layer for JSON-RPC communication.
|
This file implements the stdio transport layer for JSON-RPC communication. |
|
Package mocks provides mock implementations of assistants, tools, and LLMs for testing and development purposes.
|
Package mocks provides mock implementations of assistants, tools, and LLMs for testing and development purposes. |
|
mockassitants
Package mockassitants is a generated GoMock package.
|
Package mockassitants is a generated GoMock package. |
|
mockllms
Package mockllms is a generated GoMock package.
|
Package mockllms is a generated GoMock package. |
|
mocktools
Package mocktools is a generated GoMock package.
|
Package mocktools is a generated GoMock package. |
|
pkg
|
|
|
llmfactory
Package llmfactory provides factories and configuration for LLM model instantiation, supporting multiple providers (OpenAI, Azure, etc.) and model selection strategies.
|
Package llmfactory provides factories and configuration for LLM model instantiation, supporting multiple providers (OpenAI, Azure, etc.) and model selection strategies. |
|
llms
Package llms provides unified support for interacting with different Language Models (LLMs) from various providers.
|
Package llms provides unified support for interacting with different Language Models (LLMs) from various providers. |
|
llms/googleai
package googleai implements a langchaingo provider for Google AI LLMs.
|
package googleai implements a langchaingo provider for Google AI LLMs. |
|
llms/googleai/internal/cmd
command
Code generator for vertex.go from googleai.go nolint
|
Code generator for vertex.go from googleai.go nolint |
|
llmutils
Package llmutils provides utility functions and helpers for LLM operations, including prompt formatting, message handling, and other agentic utilities.
|
Package llmutils provides utility functions and helpers for LLM operations, including prompt formatting, message handling, and other agentic utilities. |
|
prompts
Package prompts contains types, prompt templates, loading utilities, output parsers, example selectors, and other utilities for working with LLM prompts.
|
Package prompts contains types, prompt templates, loading utilities, output parsers, example selectors, and other utilities for working with LLM prompts. |
|
prompts/internal/fstring
Package fstring contains template format with f-string.
|
Package fstring contains template format with f-string. |
|
schema
Package schema provides utilities for generating JSON schemas from Go types, enabling validation and documentation of tool and message parameters.
|
Package schema provides utilities for generating JSON schemas from Go types, enabling validation and documentation of tool and message parameters. |
|
Package store provides interfaces and implementations for chat and message storage, supporting in-memory and Redis backends for agentic flows.
|
Package store provides interfaces and implementations for chat and message storage, supporting in-memory and Redis backends for agentic flows. |
|
Package tools defines the Tool interface for LLM agents, including registration, parameter schema, and MCP integration.
|
Package tools defines the Tool interface for LLM agents, including registration, parameter schema, and MCP integration. |
Click to show internal directories.
Click to hide internal directories.