How azure/azure-sdk-for-python works
Azure SDK for Python is a collection of service-specific client and management libraries, rather than one application. A developer creates a client, authenticates, and invokes an operation against an Azure service; shared core libraries provide the HTTP pipeline and common policies. The tree also shows agent-server packages, evaluation red teaming, and Cosmos semantic reranking as distinct capabilities. The README documents the shared client and management-library roles; sampled source confirms pipeline execution and several service operations, but does not establish wiring for every package.
Main entry points: _base.py Agent server core · _pipeline_client_async.py Azure Core · pipeline_runs_query_by_factory.py Azure Identity · auth_configs_blob_storage_token_store_create_or_update.py Container Apps
Components 18
Service SDKs
- Service clients
sdk - Management clients
sdk - Data Factory
sdk/datafactory/azure-mgmt-datafactory/generated_samples/pipeline_runs_query_by_factory.py - Container Apps
sdk/appcontainers/azure-mgmt-appcontainers/generated_samples/auth_configs_blob_storage_token_store_create_or_update.py - Front Door
sdk/network/azure-mgmt-frontdoor/generated_samples/frontdoor_rules_engine_create.py
Shared Runtime
- Azure Core
sdk/core/azure-core/azure/core/_pipeline_client_async.py - Async HTTP pipeline
sdk/core/azure-core/azure/core/_pipeline_client_async.py - Core HTTP
sdk/core/corehttp/corehttp/runtime/_pipeline_client_async.py - Azure Identity
sdk/datafactory/azure-mgmt-datafactory/generated_samples/pipeline_runs_query_by_factory.py
Agent Platform
- Agent server core
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/_base.py - Activity adapter
sdk/agentserver/azure-ai-agentserver-activity/azure/ai/agentserver/activity/_activity.py - Invocations
sdk/agentserver/azure-ai-agentserver-invocations/azure/ai/agentserver/invocations/_invocation.py - GitHub Copilot
sdk/agentserver/azure-ai-agentserver-ghcopilot/azure/ai/agentserver/githubcopilot/_copilot_adapter.py
Specialized Features
- Red team evaluation
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/red_team/_orchestrator_manager.py - Cosmos reranking
sdk/cosmos/azure-cosmos/azure/cosmos/_inference_service.py
Other components
- SDK developer
- Azure services
- Reranking endpoint
Connections 21
- SDK developer → Service clients: creates client
- SDK developer → Management clients: creates client
- Service clients → Azure Core: shares runtime
- Management clients → Azure Core: shares runtime
- Azure Core → Async HTTP pipeline: builds pipeline
- Async HTTP pipeline → Azure services: sends requests
- Core HTTP → Azure services: sends requests
- Data Factory → Azure Identity: creates credential
- Data Factory → Azure services: queries runs
- Container Apps → Azure Identity: creates credential
- Container Apps → Azure services: configures auth
- Front Door → Azure Identity: creates credential
- Front Door → Azure services: updates rules
- SDK developer → Agent server core: builds agent
- Activity adapter → Agent server core: adapts activity
- Invocations → Agent server core: supports invocation
- GitHub Copilot → Agent server core: adapts Copilot
- SDK developer → Red team evaluation: runs evaluation
- Red team evaluation → Azure services: runs attacks
- SDK developer → Cosmos reranking: reranks documents
- Cosmos reranking → Reranking endpoint: sends inference