Skip to content

Guide

Welcome to the AgentSchema guides! This section provides step-by-step tutorials and comprehensive documentation to help you get started with AgentSchema.

AgentSchema is a declarative specification format for defining AI agents and their capabilities. It provides a standardized way to describe agent behavior, tools, connections, and resources in a structured, platform-agnostic manner.

flowchart TD
    A[Agent YAML] --> B[AgentSchema SDK]
    B --> C{Runtime}
    C --> D[Microsoft Foundry]
    C --> E[Copilot Studio]
    C --> F[Custom Runtime]

With AgentSchema, you can:

  • Define Agent Behavior: Specify prompts, instructions, and conversation flows
  • Configure Tools: Integrate external APIs, functions, and services
  • Manage Connections: Handle authentication and external service integrations
  • Template Variables: Create reusable, configurable agent definitions
  • Cross-Platform Support: Deploy agents across different runtime environments

Explore real-world examples to understand how AgentSchema works in practice:

  • Directoryexamples/
    • Directoryanalyst/ Sales data analysis with Code Interpreter
      • analyst.yaml
      • analyst_manifest.yaml
    • Directoryqna/ Q&A with Azure CLU
      • qna.yml
      • qna_manifest.yml
    • Directorytravel/ Travel planning with APIs
      • travel.yaml
      • travel_manifest.yaml

📊 Analyst Agent

Sales data analysis using Code Interpreter and File Search tools.

View Example →

❓ QnA Agent

Question answering with Azure Cognitive Language Understanding.

View Example →

✈️ Travel Agent

Travel planning with Bing Search and TripAdvisor APIs.

View Example →

📖 Manifest vs Definition

Understanding when to use templates vs direct definitions.

Learn More →

⚙️ Code Generation

Generate runtime libraries for Python, C#, TypeScript, and Go.

Use the Emitter →

Complete reference documentation for all AgentSchema components is available, including:

  • Properties - Schema definitions for agent inputs and configurations (Object, Array)
  • Resources - External resources and bindings for agent deployment

This guides section is actively being developed with new content added regularly. We’re working on expanding the tutorials, adding more examples, and providing deeper insights into AgentSchema’s capabilities. Check back frequently for:

  • New step-by-step tutorials
  • Additional real-world examples
  • Advanced implementation patterns
  • Best practices and tips
  • Community contributions

Have suggestions for guides you’d like to see? Feel free to contribute or request specific topics!