GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Why Go
  • Case Studies
  • Use Cases
  • Security
  • Learn
  • Effective Go
  • Go User Manual
  • Standard library
  • Release Notes
  • API
  • Packages
  • Recorded Talks
  • Meetups
  • Conferences

This view

  • Original page
  • New address

GeezerVison is showing pkg.go.dev — agent-framework-go module - github.com/microsoft/agent-framework-go - Go Packages

Details

  • checked Valid go.mod file

    The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.

  • checked Redistributable license

    Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.

  • checked Tagged version

    Modules with tagged versions give importers more predictable builds.

  • unchecked Stable version

    When a project reaches major version v1 it is considered stable.

  • Learn more about best practices

Repository

github.com/microsoft/agent-framework-go

Links

  • Open Source Insights Logo Open Source Insights

README ¶

Microsoft Agent Framework

Welcome to Microsoft Agent Framework for Go!

Microsoft Foundry Discord MS Learn Documentation Go Reference GitHub stars

Microsoft Agent Framework (MAF) is an open, multi-language framework for building production-grade AI agents and multi-agent workflows. This repository contains the Go implementation of Microsoft Agent Framework, along with Go samples and documentation to help you get started.

Microsoft Agent Framework is built for teams taking agents from prototype to production. It provides a consistent foundation for building, orchestrating, and operating agent systems while keeping architecture choices open as requirements evolve, and supports a broad ecosystem including Microsoft Foundry, Azure OpenAI, OpenAI, Model Context Protocol (MCP), Agent2Agent (A2A), AG-UI, and the GitHub Copilot SDK.

The .NET and Python implementations are available in the upstream Microsoft Agent Framework repository.

Note: Microsoft Agent Framework for Go is in public preview and is currently evolving outside the core upstream codebase. As adoption and feedback grow, we expect closer alignment with the broader MAF ecosystem.

Watch the full Agent Framework introduction (30 min)

Watch the full Agent Framework introduction (30 min)

Is this the right framework for you?

MAF is a strong fit if you:

  • are building agents and workflows you expect to run in production,
  • need orchestration beyond a single prompt or stateless chat loop,
  • want graph-based patterns such as sequential, concurrent, group collaboration, and custom workflow routing,
  • care about checkpointing, restartability, observability, governance, or human-in-the-loop control,
  • need provider flexibility so your architecture can evolve without major rewrites.

Key Features

Explore new MAF capabilities and real implementation patterns on the official blog.

For a detailed .NET-to-Go feature comparison, see the .NET and Go SDK feature comparison. In short, the Go SDK covers core agents, tools, middleware, workflows, observability, and interoperability integrations, while .NET currently has broader product integrations and several features that are not implemented yet in Go.

  • Go Support: Go packages, examples, and APIs for building agents and workflows in Go.
    • Go reference | Go examples
  • Multiple Agent Provider Support: Support for various LLM and agent providers, with more being added continuously.
    • Provider examples | Provider packages
  • Middleware: Flexible middleware for request/response processing, logging, OpenTelemetry, context providers, tool approval, and automatic tool calling.
    • Agent middleware | Agent harness
  • Orchestration Patterns & Workflows: Build multi-agent systems with graph-based workflows supporting sequential, concurrent, group collaboration, conditional routing, subworkflows, checkpointing, streaming, human-in-the-loop, and time-travel patterns. Handoff orchestration is not implemented yet in the Go SDK.
    • Workflow examples | Workflow package
  • Microsoft Foundry Agents: Build project-backed Foundry agents, invoke existing server-side Foundry agents, pass Foundry client headers, capture served-model metadata, and use Foundry memory. Foundry-hosted deployment is not implemented yet in the Go SDK.
    • Foundry examples | Foundry provider
  • Observability: OpenTelemetry integration for distributed tracing, monitoring, and debugging.
    • Agent and embedding OpenTelemetry | Workflow OpenTelemetry
  • Declarative Agents: Not implemented yet in the Go SDK.
  • Agent Skills: Build domain-specific knowledge bases from files, inline definitions, scripts, and trusted MCP servers for agents to discover and use.
    • Skills examples | Skills package | MCP Skills source
  • Text Search (RAG): Retrieve and cite external knowledge automatically before agent runs or through an on-demand search tool, with optional session-backed recent-message memory.
    • Text search package | RAG examples
  • Chat History Memory: Store conversations in a vector store and retrieve scoped memories automatically or through an on-demand tool.
    • Memory package | Memory examples
  • Persistent Chat History: Store scoped conversations in Cosmos DB with session-backed routing, configurable retention, and history count and clearing.
    • Cosmos DB chat history
  • Embeddings: Provider-independent batch generation, numeric and binary vectors, request options, usage metadata, and single-input/vector/batch-pair helpers, with an OpenAI/Foundry adapter and opt-in OpenTelemetry instrumentation.
    • Embedding package | OpenAI embedding generator | Foundry embedding generator
  • Vector Data: Vector stores with typed and dynamic collections, CRUD helpers, and vector/hybrid search options with portable filters. Includes Azure AI Search and an in-memory connector with exact vector search, batch embedding generation, and JSON snapshots.
    • Vector data package | Azure AI Search | In-memory connector | Experimental provider services
  • AF Labs: Not implemented yet in the Go SDK.
  • DevUI: Not implemented yet in the Go SDK.

