Skip to main content

OSSA Specification

Complete authoritative OSSA specification document - single source of truth

OSSA Specification - Complete Reference

Single Source of Truth - This document consolidates all OSSA specification information, comparisons, and migration guides into one authoritative reference.

Overview

The Open Standard for Scalable AI Agents (OSSA) is a specification standard for defining AI agents, similar to how OpenAPI standardizes REST APIs. OSSA enables agent interoperability across frameworks, runtimes, and organizations.

Table of Contents

  1. Specification Versions
  2. Core Concepts
  3. Schema Reference
  4. Framework Comparison
  5. Migration Guides
  6. Version-Specific Information

Specification Versions

Current Version: v0.3.0

Status: Stable
Release Date: 2025-12-20
Schema: v0.3.0 JSON Schema

Previous Versions

  • v0.2.9: Previous stable release
  • v0.2.8: Legacy version
  • v0.2.6: Legacy version

Version Migration

See Migration Guides section for version-to-version migration instructions.


Core Concepts

What is OSSA?

OSSA is a specification standard (not a framework) that defines:

  • Agent manifest structure (JSON Schema)
  • Agent capabilities and roles
  • Agent-to-agent messaging (A2A protocol)
  • Workflow composition
  • Observability and governance

Key Principles

  1. Framework Agnostic: Works with any agent framework
  2. Language Independent: Not tied to any programming language
  3. Vendor Neutral: Open standard, no vendor lock-in
  4. Enterprise Ready: Built-in governance, compliance, and observability
  5. Versioned: Semantic versioning with migration paths

Resource Kinds

OSSA v0.3.0+ supports multiple resource kinds:

  • Agent: Single agent definition
  • Workflow: Multi-agent composition
  • Task: Deterministic task definition
  • MessageRouting: Message routing rules

Schema Reference

Core Agent Fields

Agent Identification

  • agent.id: Unique agent identifier (UUID)
  • agent.name: Human-readable name
  • agent.version: Semantic version (e.g., "1.0.0")
  • agent.role: Agent role classification (worker, orchestrator, critic, governor)

Agent Capabilities

  • agent.capabilities: Array of capability names
  • Each capability defines input/output schemas
  • Capabilities enable agent composition

Agent Configuration

  • agent.modelConfig: LLM provider and model configuration
  • agent.tools: Available tools for the agent
  • agent.messaging: A2A messaging channels

Complete Schema Documentation

For detailed field-by-field documentation, see:

Validation

Validate agent manifests:

ossa validate agent.ossa.yaml

Framework Comparison

FrameworkTypeOSSA CompatibilityEnterprise Features
OSSAOpen Standard✅ Native✅ Built-in
LangChainDevelopment Framework⚠️ Via adapter🟡 Limited
AutoGPTAutonomous Agent⚠️ Via adapter❌ None
CrewAIMulti-Agent Framework⚠️ Via adapter❌ None
Microsoft AutoGenConversational Framework⚠️ Via adapter🟡 Limited

Key Differentiators

OSSA Advantages

  1. Framework Agnostic: Not tied to any specific framework
  2. Multi-Language: Works with any programming language
  3. Enterprise Governance: Built-in compliance, audit, and policy enforcement
  4. Standardized Observability: OpenTelemetry integration
  5. Portability: Agents can move between runtimes
  6. Versioning: Semantic versioning with migration paths

Framework-Specific Strengths

  • LangChain: Rich ecosystem, rapid prototyping
  • AutoGPT: Full autonomy, self-directed tasks
  • CrewAI: Role-based agent teams, simple orchestration
  • AutoGen: Conversational AI, human-in-the-loop

Detailed Comparison

For comprehensive framework comparison, see:


Migration Guides

Framework Migrations

Migrate agents from popular frameworks to OSSA:

Version Migrations

v0.2.x → v0.3.0

Breaking Changes:

  • Agent messaging (A2A protocol) introduced
  • Workflow composition enhanced
  • Schema structure updated

Migration Steps:

  1. Update apiVersion to ossa/v0.3.0
  2. Review messaging configuration
  3. Update workflow definitions
  4. Validate with ossa validate

Migration Tool:

ossa migrate agent.ossa.yaml --from v0.2.9 --to v0.3.0

Version-Specific Information

OSSA v0.3.0

New Features

  1. Agent-to-Agent (A2A) Messaging

    • Standardized message envelopes
    • Message routing and delivery
    • Authentication and encryption support
  2. Enhanced Workflow Composition

    • Multi-agent workflows
    • Conditional execution
    • Parallel and sequential patterns
  3. Improved Observability

    • OpenTelemetry integration
    • Distributed tracing
    • Structured logging
  4. Enterprise Governance

    • Compliance metadata (SOC2, GDPR, HIPAA)
    • Policy enforcement
    • Audit logging

Schema Changes

  • Added messaging section to agent spec
  • Enhanced workflow specification
  • New messageRouting resource kind

Migration from v0.2.x

See Migration Guides section above.


Agent Schema Comparison

GitLab Duo Agent vs. OSSA Agent

GitLab Duo Agent:

  • Specialized for GitLab integration
  • Project-scoped agents
  • GitLab-specific triggers

OSSA Agent:

  • Platform-agnostic design
  • Universal trigger types
  • Framework-independent

For detailed comparison, see:


Getting Started

Technical Reference

Integration Guides


References


Changelog

See Changelog for detailed version history and changes.


Last Updated: 2025-12-21
Specification Version: v0.3.0
Document Status: Complete and Authoritative