Directories ¶ Show internal Expand all Path Synopsis 01-get-started 01_hello_agent command 02_add_tools command 03_multi_turn command 04_memory command 05_first_workflow command 02-agents a2a/as_function_tools command a2a/polling_for_task_completion command a2a/protocol_selection command a2a/stream_reconnection command agents/message-injection command agents/step01_running command agents/step02_multiturn_conversation command agents/step03_using_function_tools command agents/step04_using_function_tools_with_approvals command agents/step05_structured_output command agents/step06_persisted_conversation command agents/step07_3rdparty_session_storage command agents/step08_observability command 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/step10_as_mcp_tool command agents/step11_using_images command agents/step12_as_function_tool command agents/step13_middleware command This sample shows how to write custom agent middleware. This sample shows how to write custom agent middleware. agents/step13_using_audio_and_files command agents/step17_additional_ai_context command agents/step18_compaction_pipeline command agents/step19_loop_reinvocation command agents/step21_shell_with_environment command agents/step22_foundry_memory command agents/step23_planning_with_todos command agui/step01_getting_started/client command agui/step01_getting_started/server command agui/step02_backend_tools/client command agui/step02_backend_tools/server command agui/step03_frontend_tools/client command agui/step03_frontend_tools/server command agui/step04_human_in_loop/client command agui/step04_human_in_loop/server command agui/step05_state_management/client command agui/step05_state_management/server command harness/step01_loop command harness/step03_agentmode command mcp/agent_mcp_server command mcp/local_stdio_mcp command providers/a2a command providers/anthrophic command providers/anthrophic/thinking command providers/azure/ai_project command providers/azure/foundry_model command providers/azure/openai_chat_completion command providers/azure/openai_responses command 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/foundry/step01_basic command providers/foundry/step02_1_multiturn command providers/foundry/step02_2_multiturn_with_server_conversations command providers/foundry/step03_function_tools command providers/foundry/step04_function_tools_with_approvals command providers/foundry/step05_structured_output command providers/foundry/step06_persisted_conversations command providers/foundry/step07_observability command providers/foundry/step09_mcp_client_as_tools command providers/foundry/step10_images command providers/foundry/step11_as_function_tool command providers/foundry/step12_middleware command providers/foundry/step13_plugins command providers/foundry/step14_code_interpreter command providers/foundry/step21_web_search command providers/foundry/step23_local_mcp command providers/gemini command providers/gemini/thinking command providers/github-copilot command providers/openai/chat_completion command providers/openai/responses command providers/openai/step01_running command providers/openai/step02_reasoning command providers/openai/step03_create_from_chat_client command providers/openai/step04_create_from_openai_response_client command providers/openai/step05_conversation command 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. skills/internal/skillhelpers skills/step01_file_based_skills command skills/step02_code_defined_skills command skills/step03_mixed_skills command skills/step04_skills_auto_approval command 03-workflows 01-start-here/01_streaming command 01-start-here/02_agents_in_workflows command 01-start-here/03_agent_workflow_patterns command 01-start-here/04_multi_model_service command 01-start-here/05_subworkflow command 01-start-here/06_mixed_workflow_agents_and_executors command 01-start-here/07_writer_critic_workflow command 01-start-here/08_sequential_chain_only_responses command agents/custom_agent_executors command agents/group_chat_tool_approval command agents/workflow_as_an_agent command agents/workflow_as_an_agent_human_in_the_loop command cancellation command checkpoint/checkpoint_and_rehydrate command checkpoint/checkpoint_and_resume command checkpoint/checkpoint_with_human_in_the_loop command checkpoint/filesystem_checkpoint command concurrent/concurrent command concurrent/concurrent_custom_aggregator command concurrent/map_reduce command conditional-edges/01_edge_condition command conditional-edges/02_switch_case command conditional-edges/03_multi_selection command conditional-edges/04_intermediate_outputs command human-in-the-loop/human_in_the_loop_basic command human-in-the-loop/imperative_request command loop command message-workflow command observability/executor_io command observability/workflow_as_an_agent command shared-states command subworkflows/nested_order_processing command subworkflows/request_interception command 05-end-to-end a2a_client_server/a2a_client command a2a_client_server/a2a_server command demos chat_cli command internal demo Click to show internal directories. Click to hide internal directories.