Table of Contents

  • Welcome to Microsoft Agent Framework for Go!
    • Is this the right framework for you?
    • Key Features
    • Table of Contents
    • Getting Started
      • Installation
      • Learning Resources
      • Quickstart
        • Basic Agent - Go
    • More Examples & Samples
      • Go
    • Community & Feedback
    • Troubleshooting
      • Authentication
      • Environment Variables
    • Contributor Resources
    • Important Notes
      • Telemetry and data collection
      • Preview status
      • Trademarks

Getting Started

Installation

Go

go get github.com/microsoft/agent-framework-go
Learning Resources
  • Overview - High level overview of the framework
  • Quick Start - Get started with a simple agent
  • Tutorials - Step by step tutorials
  • User Guide - In-depth user guide for building agents and workflows
Quickstart
Basic Agent - Go

Create a simple Microsoft Foundry agent that writes a haiku about the Microsoft Agent Framework.

package main

import (
	"cmp"
	"context"
	"fmt"
	"os"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/microsoft/agent-framework-go/provider/foundryprovider"
)

func main() {
	endpoint := os.Getenv("FOUNDRY_PROJECT_ENDPOINT")
	model := cmp.Or(os.Getenv("FOUNDRY_MODEL"), "gpt-4o-mini")

	// Authenticate to Microsoft Foundry.
	token, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		panic(err)
	}

	// Create a Microsoft Foundry agent.
	a := foundryprovider.NewAgent(endpoint, token, foundryprovider.ModelDeployment(model),
		foundryprovider.AgentConfig{
			Instructions: "You are a helpful assistant.",
		},
	)

	// Run the agent.
	ctx := context.Background()
	fmt.Println(a.RunText(ctx, "Write a haiku about the Microsoft Agent Framework").Collect())
}

More Examples & Samples

Go
  • Getting Started: progressive tutorial from hello world to workflows
  • Agent Concepts: deep-dive samples by topic, including tools, middleware, providers, observability, A2A, AG-UI, MCP, and skills
  • Foundry Voice Live: a browser microphone/speaker example with full-duplex audio, interruptions, and delegation to a MAF agent.
  • File memory: persist per-user memories across separate conversations. Run go run ./examples/02-agents/agents/step24_filememory from the repository root with FOUNDRY_PROJECT_ENDPOINT and FOUNDRY_MODEL set, after authenticating with az login. Files remain in agent-memory/users/UID1 between runs.
  • Agent harness: use harness.AgentConfig for preconfigured memory, skills, Todo, modes, approvals, history, and tracing with the normal provider constructors. Includes a Foundry example.
  • Workflows: multi-agent patterns, routing, checkpointing, observability, and workflow orchestration
  • End-to-End: full applications and demos
  • Feature Comparison: .NET and Go SDK feature parity notes

