@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,440 @@
|
|
|
1
|
+
# Research Team Agent Graph - Hierarchical Process
|
|
2
|
+
# OSSA v0.2.5-dev Example
|
|
3
|
+
#
|
|
4
|
+
# This example demonstrates a hierarchical research team
|
|
5
|
+
# where a manager coordinates specialized researchers.
|
|
6
|
+
# Inspired by CrewAI's crew orchestration pattern.
|
|
7
|
+
|
|
8
|
+
apiVersion: ossa/v0.2.5-dev
|
|
9
|
+
kind: AgentGraph
|
|
10
|
+
metadata:
|
|
11
|
+
name: research-team
|
|
12
|
+
version: "1.0.0"
|
|
13
|
+
description: |
|
|
14
|
+
Hierarchical research team with a manager coordinating
|
|
15
|
+
multiple specialized researchers. The manager delegates
|
|
16
|
+
tasks, reviews outputs, and synthesizes the final report.
|
|
17
|
+
labels:
|
|
18
|
+
domain: research
|
|
19
|
+
process: hierarchical
|
|
20
|
+
framework: crewai
|
|
21
|
+
annotations:
|
|
22
|
+
ossa.io/maintainer: "research-ops"
|
|
23
|
+
ossa.io/use-case: "comprehensive-research"
|
|
24
|
+
|
|
25
|
+
spec:
|
|
26
|
+
# Hierarchical execution - manager delegates to workers
|
|
27
|
+
process: hierarchical
|
|
28
|
+
|
|
29
|
+
# Entry and exit through manager
|
|
30
|
+
entry_point: research-manager
|
|
31
|
+
exit_points:
|
|
32
|
+
- research-manager
|
|
33
|
+
|
|
34
|
+
# Agent references with roles
|
|
35
|
+
agents:
|
|
36
|
+
# Manager agent coordinates the team
|
|
37
|
+
- ref: research-manager
|
|
38
|
+
role: manager
|
|
39
|
+
config:
|
|
40
|
+
max_delegation_rounds: 3
|
|
41
|
+
|
|
42
|
+
# Specialized researcher agents
|
|
43
|
+
- ref: web-researcher
|
|
44
|
+
role: worker
|
|
45
|
+
config:
|
|
46
|
+
search_depth: comprehensive
|
|
47
|
+
|
|
48
|
+
- ref: academic-researcher
|
|
49
|
+
role: worker
|
|
50
|
+
config:
|
|
51
|
+
sources:
|
|
52
|
+
- arxiv
|
|
53
|
+
- pubmed
|
|
54
|
+
- semantic-scholar
|
|
55
|
+
|
|
56
|
+
- ref: data-analyst
|
|
57
|
+
role: worker
|
|
58
|
+
config:
|
|
59
|
+
analysis_types:
|
|
60
|
+
- statistical
|
|
61
|
+
- trend
|
|
62
|
+
- comparative
|
|
63
|
+
|
|
64
|
+
- ref: report-writer
|
|
65
|
+
role: worker
|
|
66
|
+
config:
|
|
67
|
+
format: markdown
|
|
68
|
+
include_citations: true
|
|
69
|
+
|
|
70
|
+
# Manager-to-worker edges
|
|
71
|
+
edges:
|
|
72
|
+
# Manager delegates to researchers
|
|
73
|
+
- from: research-manager
|
|
74
|
+
to: web-researcher
|
|
75
|
+
condition: "task.requires_web_search"
|
|
76
|
+
metadata:
|
|
77
|
+
delegation_type: parallel
|
|
78
|
+
|
|
79
|
+
- from: research-manager
|
|
80
|
+
to: academic-researcher
|
|
81
|
+
condition: "task.requires_academic_sources"
|
|
82
|
+
metadata:
|
|
83
|
+
delegation_type: parallel
|
|
84
|
+
|
|
85
|
+
- from: research-manager
|
|
86
|
+
to: data-analyst
|
|
87
|
+
condition: "task.requires_data_analysis"
|
|
88
|
+
metadata:
|
|
89
|
+
delegation_type: after_research
|
|
90
|
+
|
|
91
|
+
- from: research-manager
|
|
92
|
+
to: report-writer
|
|
93
|
+
condition: "task.requires_report"
|
|
94
|
+
metadata:
|
|
95
|
+
delegation_type: final
|
|
96
|
+
|
|
97
|
+
# Workers report back to manager
|
|
98
|
+
- from: web-researcher
|
|
99
|
+
to: research-manager
|
|
100
|
+
transform: "{ findings: output, source: 'web' }"
|
|
101
|
+
|
|
102
|
+
- from: academic-researcher
|
|
103
|
+
to: research-manager
|
|
104
|
+
transform: "{ findings: output, source: 'academic' }"
|
|
105
|
+
|
|
106
|
+
- from: data-analyst
|
|
107
|
+
to: research-manager
|
|
108
|
+
transform: "{ analysis: output, source: 'data' }"
|
|
109
|
+
|
|
110
|
+
- from: report-writer
|
|
111
|
+
to: research-manager
|
|
112
|
+
transform: "{ report: output, source: 'writer' }"
|
|
113
|
+
|
|
114
|
+
# Shared research state
|
|
115
|
+
state:
|
|
116
|
+
schema:
|
|
117
|
+
type: object
|
|
118
|
+
properties:
|
|
119
|
+
research_topic:
|
|
120
|
+
type: string
|
|
121
|
+
research_questions:
|
|
122
|
+
type: array
|
|
123
|
+
items:
|
|
124
|
+
type: string
|
|
125
|
+
findings:
|
|
126
|
+
type: object
|
|
127
|
+
properties:
|
|
128
|
+
web:
|
|
129
|
+
type: array
|
|
130
|
+
academic:
|
|
131
|
+
type: array
|
|
132
|
+
data:
|
|
133
|
+
type: object
|
|
134
|
+
synthesis:
|
|
135
|
+
type: string
|
|
136
|
+
final_report:
|
|
137
|
+
type: string
|
|
138
|
+
iterations:
|
|
139
|
+
type: integer
|
|
140
|
+
initial:
|
|
141
|
+
findings:
|
|
142
|
+
web: []
|
|
143
|
+
academic: []
|
|
144
|
+
data: {}
|
|
145
|
+
iterations: 0
|
|
146
|
+
persistence: database
|
|
147
|
+
|
|
148
|
+
# Observability
|
|
149
|
+
observability:
|
|
150
|
+
tracing:
|
|
151
|
+
enabled: true
|
|
152
|
+
exporter: otlp
|
|
153
|
+
metrics:
|
|
154
|
+
enabled: true
|
|
155
|
+
exporter: prometheus
|
|
156
|
+
logging:
|
|
157
|
+
level: info
|
|
158
|
+
format: json
|
|
159
|
+
|
|
160
|
+
# Constraints
|
|
161
|
+
constraints:
|
|
162
|
+
cost:
|
|
163
|
+
maxTokensPerDay: 100000
|
|
164
|
+
maxCostPerDay: 50
|
|
165
|
+
currency: USD
|
|
166
|
+
performance:
|
|
167
|
+
timeoutSeconds: 300
|
|
168
|
+
|
|
169
|
+
# Framework-specific extensions
|
|
170
|
+
extensions:
|
|
171
|
+
# CrewAI implementation (primary)
|
|
172
|
+
crewai:
|
|
173
|
+
enabled: true
|
|
174
|
+
crew:
|
|
175
|
+
process: hierarchical
|
|
176
|
+
manager_llm: gpt-4o
|
|
177
|
+
verbose: true
|
|
178
|
+
|
|
179
|
+
# Google ADK implementation
|
|
180
|
+
google_adk:
|
|
181
|
+
enabled: true
|
|
182
|
+
agent_type: sequential_agent
|
|
183
|
+
model: gemini-2.0-flash-exp
|
|
184
|
+
sub_agents:
|
|
185
|
+
- web-researcher
|
|
186
|
+
- academic-researcher
|
|
187
|
+
- data-analyst
|
|
188
|
+
- report-writer
|
|
189
|
+
session:
|
|
190
|
+
service: database
|
|
191
|
+
|
|
192
|
+
# MetaGPT implementation
|
|
193
|
+
metagpt:
|
|
194
|
+
enabled: true
|
|
195
|
+
sop:
|
|
196
|
+
name: research_workflow
|
|
197
|
+
phases:
|
|
198
|
+
- topic_analysis
|
|
199
|
+
- literature_review
|
|
200
|
+
- data_collection
|
|
201
|
+
- analysis
|
|
202
|
+
- synthesis
|
|
203
|
+
- reporting
|
|
204
|
+
environment:
|
|
205
|
+
workspace: "/tmp/research"
|
|
206
|
+
max_budget: 50
|
|
207
|
+
|
|
208
|
+
# Microsoft AutoGen implementation
|
|
209
|
+
microsoft_af:
|
|
210
|
+
enabled: true
|
|
211
|
+
framework: autogen_v0.4
|
|
212
|
+
team_type: selector
|
|
213
|
+
agent_type: orchestrator
|
|
214
|
+
termination:
|
|
215
|
+
type: text_mention
|
|
216
|
+
condition: "RESEARCH_COMPLETE"
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
# Individual agent definitions
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
apiVersion: ossa/v0.2.5-dev
|
|
223
|
+
kind: Agent
|
|
224
|
+
metadata:
|
|
225
|
+
name: research-manager
|
|
226
|
+
description: "Research team manager and coordinator"
|
|
227
|
+
spec:
|
|
228
|
+
role: |
|
|
229
|
+
You are a research team manager. Your responsibilities:
|
|
230
|
+
|
|
231
|
+
1. ANALYZE the research request to identify:
|
|
232
|
+
- Core research questions
|
|
233
|
+
- Required information sources
|
|
234
|
+
- Analysis needs
|
|
235
|
+
|
|
236
|
+
2. DELEGATE tasks to your team:
|
|
237
|
+
- Web Researcher: Current information, news, trends
|
|
238
|
+
- Academic Researcher: Scientific papers, studies
|
|
239
|
+
- Data Analyst: Statistical analysis, visualizations
|
|
240
|
+
- Report Writer: Final synthesis and formatting
|
|
241
|
+
|
|
242
|
+
3. COORDINATE the workflow:
|
|
243
|
+
- Determine optimal task order
|
|
244
|
+
- Review intermediate outputs
|
|
245
|
+
- Request revisions if needed
|
|
246
|
+
|
|
247
|
+
4. SYNTHESIZE findings into coherent insights
|
|
248
|
+
|
|
249
|
+
5. ENSURE quality and completeness
|
|
250
|
+
|
|
251
|
+
Always think strategically about how to best utilize your team.
|
|
252
|
+
llm:
|
|
253
|
+
provider: openai
|
|
254
|
+
model: gpt-4o
|
|
255
|
+
temperature: 0.3
|
|
256
|
+
maxTokens: 4000
|
|
257
|
+
autonomy:
|
|
258
|
+
level: fully_autonomous
|
|
259
|
+
constraints:
|
|
260
|
+
cost:
|
|
261
|
+
maxTokensPerRequest: 8000
|
|
262
|
+
extensions:
|
|
263
|
+
crewai:
|
|
264
|
+
enabled: true
|
|
265
|
+
agent_type: manager
|
|
266
|
+
goal: "Coordinate research team to deliver comprehensive, accurate reports"
|
|
267
|
+
backstory: |
|
|
268
|
+
Experienced research director with expertise in coordinating
|
|
269
|
+
multi-disciplinary teams. Known for producing high-quality,
|
|
270
|
+
well-structured research outputs.
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
apiVersion: ossa/v0.2.5-dev
|
|
274
|
+
kind: Agent
|
|
275
|
+
metadata:
|
|
276
|
+
name: web-researcher
|
|
277
|
+
description: "Searches web for current information"
|
|
278
|
+
spec:
|
|
279
|
+
role: |
|
|
280
|
+
You are a web research specialist. Your tasks:
|
|
281
|
+
|
|
282
|
+
1. Search for relevant web content
|
|
283
|
+
2. Evaluate source credibility
|
|
284
|
+
3. Extract key information
|
|
285
|
+
4. Summarize findings with citations
|
|
286
|
+
|
|
287
|
+
Focus on recent, authoritative sources. Always cite your sources.
|
|
288
|
+
llm:
|
|
289
|
+
provider: openai
|
|
290
|
+
model: gpt-4o-mini
|
|
291
|
+
temperature: 0.2
|
|
292
|
+
tools:
|
|
293
|
+
- type: mcp
|
|
294
|
+
server: web-search
|
|
295
|
+
capabilities:
|
|
296
|
+
- search_web
|
|
297
|
+
- fetch_page
|
|
298
|
+
- extract_content
|
|
299
|
+
autonomy:
|
|
300
|
+
level: autonomous
|
|
301
|
+
extensions:
|
|
302
|
+
crewai:
|
|
303
|
+
enabled: true
|
|
304
|
+
agent_type: researcher
|
|
305
|
+
role: "Web Research Specialist"
|
|
306
|
+
goal: "Find comprehensive, current web information"
|
|
307
|
+
backstory: |
|
|
308
|
+
Expert web researcher skilled at finding reliable online
|
|
309
|
+
sources and extracting actionable insights.
|
|
310
|
+
tools:
|
|
311
|
+
- SerperDevTool
|
|
312
|
+
- WebsiteSearchTool
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
apiVersion: ossa/v0.2.5-dev
|
|
316
|
+
kind: Agent
|
|
317
|
+
metadata:
|
|
318
|
+
name: academic-researcher
|
|
319
|
+
description: "Searches academic databases"
|
|
320
|
+
spec:
|
|
321
|
+
role: |
|
|
322
|
+
You are an academic research specialist. Your tasks:
|
|
323
|
+
|
|
324
|
+
1. Search academic databases (arXiv, PubMed, Semantic Scholar)
|
|
325
|
+
2. Identify relevant papers and studies
|
|
326
|
+
3. Extract methodology and findings
|
|
327
|
+
4. Assess research quality and relevance
|
|
328
|
+
5. Provide properly formatted citations
|
|
329
|
+
|
|
330
|
+
Prioritize peer-reviewed sources and meta-analyses.
|
|
331
|
+
llm:
|
|
332
|
+
provider: anthropic
|
|
333
|
+
model: claude-3-5-sonnet-20241022
|
|
334
|
+
temperature: 0.1
|
|
335
|
+
tools:
|
|
336
|
+
- type: http
|
|
337
|
+
name: arxiv-api
|
|
338
|
+
endpoint: "https://export.arxiv.org/api/query"
|
|
339
|
+
capabilities:
|
|
340
|
+
- search_papers
|
|
341
|
+
- type: http
|
|
342
|
+
name: semantic-scholar
|
|
343
|
+
endpoint: "https://api.semanticscholar.org"
|
|
344
|
+
capabilities:
|
|
345
|
+
- search_papers
|
|
346
|
+
- get_citations
|
|
347
|
+
autonomy:
|
|
348
|
+
level: autonomous
|
|
349
|
+
extensions:
|
|
350
|
+
crewai:
|
|
351
|
+
enabled: true
|
|
352
|
+
agent_type: researcher
|
|
353
|
+
role: "Academic Research Specialist"
|
|
354
|
+
goal: "Find peer-reviewed academic sources"
|
|
355
|
+
backstory: |
|
|
356
|
+
PhD researcher with extensive experience navigating academic
|
|
357
|
+
databases and evaluating research quality.
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
apiVersion: ossa/v0.2.5-dev
|
|
361
|
+
kind: Agent
|
|
362
|
+
metadata:
|
|
363
|
+
name: data-analyst
|
|
364
|
+
description: "Analyzes and visualizes data"
|
|
365
|
+
spec:
|
|
366
|
+
role: |
|
|
367
|
+
You are a data analysis specialist. Your tasks:
|
|
368
|
+
|
|
369
|
+
1. Analyze quantitative data from research
|
|
370
|
+
2. Identify patterns and trends
|
|
371
|
+
3. Perform statistical analysis
|
|
372
|
+
4. Create data visualizations
|
|
373
|
+
5. Provide clear interpretations
|
|
374
|
+
|
|
375
|
+
Use appropriate statistical methods and explain findings clearly.
|
|
376
|
+
llm:
|
|
377
|
+
provider: openai
|
|
378
|
+
model: gpt-4o
|
|
379
|
+
temperature: 0.2
|
|
380
|
+
tools:
|
|
381
|
+
- type: function
|
|
382
|
+
name: python_executor
|
|
383
|
+
capabilities:
|
|
384
|
+
- execute_code
|
|
385
|
+
- create_charts
|
|
386
|
+
- statistical_analysis
|
|
387
|
+
autonomy:
|
|
388
|
+
level: supervised
|
|
389
|
+
allowed_actions:
|
|
390
|
+
- execute_code
|
|
391
|
+
- create_charts
|
|
392
|
+
extensions:
|
|
393
|
+
crewai:
|
|
394
|
+
enabled: true
|
|
395
|
+
agent_type: analyst
|
|
396
|
+
role: "Data Analyst"
|
|
397
|
+
goal: "Analyze data and create meaningful visualizations"
|
|
398
|
+
backstory: |
|
|
399
|
+
Data scientist skilled in statistical analysis and
|
|
400
|
+
data visualization with Python and R.
|
|
401
|
+
autogen:
|
|
402
|
+
enabled: true
|
|
403
|
+
agent_type: assistant
|
|
404
|
+
code_execution:
|
|
405
|
+
enabled: true
|
|
406
|
+
use_docker: true
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
apiVersion: ossa/v0.2.5-dev
|
|
410
|
+
kind: Agent
|
|
411
|
+
metadata:
|
|
412
|
+
name: report-writer
|
|
413
|
+
description: "Synthesizes and writes final reports"
|
|
414
|
+
spec:
|
|
415
|
+
role: |
|
|
416
|
+
You are a technical report writer. Your tasks:
|
|
417
|
+
|
|
418
|
+
1. Synthesize findings from all researchers
|
|
419
|
+
2. Organize content logically
|
|
420
|
+
3. Write clear, professional prose
|
|
421
|
+
4. Format citations properly
|
|
422
|
+
5. Include executive summary
|
|
423
|
+
|
|
424
|
+
Write for an educated but non-specialist audience.
|
|
425
|
+
llm:
|
|
426
|
+
provider: anthropic
|
|
427
|
+
model: claude-3-5-sonnet-20241022
|
|
428
|
+
temperature: 0.7
|
|
429
|
+
maxTokens: 8000
|
|
430
|
+
autonomy:
|
|
431
|
+
level: autonomous
|
|
432
|
+
extensions:
|
|
433
|
+
crewai:
|
|
434
|
+
enabled: true
|
|
435
|
+
agent_type: worker
|
|
436
|
+
role: "Technical Report Writer"
|
|
437
|
+
goal: "Create comprehensive, well-structured reports"
|
|
438
|
+
backstory: |
|
|
439
|
+
Professional technical writer with experience creating
|
|
440
|
+
research reports, white papers, and documentation.
|