Directories
ΒΆ
Path | Synopsis |
---|---|
examples/agent-calculator
command
|
|
examples/agent-custom-research
command
|
|
examples/agent-error-handling
command
|
|
examples/agent-events
command
|
|
examples/agent-guardrails
command
|
|
examples/agent-handoff
command
|
|
examples/agent-llm-builtin-tools
command
|
|
examples/agent-metrics-tools
command
|
|
examples/agent-simple-llm
command
|
|
examples/agent-state-persistence
command
|
|
examples/agent-structured-output
command
|
|
examples/agent-sub-agents
command
|
|
examples/agent-tools-conversion
command
|
|
examples/agent-workflow-as-tool
command
|
|
examples/builtins-data-tools
command
|
|
examples/builtins-datetime-tools
command
|
|
examples/builtins-discovery
command
|
|
examples/builtins-feed-tools
command
|
|
examples/builtins-file-tools
command
|
|
examples/builtins-graphql-client
command
|
|
examples/builtins-system-tools
command
|
|
examples/builtins-web-api-client
command
|
|
examples/builtins-web-tools
command
|
|
examples/docs-generation
command
|
|
examples/errors-serialization
command
Package main demonstrates enhanced error handling features
|
Package main demonstrates enhanced error handling features |
examples/provider-anthropic
command
|
|
examples/provider-consensus
command
|
|
examples/provider-convenience
command
|
|
examples/provider-gemini
command
|
|
examples/provider-metadata
command
|
|
examples/provider-multi
command
|
|
examples/provider-multimodal
command
|
|
examples/provider-ollama
command
|
|
examples/provider-openai
command
|
|
examples/provider-openrouter
command
|
|
examples/provider-options
command
|
|
examples/provider-vertexai
command
|
|
examples/schema-generator
command
Example demonstrating schema generation
|
Example demonstrating schema generation |
examples/schema-repository
command
Example demonstrating schema repository usage
|
Example demonstrating schema repository usage |
examples/simple
command
|
|
examples/structured-coercion
command
|
|
examples/structured-output
command
|
|
examples/structured-schema
command
|
|
examples/tools-script-dynamic
command
|
|
examples/types-bridge
command
|
|
examples/utils-modelinfo
command
|
|
examples/utils-profiling
command
|
|
examples/workflow-composition
command
|
|
examples/workflow-conditional
command
|
|
examples/workflow-hooks
command
|
|
examples/workflow-loop
command
|
|
examples/workflow-multi-provider
command
|
|
examples/workflow-parallel
command
|
|
examples/workflow-sequential
command
|
|
examples/workflow-serialization
command
|
|
internal
|
|
toolgen
command
|
|
pkg
|
|
agent/builtins
ABOUTME: Built-in tools and agents providing out-of-the-box functionality.
|
ABOUTME: Built-in tools and agents providing out-of-the-box functionality. |
agent/builtins/agents
ABOUTME: Pre-configured agents for common tasks and use cases.
|
ABOUTME: Pre-configured agents for common tasks and use cases. |
agent/builtins/tools/data
ABOUTME: Data processing tools for JSON, XML, CSV, and general transformations.
|
ABOUTME: Data processing tools for JSON, XML, CSV, and general transformations. |
agent/builtins/tools/datetime
ABOUTME: Date and time manipulation tools for parsing, formatting, and calculations.
|
ABOUTME: Date and time manipulation tools for parsing, formatting, and calculations. |
agent/builtins/tools/feed
ABOUTME: RSS/Atom feed processing tools for fetching, parsing, and filtering.
|
ABOUTME: RSS/Atom feed processing tools for fetching, parsing, and filtering. |
agent/builtins/tools/file
ABOUTME: File system operations including read, write, search, and management.
|
ABOUTME: File system operations including read, write, search, and management. |
agent/builtins/tools/math
ABOUTME: Mathematical computation tool supporting expressions and functions.
|
ABOUTME: Mathematical computation tool supporting expressions and functions. |
agent/builtins/tools/system
ABOUTME: System interaction tools for environment, process, and command execution.
|
ABOUTME: System interaction tools for environment, process, and command execution. |
agent/builtins/tools/web
ABOUTME: Web interaction tools for HTTP requests, scraping, and API clients.
|
ABOUTME: Web interaction tools for HTTP requests, scraping, and API clients. |
agent/core
ABOUTME: Core agent implementation providing base functionality for LLM agents.
|
ABOUTME: Core agent implementation providing base functionality for LLM agents. |
agent/domain
Package domain defines the core domain models and interfaces for agents.
|
Package domain defines the core domain models and interfaces for agents. |
agent/events
ABOUTME: Event system for agents with bus, storage, filtering, and serialization.
|
ABOUTME: Event system for agents with bus, storage, filtering, and serialization. |
agent/tools
Package tools provides implementations of agent tools.
|
Package tools provides implementations of agent tools. |
agent/utils
ABOUTME: Utility functions for agent state manipulation and event handling.
|
ABOUTME: Utility functions for agent state manipulation and event handling. |
agent/workflow
ABOUTME: Workflow orchestration patterns for complex agent task execution.
|
ABOUTME: Workflow orchestration patterns for complex agent task execution. |
docs
ABOUTME: Documentation generation for tools and APIs in multiple formats.
|
ABOUTME: Documentation generation for tools and APIs in multiple formats. |
errors
ABOUTME: Enhanced error handling with serialization and recovery strategies.
|
ABOUTME: Enhanced error handling with serialization and recovery strategies. |
internal/debug
ABOUTME: Internal debugging utilities for development and troubleshooting.
|
ABOUTME: Internal debugging utilities for development and troubleshooting. |
llm/domain
Package domain defines the core types and interfaces for LLM interactions.
|
Package domain defines the core types and interfaces for LLM interactions. |
llm/outputs
ABOUTME: Output parsing and validation for LLM responses in various formats.
|
ABOUTME: Output parsing and validation for LLM responses in various formats. |
llm/provider
Package provider implements LLM provider integrations for OpenAI, Anthropic, Google, and others.
|
Package provider implements LLM provider integrations for OpenAI, Anthropic, Google, and others. |
schema/adapter/reflection
ABOUTME: Reflection-based schema generation from Go types and structs.
|
ABOUTME: Reflection-based schema generation from Go types and structs. |
schema/domain
Package domain defines types and interfaces for JSON schema validation and generation.
|
Package domain defines types and interfaces for JSON schema validation and generation. |
schema/generator
ABOUTME: Schema generation utilities for creating JSON schemas programmatically.
|
ABOUTME: Schema generation utilities for creating JSON schemas programmatically. |
schema/repository
ABOUTME: Schema storage and retrieval with file-based and memory repositories.
|
ABOUTME: Schema storage and retrieval with file-based and memory repositories. |
schema/validation
ABOUTME: JSON schema validation with type coercion and custom validators.
|
ABOUTME: JSON schema validation with type coercion and custom validators. |
structured/domain
Package domain defines core types and interfaces for structured LLM outputs.
|
Package domain defines core types and interfaces for structured LLM outputs. |
structured/processor
ABOUTME: Structured output processing for LLMs with prompt enhancement.
|
ABOUTME: Structured output processing for LLMs with prompt enhancement. |
testutils
Package testutils provides a comprehensive testing infrastructure for the go-llms project.
|
Package testutils provides a comprehensive testing infrastructure for the go-llms project. |
testutils/fixtures
Package fixtures provides test data and utilities for testing LLM integrations.
|
Package fixtures provides test data and utilities for testing LLM integrations. |
testutils/helpers
ABOUTME: Test helper utilities for common testing patterns and operations.
|
ABOUTME: Test helper utilities for common testing patterns and operations. |
testutils/mocks
ABOUTME: Mock implementations for testing LLM providers, agents, and tools.
|
ABOUTME: Mock implementations for testing LLM providers, agents, and tools. |
testutils/scenario
ABOUTME: Scenario-based testing framework for complex interaction patterns.
|
ABOUTME: Scenario-based testing framework for complex interaction patterns. |
util/auth
ABOUTME: Authentication utilities for API access with multiple auth methods.
|
ABOUTME: Authentication utilities for API access with multiple auth methods. |
util/json
ABOUTME: JSON manipulation utilities with schema support and streaming.
|
ABOUTME: JSON manipulation utilities with schema support and streaming. |
util/llmutil
ABOUTME: LLM-specific utilities for provider management and configuration.
|
ABOUTME: LLM-specific utilities for provider management and configuration. |
util/llmutil/modelinfo
ABOUTME: Model information package providing LLM inventory and capability discovery.
|
ABOUTME: Model information package providing LLM inventory and capability discovery. |
util/llmutil/modelinfo/cache
ABOUTME: File-based caching for model inventory with save, load, and validation utilities.
|
ABOUTME: File-based caching for model inventory with save, load, and validation utilities. |
util/llmutil/modelinfo/domain
ABOUTME: Core domain types for model inventory including capabilities and pricing.
|
ABOUTME: Core domain types for model inventory including capabilities and pricing. |
util/llmutil/modelinfo/fetchers
ABOUTME: Provider-specific fetchers for retrieving model information from LLM APIs.
|
ABOUTME: Provider-specific fetchers for retrieving model information from LLM APIs. |
util/llmutil/modelinfo/service
ABOUTME: Service layer for aggregating model information from multiple providers.
|
ABOUTME: Service layer for aggregating model information from multiple providers. |
util/metrics
ABOUTME: Metrics collection and reporting for monitoring system performance.
|
ABOUTME: Metrics collection and reporting for monitoring system performance. |
util/profiling
ABOUTME: Performance profiling utilities for CPU, memory, and trace analysis.
|
ABOUTME: Performance profiling utilities for CPU, memory, and trace analysis. |
util/types
ABOUTME: Type conversion and registration system for dynamic type handling.
|
ABOUTME: Type conversion and registration system for dynamic type handling. |
tests
|
|
Click to show internal directories.
Click to hide internal directories.