Community & Feedback

  • Found a bug? File a GitHub issue to help us improve.
  • Enjoying MAF for Go? GitHub stars to show your support and help others discover the project.
  • Have questions? Join our Discord.

Troubleshooting

Authentication
Problem Cause Fix
Authentication errors when using Azure credentials Not signed in to Azure CLI or another configured credential source Run az login before starting your app, or configure the specific credential your app uses
API key errors Wrong or missing API key Verify the key and ensure it is for the correct resource or provider
Provider endpoint errors Missing or incorrect endpoint, deployment, model, or API version Check the environment variables and constructor options used by the sample or provider

Tip: DefaultAzureCredential is convenient for development but in production, consider using a specific credential, such as managed identity, to avoid latency issues, unintended credential probing, and potential security risks from fallback mechanisms.

Environment Variables

For environment variable configuration specific to each sample, refer to the README or source in the sample directory under examples.

Contributor Resources

  • Contributing Guide
  • Code of Conduct
  • Security Policy
  • Support Policy
  • Responsible AI Transparency FAQ

Important Notes

[!IMPORTANT] If you use Microsoft Agent Framework to build applications that operate with any third-party servers, agents, code, or non-Azure Direct models ("Third-Party Systems"), you do so at your own risk. Third-Party Systems are Non-Microsoft Products under the Microsoft Product Terms and are governed by their own third-party license terms. You are responsible for any usage and associated costs.

We recommend reviewing all data being shared with and received from Third-Party Systems and being cognizant of third-party practices for handling, sharing, retention, and location of data. It is your responsibility to manage whether your data will flow outside of your organization's Azure compliance and geographic boundaries and any related implications, and that appropriate permissions, boundaries, and approvals are provisioned.

You are responsible for carefully reviewing and testing applications you build using Microsoft Agent Framework in the context of your specific use cases, and making all appropriate decisions and customizations. This includes implementing your own responsible AI mitigations such as metaprompt, content filters, or other safety systems, and ensuring your applications meet appropriate quality, reliability, security, and trustworthiness standards. See also: Transparency FAQ.

Telemetry and data collection

This repository does not configure a Microsoft telemetry exporter. The OpenAI/Foundry adapters include SDK identity/version in their User-Agent and append a process-wide feature-usage bitmask only on approved HTTPS Azure/Foundry destinations. The mask records which framework capabilities were exercised, not invocation counts, prompts, arguments, or user data. It is not sent to third-party destinations or added to OpenTelemetry.

Set AGENT_FRAMEWORK_FEATURE_MASK_DISABLED=true or 1 before first use to disable feature tracking and emission while retaining the base SDK User-Agent. Set AGENT_FRAMEWORK_USER_AGENT_DISABLED=true or 1 to suppress the framework's entire User-Agent contribution, including the feature mask. See the feature-usage registry and emission policy.

Some packages and samples include optional OpenTelemetry instrumentation or connect to Microsoft-hosted services. To turn off that instrumentation, do not configure OpenTelemetry exporters or telemetry middleware in your application. Service telemetry, if any, is governed by the services you choose to call.

Preview status

The Agent Framework for Go is in public preview. Declarative agents, RAG, CodeAct, and functional workflows are not yet available. File issues on GitHub at https://github.com/microsoft/agent-framework-go/issues.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos is subject to those third-party policies.

Directories ¶

