@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,376 @@
|
|
|
1
|
+
# ============================================================================
|
|
2
|
+
# Integration Pattern: Agent-to-Agent Orchestration
|
|
3
|
+
# ============================================================================
|
|
4
|
+
#
|
|
5
|
+
# PURPOSE:
|
|
6
|
+
# Demonstrates how multiple OSSA agents can work together in orchestrated
|
|
7
|
+
# workflows. This pattern enables complex multi-agent systems where agents
|
|
8
|
+
# coordinate to solve problems beyond any single agent's capabilities.
|
|
9
|
+
#
|
|
10
|
+
# USE CASES:
|
|
11
|
+
# - Multi-step workflows requiring specialized agents
|
|
12
|
+
# - Research → Analysis → Writing pipelines
|
|
13
|
+
# - Code review → Testing → Deployment workflows
|
|
14
|
+
# - Customer support escalation chains
|
|
15
|
+
# - Data processing pipelines with multiple stages
|
|
16
|
+
#
|
|
17
|
+
# ARCHITECTURE:
|
|
18
|
+
# Orchestrator Agent (coordinates workflow)
|
|
19
|
+
# ↓
|
|
20
|
+
# Worker Agent 1 (specialized task)
|
|
21
|
+
# ↓
|
|
22
|
+
# Worker Agent 2 (specialized task)
|
|
23
|
+
# ↓
|
|
24
|
+
# Aggregator Agent (combines results)
|
|
25
|
+
#
|
|
26
|
+
# PROTOCOLS:
|
|
27
|
+
# - HTTP/gRPC for synchronous communication
|
|
28
|
+
# - Message queues for asynchronous workflows
|
|
29
|
+
# - MCP (Model Context Protocol) for tool sharing
|
|
30
|
+
# - Event-driven patterns for reactive workflows
|
|
31
|
+
#
|
|
32
|
+
# ============================================================================
|
|
33
|
+
|
|
34
|
+
# ----------------------------------------------------------------------------
|
|
35
|
+
# ORCHESTRATOR AGENT
|
|
36
|
+
# ----------------------------------------------------------------------------
|
|
37
|
+
# Coordinates the workflow, delegates tasks to worker agents, and aggregates results
|
|
38
|
+
|
|
39
|
+
apiVersion: ossa/v0.2.2
|
|
40
|
+
kind: Agent
|
|
41
|
+
|
|
42
|
+
metadata:
|
|
43
|
+
name: workflow-orchestrator
|
|
44
|
+
version: 1.0.0
|
|
45
|
+
description: |
|
|
46
|
+
Orchestrates multi-agent workflows by coordinating specialized worker agents.
|
|
47
|
+
Manages workflow state, handles failures, and aggregates results.
|
|
48
|
+
|
|
49
|
+
spec:
|
|
50
|
+
role: |
|
|
51
|
+
You are a workflow orchestrator. Your job is to:
|
|
52
|
+
1. Break down complex tasks into subtasks
|
|
53
|
+
2. Delegate subtasks to appropriate worker agents
|
|
54
|
+
3. Monitor progress and handle failures
|
|
55
|
+
4. Aggregate results from worker agents
|
|
56
|
+
5. Provide final output to the user
|
|
57
|
+
|
|
58
|
+
Always coordinate clearly, handle errors gracefully, and provide status updates.
|
|
59
|
+
|
|
60
|
+
llm:
|
|
61
|
+
provider: openai
|
|
62
|
+
model: gpt-4
|
|
63
|
+
temperature: 0.3 # Lower temperature for more deterministic orchestration
|
|
64
|
+
|
|
65
|
+
tools:
|
|
66
|
+
# Tool: Invoke Research Agent
|
|
67
|
+
- type: http
|
|
68
|
+
name: invoke_research_agent
|
|
69
|
+
description: |
|
|
70
|
+
Delegate research tasks to the specialized research agent.
|
|
71
|
+
Returns comprehensive research results on the requested topic.
|
|
72
|
+
endpoint: http://research-agent:8080/api/v1/research
|
|
73
|
+
config:
|
|
74
|
+
method: POST
|
|
75
|
+
timeout: 60 # Research can take time
|
|
76
|
+
auth:
|
|
77
|
+
type: bearer
|
|
78
|
+
credentials: ORCHESTRATOR_TOKEN
|
|
79
|
+
|
|
80
|
+
# Tool: Invoke Analysis Agent
|
|
81
|
+
- type: http
|
|
82
|
+
name: invoke_analysis_agent
|
|
83
|
+
description: |
|
|
84
|
+
Delegate analysis tasks to the specialized analysis agent.
|
|
85
|
+
Analyzes data and provides insights.
|
|
86
|
+
endpoint: http://analysis-agent:8080/api/v1/analyze
|
|
87
|
+
config:
|
|
88
|
+
method: POST
|
|
89
|
+
timeout: 30
|
|
90
|
+
auth:
|
|
91
|
+
type: bearer
|
|
92
|
+
credentials: ORCHESTRATOR_TOKEN
|
|
93
|
+
|
|
94
|
+
# Tool: Invoke Writing Agent
|
|
95
|
+
- type: http
|
|
96
|
+
name: invoke_writing_agent
|
|
97
|
+
description: |
|
|
98
|
+
Delegate writing tasks to the specialized writing agent.
|
|
99
|
+
Creates well-structured content based on research and analysis.
|
|
100
|
+
endpoint: http://writing-agent:8080/api/v1/write
|
|
101
|
+
config:
|
|
102
|
+
method: POST
|
|
103
|
+
timeout: 45
|
|
104
|
+
auth:
|
|
105
|
+
type: bearer
|
|
106
|
+
credentials: ORCHESTRATOR_TOKEN
|
|
107
|
+
|
|
108
|
+
# Tool: Check Agent Status
|
|
109
|
+
- type: http
|
|
110
|
+
name: check_agent_status
|
|
111
|
+
description: |
|
|
112
|
+
Check the status and health of worker agents.
|
|
113
|
+
Returns availability, current load, and capability status.
|
|
114
|
+
endpoint: http://agent-registry:8080/api/v1/agents/status
|
|
115
|
+
config:
|
|
116
|
+
method: GET
|
|
117
|
+
timeout: 5
|
|
118
|
+
|
|
119
|
+
autonomy:
|
|
120
|
+
level: autonomous
|
|
121
|
+
approval_required: false
|
|
122
|
+
allowed_actions:
|
|
123
|
+
- invoke_research_agent
|
|
124
|
+
- invoke_analysis_agent
|
|
125
|
+
- invoke_writing_agent
|
|
126
|
+
- check_agent_status
|
|
127
|
+
|
|
128
|
+
constraints:
|
|
129
|
+
cost:
|
|
130
|
+
maxTokensPerDay: 500000
|
|
131
|
+
maxCostPerDay: 50.00
|
|
132
|
+
currency: USD
|
|
133
|
+
performance:
|
|
134
|
+
maxLatencySeconds: 120 # Multi-agent workflows take longer
|
|
135
|
+
maxConcurrentRequests: 5
|
|
136
|
+
timeoutSeconds: 180
|
|
137
|
+
|
|
138
|
+
observability:
|
|
139
|
+
tracing:
|
|
140
|
+
enabled: true
|
|
141
|
+
exporter: otlp
|
|
142
|
+
endpoint: http://jaeger:4318
|
|
143
|
+
metrics:
|
|
144
|
+
enabled: true
|
|
145
|
+
exporter: prometheus
|
|
146
|
+
endpoint: http://prometheus:9090/metrics
|
|
147
|
+
logging:
|
|
148
|
+
level: info
|
|
149
|
+
format: json
|
|
150
|
+
|
|
151
|
+
# ----------------------------------------------------------------------------
|
|
152
|
+
# RESEARCH WORKER AGENT
|
|
153
|
+
# ----------------------------------------------------------------------------
|
|
154
|
+
# Specialized agent for research tasks
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
apiVersion: ossa/v0.2.2
|
|
158
|
+
kind: Agent
|
|
159
|
+
|
|
160
|
+
metadata:
|
|
161
|
+
name: research-worker
|
|
162
|
+
version: 1.0.0
|
|
163
|
+
description: |
|
|
164
|
+
Specialized research agent that gathers comprehensive information on topics.
|
|
165
|
+
Used by orchestrator for research-intensive subtasks.
|
|
166
|
+
|
|
167
|
+
spec:
|
|
168
|
+
role: |
|
|
169
|
+
You are a research specialist. Your job is to:
|
|
170
|
+
1. Gather accurate, up-to-date information on requested topics
|
|
171
|
+
2. Use multiple sources and verify information
|
|
172
|
+
3. Provide well-sourced, comprehensive research results
|
|
173
|
+
4. Cite sources and provide evidence
|
|
174
|
+
|
|
175
|
+
Always prioritize accuracy over speed. Verify facts from multiple sources.
|
|
176
|
+
|
|
177
|
+
llm:
|
|
178
|
+
provider: openai
|
|
179
|
+
model: gpt-4
|
|
180
|
+
temperature: 0.2 # Lower temperature for factual accuracy
|
|
181
|
+
|
|
182
|
+
tools:
|
|
183
|
+
- type: http
|
|
184
|
+
name: web_search
|
|
185
|
+
description: Search the web for current information
|
|
186
|
+
endpoint: https://api.search.com/search
|
|
187
|
+
config:
|
|
188
|
+
method: POST
|
|
189
|
+
timeout: 15
|
|
190
|
+
auth:
|
|
191
|
+
type: apikey
|
|
192
|
+
credentials: SEARCH_API_KEY
|
|
193
|
+
|
|
194
|
+
- type: http
|
|
195
|
+
name: academic_search
|
|
196
|
+
description: Search academic papers and publications
|
|
197
|
+
endpoint: https://api.academic.com/search
|
|
198
|
+
config:
|
|
199
|
+
method: POST
|
|
200
|
+
timeout: 20
|
|
201
|
+
auth:
|
|
202
|
+
type: apikey
|
|
203
|
+
credentials: ACADEMIC_API_KEY
|
|
204
|
+
|
|
205
|
+
autonomy:
|
|
206
|
+
level: autonomous
|
|
207
|
+
approval_required: false
|
|
208
|
+
|
|
209
|
+
constraints:
|
|
210
|
+
cost:
|
|
211
|
+
maxTokensPerDay: 200000
|
|
212
|
+
maxCostPerDay: 20.00
|
|
213
|
+
currency: USD
|
|
214
|
+
performance:
|
|
215
|
+
maxLatencySeconds: 60
|
|
216
|
+
maxConcurrentRequests: 10
|
|
217
|
+
|
|
218
|
+
# ----------------------------------------------------------------------------
|
|
219
|
+
# ANALYSIS WORKER AGENT
|
|
220
|
+
# ----------------------------------------------------------------------------
|
|
221
|
+
# Specialized agent for data analysis
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
apiVersion: ossa/v0.2.2
|
|
225
|
+
kind: Agent
|
|
226
|
+
|
|
227
|
+
metadata:
|
|
228
|
+
name: analysis-worker
|
|
229
|
+
version: 1.0.0
|
|
230
|
+
description: |
|
|
231
|
+
Specialized analysis agent that processes data and provides insights.
|
|
232
|
+
Used by orchestrator for analysis-intensive subtasks.
|
|
233
|
+
|
|
234
|
+
spec:
|
|
235
|
+
role: |
|
|
236
|
+
You are a data analysis specialist. Your job is to:
|
|
237
|
+
1. Analyze data and research results
|
|
238
|
+
2. Identify patterns, trends, and insights
|
|
239
|
+
3. Provide clear, actionable recommendations
|
|
240
|
+
4. Support conclusions with data
|
|
241
|
+
|
|
242
|
+
Always be objective, data-driven, and clear in your analysis.
|
|
243
|
+
|
|
244
|
+
llm:
|
|
245
|
+
provider: openai
|
|
246
|
+
model: gpt-4
|
|
247
|
+
temperature: 0.3
|
|
248
|
+
|
|
249
|
+
tools:
|
|
250
|
+
- type: function
|
|
251
|
+
name: statistical_analysis
|
|
252
|
+
description: Perform statistical analysis on datasets
|
|
253
|
+
config:
|
|
254
|
+
handler: stats_handler
|
|
255
|
+
language: python
|
|
256
|
+
timeout: 30
|
|
257
|
+
|
|
258
|
+
- type: function
|
|
259
|
+
name: data_visualization
|
|
260
|
+
description: Create visualizations from data
|
|
261
|
+
config:
|
|
262
|
+
handler: viz_handler
|
|
263
|
+
language: python
|
|
264
|
+
timeout: 20
|
|
265
|
+
|
|
266
|
+
autonomy:
|
|
267
|
+
level: autonomous
|
|
268
|
+
approval_required: false
|
|
269
|
+
|
|
270
|
+
constraints:
|
|
271
|
+
cost:
|
|
272
|
+
maxTokensPerDay: 200000
|
|
273
|
+
maxCostPerDay: 20.00
|
|
274
|
+
currency: USD
|
|
275
|
+
performance:
|
|
276
|
+
maxLatencySeconds: 45
|
|
277
|
+
maxConcurrentRequests: 8
|
|
278
|
+
|
|
279
|
+
# ----------------------------------------------------------------------------
|
|
280
|
+
# WRITING WORKER AGENT
|
|
281
|
+
# ----------------------------------------------------------------------------
|
|
282
|
+
# Specialized agent for content creation
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
apiVersion: ossa/v0.2.2
|
|
286
|
+
kind: Agent
|
|
287
|
+
|
|
288
|
+
metadata:
|
|
289
|
+
name: writing-worker
|
|
290
|
+
version: 1.0.0
|
|
291
|
+
description: |
|
|
292
|
+
Specialized writing agent that creates well-structured content.
|
|
293
|
+
Used by orchestrator for writing-intensive subtasks.
|
|
294
|
+
|
|
295
|
+
spec:
|
|
296
|
+
role: |
|
|
297
|
+
You are a writing specialist. Your job is to:
|
|
298
|
+
1. Create well-structured, clear content
|
|
299
|
+
2. Synthesize information from research and analysis
|
|
300
|
+
3. Write in appropriate style and tone
|
|
301
|
+
4. Ensure accuracy and clarity
|
|
302
|
+
|
|
303
|
+
Always write clearly, engagingly, and accurately. Structure content logically.
|
|
304
|
+
|
|
305
|
+
llm:
|
|
306
|
+
provider: openai
|
|
307
|
+
model: gpt-4
|
|
308
|
+
temperature: 0.7 # Higher temperature for more creative writing
|
|
309
|
+
|
|
310
|
+
tools:
|
|
311
|
+
- type: function
|
|
312
|
+
name: format_document
|
|
313
|
+
description: Format documents in various styles (Markdown, HTML, LaTeX)
|
|
314
|
+
config:
|
|
315
|
+
handler: format_handler
|
|
316
|
+
timeout: 10
|
|
317
|
+
|
|
318
|
+
autonomy:
|
|
319
|
+
level: autonomous
|
|
320
|
+
approval_required: false
|
|
321
|
+
|
|
322
|
+
constraints:
|
|
323
|
+
cost:
|
|
324
|
+
maxTokensPerDay: 200000
|
|
325
|
+
maxCostPerDay: 20.00
|
|
326
|
+
currency: USD
|
|
327
|
+
performance:
|
|
328
|
+
maxLatencySeconds: 45
|
|
329
|
+
maxConcurrentRequests: 8
|
|
330
|
+
|
|
331
|
+
# ============================================================================
|
|
332
|
+
# WORKFLOW EXAMPLE
|
|
333
|
+
# ============================================================================
|
|
334
|
+
#
|
|
335
|
+
# User Request: "Research quantum computing trends and write a report"
|
|
336
|
+
#
|
|
337
|
+
# Orchestrator Workflow:
|
|
338
|
+
# 1. Receive request
|
|
339
|
+
# 2. Invoke research-worker → Get research results
|
|
340
|
+
# 3. Invoke analysis-worker → Analyze research, identify trends
|
|
341
|
+
# 4. Invoke writing-worker → Create report from research + analysis
|
|
342
|
+
# 5. Return final report to user
|
|
343
|
+
#
|
|
344
|
+
# Error Handling:
|
|
345
|
+
# - If research-worker fails → Retry with backup research agent
|
|
346
|
+
# - If analysis-worker fails → Use simpler analysis approach
|
|
347
|
+
# - If writing-worker fails → Return research + analysis directly
|
|
348
|
+
#
|
|
349
|
+
# ============================================================================
|
|
350
|
+
# DEPLOYMENT
|
|
351
|
+
# ============================================================================
|
|
352
|
+
#
|
|
353
|
+
# 1. Deploy all agents:
|
|
354
|
+
# $ buildkit agents deploy examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml
|
|
355
|
+
#
|
|
356
|
+
# 2. Configure service discovery:
|
|
357
|
+
# - Ensure agents can discover each other (DNS, service mesh, registry)
|
|
358
|
+
# - Set up authentication tokens
|
|
359
|
+
# - Configure network policies
|
|
360
|
+
#
|
|
361
|
+
# 3. Set up observability:
|
|
362
|
+
# - Distributed tracing across agents
|
|
363
|
+
# - Metrics aggregation
|
|
364
|
+
# - Log correlation
|
|
365
|
+
#
|
|
366
|
+
# ============================================================================
|
|
367
|
+
# RELATED PATTERNS
|
|
368
|
+
# ============================================================================
|
|
369
|
+
#
|
|
370
|
+
# - examples/integration-patterns/mcp-bridge-integration.ossa.yaml
|
|
371
|
+
# - examples/integration-patterns/event-driven-agents.ossa.yaml
|
|
372
|
+
# - examples/integration-patterns/openapi-service-exposure.ossa.yaml
|
|
373
|
+
# - examples/agent-manifests/orchestrators/orchestrator-agent.yaml
|
|
374
|
+
#
|
|
375
|
+
# ============================================================================
|
|
376
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# kAgent Examples
|
|
2
|
+
|
|
3
|
+
OSSA agent manifests for Kubernetes-native agent deployment.
|
|
4
|
+
|
|
5
|
+
## Examples
|
|
6
|
+
|
|
7
|
+
- **compliance-validator.ossa.yaml** - Validates FedRAMP/HIPAA compliance
|
|
8
|
+
- **cost-optimizer.ossa.yaml** - Optimizes cloud infrastructure costs
|
|
9
|
+
- **documentation-agent.ossa.yaml** - Generates technical documentation
|
|
10
|
+
- **k8s-troubleshooter.ossa.yaml** - Kubernetes troubleshooting and diagnostics
|
|
11
|
+
- **security-scanner.ossa.yaml** - Security vulnerability scanning
|
|
12
|
+
|
|
13
|
+
All examples follow OSSA v0.2.2 specification.
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
Validate any example:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
ossa validate compliance-validator.ossa.yaml
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Deploy to Kubernetes (requires agent-buildkit):
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
buildkit agents deploy compliance-validator.ossa.yaml
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Schema
|
|
30
|
+
|
|
31
|
+
All manifests validate against: `spec/v0.2.2/ossa-0.2.2.schema.json`
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# OSSA kAgent Reference Implementation #5
|
|
2
|
+
# Compliance Validator Agent
|
|
3
|
+
# Domain: compliance.validation.continuous
|
|
4
|
+
|
|
5
|
+
apiVersion: ossa/v1
|
|
6
|
+
kind: Agent
|
|
7
|
+
metadata:
|
|
8
|
+
name: compliance-validator
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
description: "Continuous compliance validation for SOC2, HIPAA, FedRAMP, and NIST frameworks"
|
|
11
|
+
|
|
12
|
+
spec:
|
|
13
|
+
taxonomy:
|
|
14
|
+
domain: compliance
|
|
15
|
+
subdomain: validation
|
|
16
|
+
capability: continuous
|
|
17
|
+
|
|
18
|
+
role: |
|
|
19
|
+
You are a compliance validation agent that continuously monitors infrastructure
|
|
20
|
+
and applications for compliance violations. You enforce SOC2, HIPAA, FedRAMP,
|
|
21
|
+
and NIST cybersecurity framework requirements. You generate audit reports
|
|
22
|
+
and maintain compliance evidence.
|
|
23
|
+
|
|
24
|
+
llm:
|
|
25
|
+
provider: openai
|
|
26
|
+
model: gpt-4
|
|
27
|
+
temperature: 0.1
|
|
28
|
+
maxTokens: 8000
|
|
29
|
+
|
|
30
|
+
tools:
|
|
31
|
+
- type: mcp
|
|
32
|
+
server: kubernetes-mcp
|
|
33
|
+
capabilities:
|
|
34
|
+
- audit_rbac
|
|
35
|
+
- check_network_policies
|
|
36
|
+
- validate_encryption
|
|
37
|
+
|
|
38
|
+
- type: mcp
|
|
39
|
+
server: buildkit-compliance-engine
|
|
40
|
+
capabilities:
|
|
41
|
+
- validate_policies
|
|
42
|
+
- generate_audit_reports
|
|
43
|
+
- track_compliance_status
|
|
44
|
+
- collect_evidence
|
|
45
|
+
|
|
46
|
+
- type: mcp
|
|
47
|
+
server: buildkit-agent-tracer
|
|
48
|
+
capabilities:
|
|
49
|
+
- trace_access
|
|
50
|
+
- audit_logs
|
|
51
|
+
|
|
52
|
+
autonomy:
|
|
53
|
+
level: autonomous
|
|
54
|
+
approval_required: false
|
|
55
|
+
allowed_actions:
|
|
56
|
+
- validate_compliance
|
|
57
|
+
- generate_reports
|
|
58
|
+
- collect_evidence
|
|
59
|
+
- send_alerts
|
|
60
|
+
- block_non_compliant_deployments
|
|
61
|
+
|
|
62
|
+
constraints:
|
|
63
|
+
cost:
|
|
64
|
+
maxTokensPerDay: 150000
|
|
65
|
+
maxCostPerDay: 35.0
|
|
66
|
+
performance:
|
|
67
|
+
maxLatencySeconds: 45
|
|
68
|
+
validationInterval: 1800
|
|
69
|
+
|
|
70
|
+
extensions:
|
|
71
|
+
kagent:
|
|
72
|
+
kubernetes:
|
|
73
|
+
namespace: compliance
|
|
74
|
+
labels:
|
|
75
|
+
app: compliance-validator
|
|
76
|
+
team: compliance
|
|
77
|
+
environment: production
|
|
78
|
+
frameworks: soc2-hipaa-fedramp-nist
|
|
79
|
+
annotations:
|
|
80
|
+
compliance.level: "critical"
|
|
81
|
+
audit.required: "true"
|
|
82
|
+
resourceLimits:
|
|
83
|
+
cpu: "1000m"
|
|
84
|
+
memory: "2Gi"
|
|
85
|
+
|
|
86
|
+
guardrails:
|
|
87
|
+
requireApproval: false
|
|
88
|
+
costLimits:
|
|
89
|
+
maxTokensPerDay: 150000
|
|
90
|
+
allowedActions:
|
|
91
|
+
- validate_all_namespaces
|
|
92
|
+
- block_deployments
|
|
93
|
+
- generate_evidence
|
|
94
|
+
auditLog:
|
|
95
|
+
destination: compliance-engine
|
|
96
|
+
retention: 10years
|
|
97
|
+
|
|
98
|
+
a2aConfig:
|
|
99
|
+
enabled: true
|
|
100
|
+
protocol: json-rpc
|
|
101
|
+
endpoints:
|
|
102
|
+
- http://security-scanner:8080/a2a
|
|
103
|
+
- http://documentation-agent:8080/a2a
|
|
104
|
+
- http://k8s-troubleshooter:8080/a2a
|
|
105
|
+
authentication:
|
|
106
|
+
type: mtls
|
|
107
|
+
|
|
108
|
+
meshIntegration:
|
|
109
|
+
enabled: true
|
|
110
|
+
istioIntegration: true
|
|
111
|
+
ambientMesh: true
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# OSSA kAgent Reference Implementation #3
|
|
2
|
+
# Cost Optimizer Agent
|
|
3
|
+
# Domain: infrastructure.cost.optimization
|
|
4
|
+
|
|
5
|
+
apiVersion: ossa/v1
|
|
6
|
+
kind: Agent
|
|
7
|
+
metadata:
|
|
8
|
+
name: cost-optimizer
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
description: "Intelligent cost optimization agent for Kubernetes workloads"
|
|
11
|
+
|
|
12
|
+
spec:
|
|
13
|
+
taxonomy:
|
|
14
|
+
domain: infrastructure
|
|
15
|
+
subdomain: cost
|
|
16
|
+
capability: optimization
|
|
17
|
+
|
|
18
|
+
role: |
|
|
19
|
+
You are a cost optimization agent that analyzes Kubernetes resource usage,
|
|
20
|
+
identifies waste, and recommends optimizations. You use VORTEX v3 for
|
|
21
|
+
token reduction (85%) and monitor cloud costs across providers.
|
|
22
|
+
|
|
23
|
+
llm:
|
|
24
|
+
provider: openai
|
|
25
|
+
model: gpt-4-turbo
|
|
26
|
+
temperature: 0.3
|
|
27
|
+
maxTokens: 2000
|
|
28
|
+
|
|
29
|
+
tools:
|
|
30
|
+
- type: mcp
|
|
31
|
+
server: kubernetes-mcp
|
|
32
|
+
capabilities:
|
|
33
|
+
- get_resource_usage
|
|
34
|
+
- get_node_metrics
|
|
35
|
+
- analyze_costs
|
|
36
|
+
|
|
37
|
+
- type: mcp
|
|
38
|
+
server: buildkit-agent-router
|
|
39
|
+
capabilities:
|
|
40
|
+
- route_to_cheapest_model
|
|
41
|
+
- optimize_token_usage
|
|
42
|
+
- apply_vortex_optimization
|
|
43
|
+
|
|
44
|
+
- type: mcp
|
|
45
|
+
server: buildkit-agent-tracer
|
|
46
|
+
capabilities:
|
|
47
|
+
- track_costs
|
|
48
|
+
- analyze_spending
|
|
49
|
+
|
|
50
|
+
autonomy:
|
|
51
|
+
level: supervised
|
|
52
|
+
approval_required: true
|
|
53
|
+
allowed_actions:
|
|
54
|
+
- analyze_costs
|
|
55
|
+
- generate_recommendations
|
|
56
|
+
- create_optimization_reports
|
|
57
|
+
blocked_actions:
|
|
58
|
+
- scale_down_workloads
|
|
59
|
+
- delete_resources
|
|
60
|
+
|
|
61
|
+
constraints:
|
|
62
|
+
cost:
|
|
63
|
+
maxTokensPerDay: 30000
|
|
64
|
+
maxCostPerDay: 5.0
|
|
65
|
+
performance:
|
|
66
|
+
maxLatencySeconds: 20
|
|
67
|
+
optimizationInterval: 7200
|
|
68
|
+
|
|
69
|
+
extensions:
|
|
70
|
+
kagent:
|
|
71
|
+
kubernetes:
|
|
72
|
+
namespace: finops
|
|
73
|
+
labels:
|
|
74
|
+
app: cost-optimizer
|
|
75
|
+
team: finops
|
|
76
|
+
environment: production
|
|
77
|
+
resourceLimits:
|
|
78
|
+
cpu: "250m"
|
|
79
|
+
memory: "256Mi"
|
|
80
|
+
|
|
81
|
+
guardrails:
|
|
82
|
+
requireApproval: true
|
|
83
|
+
costLimits:
|
|
84
|
+
maxTokensPerDay: 30000
|
|
85
|
+
auditLog:
|
|
86
|
+
destination: compliance-engine
|
|
87
|
+
retention: 7years
|
|
88
|
+
|
|
89
|
+
a2aConfig:
|
|
90
|
+
enabled: true
|
|
91
|
+
protocol: json-rpc
|
|
92
|
+
endpoints:
|
|
93
|
+
- http://k8s-troubleshooter:8080/a2a
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# OSSA kAgent Reference Implementation #4
|
|
2
|
+
# Documentation Agent
|
|
3
|
+
# Domain: documentation.generation.automated
|
|
4
|
+
|
|
5
|
+
apiVersion: ossa/v1
|
|
6
|
+
kind: Agent
|
|
7
|
+
metadata:
|
|
8
|
+
name: documentation-agent
|
|
9
|
+
version: 1.0.0
|
|
10
|
+
description: "Automated technical documentation generation and maintenance agent"
|
|
11
|
+
|
|
12
|
+
spec:
|
|
13
|
+
taxonomy:
|
|
14
|
+
domain: documentation
|
|
15
|
+
subdomain: generation
|
|
16
|
+
capability: automated
|
|
17
|
+
|
|
18
|
+
role: |
|
|
19
|
+
You are a technical documentation agent that generates and maintains
|
|
20
|
+
comprehensive documentation for Kubernetes deployments, APIs, and infrastructure.
|
|
21
|
+
You integrate with doc-engine for PDF generation and support multiple formats.
|
|
22
|
+
|
|
23
|
+
llm:
|
|
24
|
+
provider: anthropic
|
|
25
|
+
model: claude-3-opus-20240229
|
|
26
|
+
temperature: 0.4
|
|
27
|
+
maxTokens: 16000
|
|
28
|
+
|
|
29
|
+
tools:
|
|
30
|
+
- type: mcp
|
|
31
|
+
server: kubernetes-mcp
|
|
32
|
+
capabilities:
|
|
33
|
+
- discover_resources
|
|
34
|
+
- extract_metadata
|
|
35
|
+
- analyze_architecture
|
|
36
|
+
|
|
37
|
+
- type: mcp
|
|
38
|
+
server: buildkit-doc-engine
|
|
39
|
+
capabilities:
|
|
40
|
+
- generate_pdf
|
|
41
|
+
- create_diagrams
|
|
42
|
+
- format_markdown
|
|
43
|
+
|
|
44
|
+
- type: mcp
|
|
45
|
+
server: buildkit-agent-protocol
|
|
46
|
+
capabilities:
|
|
47
|
+
- search_codebase
|
|
48
|
+
- analyze_apis
|
|
49
|
+
|
|
50
|
+
autonomy:
|
|
51
|
+
level: autonomous
|
|
52
|
+
approval_required: false
|
|
53
|
+
allowed_actions:
|
|
54
|
+
- generate_documentation
|
|
55
|
+
- update_docs
|
|
56
|
+
- create_diagrams
|
|
57
|
+
- publish_to_wiki
|
|
58
|
+
|
|
59
|
+
constraints:
|
|
60
|
+
cost:
|
|
61
|
+
maxTokensPerDay: 200000
|
|
62
|
+
maxCostPerDay: 50.0
|
|
63
|
+
performance:
|
|
64
|
+
maxLatencySeconds: 120
|
|
65
|
+
generationInterval: 86400
|
|
66
|
+
|
|
67
|
+
extensions:
|
|
68
|
+
kagent:
|
|
69
|
+
kubernetes:
|
|
70
|
+
namespace: docs
|
|
71
|
+
labels:
|
|
72
|
+
app: documentation-agent
|
|
73
|
+
team: documentation
|
|
74
|
+
environment: production
|
|
75
|
+
resourceLimits:
|
|
76
|
+
cpu: "500m"
|
|
77
|
+
memory: "1Gi"
|
|
78
|
+
|
|
79
|
+
guardrails:
|
|
80
|
+
requireApproval: false
|
|
81
|
+
costLimits:
|
|
82
|
+
maxTokensPerDay: 200000
|
|
83
|
+
auditLog:
|
|
84
|
+
destination: compliance-engine
|
|
85
|
+
retention: 3years
|
|
86
|
+
|
|
87
|
+
a2aConfig:
|
|
88
|
+
enabled: true
|
|
89
|
+
protocol: json-rpc
|
|
90
|
+
endpoints:
|
|
91
|
+
- http://compliance-validator:8080/a2a
|