@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,274 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "CrewAI to OSSA"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# CrewAI to OSSA Migration Guide
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
This guide helps you migrate from **CrewAI** multi-agent orchestration framework to **OSSA** (Open Standard for Scalable Agents).
|
|
10
|
+
|
|
11
|
+
### Why Migrate?
|
|
12
|
+
|
|
13
|
+
- **Vendor Independence**: Not tied to specific LLM providers
|
|
14
|
+
- **Kubernetes Native**: Deploy agents on K8s with built-in scaling
|
|
15
|
+
- **OpenAPI Integration**: RESTful APIs for all agent interactions
|
|
16
|
+
- **Production Monitoring**: Built-in observability with OpenTelemetry
|
|
17
|
+
- **Multi-Runtime Support**: Docker, K8s, serverless, edge
|
|
18
|
+
|
|
19
|
+
### Migration Complexity: Medium-High
|
|
20
|
+
- **Time**: 4-8 hours per crew
|
|
21
|
+
- **Effort**: Moderate refactoring required
|
|
22
|
+
- **Risk**: Low (parallel operation possible)
|
|
23
|
+
|
|
24
|
+
## Conceptual Mapping
|
|
25
|
+
|
|
26
|
+
| CrewAI Concept | OSSA Equivalent | Notes |
|
|
27
|
+
|----------------|-----------------|-------|
|
|
28
|
+
| **Crew** | OSSA Orchestrator Agent | Manages workflow coordination |
|
|
29
|
+
| **Agent** | OSSA Worker Agent | Individual task executor |
|
|
30
|
+
| **Task** | OSSA Capability | Executable function with schema |
|
|
31
|
+
| **Process** | Workflow Type | Sequential, parallel, hierarchical |
|
|
32
|
+
| **Tool** | Capability Implementation | Business logic + API integration |
|
|
33
|
+
| **Delegation** | Agent Dependencies | Explicit agent-to-agent calls |
|
|
34
|
+
| **Memory** | State Management | Redis/PostgreSQL backed |
|
|
35
|
+
| **Context** | Input/Output Schemas | Typed data contracts |
|
|
36
|
+
|
|
37
|
+
## Migration Strategy
|
|
38
|
+
|
|
39
|
+
### Phase 1: Analysis (1-2 hours)
|
|
40
|
+
1. Inventory all crews and agents
|
|
41
|
+
2. Map tasks to capabilities
|
|
42
|
+
3. Identify delegation patterns
|
|
43
|
+
4. Document tool dependencies
|
|
44
|
+
|
|
45
|
+
### Phase 2: Design (2-3 hours)
|
|
46
|
+
1. Create orchestrator manifest
|
|
47
|
+
2. Define worker agent manifests
|
|
48
|
+
3. Design capability schemas
|
|
49
|
+
4. Plan workflow execution
|
|
50
|
+
|
|
51
|
+
### Phase 3: Implementation (3-4 hours)
|
|
52
|
+
1. Implement orchestrator logic
|
|
53
|
+
2. Migrate agent implementations
|
|
54
|
+
3. Convert tools to capabilities
|
|
55
|
+
4. Set up state management
|
|
56
|
+
|
|
57
|
+
### Phase 4: Testing (1-2 hours)
|
|
58
|
+
1. Unit test capabilities
|
|
59
|
+
2. Integration test workflows
|
|
60
|
+
3. Load test orchestration
|
|
61
|
+
4. Validate delegation
|
|
62
|
+
|
|
63
|
+
### Phase 5: Deployment (1 hour)
|
|
64
|
+
1. Build Docker images
|
|
65
|
+
2. Deploy to Kubernetes
|
|
66
|
+
3. Configure monitoring
|
|
67
|
+
4. Run smoke tests
|
|
68
|
+
|
|
69
|
+
## Example 1: Simple Crew (Research + Writing)
|
|
70
|
+
|
|
71
|
+
### Before: CrewAI
|
|
72
|
+
|
|
73
|
+
\`\`\`python
|
|
74
|
+
from crewai import Agent, Task, Crew, Process
|
|
75
|
+
|
|
76
|
+
# Define agents
|
|
77
|
+
researcher = Agent(
|
|
78
|
+
role='Researcher',
|
|
79
|
+
goal='Research AI trends',
|
|
80
|
+
backstory='Expert AI researcher',
|
|
81
|
+
tools=[web_search, pdf_reader]
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
writer = Agent(
|
|
85
|
+
role='Writer',
|
|
86
|
+
goal='Write blog posts',
|
|
87
|
+
backstory='Technical writer',
|
|
88
|
+
tools=[grammar_check]
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
# Define tasks
|
|
92
|
+
research_task = Task(
|
|
93
|
+
description='Research AI agents in 2024',
|
|
94
|
+
agent=researcher
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
write_task = Task(
|
|
98
|
+
description='Write blog post from research',
|
|
99
|
+
agent=writer,
|
|
100
|
+
context=[research_task]
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
# Create crew
|
|
104
|
+
crew = Crew(
|
|
105
|
+
agents=[researcher, writer],
|
|
106
|
+
tasks=[research_task, write_task],
|
|
107
|
+
process=Process.sequential
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
result = crew.kickoff()
|
|
111
|
+
\`\`\`
|
|
112
|
+
|
|
113
|
+
### After: OSSA
|
|
114
|
+
|
|
115
|
+
**Orchestrator Agent** (`orchestrator.ossa.yaml`):
|
|
116
|
+
|
|
117
|
+
\`\`\`yaml
|
|
118
|
+
ossaVersion: "0.2.3"
|
|
119
|
+
agent:
|
|
120
|
+
id: research-writing-orchestrator
|
|
121
|
+
name: Research & Writing Orchestrator
|
|
122
|
+
version: 1.0.0
|
|
123
|
+
role: orchestration
|
|
124
|
+
runtime:
|
|
125
|
+
type: k8s
|
|
126
|
+
image: ghcr.io/ossa/orchestrator:latest
|
|
127
|
+
workflow:
|
|
128
|
+
type: sequential
|
|
129
|
+
steps:
|
|
130
|
+
- capability: coordinate_research
|
|
131
|
+
agent_id: ai-researcher
|
|
132
|
+
timeout: 300s
|
|
133
|
+
- capability: coordinate_writing
|
|
134
|
+
agent_id: technical-writer
|
|
135
|
+
dependencies: [coordinate_research]
|
|
136
|
+
context_from: coordinate_research
|
|
137
|
+
capabilities:
|
|
138
|
+
- name: coordinate_research
|
|
139
|
+
description: "Coordinate AI research workflow"
|
|
140
|
+
input_schema:
|
|
141
|
+
type: object
|
|
142
|
+
properties:
|
|
143
|
+
topic:
|
|
144
|
+
type: string
|
|
145
|
+
output_schema:
|
|
146
|
+
type: object
|
|
147
|
+
properties:
|
|
148
|
+
findings:
|
|
149
|
+
type: string
|
|
150
|
+
sources:
|
|
151
|
+
type: array
|
|
152
|
+
items:
|
|
153
|
+
type: string
|
|
154
|
+
- name: coordinate_writing
|
|
155
|
+
description: "Coordinate blog writing workflow"
|
|
156
|
+
input_schema:
|
|
157
|
+
type: object
|
|
158
|
+
properties:
|
|
159
|
+
research:
|
|
160
|
+
type: object
|
|
161
|
+
output_schema:
|
|
162
|
+
type: object
|
|
163
|
+
properties:
|
|
164
|
+
article:
|
|
165
|
+
type: string
|
|
166
|
+
word_count:
|
|
167
|
+
type: integer
|
|
168
|
+
\`\`\`
|
|
169
|
+
|
|
170
|
+
**Researcher Agent** (`researcher.ossa.yaml`):
|
|
171
|
+
|
|
172
|
+
\`\`\`yaml
|
|
173
|
+
ossaVersion: "0.2.3"
|
|
174
|
+
agent:
|
|
175
|
+
id: ai-researcher
|
|
176
|
+
name: AI Research Agent
|
|
177
|
+
version: 1.0.0
|
|
178
|
+
role: worker
|
|
179
|
+
runtime:
|
|
180
|
+
type: k8s
|
|
181
|
+
image: ghcr.io/ossa/researcher:latest
|
|
182
|
+
llm:
|
|
183
|
+
provider: openai
|
|
184
|
+
model: gpt-4-turbo
|
|
185
|
+
capabilities:
|
|
186
|
+
- name: research_topic
|
|
187
|
+
description: "Research AI trends using web search"
|
|
188
|
+
tools: [web_search, pdf_reader]
|
|
189
|
+
input_schema:
|
|
190
|
+
type: object
|
|
191
|
+
properties:
|
|
192
|
+
topic:
|
|
193
|
+
type: string
|
|
194
|
+
output_schema:
|
|
195
|
+
type: object
|
|
196
|
+
properties:
|
|
197
|
+
findings:
|
|
198
|
+
type: string
|
|
199
|
+
sources:
|
|
200
|
+
type: array
|
|
201
|
+
\`\`\`
|
|
202
|
+
|
|
203
|
+
**Writer Agent** (`writer.ossa.yaml`):
|
|
204
|
+
|
|
205
|
+
\`\`\`yaml
|
|
206
|
+
ossaVersion: "0.2.3"
|
|
207
|
+
agent:
|
|
208
|
+
id: technical-writer
|
|
209
|
+
name: Technical Writer Agent
|
|
210
|
+
version: 1.0.0
|
|
211
|
+
role: worker
|
|
212
|
+
runtime:
|
|
213
|
+
type: k8s
|
|
214
|
+
image: ghcr.io/ossa/writer:latest
|
|
215
|
+
llm:
|
|
216
|
+
provider: anthropic
|
|
217
|
+
model: claude-3-5-sonnet-20241022
|
|
218
|
+
capabilities:
|
|
219
|
+
- name: write_article
|
|
220
|
+
description: "Write blog post from research"
|
|
221
|
+
tools: [grammar_check]
|
|
222
|
+
input_schema:
|
|
223
|
+
type: object
|
|
224
|
+
properties:
|
|
225
|
+
research:
|
|
226
|
+
type: object
|
|
227
|
+
output_schema:
|
|
228
|
+
type: object
|
|
229
|
+
properties:
|
|
230
|
+
article:
|
|
231
|
+
type: string
|
|
232
|
+
\`\`\`
|
|
233
|
+
|
|
234
|
+
## Validation
|
|
235
|
+
|
|
236
|
+
\`\`\`bash
|
|
237
|
+
# Validate all manifests
|
|
238
|
+
ossa validate orchestrator.ossa.yaml
|
|
239
|
+
ossa validate researcher.ossa.yaml
|
|
240
|
+
ossa validate writer.ossa.yaml
|
|
241
|
+
|
|
242
|
+
# Deploy to Kubernetes
|
|
243
|
+
kubectl apply -f orchestrator.yaml
|
|
244
|
+
kubectl apply -f researcher.yaml
|
|
245
|
+
kubectl apply -f writer.yaml
|
|
246
|
+
|
|
247
|
+
# Test workflow
|
|
248
|
+
curl -X POST http://orchestrator/execute \
|
|
249
|
+
-H "Content-Type: application/json" \
|
|
250
|
+
-d '{"topic": "AI Agents in 2024"}'
|
|
251
|
+
\`\`\`
|
|
252
|
+
|
|
253
|
+
## FAQ
|
|
254
|
+
|
|
255
|
+
**Q: How do I handle CrewAI's memory feature?**
|
|
256
|
+
A: Use OSSA's state management with Redis/PostgreSQL backend.
|
|
257
|
+
|
|
258
|
+
**Q: What about custom tools?**
|
|
259
|
+
A: Wrap them as OSSA capabilities with proper schemas.
|
|
260
|
+
|
|
261
|
+
**Q: Can I mix CrewAI and OSSA during migration?**
|
|
262
|
+
A: Yes! Use OSSA agents as CrewAI tools during transition.
|
|
263
|
+
|
|
264
|
+
**Q: How does delegation work in OSSA?**
|
|
265
|
+
A: Use explicit agent dependencies in orchestrator manifest.
|
|
266
|
+
|
|
267
|
+
**Q: What about hierarchical processes?**
|
|
268
|
+
A: Use OSSA's hierarchical workflow type with manager-worker pattern.
|
|
269
|
+
|
|
270
|
+
## Next Steps
|
|
271
|
+
|
|
272
|
+
- [OSSA Orchestration Patterns](/Specification/Orchestration)
|
|
273
|
+
- [Multi-Agent Examples](/Examples/Multi-Agent)
|
|
274
|
+
- [Kubernetes Deployment](/Deployment/Kubernetes)
|