Path Synopsis
agent
Package agent provides the provider-agnostic agent abstraction at the core of the framework.
Package agent provides the provider-agnostic agent abstraction at the core of the framework.
compaction
Package compaction reduces conversation history to fit a model's context window.
Package compaction reduces conversation history to fit a model's context window.
format/jsonformat
Package jsonformat provides JSON schema-based response formatting and validation.
Package jsonformat provides JSON schema-based response formatting and validation.
harness
Package harness assembles middleware, context providers, and history defaults for provider-backed agents.
Package harness assembles middleware, context providers, and history defaults for provider-backed agents.
harness/agentmode
Package agentmode provides a context provider that tracks the agent's operating mode (e.g.
Package agentmode provides a context provider that tracks the agent's operating mode (e.g.
harness/filememory
Package filememory provides a context provider with tools for persistent file-based agent memory.
Package filememory provides a context provider with tools for persistent file-based agent memory.
harness/loop
Package loop provides middleware that re-invokes an agent until one of its evaluators decides no more work is needed.
Package loop provides middleware that re-invokes an agent until one of its evaluators decides no more work is needed.
harness/todo
Package todo provides a context provider that gives agents todo list management tools for tracking work items during long-running complex tasks.
Package todo provides a context provider that gives agents todo list management tools for tracking work items during long-running complex tasks.
harness/toolapproval
Package toolapproval provides middleware that manages human-in-the-loop tool approval with support for "don't ask again" standing rules.
Package toolapproval provides middleware that manages human-in-the-loop tool approval with support for "don't ask again" standing rules.
harness/toolautocall
Package toolautocall provides the middleware that automatically invokes the function tools a model calls and feeds their results back for the next turn.
Package toolautocall provides the middleware that automatically invokes the function tools a model calls and feeds their results back for the next turn.
memory
Package memory provides vector-backed chat history memory for agents.
Package memory provides vector-backed chat history memory for agents.
skills
Package skills provides domain knowledge bases ("skills") an agent can load on demand.
Package skills provides domain knowledge bases ("skills") an agent can load on demand.
skills/fsskills
Package fsskills discovers and loads skills from a filesystem (an fs.FS), materializing skill directories, their resources, and file-backed scripts as skills.Skill values.
Package fsskills discovers and loads skills from a filesystem (an fs.FS), materializing skill directories, their resources, and file-backed scripts as skills.Skill values.
skills/mcpskills
Package mcpskills discovers skills served by a trusted Model Context Protocol (MCP) server.
Package mcpskills discovers skills served by a trusted Model Context Protocol (MCP) server.
textsearch
Package textsearch provides retrieval-augmented context from text searches.
Package textsearch provides retrieval-augmented context from text searches.
cmd
verifyexamples command
embedding
Package embedding defines provider-independent embedding generation contracts, vectors, request options, and results.
Package embedding defines provider-independent embedding generation contracts, vectors, request options, and results.
examples
01-get-started/01_hello_agent command
01-get-started/02_add_tools command
01-get-started/03_multi_turn command
01-get-started/04_memory command
01-get-started/05_first_workflow command
02-agents/a2a/as_function_tools command
02-agents/a2a/polling_for_task_completion command
02-agents/a2a/protocol_selection command
02-agents/a2a/stream_reconnection command
02-agents/agents/message-injection command
02-agents/agents/step01_running command
02-agents/agents/step02_multiturn_conversation command
02-agents/agents/step03_using_function_tools command
02-agents/agents/step04_using_function_tools_with_approvals command
02-agents/agents/step05_structured_output command
02-agents/agents/step06_persisted_conversation command
02-agents/agents/step07_3rdparty_session_storage command
02-agents/agents/step08_observability command
02-agents/agents/step09_dependency_injection command
This sample shows how to use dependency injection to register an Agent and use it from a hosted service with a user input chat loop.
This sample shows how to use dependency injection to register an Agent and use it from a hosted service with a user input chat loop.
02-agents/agents/step10_as_mcp_tool command
02-agents/agents/step11_using_images command
02-agents/agents/step12_as_function_tool command
02-agents/agents/step13_middleware command
This sample shows how to write custom agent middleware.
This sample shows how to write custom agent middleware.
02-agents/agents/step13_using_audio_and_files command
02-agents/agents/step17_additional_ai_context command
02-agents/agents/step18_compaction_pipeline command
02-agents/agents/step19_loop_reinvocation command
02-agents/agents/step21_shell_with_environment command
02-agents/agents/step22_foundry_memory command
02-agents/agents/step23_planning_with_todos command
02-agents/agents/step24_filememory command
02-agents/agui/step01_getting_started/client command
02-agents/agui/step01_getting_started/server command
02-agents/agui/step02_backend_tools/client command
02-agents/agui/step02_backend_tools/server command
02-agents/agui/step03_frontend_tools/client command
02-agents/agui/step03_frontend_tools/server command
02-agents/agui/step04_human_in_loop/client command
02-agents/agui/step04_human_in_loop/server command
02-agents/agui/step05_state_management/client command
02-agents/agui/step05_state_management/server command
02-agents/harness/step01_loop command
02-agents/harness/step02_todo command
02-agents/harness/step03_agentmode command
02-agents/harness/step04_composite_harness command
This sample uses the reusable harness setup with a normal Foundry agent.
This sample uses the reusable harness setup with a normal Foundry agent.
02-agents/mcp/agent_mcp_server command
02-agents/mcp/local_stdio_mcp command
02-agents/mcp/long_running_task command
02-agents/memory/step01_chat_history_memory command
This sample recalls chat messages from earlier sessions for the same user.
This sample recalls chat messages from earlier sessions for the same user.
02-agents/memory/step05_bounded_chat_history command
This sample archives older chat messages and recalls them from a vector store.
This sample archives older chat messages and recalls them from a vector store.
02-agents/observability/step01_agent_tracing command
02-agents/providers/a2a command
02-agents/providers/anthrophic command
02-agents/providers/anthrophic/thinking command
02-agents/providers/azure/ai_project command
02-agents/providers/azure/ai_search command
This sample stores generated embeddings in Azure AI Search and runs scoped vector and hybrid queries.
This sample stores generated embeddings in Azure AI Search and runs scoped vector and hybrid queries.
02-agents/providers/azure/cosmosdb command
This sample stores generated embeddings in a temporary Cosmos DB container.
This sample stores generated embeddings in a temporary Cosmos DB container.
02-agents/providers/azure/foundry_model command
02-agents/providers/azure/openai_chat_completion command
02-agents/providers/azure/openai_responses command
02-agents/providers/azure/openai_responses_background command
This sample demonstrates long-running agent operations using the OpenAI Responses API "background" option.
This sample demonstrates long-running agent operations using the OpenAI Responses API "background" option.
02-agents/providers/foundry/step01_basic command
02-agents/providers/foundry/step02_1_multiturn command
02-agents/providers/foundry/step02_2_multiturn_with_server_conversations command
02-agents/providers/foundry/step03_function_tools command
02-agents/providers/foundry/step04_function_tools_with_approvals command
02-agents/providers/foundry/step05_structured_output command
02-agents/providers/foundry/step06_persisted_conversations command
02-agents/providers/foundry/step07_observability command
02-agents/providers/foundry/step09_mcp_client_as_tools command
02-agents/providers/foundry/step10_images command
02-agents/providers/foundry/step11_as_function_tool command
02-agents/providers/foundry/step12_middleware command
02-agents/providers/foundry/step13_plugins command
02-agents/providers/foundry/step14_code_interpreter command
02-agents/providers/foundry/step21_web_search command
02-agents/providers/foundry/step23_local_mcp command
02-agents/providers/foundry/voice_live command
02-agents/providers/gemini command
02-agents/providers/gemini/thinking command
02-agents/providers/github-copilot command
02-agents/providers/openai/chat_completion command
02-agents/providers/openai/responses command
02-agents/providers/openai/step01_running command
02-agents/providers/openai/step02_reasoning command
02-agents/providers/openai/step03_create_from_chat_client command
02-agents/providers/openai/step04_create_from_openai_response_client command
02-agents/providers/openai/step05_conversation command
02-agents/providers/openai/step06_code_interpreter_file_download command
This sample shows how to download files generated by Code Interpreter using the OpenAI Containers API.
This sample shows how to download files generated by Code Interpreter using the OpenAI Containers API.
02-agents/rag/step01_basic_text_rag command
This sample retrieves text from an in-memory vector store before each agent invocation and keeps retrieved context out of retained conversation history.
This sample retrieves text from an in-memory vector store before each agent invocation and keeps retrieved context out of retained conversation history.
02-agents/rag/step02_custom_vector_store_rag command
This sample uses a custom Qdrant schema to retrieve Agent Framework documentation, including recent conversation context in each search.
This sample uses a custom Qdrant schema to retrieve Agent Framework documentation, including recent conversation context in each search.
02-agents/rag/step03_custom_rag_data_source command
02-agents/rag/step04_foundry_service_rag command
This sample uploads a knowledge base and creates a Foundry vector store and prompt agent version that uses server-side file search.
This sample uploads a knowledge base and creates a Foundry vector store and prompt agent version that uses server-side file search.
02-agents/rag/step05_neo4j_graph_rag command
This sample retrieves graph-enriched text from a Neo4j full-text index.
This sample retrieves graph-enriched text from a Neo4j full-text index.
02-agents/skills/internal/skillhelpers
02-agents/skills/step01_file_based_skills command
02-agents/skills/step02_code_defined_skills command
02-agents/skills/step03_mixed_skills command
02-agents/skills/step04_skills_auto_approval command
02-agents/skills/step05_skills_with_dependencies command
02-agents/skills/step06_mcp_skills command
03-workflows/01-start-here/01_streaming command
03-workflows/01-start-here/02_agents_in_workflows command
03-workflows/01-start-here/03_agent_workflow_patterns command
03-workflows/01-start-here/04_multi_model_service command
03-workflows/01-start-here/05_subworkflow command
03-workflows/01-start-here/06_mixed_workflow_agents_and_executors command
03-workflows/01-start-here/07_writer_critic_workflow command
03-workflows/01-start-here/08_sequential_chain_only_responses command
03-workflows/agents/custom_agent_executors command
03-workflows/agents/group_chat_tool_approval command
03-workflows/agents/workflow_as_an_agent command
03-workflows/agents/workflow_as_an_agent_human_in_the_loop command
03-workflows/cancellation command
03-workflows/checkpoint/checkpoint_and_rehydrate command
03-workflows/checkpoint/checkpoint_and_resume command
03-workflows/checkpoint/checkpoint_with_human_in_the_loop command
03-workflows/checkpoint/filesystem_checkpoint command
03-workflows/concurrent/concurrent command
03-workflows/concurrent/concurrent_custom_aggregator command
03-workflows/concurrent/map_reduce command
03-workflows/conditional-edges/01_edge_condition command
03-workflows/conditional-edges/02_switch_case command
03-workflows/conditional-edges/03_multi_selection command
03-workflows/conditional-edges/04_intermediate_outputs command
03-workflows/human-in-the-loop/human_in_the_loop_basic command
03-workflows/human-in-the-loop/imperative_request command
03-workflows/loop command
03-workflows/message-workflow command
03-workflows/observability/executor_io command
03-workflows/observability/workflow_as_an_agent command
03-workflows/shared-states command
03-workflows/subworkflows/nested_order_processing command
03-workflows/subworkflows/request_interception command
05-end-to-end/a2a_client_server/a2a_client command
05-end-to-end/a2a_client_server/a2a_server command
demos/chat_cli command
internal/demo
format
Package format defines response format descriptions shared by agents and tools.
Package format defines response format descriptions shared by agents and tools.
jsonformat
Package jsonformat provides JSON schema-based formatting and validation, deriving schemas from Go types and validating and normalizing values against them.
Package jsonformat provides JSON schema-based formatting and validation, deriving schemas from Go types and validating and normalizing values against them.
internal
agentopts
Package agentopts shares internal run options between agents and middleware.
Package agentopts shares internal run options between agents and middleware.
agenttest
azaiprojects
concurrent
contentexthandler
filestore
Package filestore provides SDK-internal root-confined text storage for agents.
Package filestore provides SDK-internal root-confined text storage for agents.
hashmap
Package hashmap provides a hash table with custom hashing and key equivalence.
Package hashmap provides a hash table with custom hashing and key equivalence.
jsonx
maphash
Package maphash provides temporary hash interfaces used by hash-based containers.
Package maphash provides temporary hash interfaces used by hash-based containers.
messagetest
modelcall
Package modelcall supplies neutral request and response metadata to decorators around model-adapter calls.
Package modelcall supplies neutral request and response metadata to decorators around model-adapter calls.
slogx
storepaths
Package storepaths normalizes relative paths shared by file stores and memory tools.
Package storepaths normalizes relative paths shared by file stores and memory tools.
telemetry
toolmiddleware
Package toolmiddleware shares tool wrappers and invocation metadata between agent middleware and tool execution.
Package toolmiddleware shares tool wrappers and invocation metadata between agent middleware and tool execution.
message
Package message defines the message and content primitives that are the universal currency of the framework.
Package message defines the message and content primitives that are the universal currency of the framework.
messagefilter
Package messagefilter provides composable filters over slices of messages, used to select which messages a context provider stores or forwards.
Package messagefilter provides composable filters over slices of messages, used to select which messages a context provider stores or forwards.
messageworkflow
Package messageworkflow provides helpers for workflow executors that buffer incoming messages and act when a turn token arrives, used by the agent-hosting and group-chat executors in workflow/agentworkflow.
Package messageworkflow provides helpers for workflow executors that buffer incoming messages and act when a turn token arrives, used by the agent-hosting and group-chat executors in workflow/agentworkflow.
provider
a2aprovider
Package a2aprovider exposes agents over the Agent2Agent (A2A) protocol, adapting A2A messages to and from the framework message model and including server and hosting support.
Package a2aprovider exposes agents over the Agent2Agent (A2A) protocol, adapting A2A messages to and from the framework message model and including server and hosting support.
aguiprovider
Package aguiprovider exposes agents over the AG-UI protocol, streaming agent responses as AG-UI events with HTTP handler and hosting support.
Package aguiprovider exposes agents over the AG-UI protocol, streaming agent responses as AG-UI events with HTTP handler and hosting support.
anthropicprovider
Package anthropicprovider provides Anthropic (Claude)-backed agents via NewAgent, which takes an Anthropic client and an AgentConfig.
Package anthropicprovider provides Anthropic (Claude)-backed agents via NewAgent, which takes an Anthropic client and an AgentConfig.
azureprovider
Package azureprovider provides Azure service integrations.
Package azureprovider provides Azure service integrations.
copilotprovider
Package copilotprovider provides GitHub Copilot-backed agents via NewAgent, mapping Copilot session events to framework response updates.
Package copilotprovider provides GitHub Copilot-backed agents via NewAgent, mapping Copilot session events to framework response updates.
foundryprovider
Package foundryprovider provides Microsoft Foundry provider integrations for agents.
Package foundryprovider provides Microsoft Foundry provider integrations for agents.
geminiprovider
Package geminiprovider provides Google Gemini-backed agents via NewAgent, which takes a genai client and an AgentConfig.
Package geminiprovider provides Google Gemini-backed agents via NewAgent, which takes a genai client and an AgentConfig.
openaiprovider
Package openaiprovider provides OpenAI-backed agents and embedding generators.
Package openaiprovider provides OpenAI-backed agents and embedding generators.
otelprovider
Package otelprovider instruments agents and embedding generators with OpenTelemetry tracing and metrics following the GenAI semantic conventions.
Package otelprovider instruments agents and embedding generators with OpenTelemetry tracing and metrics following the GenAI semantic conventions.
tool
Package tool defines the Tool interface and its variants (SchemaTool, FuncTool) that agents expose to models.
Package tool defines the Tool interface and its variants (SchemaTool, FuncTool) that agents expose to models.
agenttool
Package agenttool adapts an agent.Agent into a tool.FuncTool via New, so one agent can be invoked as a tool by another.
Package agenttool adapts an agent.Agent into a tool.FuncTool via New, so one agent can be invoked as a tool by another.
functool
Package functool turns a typed Go function into a tool.FuncTool via New and MustNew, deriving the tool's input and output JSON schemas from the function's parameter and return types.
Package functool turns a typed Go function into a tool.FuncTool via New and MustNew, deriving the tool's input and output JSON schemas from the function's parameter and return types.
hostedtool
Package hostedtool provides definitions for hosted tools.
Package hostedtool provides definitions for hosted tools.
mcptool
Package mcptool provides integration with the Model Context Protocol (MCP).
Package mcptool provides integration with the Model Context Protocol (MCP).
shelltool
Package shelltool provides a shell command execution tool that can be registered with an agent.
Package shelltool provides a shell command execution tool that can be registered with an agent.
vectordata
Package vectordata defines provider-independent vector store contracts, record schemas, retrieval options, and vector and keyword-hybrid searches.
Package vectordata defines provider-independent vector store contracts, record schemas, retrieval options, and vector and keyword-hybrid searches.
inmemory
Package inmemory implements an in-process vector store for testing and prototyping.
Package inmemory implements an in-process vector store for testing and prototyping.
internal/recordvalue
Package recordvalue provides shared local filtering and ordering semantics.
Package recordvalue provides shared local filtering and ordering semantics.
providerservices
Package providerservices provides experimental model-building, record-access, vector-conversion, embedding-batching, and local filtering and sorting support for vector data providers, not applications.
Package providerservices provides experimental model-building, record-access, vector-conversion, embedding-batching, and local filtering and sorting support for vector data providers, not applications.
workflow
Package workflow is a graph-execution engine for multi-agent orchestration.
Package workflow is a graph-execution engine for multi-agent orchestration.
agentworkflow
This file hosts an agent.Agent as a workflow workflow.Executor, so the agent can participate in graphs alongside regular executors and other hosted agents.
This file hosts an agent.Agent as a workflow workflow.Executor, so the agent can participate in graphs alongside regular executors and other hosted agents.
checkpoint
Package checkpoint provides checkpoint storage and management for workflow runs, enabling restartability and time-travel resume.
Package checkpoint provides checkpoint storage and management for workflow runs, enabling restartability and time-travel resume.
inproc
Package inproc provides the in-process workflow runtime: it instantiates a workflow's executors and drives execution, streaming or to completion, with optional checkpointing.
Package inproc provides the in-process workflow runtime: it instantiates a workflow's executors and drives execution, streaming or to completion, with optional checkpointing.
internal/checkpoint
internal/execution
internal/featureusage
internal/observability
internal/workflowtest
observability
Package observability defines the tracing abstraction (Tracer, spans, and attributes) used to instrument workflow execution; the opentelemetry subpackage provides an OpenTelemetry implementation.
Package observability defines the tracing abstraction (Tracer, spans, and attributes) used to instrument workflow execution; the opentelemetry subpackage provides an OpenTelemetry implementation.
observability/opentelemetry
Package opentelemetry implements the workflow observability Tracer using OpenTelemetry, emitting spans for workflow and executor activity.
Package opentelemetry implements the workflow observability Tracer using OpenTelemetry, emitting spans for workflow and executor activity.
Click to show internal directories.
Click to hide internal directories.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.