agents/

directory
v0.0.0-...-640d511 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: Apache-2.0

README

DriftlessAF agentic AI infrastructure

This directory contains tools and agents for AI use with DriftlessAF.

They can be used independently but are best used together with the DriftlessAF workqueue found in /workqueue and the reconciler bots found in /reconcilers.

The following components are available:

  • AI executors: Production-ready executors for Google Gemini and Anthropic Claude models in agents/executor/.
  • Evaluation framework: Testing and monitoring agent quality with comprehensive metrics in agents/evals/.
  • OpenTelemetry metrics: Built-in observability for AI operations in agents/metrics/.
  • Prompt building: Utilities for constructing and managing prompts in agents/promptbuilder/.
  • Tool calling: Helpers for function/tool calling with Claude and Gemini inagents/toolcall/.
  • Result parsing: Structured output extraction from model responses in agents/result/.

Directories

Path Synopsis
Package agenttrace provides tracing infrastructure for AI agent interactions.
Package agenttrace provides tracing infrastructure for AI agent interactions.
Package evals provides a comprehensive tracing framework for evaluating and monitoring agent interactions.
Package evals provides a comprehensive tracing framework for evaluating and monitoring agent interactions.
report
Package report provides report generation functionality for evaluation results.
Package report provides report generation functionality for evaluation results.
testevals
Package testevals provides a testing.T adapter for the evals framework.
Package testevals provides a testing.T adapter for the evals framework.
executor
claudeexecutor
Package claudeexecutor provides a generic executor for Claude-based agents that reduces boilerplate while maintaining flexibility for agent-specific logic.
Package claudeexecutor provides a generic executor for Claude-based agents that reduces boilerplate while maintaining flexibility for agent-specific logic.
googleexecutor
Package googleexecutor provides a generic Google AI (Gemini) executor for AI agents.
Package googleexecutor provides a generic Google AI (Gemini) executor for AI agents.
Package judge provides LLM-based evaluation of model outputs using structured rubrics.
Package judge provides LLM-based evaluation of model outputs using structured rubrics.
Package metaagent provides a generic framework for building AI agents.
Package metaagent provides a generic framework for building AI agents.
Package promptbuilder provides a safe, injection-resistant prompt construction library that leverages Go's standard encoding packages to automatically handle escaping and formatting.
Package promptbuilder provides a safe, injection-resistant prompt construction library that leverages Go's standard encoding packages to automatically handle escaping and formatting.
Package result provides utilities for extracting and parsing JSON responses from AI models.
Package result provides utilities for extracting and parsing JSON responses from AI models.
Package toolcall defines composable tool providers for AI agents.
Package toolcall defines composable tool providers for AI agents.
callbacks
Package callbacks provides lightweight callback types for AI agent tool operations.
Package callbacks provides lightweight callback types for AI agent tool operations.
claudetool
Package claudetool provides utilities for handling tool calls in Claude AI applications.
Package claudetool provides utilities for handling tool calls in Claude AI applications.
googletool
Package googletool provides utilities for handling function calls in Google Gemini AI applications.
Package googletool provides utilities for handling function calls in Google Gemini AI applications.
params
Package params provides shared parameter extraction and error formatting utilities used by both Claude and Google tool implementations.
Package params provides shared parameter extraction and error formatting utilities used by both Claude and Google tool implementations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL