@bluefly/openstandardagents 0.2.4 → 0.2.5-RC
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/.cursorrules +84 -0
- package/.devfile.yaml +87 -0
- package/.env.example +25 -3
- package/.github/workflows/release.yml +1 -1
- package/.kiro/specs/agent-buildkit-templates/design.md +495 -0
- package/.kiro/specs/agent-buildkit-templates/requirements.md +165 -0
- package/.kiro/specs/kiro-ide-supercharger/README.md +202 -0
- package/.kiro/specs/kiro-ide-supercharger/design.md +1005 -0
- package/.kiro/specs/kiro-ide-supercharger/requirements.md +141 -0
- package/.kiro/specs/kiro-ide-supercharger/tasks.md +507 -0
- package/.kiro/specs/website-design-audit/design.md +679 -0
- package/.kiro/specs/website-design-audit/requirements.md +199 -0
- package/.releaserc.json +5 -4
- package/.version.json +6 -0
- package/CHANGELOG.md +140 -96
- package/CONTRIBUTING.md +23 -5
- package/README.md +121 -43
- package/bin/ossa +24 -3
- package/bin/ossa-validate-all +55 -0
- package/bin/ossa-version +23 -0
- package/bin/validate-ossa-0.2.4.ts +244 -0
- package/bin/validate-ossa-0.2.5-RC.ts +244 -0
- package/bin/validate-ossa.ts +273 -0
- package/dist/di-container.d.ts +1 -1
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +17 -2
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +96 -18
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/services/generation.service.d.ts +7 -5
- package/dist/services/generation.service.d.ts.map +1 -1
- package/dist/services/generation.service.js +92 -44
- package/dist/services/generation.service.js.map +1 -1
- package/dist/services/gitlab-agent.service.d.ts +94 -0
- package/dist/services/gitlab-agent.service.d.ts.map +1 -0
- package/dist/services/gitlab-agent.service.js +162 -0
- package/dist/services/gitlab-agent.service.js.map +1 -0
- package/dist/services/migration.service.d.ts +3 -3
- package/dist/services/migration.service.d.ts.map +1 -1
- package/dist/services/migration.service.js +108 -61
- package/dist/services/migration.service.js.map +1 -1
- package/dist/services/release-automation/base-crud.service.d.ts +93 -0
- package/dist/services/release-automation/base-crud.service.d.ts.map +1 -0
- package/dist/services/release-automation/base-crud.service.js +68 -0
- package/dist/services/release-automation/base-crud.service.js.map +1 -0
- package/dist/services/release-automation/index.d.ts +12 -0
- package/dist/services/release-automation/index.d.ts.map +1 -0
- package/dist/services/release-automation/index.js +12 -0
- package/dist/services/release-automation/index.js.map +1 -0
- package/dist/services/release-automation/merge-request.service.d.ts +119 -0
- package/dist/services/release-automation/merge-request.service.d.ts.map +1 -0
- package/dist/services/release-automation/merge-request.service.js +212 -0
- package/dist/services/release-automation/merge-request.service.js.map +1 -0
- package/dist/services/release-automation/milestone.service.d.ts +104 -0
- package/dist/services/release-automation/milestone.service.d.ts.map +1 -0
- package/dist/services/release-automation/milestone.service.js +207 -0
- package/dist/services/release-automation/milestone.service.js.map +1 -0
- package/dist/services/release-automation/release.service.d.ts +118 -0
- package/dist/services/release-automation/release.service.d.ts.map +1 -0
- package/dist/services/release-automation/release.service.js +207 -0
- package/dist/services/release-automation/release.service.js.map +1 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts +299 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts.map +1 -0
- package/dist/services/release-automation/schemas/release.schema.js +269 -0
- package/dist/services/release-automation/schemas/release.schema.js.map +1 -0
- package/dist/services/release-automation/tag.service.d.ts +99 -0
- package/dist/services/release-automation/tag.service.d.ts.map +1 -0
- package/dist/services/release-automation/tag.service.js +180 -0
- package/dist/services/release-automation/tag.service.js.map +1 -0
- package/dist/services/release-automation/webhook.service.d.ts +37 -0
- package/dist/services/release-automation/webhook.service.d.ts.map +1 -0
- package/dist/services/release-automation/webhook.service.js +173 -0
- package/dist/services/release-automation/webhook.service.js.map +1 -0
- package/dist/services/runtime/openai.adapter.d.ts.map +1 -1
- package/dist/services/runtime/openai.adapter.js.map +1 -1
- package/dist/services/validation.service.d.ts.map +1 -1
- package/dist/services/validation.service.js +24 -11
- package/dist/services/validation.service.js.map +1 -1
- package/dist/services/validators/anthropic.validator.d.ts +2 -2
- package/dist/services/validators/anthropic.validator.d.ts.map +1 -1
- package/dist/services/validators/anthropic.validator.js +14 -9
- package/dist/services/validators/anthropic.validator.js.map +1 -1
- package/dist/services/validators/autogen.validator.d.ts +2 -2
- package/dist/services/validators/autogen.validator.d.ts.map +1 -1
- package/dist/services/validators/autogen.validator.js +18 -15
- package/dist/services/validators/autogen.validator.js.map +1 -1
- package/dist/services/validators/crewai.validator.d.ts +2 -2
- package/dist/services/validators/crewai.validator.d.ts.map +1 -1
- package/dist/services/validators/crewai.validator.js +18 -17
- package/dist/services/validators/crewai.validator.js.map +1 -1
- package/dist/services/validators/cursor.validator.d.ts +2 -2
- package/dist/services/validators/cursor.validator.d.ts.map +1 -1
- package/dist/services/validators/cursor.validator.js +15 -11
- package/dist/services/validators/cursor.validator.js.map +1 -1
- package/dist/services/validators/langchain.validator.d.ts +2 -2
- package/dist/services/validators/langchain.validator.d.ts.map +1 -1
- package/dist/services/validators/langchain.validator.js +14 -11
- package/dist/services/validators/langchain.validator.js.map +1 -1
- package/dist/services/validators/langflow.validator.d.ts +2 -2
- package/dist/services/validators/langflow.validator.d.ts.map +1 -1
- package/dist/services/validators/langflow.validator.js +14 -9
- package/dist/services/validators/langflow.validator.js.map +1 -1
- package/dist/services/validators/langgraph.validator.d.ts +2 -2
- package/dist/services/validators/langgraph.validator.d.ts.map +1 -1
- package/dist/services/validators/langgraph.validator.js +23 -18
- package/dist/services/validators/langgraph.validator.js.map +1 -1
- package/dist/services/validators/llamaindex.validator.d.ts +2 -2
- package/dist/services/validators/llamaindex.validator.d.ts.map +1 -1
- package/dist/services/validators/llamaindex.validator.js +19 -16
- package/dist/services/validators/llamaindex.validator.js.map +1 -1
- package/dist/services/validators/openai.validator.d.ts +2 -2
- package/dist/services/validators/openai.validator.d.ts.map +1 -1
- package/dist/services/validators/openai.validator.js +20 -16
- package/dist/services/validators/openai.validator.js.map +1 -1
- package/dist/services/validators/vercel-ai.validator.d.ts +2 -2
- package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -1
- package/dist/services/validators/vercel-ai.validator.js +16 -15
- package/dist/services/validators/vercel-ai.validator.js.map +1 -1
- package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
- package/dist/spec/v0.2.3/CHANGELOG.md +7 -7
- package/dist/spec/v0.2.3/README.md +9 -9
- package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
- package/{spec/v0.2.4-dev → dist/spec/v0.2.4}/CHANGELOG.md +8 -8
- package/dist/spec/{v0.2.4-dev → v0.2.4}/migrations/v0.2.3-to-v0.2.4.md +10 -10
- package/dist/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.yaml +1 -1
- package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +1819 -0
- package/dist/spec/v0.2.5/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.5/README.md +72 -0
- package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.5/ossa-0.2.5.schema.json} +323 -359
- package/dist/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
- package/dist/spec/v0.2.5-RC/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.5-RC/README.md +72 -0
- package/{spec/v0.2.4-dev → dist/spec/v0.2.5-RC}/migrations/v0.2.3-to-v0.2.4.md +10 -10
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
- package/dist/types/index.d.ts +6 -1
- package/dist/types/index.d.ts.map +1 -1
- package/docs/issue-19-completion-summary.md +648 -0
- package/docs/issue-19-validation.md +351 -0
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/bridges/Dockerfile.production +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/enterprise/agent.yml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +2 -2
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/openai/basic-agent.ossa.yaml +61 -0
- package/examples/openai/multi-tool-agent.ossa.json +165 -0
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/openapi-extensions/README.md +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/infrastructure/gitlab-agent/rbac.yaml +126 -0
- package/infrastructure/gitlab-agent/values.yaml +150 -0
- package/infrastructure/k8s/monitoring/00-namespace.yaml +7 -0
- package/infrastructure/k8s/monitoring/01-prometheus.yaml +142 -0
- package/infrastructure/k8s/monitoring/02-grafana.yaml +63 -0
- package/infrastructure/k8s/monitoring/03-lightweight.yaml +121 -0
- package/infrastructure/k8s/monitoring/README.md +73 -0
- package/infrastructure/k8s/monitoring/deploy.sh +38 -0
- package/openapi/CHANGELOG.md +21 -0
- package/openapi/README.md +46 -0
- package/openapi/{ossa-core-api.openapi.yaml → core/ossa-core-api.openapi.yaml} +59 -4
- package/openapi/{ossa-registry.openapi.yaml → core/ossa-registry.openapi.yaml} +75 -2
- package/openapi/{unified-agent-gateway.openapi.yaml → core/unified-agent-gateway.openapi.yaml} +3 -3
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +136 -0
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +192 -0
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +149 -0
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +151 -0
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +217 -0
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +149 -0
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +151 -0
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +193 -0
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +165 -0
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +148 -0
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +167 -0
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +171 -0
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +171 -0
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +242 -0
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +187 -0
- package/openapi/{self-evolving-ecosystem.openapi.yaml → reference-implementations/self-evolving-ecosystem.openapi.yaml} +2 -2
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +208 -0
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +193 -0
- package/package.json +31 -21
- package/release.config.js +20 -5
- package/scripts/bump-version.ts +57 -0
- package/scripts/enhanced-version-manager.ts +257 -0
- package/scripts/gen-types.ts +51 -0
- package/scripts/gen-zod.ts +51 -0
- package/scripts/lib/exec.ts +37 -0
- package/scripts/lib/file-ops.ts +58 -0
- package/scripts/lib/version.ts +83 -0
- package/scripts/process-doc-templates.ts +37 -0
- package/scripts/schemas/package.schema.ts +75 -0
- package/scripts/setup-branch-protection.sh +33 -0
- package/scripts/sync-version.ts +39 -0
- package/scripts/sync-versions.ts +488 -0
- package/scripts/validate-schema.ts +49 -0
- package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
- package/spec/v0.2.3/CHANGELOG.md +7 -7
- package/spec/v0.2.3/README.md +9 -9
- package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +18 -18
- package/{dist/spec/v0.2.4-dev → spec/v0.2.4}/CHANGELOG.md +8 -8
- package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.yaml +1 -1
- package/spec/v0.2.4/ossa-0.2.4.schema.json +1819 -0
- package/spec/v0.2.5/CHANGELOG.md +401 -0
- package/spec/v0.2.5/README.md +72 -0
- package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/{v0.2.5-dev/ossa-0.2.5-dev.schema.json → v0.2.5/ossa-0.2.5.schema.json} +323 -359
- package/spec/v0.2.5/ossa-0.2.5.yaml +581 -0
- package/spec/v0.2.5-RC/CHANGELOG.md +401 -0
- package/spec/v0.2.5-RC/README.md +72 -0
- package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +1696 -0
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +581 -0
- package/website/{.lighthouserc.js → .lighthouserc.ts} +5 -1
- package/website/Dockerfile +18 -5
- package/website/app/about/page.tsx +7 -7
- package/website/app/blog/[slug]/page.tsx +61 -20
- package/website/app/blog/page.tsx +120 -33
- package/website/app/design-guide/page.tsx +511 -0
- package/website/app/docs/[[...slug]]/page.tsx +641 -143
- package/website/app/examples/page.tsx +51 -41
- package/website/app/{globals.css → globals.scss} +50 -23
- package/website/app/layout.tsx +2 -2
- package/website/app/license/page.tsx +183 -0
- package/website/app/not-found.tsx +18 -0
- package/website/app/page.tsx +144 -79
- package/website/app/playground/page.tsx +25 -45
- package/website/app/schema/page.tsx +423 -392
- package/website/app/specification/page.tsx +245 -169
- package/website/components/Logo.tsx +75 -2
- package/website/components/docs/DocsSidebar.tsx +40 -3
- package/website/components/docs/MarkdownContent.tsx +265 -47
- package/website/components/docs/VersionSelector.tsx +64 -8
- package/website/components/examples/ExamplesViewer.tsx +2 -2
- package/website/components/layout/Footer.tsx +6 -1
- package/website/components/layout/Header.tsx +31 -33
- package/website/components/schema/SchemaComponentsAccordion.tsx +84 -0
- package/website/components/schema/SchemaExplorer.tsx +4 -4
- package/website/content/blog/OpenAPI-AI-Agents-Standard.md +276 -276
- package/website/content/blog/Why-Formal-Standards-Matter-Now.md +3 -14
- package/website/content/blog/gitlab-kubernetes-agent-ecosystem.md +286 -0
- package/website/content/blog/introducing-ossa-framework.md +1 -1
- package/website/content/blog/ossa-production-results.md +5 -5
- package/website/content/blog/welcome-to-ossa.md +2 -2
- package/website/content/blog/why-ai-agents-need-open-standard.md +5 -5
- package/website/content/docs/00-HOME.md +18 -25
- package/website/content/docs/AIFlow-Framework-Integration-with-OSSA.md +8 -8
- package/website/content/docs/OpenAPI-Extensions.md +576 -140
- package/website/content/docs/adapters/openai-adapter.md +693 -0
- package/website/content/docs/architecture/execution-flow.md +3 -3
- package/website/content/docs/architecture/multi-agent-systems.md +4 -4
- package/website/content/docs/architecture/overview.md +4 -4
- package/website/content/docs/architecture/stack-integration.md +4 -4
- package/website/content/docs/changelog.md +4 -4
- package/website/content/docs/contributing.md +2 -2
- package/website/content/docs/ecosystem/framework-support.md +0 -2
- package/website/content/docs/examples/AIFlow-Framework-Integration-with-OSSA.md +107 -0
- package/website/content/docs/examples/Migration-Guides.md +2 -2
- package/website/content/docs/for-audiences/{architects.md → Architects.md} +1 -1
- package/website/content/docs/for-audiences/{developers.md → Developers.md} +3 -3
- package/website/content/docs/for-audiences/Enterprises.md +2 -2
- package/website/content/docs/for-audiences/Students-Researchers.md +1 -1
- package/website/content/docs/getting-started/{5-minute-overview.md → 5-Minute-Overview.md} +2 -2
- package/website/content/docs/getting-started/{first-agent.md → First-Agent.md} +1 -1
- package/website/content/docs/getting-started/Hello-World.md +3 -3
- package/website/content/docs/getting-started/{installation.md → Installation.md} +7 -7
- package/website/content/docs/getting-started/index.md +92 -0
- package/website/content/docs/getting-started/running-agents.md +215 -13
- package/{docs → website/content/docs}/getting-started.md +10 -6
- package/website/content/docs/integrations/aiflow.md +2 -2
- package/website/content/docs/integrations/drupal.md +2 -2
- package/website/content/docs/migration-guides/README.md +1 -1
- package/website/content/docs/migration-guides/agent-schema-comparison.md +232 -0
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +5 -5
- package/website/content/docs/migration-guides/crewai-to-ossa.md +3 -3
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +11 -11
- package/{docs/migration → website/content/docs/migration-guides}/general-agent-schema.yml +1 -9
- package/website/content/docs/migration-guides/index.md +1 -1
- package/website/content/docs/migration-guides/langchain-to-ossa.md +17 -17
- package/website/content/docs/migration-guides/langflow-to-ossa.md +3 -3
- package/website/content/docs/migration-guides/openai-to-ossa.md +10 -10
- package/website/content/docs/openapi-extensions/examples.md +9 -9
- package/website/content/docs/openapi-extensions/index.md +59 -3
- package/website/content/docs/openapi-extensions/operation-extensions.md +61 -2
- package/website/content/docs/openapi-extensions/root-extensions.md +49 -3
- package/{docs/OSSA-COMPLIANT-BADGE.md → website/content/docs/ossa-compliant-badge.md} +18 -15
- package/website/content/docs/pre-release/index.md +10 -10
- package/website/content/docs/readme.md +35 -0
- package/website/content/docs/schema-reference/agent-spec.md +2 -2
- package/website/content/docs/schema-reference/autonomy.md +5 -5
- package/website/content/docs/schema-reference/constraints.md +5 -5
- package/website/content/docs/schema-reference/llm-config.md +1 -1
- package/website/content/docs/schema-reference/observability.md +5 -5
- package/website/content/docs/schema-reference/ossa-manifest.md +6 -6
- package/website/content/docs/schema-reference/taxonomy.md +3 -3
- package/website/content/docs/use-cases/00-index.md +1 -1
- package/{docs/VERSIONING.md → website/content/docs/versioning.md} +9 -5
- package/website/lib/version.ts +18 -1
- package/website/lib/versions.json +78 -0
- package/website/next.config.ts +3 -1
- package/website/package-lock.json +552 -18
- package/website/package.json +11 -5
- package/website/postcss.config.mjs +1 -1
- package/website/scripts/fetch-versions.js +166 -0
- package/website/scripts/generate-examples-index.js +163 -0
- package/website/scripts/merge-docs-to-wiki.ts +207 -0
- package/website/scripts/sync-version.js +28 -0
- package/website/scripts/sync-wiki.ts +64 -3
- package/website/scripts/upload-wiki.ts +199 -0
- package/website/styles/_variables.scss +36 -0
- package/website/tailwind.config.ts +93 -22
- package/.releaserc.json.disabled +0 -81
- package/dist/spec/v0.2.5-dev/CHANGELOG.md +0 -171
- package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
- package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
- package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
- package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
- package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
- package/docs/README.md +0 -31
- package/docs/agent-openapi-spec.yml +0 -942
- package/docs/openapi-extensions.md +0 -930
- package/docs/schemas/openapi-extensions.schema.json +0 -486
- package/openapi/gitlab-orchestrator.openapi.yaml +0 -330
- package/ossa-website-swarm-tasks.json +0 -105
- package/spec/v0.2.5-dev/CHANGELOG.md +0 -171
- package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +0 -362
- package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +0 -464
- package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +0 -440
- package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +0 -317
- package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +0 -409
- package/website/app/api/validate/route.ts +0 -88
- package/website/next.config.js +0 -17
- package/website/postcss.config.js +0 -7
- package/website/tailwind.config.js +0 -58
- /package/dist/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.schema.json +0 -0
- /package/openapi/{ossa-registry-api.openapi.yaml → core/ossa-registry-api.openapi.yaml} +0 -0
- /package/openapi/{drupal-agent-api.openapi.yaml → reference-implementations/drupal-agent-api.openapi.yaml} +0 -0
- /package/openapi/{helm-generator.openapi.yaml → reference-implementations/helm-generator.openapi.yaml} +0 -0
- /package/spec/{v0.2.4-dev → v0.2.4}/ossa-0.2.4-dev.schema.json +0 -0
- /package/website/content/docs/{examples.md → Examples.md} +0 -0
- /package/website/content/docs/core-concepts/{project-structure.md → Project-Structure.md} +0 -0
- /package/website/content/docs/migration-guides/{00-index.md → 00-INDEX.md} +0 -0
- /package/{docs/migration → website/content/docs/migration-guides}/migration-manifest.json +0 -0
|
@@ -15,7 +15,7 @@ Learn how to run OSSA agents using the CLI.
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm install -g @bluefly/
|
|
18
|
+
npm install -g @bluefly/open-standards-scalable-agents
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Quick Start
|
|
@@ -30,7 +30,7 @@ export OPENAI_API_KEY=sk-...
|
|
|
30
30
|
|
|
31
31
|
```yaml
|
|
32
32
|
# support-agent.ossa.yaml
|
|
33
|
-
apiVersion: ossa/v0.2.
|
|
33
|
+
apiVersion: ossa/v0.2.x
|
|
34
34
|
kind: Agent
|
|
35
35
|
|
|
36
36
|
metadata:
|
|
@@ -64,13 +64,75 @@ ossa run support-agent.ossa.yaml -v
|
|
|
64
64
|
|
|
65
65
|
## Command Options
|
|
66
66
|
|
|
67
|
-
| Option | Description |
|
|
68
|
-
|
|
69
|
-
| `-r, --runtime
|
|
70
|
-
| `-v, --verbose` | Show tool calls |
|
|
71
|
-
| `-m, --message
|
|
72
|
-
| `--no-validate` | Skip validation |
|
|
73
|
-
| `--max-turns
|
|
67
|
+
| Option | Description | Default |
|
|
68
|
+
|--------|-------------|---------|
|
|
69
|
+
| `-r, --runtime <runtime>` | Runtime adapter to use | `openai` |
|
|
70
|
+
| `-v, --verbose` | Show detailed output including tool calls | `false` |
|
|
71
|
+
| `-m, --message <message>` | Single message mode (non-interactive) | Interactive REPL |
|
|
72
|
+
| `--no-validate` | Skip manifest validation before running | Validation enabled |
|
|
73
|
+
| `--max-turns <turns>` | Maximum tool call iterations | `10` |
|
|
74
|
+
|
|
75
|
+
### Detailed Option Descriptions
|
|
76
|
+
|
|
77
|
+
#### Runtime Selection (`-r, --runtime`)
|
|
78
|
+
|
|
79
|
+
Choose which runtime adapter to use for executing your agent:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# Use OpenAI (default)
|
|
83
|
+
ossa run agent.ossa.yaml --runtime openai
|
|
84
|
+
|
|
85
|
+
# Short form
|
|
86
|
+
ossa run agent.ossa.yaml -r openai
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
#### Verbose Mode (`-v, --verbose`)
|
|
90
|
+
|
|
91
|
+
Enable verbose output to see detailed information about tool calls and execution:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
ossa run agent.ossa.yaml --verbose
|
|
95
|
+
|
|
96
|
+
# Shows:
|
|
97
|
+
# - Tool call names and arguments
|
|
98
|
+
# - Tool execution results
|
|
99
|
+
# - Conversation flow
|
|
100
|
+
# - Validation details
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
#### Single Message Mode (`-m, --message`)
|
|
104
|
+
|
|
105
|
+
Execute a single message and exit (non-interactive):
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
# Ask a single question
|
|
109
|
+
ossa run agent.ossa.yaml -m "What is the weather today?"
|
|
110
|
+
|
|
111
|
+
# Long form
|
|
112
|
+
ossa run agent.ossa.yaml --message "Analyze this data"
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
#### Skip Validation (`--no-validate`)
|
|
116
|
+
|
|
117
|
+
Skip manifest validation for faster startup (use with caution):
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
ossa run agent.ossa.yaml --no-validate
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
**Note:** Validation is recommended to catch configuration errors early.
|
|
124
|
+
|
|
125
|
+
#### Max Turns (`--max-turns`)
|
|
126
|
+
|
|
127
|
+
Limit the number of tool call iterations to prevent infinite loops:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
# Allow up to 5 tool call iterations
|
|
131
|
+
ossa run agent.ossa.yaml --max-turns 5
|
|
132
|
+
|
|
133
|
+
# Default is 10
|
|
134
|
+
ossa run agent.ossa.yaml --max-turns 10
|
|
135
|
+
```
|
|
74
136
|
|
|
75
137
|
## Supported Runtimes
|
|
76
138
|
|
|
@@ -83,7 +145,7 @@ ossa run support-agent.ossa.yaml -v
|
|
|
83
145
|
|
|
84
146
|
## Adding Tools
|
|
85
147
|
|
|
86
|
-
Define tools in your manifest:
|
|
148
|
+
Define tools in your manifest using the OpenAI extension:
|
|
87
149
|
|
|
88
150
|
```yaml
|
|
89
151
|
extensions:
|
|
@@ -97,11 +159,151 @@ extensions:
|
|
|
97
159
|
properties:
|
|
98
160
|
order_id:
|
|
99
161
|
type: string
|
|
162
|
+
description: The order ID to track
|
|
100
163
|
required: [order_id]
|
|
101
164
|
```
|
|
102
165
|
|
|
166
|
+
## Interactive REPL Mode
|
|
167
|
+
|
|
168
|
+
When you run an agent without the `-m` flag, you enter interactive mode:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
ossa run agent.ossa.yaml
|
|
172
|
+
|
|
173
|
+
# Output:
|
|
174
|
+
# ✓ Agent 'my-agent' loaded
|
|
175
|
+
# Model: gpt-4o-mini
|
|
176
|
+
# Tools: search, calculate
|
|
177
|
+
#
|
|
178
|
+
# Entering interactive mode. Type "exit" to quit.
|
|
179
|
+
#
|
|
180
|
+
# You:
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
In interactive mode:
|
|
184
|
+
- Type your messages and press Enter
|
|
185
|
+
- The agent maintains conversation history
|
|
186
|
+
- Type `exit` or `quit` to end the session
|
|
187
|
+
- Press Ctrl+C to force quit
|
|
188
|
+
|
|
189
|
+
## Troubleshooting
|
|
190
|
+
|
|
191
|
+
### API Key Not Set
|
|
192
|
+
|
|
193
|
+
**Error:** `OPENAI_API_KEY environment variable not set`
|
|
194
|
+
|
|
195
|
+
**Solution:**
|
|
196
|
+
```bash
|
|
197
|
+
export OPENAI_API_KEY=sk-your-key-here
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Validation Errors
|
|
201
|
+
|
|
202
|
+
**Error:** `Agent manifest validation failed`
|
|
203
|
+
|
|
204
|
+
**Solution:** Check your manifest against the schema:
|
|
205
|
+
```bash
|
|
206
|
+
ossa validate agent.ossa.yaml --verbose
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Runtime Not Supported
|
|
210
|
+
|
|
211
|
+
**Error:** `Runtime 'xyz' not supported yet`
|
|
212
|
+
|
|
213
|
+
**Solution:** Use the OpenAI runtime (currently the only supported runtime):
|
|
214
|
+
```bash
|
|
215
|
+
ossa run agent.ossa.yaml --runtime openai
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### Max Turns Reached
|
|
219
|
+
|
|
220
|
+
**Error:** `Max turns reached without completion`
|
|
221
|
+
|
|
222
|
+
**Solution:** Increase the max turns limit:
|
|
223
|
+
```bash
|
|
224
|
+
ossa run agent.ossa.yaml --max-turns 20
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## Advanced Usage
|
|
228
|
+
|
|
229
|
+
### Combining Options
|
|
230
|
+
|
|
231
|
+
You can combine multiple options:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
# Verbose single message with custom max turns
|
|
235
|
+
ossa run agent.ossa.yaml -v -m "Complex query" --max-turns 15
|
|
236
|
+
|
|
237
|
+
# Skip validation in verbose mode
|
|
238
|
+
ossa run agent.ossa.yaml --no-validate --verbose
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Using with Different Models
|
|
242
|
+
|
|
243
|
+
Specify the model in your manifest:
|
|
244
|
+
|
|
245
|
+
```yaml
|
|
246
|
+
spec:
|
|
247
|
+
llm:
|
|
248
|
+
provider: openai
|
|
249
|
+
model: gpt-4-turbo
|
|
250
|
+
temperature: 0.8
|
|
251
|
+
maxTokens: 2000
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
Or use the OpenAI extension:
|
|
255
|
+
|
|
256
|
+
```yaml
|
|
257
|
+
extensions:
|
|
258
|
+
openai_agents:
|
|
259
|
+
model: gpt-4-turbo
|
|
260
|
+
instructions: Custom system prompt
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### Environment Variables
|
|
264
|
+
|
|
265
|
+
The run command respects these environment variables:
|
|
266
|
+
|
|
267
|
+
- `OPENAI_API_KEY` - Your OpenAI API key (required)
|
|
268
|
+
- `OPENAI_ORG_ID` - Your OpenAI organization ID (optional)
|
|
269
|
+
|
|
270
|
+
## Examples
|
|
271
|
+
|
|
272
|
+
### Customer Support Agent
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
# Create the manifest
|
|
276
|
+
cat > support.ossa.yaml << EOF
|
|
277
|
+
apiVersion: ossa/v0.2.4
|
|
278
|
+
kind: Agent
|
|
279
|
+
metadata:
|
|
280
|
+
name: support-agent
|
|
281
|
+
version: 1.0.0
|
|
282
|
+
spec:
|
|
283
|
+
role: You are a helpful customer support agent
|
|
284
|
+
llm:
|
|
285
|
+
provider: openai
|
|
286
|
+
model: gpt-4o-mini
|
|
287
|
+
EOF
|
|
288
|
+
|
|
289
|
+
# Run interactively
|
|
290
|
+
ossa run support.ossa.yaml
|
|
291
|
+
|
|
292
|
+
# Or single message
|
|
293
|
+
ossa run support.ossa.yaml -m "How do I reset my password?"
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
### Code Assistant with Tools
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
# See examples/openai/swarm-agent.ossa.json for a complete example
|
|
300
|
+
ossa run examples/openai/swarm-agent.ossa.json -v
|
|
301
|
+
```
|
|
302
|
+
|
|
103
303
|
## Next Steps
|
|
104
304
|
|
|
105
|
-
- [
|
|
106
|
-
- [
|
|
107
|
-
- [
|
|
305
|
+
- [CLI Reference](/docs/cli/run-command) - Complete command reference
|
|
306
|
+
- [OpenAI Adapter](/docs/adapters/openai-adapter) - OpenAI adapter configuration
|
|
307
|
+
- [Manifest Reference](/docs/schema-reference) - Full manifest schema
|
|
308
|
+
- [Framework Extensions](/docs/openapi-extensions) - Extension system
|
|
309
|
+
- [Migration Guides](/docs/migration-guides) - Migrate from other frameworks
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Getting Started"
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# Getting Started with OSSA
|
|
2
6
|
|
|
3
7
|
## What is OSSA?
|
|
@@ -9,7 +13,7 @@ OSSA (Open Standard for Scalable AI Agents) is a specification standard for AI a
|
|
|
9
13
|
## Installation
|
|
10
14
|
|
|
11
15
|
```bash
|
|
12
|
-
npm install -g @bluefly/
|
|
16
|
+
npm install -g @bluefly/openstandardagents
|
|
13
17
|
```
|
|
14
18
|
|
|
15
19
|
## Quick Start
|
|
@@ -26,7 +30,7 @@ cd .agents/my-agent
|
|
|
26
30
|
Edit `agent.yml`:
|
|
27
31
|
|
|
28
32
|
```yaml
|
|
29
|
-
ossaVersion: "
|
|
33
|
+
ossaVersion: "0.2.5-RC"
|
|
30
34
|
|
|
31
35
|
agent:
|
|
32
36
|
id: my-agent
|
|
@@ -75,13 +79,13 @@ OSSA doesn't dictate deployment. Deploy to YOUR infrastructure:
|
|
|
75
79
|
|
|
76
80
|
## Next Steps
|
|
77
81
|
|
|
78
|
-
- Review [Examples](
|
|
79
|
-
- Read the [Specification](
|
|
80
|
-
- Visit the [
|
|
82
|
+
- Review [Examples](Examples/)
|
|
83
|
+
- Read the [Specification](Specification/ossa-1.0.schema.json)
|
|
84
|
+
- Visit the [GitHub Repository](https://github.com/blueflyio/openstandardagents)
|
|
81
85
|
|
|
82
86
|
## Need More Features?
|
|
83
87
|
|
|
84
88
|
For production features like GitLab integration, Kubernetes deployment, and monitoring, see:
|
|
85
89
|
|
|
86
|
-
**[agent-buildkit](https://
|
|
90
|
+
**[agent-buildkit](https://github.com/blueflyio/openstandardagents)** - Reference implementation with production tooling
|
|
87
91
|
|
|
@@ -34,7 +34,7 @@ The OpenAPI 3.1 specification defines the REST API interface for the AIFlow agen
|
|
|
34
34
|
|
|
35
35
|
### OSSA Schema
|
|
36
36
|
|
|
37
|
-
**Location**: [OSSA/spec/
|
|
37
|
+
**Location**: [OSSA/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json](https://github.com/blueflyio/openstandardagents/blob/development/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json)
|
|
38
38
|
|
|
39
39
|
JSON Schema definition for OSSA 1.0 manifest validation. All agent manifests must conform to this schema.
|
|
40
40
|
|
|
@@ -98,7 +98,7 @@ This generates Kubernetes manifests and deploys the agent with:
|
|
|
98
98
|
- **AIFlow Repository**: https://github.com/AIFlow-agent/AIFlow-Agent
|
|
99
99
|
- **OSSA Project**: [openapi-ai-agents-standard](https://github.com/blueflyio/openstandardagents)
|
|
100
100
|
- **Integration Guide**: [agent-buildkit Wiki](https://github.com/blueflyio/openstandardagents/wiki/AIFlow-Integration-with-OSSA-BuildKit-and-K-Agent)
|
|
101
|
-
- **OSSA Specification Schema**: [OSSA 1.0 Schema](https://github.com/blueflyio/openstandardagents/blob/development/spec/
|
|
101
|
+
- **OSSA Specification Schema**: [OSSA 1.0 Schema](https://github.com/blueflyio/openstandardagents/blob/development/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json)
|
|
102
102
|
- **Example Manifest**: [social-agent-aiflow.ossa.yaml](https://github.com/blueflyio/openstandardagents/blob/development/examples/aiflow-integration/social-agent-aiflow.ossa.yaml)
|
|
103
103
|
- **OpenAPI Spec**: [aiflow-agent.openapi.yml](https://github.com/blueflyio/openstandardagents/blob/development/openapi/aiflow-agent.openapi.yml)
|
|
104
104
|
|
|
@@ -66,7 +66,7 @@ The `ai_agents_orchestra` module enables multi-agent workflows:
|
|
|
66
66
|
|
|
67
67
|
```yaml
|
|
68
68
|
# workflow.ossa.yaml
|
|
69
|
-
apiVersion: ossa/v0.2.
|
|
69
|
+
apiVersion: ossa/v0.2.x
|
|
70
70
|
kind: AgentGraph
|
|
71
71
|
|
|
72
72
|
metadata:
|
|
@@ -101,5 +101,5 @@ OSSA agents work with Drupal's ECA (Event-Condition-Action):
|
|
|
101
101
|
## Next Steps
|
|
102
102
|
|
|
103
103
|
- [OSSA Manifest Reference](/docs/schema-reference)
|
|
104
|
-
- [Orchestra Module Docs](https://github.com/blueflyio/
|
|
104
|
+
- [Orchestra Module Docs](https://github.com/blueflyio/drupal/ai_agents_orchestra)
|
|
105
105
|
- [CrewAI Integration](/docs/migration-guides/crewai-to-ossa)
|
|
@@ -123,7 +123,7 @@ Starting fresh? → Check Getting Started guide
|
|
|
123
123
|
|
|
124
124
|
Found an issue or want to add a migration guide?
|
|
125
125
|
|
|
126
|
-
1. Create an issue: [
|
|
126
|
+
1. Create an issue: [GitLab Issues](https://github.com/blueflyio/documentation/-/issues)
|
|
127
127
|
2. Submit a merge request with your guide
|
|
128
128
|
3. Follow the existing structure and format
|
|
129
129
|
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# Agent Schema Comparison: GitLab Duo Agent vs General Agent
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This document compares the GitLab Duo Agent API schema with a generalized agent schema to highlight the differences, similarities, and architectural approaches.
|
|
6
|
+
|
|
7
|
+
## 1. Core Agent Entity Comparison
|
|
8
|
+
|
|
9
|
+
### GitLab Duo Agent (CLIAgent)
|
|
10
|
+
```yaml
|
|
11
|
+
CLIAgent:
|
|
12
|
+
type: object
|
|
13
|
+
properties:
|
|
14
|
+
id: string (uuid)
|
|
15
|
+
project_id: integer
|
|
16
|
+
service_account_id: string
|
|
17
|
+
service_account_username: string
|
|
18
|
+
flow_id: string (uuid)
|
|
19
|
+
status: [active, inactive, error]
|
|
20
|
+
last_invocation: string (date-time, nullable)
|
|
21
|
+
total_invocations: integer (default: 0)
|
|
22
|
+
created_at: string (date-time)
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### General Agent
|
|
26
|
+
```yaml
|
|
27
|
+
Agent:
|
|
28
|
+
type: object
|
|
29
|
+
properties:
|
|
30
|
+
id: string (uuid)
|
|
31
|
+
name: string
|
|
32
|
+
description: string
|
|
33
|
+
agent_type: [cli, web, chat, workflow, autonomous]
|
|
34
|
+
status: [active, inactive, paused, error, training]
|
|
35
|
+
capabilities: array of strings
|
|
36
|
+
configuration: object (model, provider, temperature, max_tokens)
|
|
37
|
+
permissions: array of strings
|
|
38
|
+
created_at: string (date-time)
|
|
39
|
+
updated_at: string (date-time)
|
|
40
|
+
last_activity: string (date-time)
|
|
41
|
+
metadata: object
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## 2. Key Differences
|
|
45
|
+
|
|
46
|
+
### A. Scope and Purpose
|
|
47
|
+
- **GitLab Duo Agent**: Highly specialized for GitLab integration, focused on CLI agents that work within GitLab projects
|
|
48
|
+
- **General Agent**: Universal design for various agent types (CLI, web, chat, workflow, autonomous)
|
|
49
|
+
|
|
50
|
+
### B. Integration Context
|
|
51
|
+
- **GitLab Duo Agent**:
|
|
52
|
+
- Tightly coupled with GitLab projects (`project_id`)
|
|
53
|
+
- Uses GitLab service accounts for authentication
|
|
54
|
+
- Linked to specific AI flows (`flow_id`)
|
|
55
|
+
- Designed for GitLab-specific triggers (issue comments, MR comments, epic comments)
|
|
56
|
+
|
|
57
|
+
- **General Agent**:
|
|
58
|
+
- Platform-agnostic design
|
|
59
|
+
- Generic permission system
|
|
60
|
+
- Self-contained configuration
|
|
61
|
+
- Supports various trigger types (manual, scheduled, event-based, API calls, webhooks)
|
|
62
|
+
|
|
63
|
+
### C. Status Management
|
|
64
|
+
- **GitLab Duo Agent**: Simple 3-state system (`active`, `inactive`, `error`)
|
|
65
|
+
- **General Agent**: More comprehensive 5-state system (`active`, `inactive`, `paused`, `error`, `training`)
|
|
66
|
+
|
|
67
|
+
### D. Capabilities Model
|
|
68
|
+
- **GitLab Duo Agent**: Implicit capabilities through flow types (code_generation, code_review, etc.)
|
|
69
|
+
- **General Agent**: Explicit capabilities array with predefined skill types
|
|
70
|
+
|
|
71
|
+
## 3. Execution Model Comparison
|
|
72
|
+
|
|
73
|
+
### GitLab Duo Agent Execution
|
|
74
|
+
```yaml
|
|
75
|
+
InvokeCLIAgentRequest:
|
|
76
|
+
required:
|
|
77
|
+
- task_description
|
|
78
|
+
- trigger_context
|
|
79
|
+
properties:
|
|
80
|
+
task_description: string
|
|
81
|
+
trigger_context:
|
|
82
|
+
trigger_type: [issue_comment, merge_request_comment, epic_comment]
|
|
83
|
+
issue_iid: integer
|
|
84
|
+
merge_request_iid: integer
|
|
85
|
+
epic_id: integer
|
|
86
|
+
comment_id: integer
|
|
87
|
+
mentioned_by_user: string
|
|
88
|
+
|
|
89
|
+
AgentInvocationResult:
|
|
90
|
+
properties:
|
|
91
|
+
invocation_id: string (uuid)
|
|
92
|
+
status: [accepted, running, completed, failed]
|
|
93
|
+
pipeline_id: integer (nullable)
|
|
94
|
+
response_comment_id: integer (nullable)
|
|
95
|
+
error_message: string (nullable)
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### General Agent Execution
|
|
99
|
+
```yaml
|
|
100
|
+
AgentExecution:
|
|
101
|
+
properties:
|
|
102
|
+
execution_id: string (uuid)
|
|
103
|
+
agent_id: string (uuid)
|
|
104
|
+
task:
|
|
105
|
+
description: string
|
|
106
|
+
input_data: object
|
|
107
|
+
context: object
|
|
108
|
+
status: [pending, running, completed, failed, cancelled]
|
|
109
|
+
result:
|
|
110
|
+
output: string
|
|
111
|
+
artifacts: array
|
|
112
|
+
metrics: object
|
|
113
|
+
logs: array of log objects
|
|
114
|
+
started_at: string (date-time)
|
|
115
|
+
completed_at: string (date-time)
|
|
116
|
+
duration_ms: integer
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Key Execution Differences
|
|
120
|
+
- **GitLab Duo**: Focused on GitLab-specific responses (pipeline creation, comment responses)
|
|
121
|
+
- **General Agent**: Generic execution with comprehensive logging and metrics
|
|
122
|
+
- **GitLab Duo**: Simpler status tracking
|
|
123
|
+
- **General Agent**: More detailed execution tracking with duration and metrics
|
|
124
|
+
|
|
125
|
+
## 4. Flow vs Agent Architecture
|
|
126
|
+
|
|
127
|
+
### GitLab Duo: Flow-Centric Architecture
|
|
128
|
+
```yaml
|
|
129
|
+
AIFlow:
|
|
130
|
+
properties:
|
|
131
|
+
id: string (uuid)
|
|
132
|
+
project_id: integer
|
|
133
|
+
name: string
|
|
134
|
+
description: string
|
|
135
|
+
config_path: string
|
|
136
|
+
flow_type: [code_generation, code_review, issue_analysis, merge_request_analysis, documentation_generation, testing_assistance, custom]
|
|
137
|
+
ai_provider: [anthropic_claude, openai_codex, gitlab_managed]
|
|
138
|
+
configuration: object (model, temperature, max_tokens, use_gitlab_managed_credentials)
|
|
139
|
+
environment_variables: array
|
|
140
|
+
status: [active, inactive, error]
|
|
141
|
+
created_at: string (date-time)
|
|
142
|
+
updated_at: string (date-time)
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### General Agent: Agent-Centric Architecture
|
|
146
|
+
```yaml
|
|
147
|
+
Agent:
|
|
148
|
+
# Direct agent capabilities and configuration
|
|
149
|
+
# No separate flow concept - agents contain their own capabilities
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Architectural Difference
|
|
153
|
+
- **GitLab Duo**: Separates AI capabilities (flows) from execution agents (CLI agents)
|
|
154
|
+
- **General Agent**: Combines capabilities and execution in a single agent entity
|
|
155
|
+
|
|
156
|
+
## 5. Trigger System Comparison
|
|
157
|
+
|
|
158
|
+
### GitLab Duo Triggers
|
|
159
|
+
```yaml
|
|
160
|
+
FlowTrigger:
|
|
161
|
+
properties:
|
|
162
|
+
id: string (uuid)
|
|
163
|
+
project_id: integer
|
|
164
|
+
name: string
|
|
165
|
+
service_account_id: string
|
|
166
|
+
config_path: string
|
|
167
|
+
event_types: [issue_comment_created, merge_request_comment_created, epic_comment_created]
|
|
168
|
+
status: [active, inactive]
|
|
169
|
+
created_at: string (date-time)
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### General Agent Triggers
|
|
173
|
+
```yaml
|
|
174
|
+
AgentTrigger:
|
|
175
|
+
properties:
|
|
176
|
+
id: string (uuid)
|
|
177
|
+
agent_id: string (uuid)
|
|
178
|
+
name: string
|
|
179
|
+
trigger_type: [manual, scheduled, event_based, api_call, webhook]
|
|
180
|
+
event_config:
|
|
181
|
+
events: array
|
|
182
|
+
conditions: object
|
|
183
|
+
schedule:
|
|
184
|
+
cron_expression: string
|
|
185
|
+
timezone: string
|
|
186
|
+
status: [active, inactive]
|
|
187
|
+
created_at: string (date-time)
|
|
188
|
+
last_triggered: string (date-time, nullable)
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Trigger Differences
|
|
192
|
+
- **GitLab Duo**: Limited to GitLab-specific events, project-scoped
|
|
193
|
+
- **General Agent**: Universal trigger types with scheduling support
|
|
194
|
+
- **GitLab Duo**: Simple event configuration
|
|
195
|
+
- **General Agent**: Complex event conditions and scheduling
|
|
196
|
+
|
|
197
|
+
## 6. Advanced Features
|
|
198
|
+
|
|
199
|
+
### General Agent Exclusive Features
|
|
200
|
+
1. **Agent Skills**: Modular capability system with input/output schemas
|
|
201
|
+
2. **Agent Memory**: Memory management with different memory types and embeddings
|
|
202
|
+
3. **Comprehensive Logging**: Structured logging with multiple levels
|
|
203
|
+
4. **Metrics and Performance**: Execution duration and performance tracking
|
|
204
|
+
5. **Metadata System**: Flexible metadata for extensibility
|
|
205
|
+
|
|
206
|
+
### GitLab Duo Exclusive Features
|
|
207
|
+
1. **GitLab Integration**: Deep integration with GitLab projects and service accounts
|
|
208
|
+
2. **AI Gateway**: Managed AI provider credentials through GitLab
|
|
209
|
+
3. **Environment Variables**: Project-specific environment variable management
|
|
210
|
+
4. **Pipeline Integration**: Direct CI/CD pipeline creation and management
|
|
211
|
+
|
|
212
|
+
## 7. Summary
|
|
213
|
+
|
|
214
|
+
### GitLab Duo Agent Schema Strengths
|
|
215
|
+
- **Specialized**: Optimized for GitLab ecosystem integration
|
|
216
|
+
- **Practical**: Focused on real-world GitLab automation scenarios
|
|
217
|
+
- **Integrated**: Seamless connection with GitLab authentication and authorization
|
|
218
|
+
- **Production-Ready**: Designed for actual deployment in GitLab environments
|
|
219
|
+
|
|
220
|
+
### General Agent Schema Strengths
|
|
221
|
+
- **Universal**: Platform-agnostic design suitable for various environments
|
|
222
|
+
- **Extensible**: Modular architecture with skills and memory systems
|
|
223
|
+
- **Comprehensive**: Rich feature set for advanced agent capabilities
|
|
224
|
+
- **Flexible**: Supports multiple agent types and execution patterns
|
|
225
|
+
|
|
226
|
+
### Architectural Philosophies
|
|
227
|
+
- **GitLab Duo**: "Integration-first" - designed to work seamlessly within GitLab
|
|
228
|
+
- **General Agent**: "Capability-first" - designed to maximize agent functionality
|
|
229
|
+
|
|
230
|
+
### Use Case Recommendations
|
|
231
|
+
- **Use GitLab Duo Agent** when: Building GitLab-specific automation and AI assistants
|
|
232
|
+
- **Use General Agent** when: Building universal agents that work across platforms or need advanced capabilities like memory, skills, and complex scheduling
|
|
@@ -317,7 +317,7 @@ buildkit agents create simple-agent \
|
|
|
317
317
|
|
|
318
318
|
**2. Agent Manifest (`agent.yml`):**
|
|
319
319
|
```yaml
|
|
320
|
-
ossaVersion: "
|
|
320
|
+
ossaVersion: "0.2.5-RC"
|
|
321
321
|
agent:
|
|
322
322
|
id: simple-agent
|
|
323
323
|
name: simple-agent
|
|
@@ -707,7 +707,7 @@ server.connect(transport);
|
|
|
707
707
|
|
|
708
708
|
**Agent Manifest (`agent.yml`):**
|
|
709
709
|
```yaml
|
|
710
|
-
ossaVersion: "
|
|
710
|
+
ossaVersion: "0.2.5-RC"
|
|
711
711
|
agent:
|
|
712
712
|
id: filesystem-agent
|
|
713
713
|
name: filesystem-agent
|
|
@@ -1124,7 +1124,7 @@ server.connect(transport);
|
|
|
1124
1124
|
|
|
1125
1125
|
**Agent Manifest (`agent.yml`):**
|
|
1126
1126
|
```yaml
|
|
1127
|
-
ossaVersion: "
|
|
1127
|
+
ossaVersion: "0.2.5-RC"
|
|
1128
1128
|
agent:
|
|
1129
1129
|
id: database-agent
|
|
1130
1130
|
name: database-agent
|
|
@@ -1462,7 +1462,7 @@ bridge:
|
|
|
1462
1462
|
|
|
1463
1463
|
```yaml
|
|
1464
1464
|
# orchestrator-agent.yml
|
|
1465
|
-
ossaVersion: "
|
|
1465
|
+
ossaVersion: "0.2.5-RC"
|
|
1466
1466
|
agent:
|
|
1467
1467
|
id: orchestrator
|
|
1468
1468
|
role: orchestration
|
|
@@ -1502,7 +1502,7 @@ agent:
|
|
|
1502
1502
|
|
|
1503
1503
|
```yaml
|
|
1504
1504
|
# gateway-agent.yml
|
|
1505
|
-
ossaVersion: "
|
|
1505
|
+
ossaVersion: "0.2.5-RC"
|
|
1506
1506
|
agent:
|
|
1507
1507
|
id: mcp-gateway
|
|
1508
1508
|
role: workflow
|
|
@@ -115,7 +115,7 @@ result = crew.kickoff()
|
|
|
115
115
|
**Orchestrator Agent** (`orchestrator.ossa.yaml`):
|
|
116
116
|
|
|
117
117
|
\`\`\`yaml
|
|
118
|
-
ossaVersion: "0.2.
|
|
118
|
+
ossaVersion: "0.2.5-RC"
|
|
119
119
|
agent:
|
|
120
120
|
id: research-writing-orchestrator
|
|
121
121
|
name: Research & Writing Orchestrator
|
|
@@ -170,7 +170,7 @@ agent:
|
|
|
170
170
|
**Researcher Agent** (`researcher.ossa.yaml`):
|
|
171
171
|
|
|
172
172
|
\`\`\`yaml
|
|
173
|
-
ossaVersion: "0.2.
|
|
173
|
+
ossaVersion: "0.2.5-RC"
|
|
174
174
|
agent:
|
|
175
175
|
id: ai-researcher
|
|
176
176
|
name: AI Research Agent
|
|
@@ -203,7 +203,7 @@ agent:
|
|
|
203
203
|
**Writer Agent** (`writer.ossa.yaml`):
|
|
204
204
|
|
|
205
205
|
\`\`\`yaml
|
|
206
|
-
ossaVersion: "0.2.
|
|
206
|
+
ossaVersion: "0.2.5-RC"
|
|
207
207
|
agent:
|
|
208
208
|
id: technical-writer
|
|
209
209
|
name: Technical Writer Agent
|