Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

agent-framework-azure-ai-py

bởi thegovind

DevOps & Cloud
1.8kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Build Azure AI Foundry agents.

Mô tả

Kỹ năng này làm gì

Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK. Supports function tools, hosted tools like code interpreter and Bing web search, MCP server integration, conversation threads, streaming responses, and structured Pydantic outputs.

Azure AI Foundry manages agent persistence and tool execution server-side, so you don't need to maintain your own state or tool infrastructure.

Khi nào nên dùng

  • Running multi-turn conversations with persistent thread state
  • Executing Python code inside an agent to analyze or transform data
  • Searching the web via Bing within an automated agent workflow
  • Returning typed structured outputs from agent queries using Pydantic models
  • Connecting agents to MCP servers for extended tool capabilities

Quy trình ví dụ

ĐẦU VÀO

User asks: Search for Python best practices and give me a structured summary

AGENT
  1. 1

    Initialize AzureAIAgentsProvider with Azure credentials

  2. 2

    Create agent with HostedWebSearchTool and an AnalysisResult Pydantic response format

  3. 3

    Run agent with user query on a new conversation thread

  4. 4

    Await response and validate against AnalysisResult model

  5. 5

    Return structured object with summary, key_findings, and confidence

ĐẦU RA

AnalysisResult object with summary string, key_findings list, and confidence float

Yêu cầu

  • Azure subscription with AI Foundry project access
  • AZURE_AI_PROJECT_ENDPOINT environment variable
  • AZURE_AI_MODEL_DEPLOYMENT_NAME environment variable
  • BING_CONNECTION_ID environment variable (required only for web search)

Cài đặt

clawhub install thegovind/agent-framework-azure-ai-py

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết