Scope: this directory (tests/integration/defs/visual_gen/). Supplements the repo-root AGENTS.md. A VisualGen test that cannot run because a resource CI is expected to provide is missing must fail loudly, not pytest.skip —…
15k4mo agoReviewMountCreate a free account to mount
Scope: this directory and everything under it (tests/unittest/_torch/visual_gen/, including multi_gpu/, kernels/, sparse_attention/). Supplements the repo-root AGENTS.md. A VisualGen test that cannot run because a resource CI is expected to provide…
15k4mo agoReviewMountCreate a free account to mount
Instructions for AI coding agents working in the .NET codebase. See ./.github/skills/build-and-test/SKILL.md for detailed instructions on building, testing, and linting projects. See ./.github/skills/project-structure/SKILL.md for an overview of the project structure. See ./.github/skills/pull-requests/SKILL.md for guidance on writing PR descriptions and handling/resolving PR review comments. The framework integrates with Microsoft.Extensions.AI and Microsoft.Extensions.AI.Abstractions (external NuGet packages) using types like IChatClient, FunctionInvokingChatClient, AITool, AIFunction, ChatMessage, and AIContent. When developing or reviewing code, verify adherence to these key design principles: Samples (in ./samples/ folder) should…
No other project uses it yet
14k10mo agoReviewMountCreate a free account to mount
This file documents the structure and conventions of the .NET samples so that agents (AI or human) can maintain them without rediscovering decisions. 1. Progressive complexity: Sections 01→05 build from "hello world" to production. Within 01-get-started, projects are numbered 01–05 and each step adds exactly one concept.
No other project uses it yet
14k10mo agoReviewMountCreate a free account to mount
Instructions for AI coding agents working in the Python codebase. Key Documentation: - DEV_SETUP.md - Development environment setup and available poe tasks - CODING_STANDARD.md - Coding standards, docstring format, and performance guidelines - samples/SAMPLE_GUIDELINES.md - Sample structure and guidelines - Python function-calling loop specification - Required behavior, scenario-to-test mapping, coverage gaps, and extra validation for function-loop changes Agent Skills (.github/skills/) — detailed, task-specific instructions loaded on demand: - python-development — coding standards, type annotations, docstrings, logging, performance - python-testing —…
No other project uses it yet
14k10mo agoReviewMountCreate a free account to mount
AG-UI protocol integration for building agent UIs with the AG-UI standard. - AgentFrameworkAgent - Wraps agents for AG-UI compatibility - AgentFrameworkWorkflow - Wraps native Workflow objects, or accepts workflow_factory(thread_id) for thread-scoped workflow instances without subclassing - AGUIChatClient - Chat client that speaks AG-UI protocol - AGUIHttpService - HTTP service for AG-UI endpoints - agent_framework_messages_to_agui_host_history() - Converts persisted Agent Framework messages to bounded AG-UI Host history while retaining MCP widget payloads and model replay metadata - AGUIEventConverter - Converts between Agent…
14k10mo agoReviewMountCreate a free account to mount
Integration with Azure AI Search for RAG (Retrieval-Augmented Generation) and vector storage. The package depends on azure-search-documents>=12.0.0,<13, which spans both channels, and auto-detects which build is installed — there is no api_version parameter: The provider never pins an api-version; the installed build picks its own default, so newer releases work without code changes (single source of truth = the install). Capability gating keys off _preview_agentic_features_available — whether the preview build's agentic symbols (KnowledgeRetrieval{Low,Medium}ReasoningEffort, KnowledgeRetrievalOutputMode) can be imported. Agentic output mode…
14k10mo agoReviewMountCreate a free account to mount
agent-framework-azure-contentunderstanding integrates Azure Content Understanding (CU) into the Agent Framework as a context provider. It automatically analyzes file attachments (documents, images, audio, video) and injects structured results into the LLM context. - _context_provider.py — Main provider implementation. Overrides before_run() to detect file attachments, call the CU API, manage session state with multi-document tracking, and auto-register retrieval tools for follow-up turns. - Analyzer auto-detection — When analyzer_id=None (default), _resolve_analyzer_id() selects the CU analyzer based on media type prefix: audio/ → prebuilt-audioSearch,…
14k10mo agoReviewMountCreate a free account to mount
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
The foundation package containing all core abstractions, types, and built-in OpenAI/Azure OpenAI support. - agent_framework.__init__ uses lazy module-level __getattr__ for most public exports to keep cold import agent_framework lightweight. - Keep _LAZY_MODULE_EXPORTS, _LAZY_EXPORTS, the explicit runtime __all__, and __init__.pyi synchronized whenever adding, removing, or moving a root public export. - Runtime __all__ is still required for from agent_framework import *; the .pyi file is for type checkers and editors and does not replace runtime exports. - Public deprecation behavior for…
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