@bluefly/openstandardagents 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +41 -0
- package/.eslintrc.cjs +43 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +39 -0
- package/.github/dependabot.yml +58 -0
- package/.github/workflows/ci.yml +154 -0
- package/.github/workflows/codeql.yml +41 -0
- package/.github/workflows/dependabot-auto-merge.yml +28 -0
- package/.github/workflows/release.yml +103 -0
- package/.prettierignore +7 -0
- package/.prettierrc.json +10 -0
- package/.redocly.yaml +9 -0
- package/.releaserc.json +84 -0
- package/.releaserc.json.disabled +81 -0
- package/CHANGELOG.md +152 -0
- package/CONTRIBUTING.md +249 -0
- package/LICENSE +190 -0
- package/README.md +280 -0
- package/bin/ossa +8 -0
- package/bin/validate-ossa-0.2.2.ts +244 -0
- package/dist/di-container.d.ts +18 -0
- package/dist/di-container.d.ts.map +1 -0
- package/dist/di-container.js +43 -0
- package/dist/di-container.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/repositories/manifest.repository.d.ts +26 -0
- package/dist/repositories/manifest.repository.d.ts.map +1 -0
- package/dist/repositories/manifest.repository.js +90 -0
- package/dist/repositories/manifest.repository.js.map +1 -0
- package/dist/repositories/schema.repository.d.ts +30 -0
- package/dist/repositories/schema.repository.d.ts.map +1 -0
- package/dist/repositories/schema.repository.js +143 -0
- package/dist/repositories/schema.repository.js.map +1 -0
- package/dist/services/generation.service.d.ts +54 -0
- package/dist/services/generation.service.d.ts.map +1 -0
- package/dist/services/generation.service.js +298 -0
- package/dist/services/generation.service.js.map +1 -0
- package/dist/services/migration.service.d.ts +30 -0
- package/dist/services/migration.service.d.ts.map +1 -0
- package/dist/services/migration.service.js +231 -0
- package/dist/services/migration.service.js.map +1 -0
- package/dist/services/runtime/openai.adapter.d.ts +94 -0
- package/dist/services/runtime/openai.adapter.d.ts.map +1 -0
- package/dist/services/runtime/openai.adapter.js +209 -0
- package/dist/services/runtime/openai.adapter.js.map +1 -0
- package/dist/services/validation.service.d.ts +45 -0
- package/dist/services/validation.service.d.ts.map +1 -0
- package/dist/services/validation.service.js +362 -0
- package/dist/services/validation.service.js.map +1 -0
- package/dist/services/validators/anthropic.validator.d.ts +9 -0
- package/dist/services/validators/anthropic.validator.d.ts.map +1 -0
- package/dist/services/validators/anthropic.validator.js +105 -0
- package/dist/services/validators/anthropic.validator.js.map +1 -0
- package/dist/services/validators/autogen.validator.d.ts +9 -0
- package/dist/services/validators/autogen.validator.d.ts.map +1 -0
- package/dist/services/validators/autogen.validator.js +111 -0
- package/dist/services/validators/autogen.validator.js.map +1 -0
- package/dist/services/validators/crewai.validator.d.ts +9 -0
- package/dist/services/validators/crewai.validator.d.ts.map +1 -0
- package/dist/services/validators/crewai.validator.js +117 -0
- package/dist/services/validators/crewai.validator.js.map +1 -0
- package/dist/services/validators/cursor.validator.d.ts +9 -0
- package/dist/services/validators/cursor.validator.d.ts.map +1 -0
- package/dist/services/validators/cursor.validator.js +88 -0
- package/dist/services/validators/cursor.validator.js.map +1 -0
- package/dist/services/validators/index.d.ts +15 -0
- package/dist/services/validators/index.d.ts.map +1 -0
- package/dist/services/validators/index.js +15 -0
- package/dist/services/validators/index.js.map +1 -0
- package/dist/services/validators/langchain.validator.d.ts +9 -0
- package/dist/services/validators/langchain.validator.d.ts.map +1 -0
- package/dist/services/validators/langchain.validator.js +103 -0
- package/dist/services/validators/langchain.validator.js.map +1 -0
- package/dist/services/validators/langflow.validator.d.ts +9 -0
- package/dist/services/validators/langflow.validator.d.ts.map +1 -0
- package/dist/services/validators/langflow.validator.js +92 -0
- package/dist/services/validators/langflow.validator.js.map +1 -0
- package/dist/services/validators/langgraph.validator.d.ts +9 -0
- package/dist/services/validators/langgraph.validator.d.ts.map +1 -0
- package/dist/services/validators/langgraph.validator.js +123 -0
- package/dist/services/validators/langgraph.validator.js.map +1 -0
- package/dist/services/validators/llamaindex.validator.d.ts +9 -0
- package/dist/services/validators/llamaindex.validator.d.ts.map +1 -0
- package/dist/services/validators/llamaindex.validator.js +121 -0
- package/dist/services/validators/llamaindex.validator.js.map +1 -0
- package/dist/services/validators/openai.validator.d.ts +9 -0
- package/dist/services/validators/openai.validator.d.ts.map +1 -0
- package/dist/services/validators/openai.validator.js +126 -0
- package/dist/services/validators/openai.validator.js.map +1 -0
- package/dist/services/validators/vercel-ai.validator.d.ts +9 -0
- package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -0
- package/dist/services/validators/vercel-ai.validator.js +99 -0
- package/dist/services/validators/vercel-ai.validator.js.map +1 -0
- package/dist/spec/v0.1.9/agent-autonomous-extensions.json +234 -0
- package/dist/spec/v0.1.9/ecosystem-compliance.json +235 -0
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json +695 -0
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
- package/dist/spec/v0.1.9/reasoning-compliance.json +654 -0
- package/dist/spec/v0.2.2/kagent-enhancements.json +395 -0
- package/dist/spec/v0.2.2/ossa-0.2.2.schema.json +906 -0
- package/dist/spec/v0.2.2/ossa-0.2.2.yaml +448 -0
- package/dist/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +424 -0
- package/dist/spec/v0.2.3/CHANGELOG.md +176 -0
- package/dist/spec/v0.2.3/README.md +154 -0
- package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/dist/spec/v0.2.3/ossa-0.2.3.schema.json +1397 -0
- package/dist/spec/v0.2.3/ossa-0.2.3.yaml +448 -0
- package/dist/spec/v0.2.4-dev/CHANGELOG.md +403 -0
- package/dist/spec/v0.2.4-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.schema.json +1696 -0
- package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
- package/dist/spec/v0.2.5-dev/CHANGELOG.md +171 -0
- package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +362 -0
- package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +464 -0
- package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +440 -0
- package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +317 -0
- package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.schema.json +1732 -0
- package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +409 -0
- package/dist/types/index.d.ts +178 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +6 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/openapi-extensions.d.ts +164 -0
- package/dist/types/openapi-extensions.d.ts.map +1 -0
- package/dist/types/openapi-extensions.js +6 -0
- package/dist/types/openapi-extensions.js.map +1 -0
- package/docs/OSSA-COMPLIANT-BADGE.md +248 -0
- package/docs/README.md +31 -0
- package/docs/VERSIONING.md +284 -0
- package/docs/agent-openapi-spec.yml +942 -0
- package/docs/getting-started.md +87 -0
- package/docs/migration/general-agent-schema.yml +255 -0
- package/docs/migration/migration-manifest.json +64 -0
- package/docs/openapi-extensions.md +930 -0
- package/docs/schemas/openapi-extensions.schema.json +486 -0
- package/examples/adk-integration/code-review-workflow.yml +136 -0
- package/examples/adk-integration/customer-support.yml +263 -0
- package/examples/adk-integration/data-pipeline.yml +173 -0
- package/examples/advanced/patterns/compliance-context-production.json +53 -0
- package/examples/advanced/patterns/model-router.ts +274 -0
- package/examples/advanced/patterns/smart-model-routing.ts +248 -0
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +232 -0
- package/examples/agent-manifests/critics/critic-agent.yaml +149 -0
- package/examples/agent-manifests/governors/governor-agent.yaml +128 -0
- package/examples/agent-manifests/integrators/integrator-agent.yaml +103 -0
- package/examples/agent-manifests/judges/judge-agent.yaml +153 -0
- package/examples/agent-manifests/monitors/monitor-agent.yaml +122 -0
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +247 -0
- package/examples/agent-manifests/sample-compliant-agent.yaml +147 -0
- package/examples/agent-manifests/workers/worker-agent.yaml +82 -0
- package/examples/anthropic/claude-assistant.ossa.json +45 -0
- package/examples/architecture/model-configuration/ollama-integration.ts +110 -0
- package/examples/autogen/multi-agent.ossa.json +37 -0
- package/examples/bridge-configurations.yaml +346 -0
- package/examples/bridges/Dockerfile.production +87 -0
- package/examples/bridges/__pycache__/aiflow-bridge-enhanced.cpython-313.pyc +0 -0
- package/examples/bridges/__pycache__/aiflow-phoenix-tracing.cpython-313.pyc +0 -0
- package/examples/bridges/__pycache__/test_aiflow_integration.cpython-313.pyc +0 -0
- package/examples/bridges/aiflow-bridge-enhanced.py +462 -0
- package/examples/bridges/aiflow-bridge-example.yml +310 -0
- package/examples/bridges/aiflow-phoenix-tracing.py +310 -0
- package/examples/bridges/aiflow-registration-api.openapi.yml +439 -0
- package/examples/bridges/k8s/configmap.yaml +121 -0
- package/examples/bridges/k8s/deployment-simple.yaml +34 -0
- package/examples/bridges/k8s/deployment.yaml +275 -0
- package/examples/bridges/k8s/hpa.yaml +126 -0
- package/examples/bridges/k8s/ingress.yaml +155 -0
- package/examples/bridges/kagent-bridge-example.yml +94 -0
- package/examples/bridges/load-tests/Dockerfile +28 -0
- package/examples/bridges/load-tests/k6-load-test.js +302 -0
- package/examples/bridges/load-tests/requirements.txt +20 -0
- package/examples/bridges/loadtest/k6-scenarios.js +270 -0
- package/examples/bridges/phase4/SLO-SLA.yaml +249 -0
- package/examples/bridges/phase4/chaos-tests.yaml +226 -0
- package/examples/bridges/requirements.txt +24 -0
- package/examples/bridges/test_aiflow_integration.py +341 -0
- package/examples/common_npm/agent-router.ossa.yaml +182 -0
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +60 -0
- package/examples/compliance-agent.yml +155 -0
- package/examples/crewai/research-team.ossa.json +36 -0
- package/examples/cursor/code-review-agent.ossa.json +47 -0
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +609 -0
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +68 -0
- package/examples/enterprise/agent.yml +452 -0
- package/examples/extensions/drupal-v1.yml +266 -0
- package/examples/extensions/kagent-v1.yml +167 -0
- package/examples/getting-started/hello-world-complete.ossa.yaml +266 -0
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +376 -0
- package/examples/kagent/README.md +31 -0
- package/examples/kagent/compliance-validator.ossa.yaml +111 -0
- package/examples/kagent/cost-optimizer.ossa.yaml +93 -0
- package/examples/kagent/documentation-agent.ossa.yaml +91 -0
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +269 -0
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +106 -0
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +257 -0
- package/examples/kagent/security-scanner.ossa.yaml +140 -0
- package/examples/langchain/chain-agent.ossa.json +42 -0
- package/examples/langflow/workflow-agent.ossa.json +39 -0
- package/examples/langgraph/state-machine-agent.ossa.json +59 -0
- package/examples/llamaindex/rag-agent.ossa.json +41 -0
- package/examples/migration-guides/from-langchain-to-ossa.yaml +309 -0
- package/examples/minimal/agent.yml +152 -0
- package/examples/minimal/openapi.yaml +95 -0
- package/examples/openai/swarm-agent.ossa.json +59 -0
- package/examples/openapi-extensions/README.md +87 -0
- package/examples/openapi-extensions/minimal-agent-api.openapi.yml +288 -0
- package/examples/openapi-extensions/orchestrator-agent-api.openapi.yml +633 -0
- package/examples/openapi-extensions/worker-agent-api.openapi.yml +533 -0
- package/examples/production/agent.yml +713 -0
- package/examples/production/document-analyzer-openai.yml +134 -0
- package/examples/quickstart/support-agent.ossa.yaml +59 -0
- package/examples/service-registry-usage.ts +423 -0
- package/examples/spec-examples/audit-agent.yml +147 -0
- package/examples/spec-examples/chat-agent.yml +189 -0
- package/examples/spec-examples/compliance-agent.yml +204 -0
- package/examples/spec-examples/data-processing-agent.yml +132 -0
- package/examples/spec-examples/development-agent.yml +138 -0
- package/examples/spec-examples/edge-agent.yml +101 -0
- package/examples/spec-examples/integration-agent.yml +129 -0
- package/examples/spec-examples/monitoring-agent.yml +130 -0
- package/examples/spec-examples/serverless-agent.yml +82 -0
- package/examples/spec-examples/workflow-agent.yml +223 -0
- package/examples/templates/ossa-compliance.yaml +56 -0
- package/examples/typescript/advanced/demo-registry.ts +168 -0
- package/examples/typescript/mcpb-agent-example.ts +358 -0
- package/examples/vercel/edge-agent.ossa.json +43 -0
- package/infrastructure/docker-compose.yml +33 -0
- package/junit.xml +1 -0
- package/openapi/drupal-agent-api.openapi.yaml +348 -0
- package/openapi/gitlab-orchestrator.openapi.yaml +330 -0
- package/openapi/helm-generator.openapi.yaml +389 -0
- package/openapi/ossa-core-api.openapi.yaml +1448 -0
- package/openapi/ossa-registry-api.openapi.yaml +980 -0
- package/openapi/ossa-registry.openapi.yaml +782 -0
- package/openapi/self-evolving-ecosystem.openapi.yaml +1530 -0
- package/openapi/unified-agent-gateway.openapi.yaml +833 -0
- package/ossa-website-swarm-tasks.json +105 -0
- package/package.json +132 -0
- package/release.config.js +64 -0
- package/spec/v0.1.9/agent-autonomous-extensions.json +234 -0
- package/spec/v0.1.9/ecosystem-compliance.json +235 -0
- package/spec/v0.1.9/ossa-v0.1.9.schema.json +695 -0
- package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
- package/spec/v0.1.9/reasoning-compliance.json +654 -0
- package/spec/v0.2.2/kagent-enhancements.json +395 -0
- package/spec/v0.2.2/ossa-0.2.2.schema.json +906 -0
- package/spec/v0.2.2/ossa-0.2.2.yaml +448 -0
- package/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +424 -0
- package/spec/v0.2.3/CHANGELOG.md +176 -0
- package/spec/v0.2.3/README.md +154 -0
- package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/spec/v0.2.3/ossa-0.2.3.schema.json +1397 -0
- package/spec/v0.2.3/ossa-0.2.3.yaml +448 -0
- package/spec/v0.2.4-dev/CHANGELOG.md +403 -0
- package/spec/v0.2.4-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.4-dev/ossa-0.2.4-dev.schema.json +1696 -0
- package/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
- package/spec/v0.2.5-dev/CHANGELOG.md +171 -0
- package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +362 -0
- package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +464 -0
- package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +440 -0
- package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +317 -0
- package/spec/v0.2.5-dev/ossa-0.2.5-dev.schema.json +1732 -0
- package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +409 -0
- package/test-results.xml +1 -0
- package/website/.lighthouserc.js +20 -0
- package/website/.prettierrc +10 -0
- package/website/Dockerfile +17 -0
- package/website/app/about/page.tsx +295 -0
- package/website/app/api/validate/route.ts +88 -0
- package/website/app/blog/[slug]/page.tsx +167 -0
- package/website/app/blog/page.tsx +162 -0
- package/website/app/docs/[[...slug]]/page.tsx +349 -0
- package/website/app/docs/core-concepts/project-structure/page.tsx +349 -0
- package/website/app/ecosystem/page.tsx +375 -0
- package/website/app/examples/page.tsx +123 -0
- package/website/app/globals.css +108 -0
- package/website/app/layout.tsx +106 -0
- package/website/app/page.tsx +409 -0
- package/website/app/playground/page.tsx +507 -0
- package/website/app/robots.ts +19 -0
- package/website/app/rss.xml/route.ts +74 -0
- package/website/app/schema/page.tsx +970 -0
- package/website/app/sitemap.ts +56 -0
- package/website/app/specification/page.tsx +211 -0
- package/website/components/InstallCommand.tsx +96 -0
- package/website/components/Logo.tsx +24 -0
- package/website/components/StructuredData.tsx +65 -0
- package/website/components/docs/DocsSearch.tsx +104 -0
- package/website/components/docs/DocsSidebar.tsx +118 -0
- package/website/components/docs/MarkdownContent.tsx +183 -0
- package/website/components/docs/VersionSelector.tsx +49 -0
- package/website/components/examples/ExamplesViewer.tsx +293 -0
- package/website/components/layout/Footer.tsx +111 -0
- package/website/components/layout/Header.tsx +170 -0
- package/website/components/schema/SchemaExplorer.tsx +213 -0
- package/website/content/blog/OpenAPI-AI-Agents-Standard.md +285 -0
- package/website/content/blog/Why-Formal-Standards-Matter-Now.md +209 -0
- package/website/content/blog/introducing-ossa-framework.md +328 -0
- package/website/content/blog/ossa-production-results.md +279 -0
- package/website/content/blog/welcome-to-ossa.md +43 -0
- package/website/content/blog/why-ai-agents-need-open-standard.md +98 -0
- package/website/content/docs/00-HOME.md +160 -0
- package/website/content/docs/AIFlow-Framework-Integration-with-OSSA.md +107 -0
- package/website/content/docs/OpenAPI-Extensions.md +498 -0
- package/website/content/docs/architecture/execution-flow.md +335 -0
- package/website/content/docs/architecture/multi-agent-systems.md +737 -0
- package/website/content/docs/architecture/overview.md +121 -0
- package/website/content/docs/architecture/stack-integration.md +461 -0
- package/website/content/docs/changelog.md +246 -0
- package/website/content/docs/contributing.md +599 -0
- package/website/content/docs/core-concepts/project-structure.md +348 -0
- package/website/content/docs/ecosystem/framework-support.md +821 -0
- package/website/content/docs/ecosystem/overview.md +366 -0
- package/website/content/docs/examples/Migration-Guides.md +214 -0
- package/website/content/docs/examples.md +71 -0
- package/website/content/docs/for-audiences/Enterprises.md +256 -0
- package/website/content/docs/for-audiences/Students-Researchers.md +122 -0
- package/website/content/docs/for-audiences/architects.md +224 -0
- package/website/content/docs/for-audiences/developers.md +220 -0
- package/website/content/docs/getting-started/5-minute-overview.md +85 -0
- package/website/content/docs/getting-started/Hello-World.md +184 -0
- package/website/content/docs/getting-started/first-agent.md +196 -0
- package/website/content/docs/getting-started/installation.md +155 -0
- package/website/content/docs/getting-started/running-agents.md +107 -0
- package/website/content/docs/integrations/aiflow.md +104 -0
- package/website/content/docs/integrations/drupal.md +105 -0
- package/website/content/docs/migration-guides/00-index.md +76 -0
- package/website/content/docs/migration-guides/README.md +133 -0
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +1750 -0
- package/website/content/docs/migration-guides/crewai-to-ossa.md +274 -0
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +2017 -0
- package/website/content/docs/migration-guides/index.md +133 -0
- package/website/content/docs/migration-guides/langchain-to-ossa.md +1714 -0
- package/website/content/docs/migration-guides/langflow-to-ossa.md +2075 -0
- package/website/content/docs/migration-guides/openai-to-ossa.md +1202 -0
- package/website/content/docs/openapi-extensions/examples.md +550 -0
- package/website/content/docs/openapi-extensions/index.md +495 -0
- package/website/content/docs/openapi-extensions/operation-extensions.md +398 -0
- package/website/content/docs/openapi-extensions/root-extensions.md +364 -0
- package/website/content/docs/pre-release/index.md +175 -0
- package/website/content/docs/quick-reference.md +17 -0
- package/website/content/docs/schema-reference/agent-spec.md +406 -0
- package/website/content/docs/schema-reference/autonomy.md +568 -0
- package/website/content/docs/schema-reference/constraints.md +543 -0
- package/website/content/docs/schema-reference/index.md +176 -0
- package/website/content/docs/schema-reference/llm-config.md +445 -0
- package/website/content/docs/schema-reference/observability.md +654 -0
- package/website/content/docs/schema-reference/ossa-manifest.md +309 -0
- package/website/content/docs/schema-reference/taxonomy.md +509 -0
- package/website/content/docs/schema-reference/tools.md +628 -0
- package/website/content/docs/templates/blog-post.md +43 -0
- package/website/content/docs/use-cases/00-index.md +395 -0
- package/website/content/docs/use-cases/cicd-code-review.md +1236 -0
- package/website/content/docs/use-cases/customer-support.md +1234 -0
- package/website/content/docs/use-cases/enterprise-compliance.md +1208 -0
- package/website/content/docs/use-cases/research-multi-agent.md +1161 -0
- package/website/lib/version.ts +18 -0
- package/website/next.config.js +17 -0
- package/website/next.config.ts +16 -0
- package/website/nginx.conf +32 -0
- package/website/package-lock.json +9145 -0
- package/website/package.json +53 -0
- package/website/postcss.config.js +7 -0
- package/website/postcss.config.mjs +9 -0
- package/website/scripts/sync-version.js +44 -0
- package/website/scripts/sync-wiki.ts +261 -0
- package/website/tailwind.config.js +58 -0
- package/website/tailwind.config.ts +65 -0
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Ecosystem Overview
|
|
3
|
+
description: Comprehensive overview of the Open Standard Agents ecosystem, integrations, and interoperability model
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ecosystem Overview
|
|
7
|
+
|
|
8
|
+
The Open Standard Agents (OSSA) ecosystem encompasses a wide range of frameworks, runtimes, tools, and integrations that enable vendor-neutral AI agent orchestration. This document provides a comprehensive overview of how OSSA enables interoperability across the agent landscape.
|
|
9
|
+
|
|
10
|
+
## Architecture Model
|
|
11
|
+
|
|
12
|
+
OSSA follows a layered architecture that separates concerns and enables flexibility:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
16
|
+
│ Application Layer │
|
|
17
|
+
│ (Your Agents - CrewAI, LangChain, kAgent, Custom, etc.) │
|
|
18
|
+
└─────────────────────────────────────────────────────────────┘
|
|
19
|
+
↕
|
|
20
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
21
|
+
│ OSSA Specification Layer │
|
|
22
|
+
│ (Standard Manifest, Schema Validation, Tools) │
|
|
23
|
+
└─────────────────────────────────────────────────────────────┘
|
|
24
|
+
↕
|
|
25
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
26
|
+
│ Framework Layer │
|
|
27
|
+
│ (LangChain, CrewAI, Anthropic MCP, OpenAI, Langflow, etc.) │
|
|
28
|
+
└─────────────────────────────────────────────────────────────┘
|
|
29
|
+
↕
|
|
30
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
31
|
+
│ Runtime Layer │
|
|
32
|
+
│ (Docker, Kubernetes, Lambda, Cloud Functions, etc.) │
|
|
33
|
+
└─────────────────────────────────────────────────────────────┘
|
|
34
|
+
↕
|
|
35
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
36
|
+
│ Infrastructure Layer │
|
|
37
|
+
│ (Cloud Providers, On-Premise, Edge, Hybrid) │
|
|
38
|
+
└─────────────────────────────────────────────────────────────┘
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Core Principles
|
|
42
|
+
|
|
43
|
+
### 1. Framework Agnostic
|
|
44
|
+
|
|
45
|
+
OSSA is designed to work with any AI agent framework. Whether you're using:
|
|
46
|
+
|
|
47
|
+
- **LangChain** for chain-based workflows
|
|
48
|
+
- **CrewAI** for multi-agent coordination
|
|
49
|
+
- **kAgent** for native OSSA implementation
|
|
50
|
+
- **Anthropic MCP** for Claude integration
|
|
51
|
+
- **OpenAI Assistants** for GPT-based agents
|
|
52
|
+
- **Custom frameworks** built in-house
|
|
53
|
+
|
|
54
|
+
All frameworks can produce and consume OSSA manifests, enabling seamless interoperability.
|
|
55
|
+
|
|
56
|
+
### 2. Runtime Portable
|
|
57
|
+
|
|
58
|
+
Deploy the same agent definition across:
|
|
59
|
+
|
|
60
|
+
- **Containers**: Docker, Podman
|
|
61
|
+
- **Orchestrators**: Kubernetes, Docker Swarm
|
|
62
|
+
- **Serverless**: AWS Lambda, Google Cloud Functions, Azure Functions
|
|
63
|
+
- **Edge**: Cloudflare Workers, AWS Lambda@Edge
|
|
64
|
+
- **On-Premise**: Bare metal servers, private clouds
|
|
65
|
+
|
|
66
|
+
The OSSA manifest travels with your agent, ensuring consistent behavior across environments.
|
|
67
|
+
|
|
68
|
+
### 3. Tool Extensible
|
|
69
|
+
|
|
70
|
+
OSSA supports multiple tool integration patterns:
|
|
71
|
+
|
|
72
|
+
- **MCP Servers**: Model Context Protocol for standardized tool interfaces
|
|
73
|
+
- **REST APIs**: OpenAPI/Swagger-based HTTP services
|
|
74
|
+
- **GraphQL**: Query-based data fetching
|
|
75
|
+
- **gRPC**: High-performance binary protocols
|
|
76
|
+
- **WebSockets**: Real-time bidirectional communication
|
|
77
|
+
- **Native Functions**: Language-specific tool implementations
|
|
78
|
+
|
|
79
|
+
### 4. Security First
|
|
80
|
+
|
|
81
|
+
Built-in security features include:
|
|
82
|
+
|
|
83
|
+
- **Capability-based permissions**: Fine-grained access control
|
|
84
|
+
- **Secret management**: Secure credential handling
|
|
85
|
+
- **Audit trails**: Complete operation logging
|
|
86
|
+
- **Sandboxing**: Isolated execution environments
|
|
87
|
+
- **Compliance**: SOC 2, HIPAA, GDPR-ready
|
|
88
|
+
|
|
89
|
+
## Integration Patterns
|
|
90
|
+
|
|
91
|
+
### Pattern 1: Direct Framework Integration
|
|
92
|
+
|
|
93
|
+
Frameworks implement OSSA manifest import/export:
|
|
94
|
+
|
|
95
|
+
```typescript
|
|
96
|
+
// LangChain example
|
|
97
|
+
import { OSSAAgent } from '@ossa/langchain';
|
|
98
|
+
|
|
99
|
+
const agent = OSSAAgent.fromManifest('agent-manifest.json');
|
|
100
|
+
await agent.execute({ input: 'Hello world' });
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Pattern 2: Runtime Adapter
|
|
104
|
+
|
|
105
|
+
Runtimes provide OSSA-to-native translation:
|
|
106
|
+
|
|
107
|
+
```yaml
|
|
108
|
+
# Kubernetes deployment
|
|
109
|
+
apiVersion: ossa.io/v1
|
|
110
|
+
kind: Agent
|
|
111
|
+
metadata:
|
|
112
|
+
name: my-agent
|
|
113
|
+
spec:
|
|
114
|
+
manifestRef:
|
|
115
|
+
name: agent-manifest
|
|
116
|
+
namespace: default
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Pattern 3: Middleware Translation
|
|
120
|
+
|
|
121
|
+
Middleware layers bridge OSSA and proprietary formats:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
# Convert OpenAI Assistant to OSSA
|
|
125
|
+
ossa convert \
|
|
126
|
+
--from openai-assistant \
|
|
127
|
+
--to ossa \
|
|
128
|
+
--input assistant.json \
|
|
129
|
+
--output manifest.json
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
## Ecosystem Components
|
|
133
|
+
|
|
134
|
+
### Core Specification
|
|
135
|
+
|
|
136
|
+
- **Schema**: JSON Schema defining manifest structure
|
|
137
|
+
- **Validator**: Command-line tool for manifest validation
|
|
138
|
+
- **TypeScript Types**: Type definitions for TypeScript/JavaScript
|
|
139
|
+
- **Python Types**: Type definitions for Python (Pydantic models)
|
|
140
|
+
|
|
141
|
+
### Framework Adapters
|
|
142
|
+
|
|
143
|
+
- **@ossa/langchain**: LangChain integration
|
|
144
|
+
- **@ossa/crewai**: CrewAI integration
|
|
145
|
+
- **@ossa/mcp**: Anthropic MCP integration
|
|
146
|
+
- **@ossa/openai**: OpenAI Assistants integration
|
|
147
|
+
- **@ossa/langflow**: Langflow visual builder integration
|
|
148
|
+
|
|
149
|
+
### Runtime Support
|
|
150
|
+
|
|
151
|
+
- **Docker Images**: Pre-built containers for OSSA agents
|
|
152
|
+
- **Kubernetes Operators**: Custom resource definitions for K8s
|
|
153
|
+
- **Serverless Templates**: CloudFormation, Terraform modules
|
|
154
|
+
- **Edge Workers**: Cloudflare Workers, Lambda@Edge templates
|
|
155
|
+
|
|
156
|
+
### Development Tools
|
|
157
|
+
|
|
158
|
+
- **OSSA CLI**: Command-line interface for validation, conversion, deployment
|
|
159
|
+
- **VSCode Extension**: IntelliSense, validation, snippets
|
|
160
|
+
- **Playground**: Interactive web-based agent testing
|
|
161
|
+
- **Schema Explorer**: Visual schema documentation
|
|
162
|
+
|
|
163
|
+
### Monitoring & Observability
|
|
164
|
+
|
|
165
|
+
- **OpenTelemetry**: Distributed tracing integration
|
|
166
|
+
- **Prometheus**: Metrics collection and alerting
|
|
167
|
+
- **Structured Logging**: JSON-formatted logs with correlation IDs
|
|
168
|
+
- **Health Checks**: Readiness and liveness probes
|
|
169
|
+
|
|
170
|
+
## Data Flow
|
|
171
|
+
|
|
172
|
+
### Agent Lifecycle with OSSA
|
|
173
|
+
|
|
174
|
+
```mermaid
|
|
175
|
+
graph TD
|
|
176
|
+
A[Define Agent] --> B[Write OSSA Manifest]
|
|
177
|
+
B --> C[Validate Schema]
|
|
178
|
+
C --> D{Valid?}
|
|
179
|
+
D -->|No| E[Fix Errors]
|
|
180
|
+
E --> B
|
|
181
|
+
D -->|Yes| F[Package Agent]
|
|
182
|
+
F --> G[Deploy to Runtime]
|
|
183
|
+
G --> H[Runtime Loads Manifest]
|
|
184
|
+
H --> I[Initialize Framework]
|
|
185
|
+
I --> J[Register Tools]
|
|
186
|
+
J --> K[Agent Ready]
|
|
187
|
+
K --> L[Execute Tasks]
|
|
188
|
+
L --> M[Log/Monitor]
|
|
189
|
+
M --> N{Continue?}
|
|
190
|
+
N -->|Yes| L
|
|
191
|
+
N -->|No| O[Cleanup]
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## Interoperability Model
|
|
195
|
+
|
|
196
|
+
### Multi-Framework Orchestration
|
|
197
|
+
|
|
198
|
+
OSSA enables coordinating agents across different frameworks:
|
|
199
|
+
|
|
200
|
+
```json
|
|
201
|
+
{
|
|
202
|
+
"name": "hybrid-system",
|
|
203
|
+
"type": "orchestrator",
|
|
204
|
+
"agents": [
|
|
205
|
+
{
|
|
206
|
+
"id": "researcher",
|
|
207
|
+
"framework": "langchain",
|
|
208
|
+
"manifestRef": "./langchain-researcher.json"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "writer",
|
|
212
|
+
"framework": "crewai",
|
|
213
|
+
"manifestRef": "./crewai-writer.json"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "reviewer",
|
|
217
|
+
"framework": "openai",
|
|
218
|
+
"manifestRef": "./openai-reviewer.json"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"workflow": {
|
|
222
|
+
"steps": [
|
|
223
|
+
{ "agent": "researcher", "output": "research_data" },
|
|
224
|
+
{ "agent": "writer", "input": "research_data", "output": "draft" },
|
|
225
|
+
{ "agent": "reviewer", "input": "draft", "output": "final" }
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Cross-Runtime Deployment
|
|
232
|
+
|
|
233
|
+
Deploy agents to different runtimes based on requirements:
|
|
234
|
+
|
|
235
|
+
- **CPU-Intensive**: Kubernetes with GPU nodes
|
|
236
|
+
- **Event-Driven**: AWS Lambda with SQS triggers
|
|
237
|
+
- **Low-Latency**: Cloudflare Workers at the edge
|
|
238
|
+
- **Stateful**: EC2 instances with persistent storage
|
|
239
|
+
|
|
240
|
+
## Community Ecosystem
|
|
241
|
+
|
|
242
|
+
### Open Source Projects
|
|
243
|
+
|
|
244
|
+
- **kAgent**: Native OSSA framework (reference implementation)
|
|
245
|
+
- **OSSA Validator**: Schema validation and linting
|
|
246
|
+
- **OSSA Playground**: Web-based testing environment
|
|
247
|
+
- **OSSA CLI**: Command-line tools
|
|
248
|
+
|
|
249
|
+
### Commercial Integrations
|
|
250
|
+
|
|
251
|
+
- **LangSmith**: LangChain deployment platform
|
|
252
|
+
- **Crew Studio**: CrewAI management console
|
|
253
|
+
- **Claude for Enterprise**: Anthropic's enterprise offering
|
|
254
|
+
- **OpenAI Teams**: Team collaboration features
|
|
255
|
+
|
|
256
|
+
### Community Resources
|
|
257
|
+
|
|
258
|
+
- **Discord**: Real-time chat and support
|
|
259
|
+
- **GitLab**: Source code, issues, discussions
|
|
260
|
+
- **Documentation**: Comprehensive guides and references
|
|
261
|
+
- **Examples**: Real-world implementation patterns
|
|
262
|
+
|
|
263
|
+
## Getting Started
|
|
264
|
+
|
|
265
|
+
### For Framework Developers
|
|
266
|
+
|
|
267
|
+
Integrate OSSA into your framework:
|
|
268
|
+
|
|
269
|
+
1. **Implement Manifest Parser**: Read OSSA JSON/YAML
|
|
270
|
+
2. **Map to Native Types**: Convert OSSA concepts to your framework
|
|
271
|
+
3. **Validate Schema**: Ensure manifest compliance
|
|
272
|
+
4. **Export Manifest**: Generate OSSA from native definitions
|
|
273
|
+
5. **Document Integration**: Provide migration guides
|
|
274
|
+
|
|
275
|
+
### For Runtime Developers
|
|
276
|
+
|
|
277
|
+
Add OSSA support to your runtime:
|
|
278
|
+
|
|
279
|
+
1. **Parse Manifest**: Extract deployment requirements
|
|
280
|
+
2. **Provision Resources**: Create necessary infrastructure
|
|
281
|
+
3. **Initialize Framework**: Setup agent execution environment
|
|
282
|
+
4. **Monitor Lifecycle**: Track agent health and performance
|
|
283
|
+
5. **Handle Cleanup**: Properly tear down resources
|
|
284
|
+
|
|
285
|
+
### For Tool Developers
|
|
286
|
+
|
|
287
|
+
Create OSSA-compatible tools:
|
|
288
|
+
|
|
289
|
+
1. **Define Schema**: Describe tool inputs/outputs
|
|
290
|
+
2. **Implement Interface**: Follow OSSA tool protocol
|
|
291
|
+
3. **Add Documentation**: Provide usage examples
|
|
292
|
+
4. **Register Tool**: Make discoverable in ecosystem
|
|
293
|
+
5. **Maintain Compatibility**: Keep up with spec updates
|
|
294
|
+
|
|
295
|
+
## Best Practices
|
|
296
|
+
|
|
297
|
+
### Manifest Design
|
|
298
|
+
|
|
299
|
+
- **Keep it simple**: Start with minimal required fields
|
|
300
|
+
- **Document thoroughly**: Use descriptions for all properties
|
|
301
|
+
- **Version explicitly**: Always specify OSSA spec version
|
|
302
|
+
- **Validate early**: Run validation before deployment
|
|
303
|
+
- **Test thoroughly**: Verify behavior across target runtimes
|
|
304
|
+
|
|
305
|
+
### Integration Strategy
|
|
306
|
+
|
|
307
|
+
- **Start small**: Integrate one agent type first
|
|
308
|
+
- **Iterate quickly**: Get feedback from real usage
|
|
309
|
+
- **Document everything**: Provide clear migration paths
|
|
310
|
+
- **Support community**: Help users adopt your integration
|
|
311
|
+
- **Stay updated**: Track OSSA specification changes
|
|
312
|
+
|
|
313
|
+
### Security Considerations
|
|
314
|
+
|
|
315
|
+
- **Never embed secrets**: Use secret references only
|
|
316
|
+
- **Validate inputs**: Sanitize all user-provided data
|
|
317
|
+
- **Limit permissions**: Grant minimum necessary capabilities
|
|
318
|
+
- **Audit access**: Log all sensitive operations
|
|
319
|
+
- **Update dependencies**: Keep frameworks and tools current
|
|
320
|
+
|
|
321
|
+
## Roadmap
|
|
322
|
+
|
|
323
|
+
### Current Focus (2024)
|
|
324
|
+
|
|
325
|
+
- **Framework Parity**: Complete integrations for major frameworks
|
|
326
|
+
- **Runtime Support**: Expand deployment options
|
|
327
|
+
- **Tool Ecosystem**: Grow available OSSA-compatible tools
|
|
328
|
+
- **Documentation**: Comprehensive guides and examples
|
|
329
|
+
|
|
330
|
+
### Near Term (2025)
|
|
331
|
+
|
|
332
|
+
- **Advanced Orchestration**: Multi-agent coordination patterns
|
|
333
|
+
- **Observability**: Enhanced monitoring and debugging
|
|
334
|
+
- **Performance**: Optimize manifest parsing and validation
|
|
335
|
+
- **Security**: Enhanced secret management and access control
|
|
336
|
+
|
|
337
|
+
### Long Term (2026+)
|
|
338
|
+
|
|
339
|
+
- **Federation**: Cross-organization agent collaboration
|
|
340
|
+
- **Marketplace**: Centralized agent and tool registry
|
|
341
|
+
- **Certification**: Compliance and compatibility testing
|
|
342
|
+
- **Governance**: Community-driven specification evolution
|
|
343
|
+
|
|
344
|
+
## Contributing
|
|
345
|
+
|
|
346
|
+
The OSSA ecosystem thrives on community contributions:
|
|
347
|
+
|
|
348
|
+
- **Report Issues**: Help identify bugs and gaps
|
|
349
|
+
- **Submit PRs**: Contribute code and documentation
|
|
350
|
+
- **Share Examples**: Demonstrate real-world usage
|
|
351
|
+
- **Provide Feedback**: Guide specification evolution
|
|
352
|
+
- **Build Integrations**: Extend ecosystem reach
|
|
353
|
+
|
|
354
|
+
Visit [github.com/blueflyio/openstandardagents](https://github.com/blueflyio/openstandardagents) to get involved.
|
|
355
|
+
|
|
356
|
+
## Resources
|
|
357
|
+
|
|
358
|
+
- **Specification**: Full OSSA specification reference
|
|
359
|
+
- **Examples**: Real-world implementation examples
|
|
360
|
+
- **API Reference**: Detailed API documentation
|
|
361
|
+
- **Community**: Discord, forums, and social media
|
|
362
|
+
- **Blog**: Updates, tutorials, and case studies
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
**Next Steps**: Explore [Framework Support](/docs/ecosystem/framework-support) for detailed integration guides.
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Migration Guides"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Migration Guides
|
|
6
|
+
|
|
7
|
+
Migrate agents from existing frameworks to OSSA format.
|
|
8
|
+
|
|
9
|
+
## Available Migration Guides
|
|
10
|
+
|
|
11
|
+
### LangChain → OSSA
|
|
12
|
+
|
|
13
|
+
**Location**: [examples/migration-guides/from-langchain-to-ossa.yaml](https://github.com/blueflyio/openstandardagents/blob/main/examples/migration-guides/from-langchain-to-ossa.yaml)
|
|
14
|
+
|
|
15
|
+
**Covers**:
|
|
16
|
+
- Simple LangChain agents
|
|
17
|
+
- Agents with custom tools
|
|
18
|
+
- Multi-agent systems
|
|
19
|
+
- ReAct agents
|
|
20
|
+
|
|
21
|
+
**Key Differences**:
|
|
22
|
+
- LangChain: Code-based (Python)
|
|
23
|
+
- OSSA: Declarative (YAML/JSON)
|
|
24
|
+
- LangChain: Framework-specific
|
|
25
|
+
- OSSA: Framework-agnostic
|
|
26
|
+
|
|
27
|
+
### Anthropic SDK → OSSA
|
|
28
|
+
|
|
29
|
+
**Status**: Coming soon
|
|
30
|
+
|
|
31
|
+
**Will Cover**:
|
|
32
|
+
- Anthropic SDK agent structure
|
|
33
|
+
- Tool definitions
|
|
34
|
+
- Message handling
|
|
35
|
+
- Migration patterns
|
|
36
|
+
|
|
37
|
+
### MCP-Only Agents → OSSA
|
|
38
|
+
|
|
39
|
+
**Status**: Coming soon
|
|
40
|
+
|
|
41
|
+
**Will Cover**:
|
|
42
|
+
- MCP server integration
|
|
43
|
+
- Tool exposure
|
|
44
|
+
- Protocol bridging
|
|
45
|
+
|
|
46
|
+
### Custom Framework → OSSA
|
|
47
|
+
|
|
48
|
+
**General Approach**:
|
|
49
|
+
|
|
50
|
+
1. **Map Agent Structure**
|
|
51
|
+
- Identify agent components
|
|
52
|
+
- Map to OSSA format
|
|
53
|
+
- Define capabilities
|
|
54
|
+
|
|
55
|
+
2. **Define Tools**
|
|
56
|
+
- List available tools
|
|
57
|
+
- Map to OSSA tool types
|
|
58
|
+
- Configure endpoints
|
|
59
|
+
|
|
60
|
+
3. **Configure LLM**
|
|
61
|
+
- Identify LLM provider
|
|
62
|
+
- Map model settings
|
|
63
|
+
- Set parameters
|
|
64
|
+
|
|
65
|
+
4. **Add Observability**
|
|
66
|
+
- Configure tracing
|
|
67
|
+
- Set up metrics
|
|
68
|
+
- Enable logging
|
|
69
|
+
|
|
70
|
+
5. **Validate**
|
|
71
|
+
- Use OSSA CLI
|
|
72
|
+
- Fix validation errors
|
|
73
|
+
- Test functionality
|
|
74
|
+
|
|
75
|
+
## Migration Checklist
|
|
76
|
+
|
|
77
|
+
### Pre-Migration
|
|
78
|
+
|
|
79
|
+
- [ ] Inventory existing agents
|
|
80
|
+
- [ ] Identify framework dependencies
|
|
81
|
+
- [ ] Document current capabilities
|
|
82
|
+
- [ ] Plan migration order
|
|
83
|
+
|
|
84
|
+
### Migration
|
|
85
|
+
|
|
86
|
+
- [ ] Convert agent structure
|
|
87
|
+
- [ ] Map tools/capabilities
|
|
88
|
+
- [ ] Configure LLM settings
|
|
89
|
+
- [ ] Add observability
|
|
90
|
+
- [ ] Set constraints
|
|
91
|
+
|
|
92
|
+
### Post-Migration
|
|
93
|
+
|
|
94
|
+
- [ ] Validate with OSSA CLI
|
|
95
|
+
- [ ] Test functionality
|
|
96
|
+
- [ ] Compare behavior
|
|
97
|
+
- [ ] Update documentation
|
|
98
|
+
- [ ] Deploy and monitor
|
|
99
|
+
|
|
100
|
+
## Migration Tools
|
|
101
|
+
|
|
102
|
+
### OSSA CLI
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# Migrate agent between versions
|
|
106
|
+
ossa migrate agent.yaml --target-version 0.2.2
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Manual Migration
|
|
110
|
+
|
|
111
|
+
1. Use migration guide examples
|
|
112
|
+
2. Follow step-by-step instructions
|
|
113
|
+
3. Validate at each step
|
|
114
|
+
4. Test thoroughly
|
|
115
|
+
|
|
116
|
+
## Common Migration Patterns
|
|
117
|
+
|
|
118
|
+
### Pattern 1: Simple Agent
|
|
119
|
+
|
|
120
|
+
**Before** (Framework-specific):
|
|
121
|
+
```python
|
|
122
|
+
# Framework code
|
|
123
|
+
agent = create_agent(llm, tools)
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
**After** (OSSA):
|
|
127
|
+
```yaml
|
|
128
|
+
apiVersion: ossa/v0.2.3
|
|
129
|
+
kind: Agent
|
|
130
|
+
spec:
|
|
131
|
+
role: Agent description
|
|
132
|
+
llm: { ... }
|
|
133
|
+
tools: [ ... ]
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Pattern 2: Agent with Tools
|
|
137
|
+
|
|
138
|
+
**Before**:
|
|
139
|
+
```python
|
|
140
|
+
tools = [Tool1(), Tool2()]
|
|
141
|
+
agent = create_agent(llm, tools)
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
**After**:
|
|
145
|
+
```yaml
|
|
146
|
+
spec:
|
|
147
|
+
tools:
|
|
148
|
+
- type: function
|
|
149
|
+
name: tool1
|
|
150
|
+
- type: http
|
|
151
|
+
name: tool2
|
|
152
|
+
endpoint: https://api.example.com
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Pattern 3: Multi-Agent System
|
|
156
|
+
|
|
157
|
+
**Before**:
|
|
158
|
+
```python
|
|
159
|
+
orchestrator = create_orchestrator()
|
|
160
|
+
worker1 = create_worker()
|
|
161
|
+
worker2 = create_worker()
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
**After**:
|
|
165
|
+
```yaml
|
|
166
|
+
# orchestrator.ossa.yaml
|
|
167
|
+
spec:
|
|
168
|
+
tools:
|
|
169
|
+
- type: http
|
|
170
|
+
name: invoke_worker
|
|
171
|
+
endpoint: http://worker:8080/api
|
|
172
|
+
|
|
173
|
+
# worker.ossa.yaml
|
|
174
|
+
spec:
|
|
175
|
+
role: Worker agent
|
|
176
|
+
# ...
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Validation
|
|
180
|
+
|
|
181
|
+
### Validate Migrated Agent
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
ossa validate migrated-agent.ossa.yaml --verbose
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Compare Behavior
|
|
188
|
+
|
|
189
|
+
1. Run original agent with test inputs
|
|
190
|
+
2. Run OSSA agent with same inputs
|
|
191
|
+
3. Compare outputs
|
|
192
|
+
4. Verify functionality
|
|
193
|
+
|
|
194
|
+
## Troubleshooting
|
|
195
|
+
|
|
196
|
+
### Common Issues
|
|
197
|
+
|
|
198
|
+
1. **Missing Fields**: Check schema reference
|
|
199
|
+
2. **Invalid Tool Types**: Use supported types
|
|
200
|
+
3. **LLM Provider**: Verify provider support
|
|
201
|
+
4. **Tool Configuration**: Check endpoint/auth config
|
|
202
|
+
|
|
203
|
+
### Getting Help
|
|
204
|
+
|
|
205
|
+
- [GitHub Issues](https://github.com/blueflyio/openstandardagents/issues)
|
|
206
|
+
- [Documentation](../Technical/Specification-Deep-Dive)
|
|
207
|
+
- [Examples](../Getting-Started-Examples)
|
|
208
|
+
|
|
209
|
+
## Related
|
|
210
|
+
|
|
211
|
+
- [Getting Started](../Getting-Started/Hello-World)
|
|
212
|
+
- [Schema Reference](../Technical/Schema-Reference)
|
|
213
|
+
- [Integration Patterns](Integration-Patterns)
|
|
214
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Examples"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# OSSA OpenAPI Extensions - Examples
|
|
6
|
+
|
|
7
|
+
Complete working examples demonstrating OSSA OpenAPI extensions.
|
|
8
|
+
|
|
9
|
+
## Example Specifications
|
|
10
|
+
|
|
11
|
+
### [Minimal Agent API](./examples/openapi-extensions/minimal-agent-api.openapi.yml)
|
|
12
|
+
|
|
13
|
+
Basic example showing:
|
|
14
|
+
- Root-level `x-ossa` and `x-agent` extensions
|
|
15
|
+
- Single operation with `x-ossa-capability`, `x-ossa-autonomy`, and `x-ossa-llm`
|
|
16
|
+
- Minimal configuration for a simple greeting agent
|
|
17
|
+
|
|
18
|
+
**Use Case**: Starting point for new OSSA-compliant agents
|
|
19
|
+
|
|
20
|
+
### [Worker Agent API](./examples/openapi-extensions/worker-agent-api.openapi.yml)
|
|
21
|
+
|
|
22
|
+
Comprehensive worker agent example showing:
|
|
23
|
+
- Full `x-ossa-metadata` with governance and compliance
|
|
24
|
+
- All operation-level extensions (capability, autonomy, constraints, tools, llm)
|
|
25
|
+
- Parameter extensions (`X-OSSA-Agent-ID`, `X-OSSA-Version`)
|
|
26
|
+
- Schema extensions (`x-ossa-capability-schema`)
|
|
27
|
+
- Real-world scenario: Kubernetes troubleshooting agent
|
|
28
|
+
|
|
29
|
+
**Use Case**: Production-ready worker agent with full OSSA compliance
|
|
30
|
+
|
|
31
|
+
### [Orchestrator Agent API](./examples/openapi-extensions/orchestrator-agent-api.openapi.yml)
|
|
32
|
+
|
|
33
|
+
Advanced orchestrator agent showing:
|
|
34
|
+
- Multi-agent coordination patterns
|
|
35
|
+
- Workflow execution capabilities
|
|
36
|
+
- Complex input/output schemas
|
|
37
|
+
- Orchestrator-specific autonomy and constraints
|
|
38
|
+
|
|
39
|
+
**Use Case**: Coordinating multiple specialized agents
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Validating Examples
|
|
44
|
+
|
|
45
|
+
All examples can be validated using the OSSA CLI:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Validate a specific example
|
|
49
|
+
ossa validate examples/openapi-extensions/worker-agent-api.openapi.yml --openapi --verbose
|
|
50
|
+
|
|
51
|
+
# Or validate all examples
|
|
52
|
+
for spec in examples/openapi-extensions/*.openapi.yml; do
|
|
53
|
+
echo "Validating $spec..."
|
|
54
|
+
ossa validate "$spec" --openapi
|
|
55
|
+
done
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Integration with OSSA Manifests
|
|
61
|
+
|
|
62
|
+
These OpenAPI specs complement OSSA agent manifests (`.ossa.yaml` files):
|
|
63
|
+
|
|
64
|
+
- **OSSA Manifest** - Declarative agent definition with full configuration
|
|
65
|
+
- **OpenAPI Spec with Extensions** - API interface with agent metadata
|
|
66
|
+
|
|
67
|
+
Together they provide a complete picture of agent behavior and external interfaces.
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
**See Also**: [OpenAPI-Extensions](./OpenAPI-Extensions) · [Quick-Reference](./Quick-Reference)
|