Help us shape the future of Go! Take the 2026 Go Developer Survey

examples/

directory
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT

Directories

Path Synopsis
01-get-started
01_hello_agent command
02_add_tools command
03_multi_turn command
04_memory 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.
agents/step13_middleware command
This sample shows how to write custom agent middleware.
This sample shows how to write custom agent middleware.
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.
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.
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.
providers/a2a command
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.
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.
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.
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.
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.
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.
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.
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.
03-workflows
cancellation command
loop command
shared-states command
05-end-to-end
demos
chat_cli command
internal

Jump to

Keyboard shortcuts

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