कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

azure-ai-agents-py

thegovind द्वारा

DevOps & Cloud
1.8kclawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Build AI agents using the Azure AI Agents Python SDK.

विवरण

यह स्किल क्या करती है

Python SDK for building agents hosted on Azure AI Foundry. Handles the full agent lifecycle: creating agents, managing conversation threads, processing runs, and streaming responses. Supports tools including Code Interpreter, File Search, Bing Grounding, Azure AI Search, Function Calling, OpenAPI, and MCP.

Gives direct SDK access to Azure AI Foundry's agent infrastructure with full control over thread management, tool configuration, and streaming, without higher-level framework abstractions.

इसे कब इस्तेमाल करें

  • Building a document Q&A agent over uploaded PDFs using File Search
  • Running on-demand Python code execution via Code Interpreter
  • Grounding agent responses with live web search via Bing
  • Streaming real-time agent replies in a chat interface
  • Calling internal REST APIs from an agent using the OpenAPI tool

उदाहरण वर्कफ़्लो

इनपुट

User asks: 'What is the weather in Seattle?'

एजेंट
  1. 1

    Create an agent with a FunctionTool wrapping a get_weather Python function

  2. 2

    Create a conversation thread and add the user message

  3. 3

    Call create_and_process with the toolset to auto-execute the function

  4. 4

    Retrieve completed run assistant messages from the thread

  5. 5

    Return the weather response text

आउटपुट

Weather in Seattle: 58F, cloudy

आवश्यकताएँ

  • Azure subscription
  • Azure AI Foundry project with a deployed model
  • PROJECT_ENDPOINT environment variable (from Azure AI Foundry project settings)
  • MODEL_DEPLOYMENT_NAME environment variable (name of your deployed model)

इंस्टॉलेशन

clawhub install thegovind/azure-ai-agents-py

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक