@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,464 @@
|
|
|
1
|
+
# Parallel Processing Agent Graph
|
|
2
|
+
# OSSA v0.2.5-dev Example
|
|
3
|
+
#
|
|
4
|
+
# This example demonstrates parallel agent execution
|
|
5
|
+
# for multi-perspective content analysis.
|
|
6
|
+
|
|
7
|
+
apiVersion: ossa/v0.2.5-dev
|
|
8
|
+
kind: AgentGraph
|
|
9
|
+
metadata:
|
|
10
|
+
name: content-analyzer
|
|
11
|
+
version: "1.0.0"
|
|
12
|
+
description: |
|
|
13
|
+
Parallel processing pipeline that analyzes content from
|
|
14
|
+
multiple perspectives simultaneously, then aggregates
|
|
15
|
+
results for comprehensive insights.
|
|
16
|
+
labels:
|
|
17
|
+
domain: content-analysis
|
|
18
|
+
process: parallel
|
|
19
|
+
pattern: fan-out-fan-in
|
|
20
|
+
annotations:
|
|
21
|
+
ossa.io/maintainer: "content-team"
|
|
22
|
+
ossa.io/throughput: "high"
|
|
23
|
+
|
|
24
|
+
spec:
|
|
25
|
+
# Parallel execution - analyzers run simultaneously
|
|
26
|
+
process: parallel
|
|
27
|
+
|
|
28
|
+
# Entry through router, exit through aggregator
|
|
29
|
+
entry_point: content-router
|
|
30
|
+
exit_points:
|
|
31
|
+
- result-aggregator
|
|
32
|
+
|
|
33
|
+
# Agent references
|
|
34
|
+
agents:
|
|
35
|
+
# Router distributes content to analyzers
|
|
36
|
+
- ref: content-router
|
|
37
|
+
role: router
|
|
38
|
+
config:
|
|
39
|
+
distribution: broadcast
|
|
40
|
+
|
|
41
|
+
# Parallel analyzers
|
|
42
|
+
- ref: sentiment-analyzer
|
|
43
|
+
role: analyzer
|
|
44
|
+
config:
|
|
45
|
+
analysis_type: sentiment
|
|
46
|
+
|
|
47
|
+
- ref: entity-extractor
|
|
48
|
+
role: analyzer
|
|
49
|
+
config:
|
|
50
|
+
analysis_type: entities
|
|
51
|
+
entity_types:
|
|
52
|
+
- person
|
|
53
|
+
- organization
|
|
54
|
+
- location
|
|
55
|
+
- product
|
|
56
|
+
|
|
57
|
+
- ref: topic-classifier
|
|
58
|
+
role: analyzer
|
|
59
|
+
config:
|
|
60
|
+
analysis_type: topics
|
|
61
|
+
taxonomy: iptc-media-topics
|
|
62
|
+
|
|
63
|
+
- ref: language-detector
|
|
64
|
+
role: analyzer
|
|
65
|
+
config:
|
|
66
|
+
analysis_type: language
|
|
67
|
+
detect_code_switching: true
|
|
68
|
+
|
|
69
|
+
- ref: toxicity-scanner
|
|
70
|
+
role: analyzer
|
|
71
|
+
config:
|
|
72
|
+
analysis_type: safety
|
|
73
|
+
threshold: 0.7
|
|
74
|
+
|
|
75
|
+
# Aggregator combines results
|
|
76
|
+
- ref: result-aggregator
|
|
77
|
+
role: aggregator
|
|
78
|
+
config:
|
|
79
|
+
aggregation_strategy: merge
|
|
80
|
+
conflict_resolution: weighted
|
|
81
|
+
|
|
82
|
+
# Edges defining parallel flow
|
|
83
|
+
edges:
|
|
84
|
+
# Router broadcasts to all analyzers
|
|
85
|
+
- from: content-router
|
|
86
|
+
to: sentiment-analyzer
|
|
87
|
+
metadata:
|
|
88
|
+
parallel_group: analyzers
|
|
89
|
+
|
|
90
|
+
- from: content-router
|
|
91
|
+
to: entity-extractor
|
|
92
|
+
metadata:
|
|
93
|
+
parallel_group: analyzers
|
|
94
|
+
|
|
95
|
+
- from: content-router
|
|
96
|
+
to: topic-classifier
|
|
97
|
+
metadata:
|
|
98
|
+
parallel_group: analyzers
|
|
99
|
+
|
|
100
|
+
- from: content-router
|
|
101
|
+
to: language-detector
|
|
102
|
+
metadata:
|
|
103
|
+
parallel_group: analyzers
|
|
104
|
+
|
|
105
|
+
- from: content-router
|
|
106
|
+
to: toxicity-scanner
|
|
107
|
+
metadata:
|
|
108
|
+
parallel_group: analyzers
|
|
109
|
+
|
|
110
|
+
# All analyzers feed into aggregator
|
|
111
|
+
- from: sentiment-analyzer
|
|
112
|
+
to: result-aggregator
|
|
113
|
+
transform: "{ sentiment: output }"
|
|
114
|
+
|
|
115
|
+
- from: entity-extractor
|
|
116
|
+
to: result-aggregator
|
|
117
|
+
transform: "{ entities: output }"
|
|
118
|
+
|
|
119
|
+
- from: topic-classifier
|
|
120
|
+
to: result-aggregator
|
|
121
|
+
transform: "{ topics: output }"
|
|
122
|
+
|
|
123
|
+
- from: language-detector
|
|
124
|
+
to: result-aggregator
|
|
125
|
+
transform: "{ language: output }"
|
|
126
|
+
|
|
127
|
+
- from: toxicity-scanner
|
|
128
|
+
to: result-aggregator
|
|
129
|
+
transform: "{ safety: output }"
|
|
130
|
+
|
|
131
|
+
# Shared state for parallel execution
|
|
132
|
+
state:
|
|
133
|
+
schema:
|
|
134
|
+
type: object
|
|
135
|
+
properties:
|
|
136
|
+
content_id:
|
|
137
|
+
type: string
|
|
138
|
+
content:
|
|
139
|
+
type: string
|
|
140
|
+
content_type:
|
|
141
|
+
type: string
|
|
142
|
+
enum: [text, html, markdown]
|
|
143
|
+
results:
|
|
144
|
+
type: object
|
|
145
|
+
properties:
|
|
146
|
+
sentiment:
|
|
147
|
+
type: object
|
|
148
|
+
entities:
|
|
149
|
+
type: array
|
|
150
|
+
topics:
|
|
151
|
+
type: array
|
|
152
|
+
language:
|
|
153
|
+
type: object
|
|
154
|
+
safety:
|
|
155
|
+
type: object
|
|
156
|
+
aggregated:
|
|
157
|
+
type: object
|
|
158
|
+
processing_times:
|
|
159
|
+
type: object
|
|
160
|
+
initial:
|
|
161
|
+
results: {}
|
|
162
|
+
processing_times: {}
|
|
163
|
+
persistence: memory
|
|
164
|
+
|
|
165
|
+
# Observability for parallel execution
|
|
166
|
+
observability:
|
|
167
|
+
tracing:
|
|
168
|
+
enabled: true
|
|
169
|
+
exporter: otlp
|
|
170
|
+
endpoint: "http://tempo:4317"
|
|
171
|
+
metrics:
|
|
172
|
+
enabled: true
|
|
173
|
+
exporter: prometheus
|
|
174
|
+
logging:
|
|
175
|
+
level: debug
|
|
176
|
+
format: json
|
|
177
|
+
|
|
178
|
+
# Constraints
|
|
179
|
+
constraints:
|
|
180
|
+
performance:
|
|
181
|
+
maxLatencySeconds: 5
|
|
182
|
+
maxConcurrentRequests: 100
|
|
183
|
+
timeoutSeconds: 10
|
|
184
|
+
cost:
|
|
185
|
+
maxTokensPerRequest: 4000
|
|
186
|
+
|
|
187
|
+
# Framework-specific extensions
|
|
188
|
+
extensions:
|
|
189
|
+
# Google ADK parallel agent
|
|
190
|
+
google_adk:
|
|
191
|
+
enabled: true
|
|
192
|
+
agent_type: parallel_agent
|
|
193
|
+
model: gemini-2.0-flash-exp
|
|
194
|
+
sub_agents:
|
|
195
|
+
- sentiment-analyzer
|
|
196
|
+
- entity-extractor
|
|
197
|
+
- topic-classifier
|
|
198
|
+
- language-detector
|
|
199
|
+
- toxicity-scanner
|
|
200
|
+
session:
|
|
201
|
+
service: in_memory
|
|
202
|
+
|
|
203
|
+
# LangGraph fan-out/fan-in
|
|
204
|
+
langgraph:
|
|
205
|
+
enabled: true
|
|
206
|
+
graph_name: content_analysis_graph
|
|
207
|
+
state_schema:
|
|
208
|
+
type: object
|
|
209
|
+
properties:
|
|
210
|
+
content:
|
|
211
|
+
type: string
|
|
212
|
+
results:
|
|
213
|
+
type: object
|
|
214
|
+
nodes:
|
|
215
|
+
- name: router
|
|
216
|
+
function: route_content
|
|
217
|
+
- name: sentiment
|
|
218
|
+
function: analyze_sentiment
|
|
219
|
+
- name: entities
|
|
220
|
+
function: extract_entities
|
|
221
|
+
- name: topics
|
|
222
|
+
function: classify_topics
|
|
223
|
+
- name: language
|
|
224
|
+
function: detect_language
|
|
225
|
+
- name: safety
|
|
226
|
+
function: scan_toxicity
|
|
227
|
+
- name: aggregate
|
|
228
|
+
function: aggregate_results
|
|
229
|
+
edges:
|
|
230
|
+
- from: router
|
|
231
|
+
to: sentiment
|
|
232
|
+
- from: router
|
|
233
|
+
to: entities
|
|
234
|
+
- from: router
|
|
235
|
+
to: topics
|
|
236
|
+
- from: router
|
|
237
|
+
to: language
|
|
238
|
+
- from: router
|
|
239
|
+
to: safety
|
|
240
|
+
- from: sentiment
|
|
241
|
+
to: aggregate
|
|
242
|
+
- from: entities
|
|
243
|
+
to: aggregate
|
|
244
|
+
- from: topics
|
|
245
|
+
to: aggregate
|
|
246
|
+
- from: language
|
|
247
|
+
to: aggregate
|
|
248
|
+
- from: safety
|
|
249
|
+
to: aggregate
|
|
250
|
+
checkpoint:
|
|
251
|
+
enabled: false
|
|
252
|
+
|
|
253
|
+
# Vercel AI SDK for edge deployment
|
|
254
|
+
vercel_ai:
|
|
255
|
+
enabled: true
|
|
256
|
+
runtime: edge
|
|
257
|
+
stream: true
|
|
258
|
+
route: "/api/analyze"
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
# Individual agent definitions
|
|
262
|
+
|
|
263
|
+
---
|
|
264
|
+
apiVersion: ossa/v0.2.5-dev
|
|
265
|
+
kind: Agent
|
|
266
|
+
metadata:
|
|
267
|
+
name: content-router
|
|
268
|
+
description: "Routes content to parallel analyzers"
|
|
269
|
+
spec:
|
|
270
|
+
role: |
|
|
271
|
+
You are a content routing agent. Your job is simple:
|
|
272
|
+
1. Receive incoming content
|
|
273
|
+
2. Validate content format
|
|
274
|
+
3. Prepare content for parallel analysis
|
|
275
|
+
4. Broadcast to all analyzers
|
|
276
|
+
|
|
277
|
+
Do not perform analysis yourself. Just route.
|
|
278
|
+
llm:
|
|
279
|
+
provider: openai
|
|
280
|
+
model: gpt-4o-mini
|
|
281
|
+
temperature: 0
|
|
282
|
+
maxTokens: 500
|
|
283
|
+
autonomy:
|
|
284
|
+
level: fully_autonomous
|
|
285
|
+
constraints:
|
|
286
|
+
performance:
|
|
287
|
+
maxLatencySeconds: 1
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
apiVersion: ossa/v0.2.5-dev
|
|
291
|
+
kind: Agent
|
|
292
|
+
metadata:
|
|
293
|
+
name: sentiment-analyzer
|
|
294
|
+
description: "Analyzes sentiment and emotion"
|
|
295
|
+
spec:
|
|
296
|
+
role: |
|
|
297
|
+
You are a sentiment analysis specialist. Analyze content for:
|
|
298
|
+
|
|
299
|
+
1. Overall sentiment: positive, negative, neutral, mixed
|
|
300
|
+
2. Sentiment score: -1.0 to 1.0
|
|
301
|
+
3. Emotions detected: joy, sadness, anger, fear, surprise, etc.
|
|
302
|
+
4. Confidence scores for each detection
|
|
303
|
+
|
|
304
|
+
Return structured JSON output.
|
|
305
|
+
llm:
|
|
306
|
+
provider: openai
|
|
307
|
+
model: gpt-4o-mini
|
|
308
|
+
temperature: 0.1
|
|
309
|
+
autonomy:
|
|
310
|
+
level: fully_autonomous
|
|
311
|
+
constraints:
|
|
312
|
+
performance:
|
|
313
|
+
maxLatencySeconds: 3
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
apiVersion: ossa/v0.2.5-dev
|
|
317
|
+
kind: Agent
|
|
318
|
+
metadata:
|
|
319
|
+
name: entity-extractor
|
|
320
|
+
description: "Extracts named entities"
|
|
321
|
+
spec:
|
|
322
|
+
role: |
|
|
323
|
+
You are a named entity recognition specialist. Extract:
|
|
324
|
+
|
|
325
|
+
1. People: names of individuals
|
|
326
|
+
2. Organizations: companies, agencies, institutions
|
|
327
|
+
3. Locations: places, addresses, geographic features
|
|
328
|
+
4. Products: specific products, services, brands
|
|
329
|
+
5. Dates/Times: temporal expressions
|
|
330
|
+
6. Monetary values: prices, amounts
|
|
331
|
+
|
|
332
|
+
For each entity provide:
|
|
333
|
+
- Text: the exact string
|
|
334
|
+
- Type: entity category
|
|
335
|
+
- Start/End: character positions
|
|
336
|
+
- Confidence: 0.0 to 1.0
|
|
337
|
+
|
|
338
|
+
Return as JSON array.
|
|
339
|
+
llm:
|
|
340
|
+
provider: anthropic
|
|
341
|
+
model: claude-3-5-haiku-20241022
|
|
342
|
+
temperature: 0
|
|
343
|
+
autonomy:
|
|
344
|
+
level: fully_autonomous
|
|
345
|
+
constraints:
|
|
346
|
+
performance:
|
|
347
|
+
maxLatencySeconds: 3
|
|
348
|
+
|
|
349
|
+
---
|
|
350
|
+
apiVersion: ossa/v0.2.5-dev
|
|
351
|
+
kind: Agent
|
|
352
|
+
metadata:
|
|
353
|
+
name: topic-classifier
|
|
354
|
+
description: "Classifies content topics"
|
|
355
|
+
spec:
|
|
356
|
+
role: |
|
|
357
|
+
You are a topic classification specialist. Classify content using
|
|
358
|
+
IPTC Media Topics taxonomy (or similar). Provide:
|
|
359
|
+
|
|
360
|
+
1. Primary topic with confidence score
|
|
361
|
+
2. Secondary topics (up to 5) with scores
|
|
362
|
+
3. Keywords extracted from content
|
|
363
|
+
4. Content category (news, opinion, analysis, etc.)
|
|
364
|
+
|
|
365
|
+
Return structured JSON with topic codes and labels.
|
|
366
|
+
llm:
|
|
367
|
+
provider: openai
|
|
368
|
+
model: gpt-4o-mini
|
|
369
|
+
temperature: 0.1
|
|
370
|
+
autonomy:
|
|
371
|
+
level: fully_autonomous
|
|
372
|
+
constraints:
|
|
373
|
+
performance:
|
|
374
|
+
maxLatencySeconds: 3
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
apiVersion: ossa/v0.2.5-dev
|
|
378
|
+
kind: Agent
|
|
379
|
+
metadata:
|
|
380
|
+
name: language-detector
|
|
381
|
+
description: "Detects language and linguistic features"
|
|
382
|
+
spec:
|
|
383
|
+
role: |
|
|
384
|
+
You are a language detection specialist. Detect:
|
|
385
|
+
|
|
386
|
+
1. Primary language (ISO 639-1 code)
|
|
387
|
+
2. Language confidence score
|
|
388
|
+
3. Code-switching detection (multiple languages)
|
|
389
|
+
4. Writing style: formal, informal, technical, etc.
|
|
390
|
+
5. Readability metrics
|
|
391
|
+
|
|
392
|
+
Return structured JSON output.
|
|
393
|
+
llm:
|
|
394
|
+
provider: openai
|
|
395
|
+
model: gpt-4o-mini
|
|
396
|
+
temperature: 0
|
|
397
|
+
autonomy:
|
|
398
|
+
level: fully_autonomous
|
|
399
|
+
constraints:
|
|
400
|
+
performance:
|
|
401
|
+
maxLatencySeconds: 2
|
|
402
|
+
|
|
403
|
+
---
|
|
404
|
+
apiVersion: ossa/v0.2.5-dev
|
|
405
|
+
kind: Agent
|
|
406
|
+
metadata:
|
|
407
|
+
name: toxicity-scanner
|
|
408
|
+
description: "Scans for toxic or unsafe content"
|
|
409
|
+
spec:
|
|
410
|
+
role: |
|
|
411
|
+
You are a content safety specialist. Scan for:
|
|
412
|
+
|
|
413
|
+
1. Toxicity: harmful, offensive language
|
|
414
|
+
2. Hate speech: targeting protected groups
|
|
415
|
+
3. Violence: graphic or threatening content
|
|
416
|
+
4. Sexual content: explicit material
|
|
417
|
+
5. Self-harm: dangerous suggestions
|
|
418
|
+
6. Misinformation indicators
|
|
419
|
+
|
|
420
|
+
For each category provide:
|
|
421
|
+
- Detected: boolean
|
|
422
|
+
- Score: 0.0 to 1.0
|
|
423
|
+
- Examples: specific text if found
|
|
424
|
+
|
|
425
|
+
Return JSON with safety assessment.
|
|
426
|
+
llm:
|
|
427
|
+
provider: openai
|
|
428
|
+
model: gpt-4o
|
|
429
|
+
temperature: 0
|
|
430
|
+
autonomy:
|
|
431
|
+
level: fully_autonomous
|
|
432
|
+
constraints:
|
|
433
|
+
performance:
|
|
434
|
+
maxLatencySeconds: 3
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
apiVersion: ossa/v0.2.5-dev
|
|
438
|
+
kind: Agent
|
|
439
|
+
metadata:
|
|
440
|
+
name: result-aggregator
|
|
441
|
+
description: "Aggregates parallel analysis results"
|
|
442
|
+
spec:
|
|
443
|
+
role: |
|
|
444
|
+
You are a result aggregation specialist. Your job:
|
|
445
|
+
|
|
446
|
+
1. Collect results from all parallel analyzers
|
|
447
|
+
2. Merge results into unified structure
|
|
448
|
+
3. Resolve any conflicts using weighted voting
|
|
449
|
+
4. Calculate aggregate confidence scores
|
|
450
|
+
5. Generate summary insights
|
|
451
|
+
|
|
452
|
+
Handle missing results gracefully (some analyzers may timeout).
|
|
453
|
+
|
|
454
|
+
Return comprehensive JSON with all analysis results and summary.
|
|
455
|
+
llm:
|
|
456
|
+
provider: openai
|
|
457
|
+
model: gpt-4o
|
|
458
|
+
temperature: 0.2
|
|
459
|
+
maxTokens: 2000
|
|
460
|
+
autonomy:
|
|
461
|
+
level: fully_autonomous
|
|
462
|
+
constraints:
|
|
463
|
+
performance:
|
|
464
|
+
maxLatencySeconds: 3
|