Azure Cosmos DB for NoSQL integrations for Agent Framework. Container name is configured on the provider. session_id is used as the partition key. Vector collections require an application-provided string key stored as id and a container partition key of /id. Container vector and indexing policies are created only by ensure_collection_exists() and validated before use. Existing incompatible containers are never updated or recreated. Supported vector element types are float32, int8, and uint8. Euclidean search is supported, but Euclidean score thresholds fail…
14k10mo agoReviewMountCreate a free account to mount
Long-term semantic memory for agents, backed by Azure Cosmos DB via the Azure Cosmos DB Agent Memory Toolkit. - CosmosMemoryContextProvider - Context provider that integrates Cosmos DB-backed semantic memory (facts, procedural/episodic memories, and user/thread summaries) into agents. - Requires the azure-cosmos-agent-memory toolkit and an AI Foundry endpoint (used for both embeddings and fact extraction). - Set a stable user_id in state["user_id"] or session.state["user_id"] for long-term, cross-session memory. Without it, memory scopes to the ephemeral session id and the provider logs…
14k10mo agoReviewMountCreate a free account to mount
Integration with OpenAI ChatKit (Python) for building chat UIs. ThreadItemConverter.structured_input_to_input() is an async override hook returning Message | list[Message] | None; to_agent_input() normalizes its output and preserves thread order. ThreadItemConverter.generated_image_to_input() is an async override hook returning Message | list[Message] | None; data URI media types are inferred by Content.from_uri().
14k10mo agoReviewMountCreate a free account to mount
Integration with Anthropic Claude as a managed agent (Claude Agent SDK). This package is for Claude's managed agent functionality. For basic Claude chat, use agent-framework-anthropic instead.
14k10mo agoReviewMountCreate a free account to mount
YAML/JSON-based declarative agent and workflow definitions. Both state classes validate object attribute names but leave dictionary keys unchanged. DefaultMCPToolHandler caches/coalesces sessions only without a client_provider. With a provider, every invocation (including tools/list) gets a fresh tool/session, even if the provider returns None or a shared HTTP client. Invocation cleanup closes the session and any internally owned fallback client, never caller-owned HTTP clients. Shutdown waits for active provider-backed invocations to clean up. Calling aclose() from an active invocation's context (including inherited…
14k10mo agoReviewMountCreate a free account to mount
Interactive developer UI for testing and debugging agents and workflows. Text content carrying additional_properties["model_output_kind"] == "refusal" is mapped to native Responses refusal parts and events. Mapper aggregation, live rendering, and recovery state retain text/refusal boundaries by item and content index. DevUI is a development-only sample app, not a production hosting surface. Authentication is enabled by default. Unauthenticated mode is allowed only on localhost / 127.0.0.1; 0.0.0.0, LAN IPs, and hostnames require DEVUI_AUTH_TOKEN or --auth-token.
14k10mo agoReviewMountCreate a free account to mount
Integration with Google's Gemini Developer API and Enterprise (Vertex AI) via the google-genai SDK. The shared _sdk_client.create_genai_client resolves authentication, backend mode, and service URL for chat and embeddings. GeminiEmbeddingClient supports only gemini-embedding-2 and gemini-embedding-2-preview, requiring per-call task instructions for text strings. Multimodal Google SDK Content or media Part inputs receive no task prefix, even with mixed text-and-media parts. Text-only SDK content is rejected so callers cannot bypass the task requirement. Enterprise accepts one content per request; the client splits batches…
14k10mo agoReviewMountCreate a free account to mount
Integration with GitHub Copilot extensions. _build_session_kwargs forwards options to the SDK verbatim except for a few keys that get an explicit default: on_permission_request (deny-all) and enable_file_hooks (False, so a session behaves the same way in every working directory). Callers opt in through default_options or per-run options. Keep such defaults to options the working directory controls: options that only shape prompt context (for example enable_host_git_operations) are deliberately left alone. When the agent applies the enable_file_hooks default and the working directory actually…
14k10mo agoReviewMountCreate a free account to mount
Conversion and native card-generation helpers for hosting Agent Framework agents and workflows through an application-owned A2A server. - a2a_to_run(message, *, stream=False) converts an A2A Message to AgentRunArgs; pass input_modes for optional advertised-mode validation. - a2a_from_run(result) converts an Agent Framework response, message, or streaming update to A2A Part values; pass output_modes for optional advertised-mode validation. - await AgentA2AAdapter(target, ...).get_card() creates a native AgentCard from an agent or AgentState, target metadata, and explicit A2A discovery policy. The adapter also re-exposes a2a_to_run(...) and…
14k10mo agoReviewMountCreate a free account to mount
Side-effect-free adapters and conversion helpers for hosting Agent Framework agents and workflows through the native MCP SDK. - AgentMCPTool(target, ...) generates one native MCP Tool from an agent, converts and executes calls, and optionally persists sessions through an existing AgentState. - WorkflowMCPTool(target, ...) derives one native MCP Tool from a workflow's single start-executor input type and converts completed workflow outputs. - mcp_to_run(arguments, *, argument_name="task", chat_option_arguments=()) converts MCP tool arguments to AgentRunArgs and copies only explicitly selected arguments into chat options.…
14k10mo agoReviewMountCreate a free account to mount
Experimental packages for cutting-edge features including benchmarking, reinforcement learning, and research initiatives. This package contains experimental sub-packages: Lab packages are experimental and may change frequently. They are not included in the standard agent-framework[all] installation. Lab is a standalone uv project, excluded from the root python workspace so its experimental dependencies do not constrain released provider packages. It resolves released Core and provider distributions by default. Run dependency and validation commands from python/packages/lab. Lab code must use APIs available in published…
14k10mo agoReviewMountCreate a free account to mount
Integration with Mem0 for agent memory management. - application_id / agent_id / user_id are the storage scope stamped on written memories. - search_application_id / search_agent_id / search_user_id are the retrieval scope. - Retrieval scope never defaults to the storage scope. With no search_* value set, before_run retrieves nothing and logs a warning. This prevents memories written under a shared agent_id from being retrieved for every user of that agent. Mem0 telemetry is disabled by default. Set MEM0_TELEMETRY=true to enable.
14k10mo agoReviewMountCreate a free account to mount
Monty-backed CodeAct integrations for the Microsoft Agent Framework. [!NOTE] Beta package. Included in agent-framework[all] and available through the lazy-loading namespace agent_framework.monty. - MontyCodeActProvider — ContextProvider that injects a run-scoped execute_code tool plus dynamic CodeAct instructions. Mirrors the HyperlightCodeActProvider API for the parts that apply to a non-sandboxed Python interpreter. - MontyExecuteCodeTool — FunctionTool that wraps the Monty interpreter. Use directly for mixed-tool agents or manual static wiring. Mirrors HyperlightExecuteCodeTool. MontyCodeActProvider and MontyExecuteCodeTool both accept: - tools — host tool callables…
14k10mo agoReviewMountCreate a free account to mount
Integration with TypeSafe AI System One models, including Jev. - TypeSafeChatClient - Adds function invocation, middleware, and telemetry to the TypeSafe transport. - RawTypeSafeChatClient - Provider transport that can emit constrained function calls but does not execute them; it has no function-invocation, middleware, or telemetry layers. - TypeSafeChatOptions - Uses response_format for the required TypeSafe Questions mapping. - Calls always return structured SystemOneResponse data. This provider does not generate free-form chat text. - Every call requires response_format to contain at…
14k10mo agoReviewMountCreate a free account to mount
This file documents the structure and conventions of the Python samples so that agents (AI or human) can maintain them without rediscovering decisions. Durable Task and Azure Functions samples are maintained in the Durable Agent Framework extension. 1. Progressive complexity: Sections 01→05 build from "hello world" to production. Within 01-get-started, files are numbered 01–07 and each step adds exactly one concept. 3. Workflows preserved: 03-workflows/ keeps the upstream folder names and file names intact. Do not rename or restructure workflow…
14k10mo agoReviewMountCreate a free account to mount