@bluefly/openstandardagents 0.4.9 → 0.5.1
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/.version.json +3 -3
- package/CHANGELOG.md +35 -4
- package/README.md +77 -62
- package/dist/.version.json +3 -3
- package/dist/adapters/a2a/a2a-protocol.js +4 -2
- package/dist/adapters/a2a/a2a-tool.js +4 -2
- package/dist/adapters/a2a/mcp-integration.d.ts +2 -1
- package/dist/adapters/a2a/mcp-integration.js +6 -3
- package/dist/adapters/browser/browser-exporter.d.ts +26 -0
- package/dist/adapters/browser/browser-exporter.js +73 -0
- package/dist/adapters/browser/browser-runner.d.ts +23 -0
- package/dist/adapters/browser/browser-runner.js +46 -0
- package/dist/adapters/browser/index.d.ts +9 -0
- package/dist/adapters/browser/index.js +9 -0
- package/dist/adapters/claude-code/adapter.js +2 -2
- package/dist/adapters/docker/generators.js +19 -19
- package/dist/adapters/docker/index.d.ts +2 -0
- package/dist/adapters/docker/index.js +2 -0
- package/dist/adapters/docker/openclaw-bridge.d.ts +57 -0
- package/dist/adapters/docker/openclaw-bridge.js +173 -0
- package/dist/adapters/drupal/generator.js +76 -76
- package/dist/adapters/drupal/index.d.ts +1 -0
- package/dist/adapters/drupal/index.js +2 -0
- package/dist/adapters/drupal/twig-renderer.d.ts +23 -0
- package/dist/adapters/drupal/twig-renderer.js +99 -0
- package/dist/adapters/gitlab/agent-generator.js +2 -1
- package/dist/adapters/openai-agents/adapter.js +2 -2
- package/dist/api/index.js +2 -1
- package/dist/api/routes/mcp.router.js +3 -1
- package/dist/api/routes/wizard.router.js +3 -1
- package/dist/cli/commands/agent/discover-type.command.js +1 -1
- package/dist/cli/commands/agent-card.command.js +37 -10
- package/dist/cli/commands/agents-sync.command.d.ts +2 -2
- package/dist/cli/commands/agents-sync.command.js +27 -17
- package/dist/cli/commands/catalog/config.js +1 -1
- package/dist/cli/commands/catalog/validate.command.js +2 -2
- package/dist/cli/commands/config.command.js +2 -2
- package/dist/cli/commands/daemon.command.js +32 -8
- package/dist/cli/commands/discover.d.ts +1 -1
- package/dist/cli/commands/discover.js +16 -8
- package/dist/cli/commands/economics.command.d.ts +9 -0
- package/dist/cli/commands/economics.command.js +113 -0
- package/dist/cli/commands/export.command.js +6 -3
- package/dist/cli/commands/mcp.command.js +3 -1
- package/dist/cli/commands/memory.command.d.ts +18 -0
- package/dist/cli/commands/memory.command.js +168 -0
- package/dist/cli/commands/publish.command.js +7 -4
- package/dist/cli/commands/serve-builder-routes.js +1 -1
- package/dist/cli/commands/usie-skills.command.d.ts +24 -0
- package/dist/cli/commands/usie-skills.command.js +297 -0
- package/dist/cli/commands/validate.command.js +8 -1
- package/dist/cli/commands/verify.d.ts +3 -3
- package/dist/cli/commands/verify.js +12 -6
- package/dist/cli/commands/workspace.command.d.ts +1 -0
- package/dist/cli/commands/workspace.command.js +28 -4
- package/dist/cli/index.js +12 -0
- package/dist/cli/schema-driven/schema-loader.js +5 -5
- package/dist/cli/workspace-validate.d.ts +23 -0
- package/dist/cli/workspace-validate.js +117 -0
- package/dist/data/platform-matrix.js +1 -4
- package/dist/generated/types.d.ts +97 -97
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/mcp-server/index.js +658 -982
- package/dist/mesh/discovery-gkg.d.ts +26 -0
- package/dist/mesh/discovery-gkg.js +92 -0
- package/dist/messenger/Handler/AgentBatchHandler.js +3 -2
- package/dist/messenger/Handler/AgentExecutionHandler.js +6 -1
- package/dist/package.json +43 -14
- package/dist/sdks/shared/types.d.ts +1 -1
- package/dist/services/agent-card-generator.js +6 -2
- package/dist/services/daemon/audit-log.service.js +3 -1
- package/dist/services/daemon/execution.service.js +8 -4
- package/dist/services/daemon/fs-watcher.service.js +6 -7
- package/dist/services/daemon/pairing.service.js +2 -1
- package/dist/services/daemon/skill-aggregator.service.js +105 -21
- package/dist/services/daemon/sse-endpoints.js +1 -1
- package/dist/services/daemon/ws-server.js +10 -3
- package/dist/services/export/langchain/langchain-exporter.js +2 -2
- package/dist/services/export/langchain/memory-generator.js +2 -2
- package/dist/services/export/testing/test-generator.js +1 -1
- package/dist/services/governance/cedar-provider.js +12 -8
- package/dist/services/governance/cedar-validator.service.js +1 -1
- package/dist/services/mcp/bridge.service.js +40 -9
- package/dist/services/openapi-extensions-validation.d.ts +20 -0
- package/dist/services/openapi-extensions-validation.js +193 -0
- package/dist/services/release-automation/merge-request.service.d.ts +4 -4
- package/dist/services/release-automation/release-buttons.js +3 -3
- package/dist/services/release-automation/schemas/release.schema.d.ts +3 -3
- package/dist/services/runtime/openai.adapter.d.ts +46 -13
- package/dist/services/runtime/openai.adapter.js +169 -131
- package/dist/services/skill-registry.service.d.ts +1 -1
- package/dist/services/skills-pipeline/skills-research.service.js +47 -7
- package/dist/services/taxonomy-service.d.ts +3 -3
- package/dist/services/trust/trust.service.js +6 -4
- package/dist/services/validation-zod.service.js +3 -22
- package/dist/services/validators/index.d.ts +1 -0
- package/dist/services/validators/index.js +1 -0
- package/dist/services/validators/registry.d.ts +21 -0
- package/dist/services/validators/registry.js +42 -0
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/extensions/cognition.schema.json +87 -0
- package/dist/spec/extensions/role-manifest.md +188 -0
- package/dist/spec/layer4-economics/duadp-examples.json +44 -0
- package/dist/spec/v0.4/agent.schema.json +14 -0
- package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/agent-builder-openapi.yaml +230 -0
- package/dist/spec/v0.5/agent.schema.json +34 -2
- package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
- package/dist/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
- package/dist/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
- package/dist/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
- package/dist/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
- package/dist/spec/v0.5/memory-hierarchy.yaml +120 -0
- package/dist/spec/v0.5/role.schema.json +268 -0
- package/dist/spec/v1/agent-card.schema.json +254 -0
- package/dist/types/cognition.zod.d.ts +312 -0
- package/dist/types/cognition.zod.js +223 -0
- package/dist/types/identity.zod.d.ts +5 -5
- package/dist/types/index.d.ts +54 -6
- package/dist/types/index.js +6 -2
- package/dist/types/personality.zod.d.ts +3 -3
- package/dist/types/role.d.ts +126 -0
- package/dist/types/role.js +38 -0
- package/dist/utils/http-client.d.ts +22 -0
- package/dist/utils/http-client.js +51 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/proxy-resolver.d.ts +36 -0
- package/dist/utils/proxy-resolver.js +59 -0
- package/dist/utils/user-agent.d.ts +11 -0
- package/dist/utils/user-agent.js +17 -0
- package/dist/validation/validator.js +1 -1
- package/dist/validation/version-compliance.js +1 -1
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/agents/07-research-assistant/agent.ossa.yaml +27 -21
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/agents/security-audit-agent.ossa.yaml +234 -0
- package/examples/agentscope/react-assistant/README.md +1 -1
- package/examples/agentscope/react-assistant/agent.ossa.yaml +37 -33
- package/examples/drupal/content-moderator.ossa.yaml +2 -2
- package/examples/drupal/drupal-contributor-agent/.eslintrc.json +58 -0
- package/examples/drupal/drupal-contributor-agent/.prettierrc.json +10 -0
- package/examples/drupal/drupal-contributor-agent/package.json +55 -0
- package/examples/drupal/drupal-contributor-agent/src/core/index.ts +10 -0
- package/examples/drupal/drupal-contributor-agent/src/index.ts +17 -0
- package/examples/drupal/drupal-contributor-agent/src/types/index.ts +180 -0
- package/examples/drupal/drupal-contributor-agent/tsconfig.json +36 -0
- package/examples/drupal/drupal-contributor.ossa.yaml +247 -0
- package/examples/export/langchain/production-agent-with-memory/README.md +1 -1
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +13 -23
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +1 -15
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +28 -29
- package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/README.md +3 -3
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +221 -0
- package/examples/hierarchical-agent.ossa.yaml +10 -53
- package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +2 -25
- package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +2 -30
- package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +2 -18
- package/examples/kagent/ossa-kagent-poc.ossa.yaml +2 -16
- package/examples/pipeline-agent.ossa.yaml +3 -3
- package/examples/platform-specific/claude-code-subagent.yaml +1 -1
- package/examples/platform-specific/cursor-coding-agent.yaml +1 -1
- package/examples/platform-specific/warp-terminal-agent.yaml +1 -1
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +27 -19
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/roles/drupal-developer.role.yaml +37 -0
- package/examples/roles/platform-operator.role.yaml +28 -0
- package/examples/roles/security-auditor.role.yaml +27 -0
- package/examples/swarm-agent.ossa.yaml +13 -51
- package/examples/team-agent.ossa.yaml +12 -61
- package/examples/team-lead-teammate.ossa.yaml +12 -17
- package/openapi/agent-cognition-sessions.yaml +580 -0
- package/openapi/agent-communication.yaml +260 -212
- package/openapi/agent-crud.yaml +237 -207
- package/openapi/agent-discovery.yaml +119 -81
- package/openapi/agent-identity.yaml +219 -187
- package/openapi/agent-taxonomy.yaml +95 -38
- package/openapi/agents-md-service.yaml +103 -30
- package/openapi/cli/openapi.yaml +147 -40
- package/openapi/core/ossa-core-api.openapi.yaml +327 -271
- package/openapi/core/ossa-registry-api.openapi.yaml +299 -236
- package/openapi/core/ossa-registry.openapi.yaml +299 -159
- package/openapi/core/unified-agent-gateway.openapi.yaml +234 -170
- package/openapi/daemon-api.openapi.yaml +323 -181
- package/openapi/dev-cli/openapi.yaml +137 -113
- package/openapi/github-sync.yaml +62 -19
- package/openapi/marketplace-plugin.openapi.yaml +539 -466
- package/openapi/ossa-api.openapi.yaml +354 -213
- package/openapi/ossa-cli-enhancements.openapi.yaml +109 -90
- package/openapi/ossa-cli.yaml +260 -184
- package/openapi/protocols/sse-streams.yaml +66 -74
- package/openapi/protocols/websocket-events.yaml +61 -54
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +37 -20
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +35 -23
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +29 -18
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +45 -19
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +30 -24
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +101 -50
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +33 -22
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +20 -16
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +41 -23
- package/openapi/reference-implementations/helm-generator.openapi.yaml +88 -46
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +30 -20
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +22 -16
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +32 -18
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +32 -21
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +34 -21
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +49 -27
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +27 -19
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +427 -293
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +34 -23
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +35 -21
- package/openapi/release-automation.openapi.yaml +48 -14
- package/openapi/schemas/common/agent.yaml +30 -29
- package/openapi/schemas/common/economics.yaml +98 -0
- package/openapi/schemas/common/errors.yaml +13 -3
- package/openapi/schemas/common/metadata.yaml +22 -7
- package/openapi/schemas/common/pagination.yaml +18 -6
- package/openapi/schemas/common/security.yaml +13 -5
- package/openapi/schemas/index.yaml +49 -42
- package/openapi/uadp-asyncapi.yaml +5 -3
- package/openapi/uadp-openapi.yaml +243 -165
- package/openapi/version-management.openapi.yaml +142 -135
- package/package.json +43 -14
- package/spec/extensions/cognition.schema.json +87 -0
- package/spec/extensions/role-manifest.md +188 -0
- package/spec/layer4-economics/duadp-examples.json +44 -0
- package/spec/v0.4/agent.schema.json +14 -0
- package/spec/v0.4/extensions/mcp/README.md +1 -1
- package/spec/v0.5/agent-builder-openapi.yaml +230 -0
- package/spec/v0.5/agent.schema.json +34 -2
- package/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
- package/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
- package/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
- package/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
- package/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
- package/spec/v0.5/memory-hierarchy.yaml +120 -0
- package/spec/v0.5/role.schema.json +268 -0
- package/spec/v1/agent-card.schema.json +254 -0
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.d.ts +0 -5
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.js +0 -268
- package/dist/adapters/a2a/__tests__/mcp-transport.spec.d.ts +0 -5
- package/dist/adapters/a2a/__tests__/mcp-transport.spec.js +0 -203
- package/dist/mcp-server/__tests__/mcp-server.spec.d.ts +0 -8
- package/dist/mcp-server/__tests__/mcp-server.spec.js +0 -557
- package/dist/validation/__tests__/error-codes.test.d.ts +0 -5
- package/dist/validation/__tests__/error-codes.test.js +0 -252
- package/dist/version-management/core/version-manager.test.d.ts +0 -2
- package/dist/version-management/core/version-manager.test.js +0 -210
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: gitlab-ci-agent
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Pipeline fixer agent. Detects broken CI/CD pipelines, inspects job logs, diagnoses failures, and applies fixes. Uses BuildKit CLI and GitLab API.
|
|
7
|
+
labels:
|
|
8
|
+
use-case: ci-cd-automation
|
|
9
|
+
production-ready: 'false'
|
|
10
|
+
ossa-native: 'true'
|
|
11
|
+
agentType: custom
|
|
12
|
+
agentKind: worker
|
|
13
|
+
identity:
|
|
14
|
+
namespace: blueflyio/ossa
|
|
15
|
+
agent_id: gitlab-ci-agent
|
|
16
|
+
version: 1.0.0
|
|
17
|
+
publisher:
|
|
18
|
+
name: BlueFly.io
|
|
19
|
+
email: agents@bluefly.io
|
|
20
|
+
website: https://openstandardagents.org
|
|
21
|
+
created_at: 2026-03-10T12:00:00Z
|
|
22
|
+
updated_at: 2026-03-10T12:00:00Z
|
|
23
|
+
catalog:
|
|
24
|
+
published: true
|
|
25
|
+
visibility: public
|
|
26
|
+
categories:
|
|
27
|
+
- devops
|
|
28
|
+
- ci-cd
|
|
29
|
+
- gitlab
|
|
30
|
+
tags:
|
|
31
|
+
- gitlab
|
|
32
|
+
- ci
|
|
33
|
+
- pipeline
|
|
34
|
+
- buildkit
|
|
35
|
+
- ossa-native
|
|
36
|
+
spec:
|
|
37
|
+
role: |
|
|
38
|
+
You are an autonomous GitLab CI/CD pipeline fixer agent.
|
|
39
|
+
|
|
40
|
+
Your mission:
|
|
41
|
+
1. Monitor pipelines across GitLab projects
|
|
42
|
+
2. Detect failed jobs and inspect their logs
|
|
43
|
+
3. Diagnose root causes (dependency issues, test failures, config errors)
|
|
44
|
+
4. Apply fixes (update CI config, fix tests, update dependencies)
|
|
45
|
+
5. Push fixes and verify the pipeline turns green
|
|
46
|
+
|
|
47
|
+
Guidelines:
|
|
48
|
+
- Never force-push to shared branches
|
|
49
|
+
- Always create fix branches, never commit directly to main/release
|
|
50
|
+
- Explain your diagnosis clearly in commit messages
|
|
51
|
+
- Escalate to humans for infrastructure-level issues
|
|
52
|
+
llm:
|
|
53
|
+
provider: anthropic
|
|
54
|
+
model: claude-sonnet-4-20250514
|
|
55
|
+
temperature: 0.1
|
|
56
|
+
max_tokens: 8192
|
|
57
|
+
tools:
|
|
58
|
+
- type: command
|
|
59
|
+
name: pipeline_list
|
|
60
|
+
description: List recent pipelines for a project
|
|
61
|
+
operation: read
|
|
62
|
+
command: buildkit gitlab pipelines list
|
|
63
|
+
parameters:
|
|
64
|
+
project:
|
|
65
|
+
type: string
|
|
66
|
+
description: GitLab project path (e.g. blueflyio/agent-platform/tools/agent-buildkit)
|
|
67
|
+
ref:
|
|
68
|
+
type: string
|
|
69
|
+
description: Branch to check (e.g. release/v0.1.x)
|
|
70
|
+
- type: command
|
|
71
|
+
name: pipeline_jobs
|
|
72
|
+
description: List jobs in a pipeline with status
|
|
73
|
+
operation: read
|
|
74
|
+
command: buildkit gitlab pipelines jobs
|
|
75
|
+
parameters:
|
|
76
|
+
pipeline_id:
|
|
77
|
+
type: number
|
|
78
|
+
description: Pipeline ID to inspect
|
|
79
|
+
- type: command
|
|
80
|
+
name: job_log
|
|
81
|
+
description: Fetch the log output of a failed job
|
|
82
|
+
operation: read
|
|
83
|
+
command: buildkit gitlab pipelines job-log
|
|
84
|
+
parameters:
|
|
85
|
+
job_id:
|
|
86
|
+
type: number
|
|
87
|
+
description: Job ID to get log for
|
|
88
|
+
- type: command
|
|
89
|
+
name: deploy_service
|
|
90
|
+
description: Deploy a service to Oracle via BuildKit
|
|
91
|
+
operation: write
|
|
92
|
+
command: buildkit deploy oracle
|
|
93
|
+
parameters:
|
|
94
|
+
service:
|
|
95
|
+
type: string
|
|
96
|
+
description: Service name to deploy (e.g. mcp, mesh, router)
|
|
97
|
+
- type: api
|
|
98
|
+
name: gitlab_api
|
|
99
|
+
description: Direct GitLab API calls for MR management
|
|
100
|
+
operation: write
|
|
101
|
+
parameters:
|
|
102
|
+
method:
|
|
103
|
+
type: string
|
|
104
|
+
enum:
|
|
105
|
+
- GET
|
|
106
|
+
- POST
|
|
107
|
+
- PUT
|
|
108
|
+
endpoint:
|
|
109
|
+
type: string
|
|
110
|
+
description: GitLab API endpoint path
|
|
111
|
+
capabilities:
|
|
112
|
+
- name: pipeline-monitoring
|
|
113
|
+
description: Monitor CI/CD pipeline status across projects
|
|
114
|
+
- name: failure-diagnosis
|
|
115
|
+
description: Analyze job logs to identify root causes
|
|
116
|
+
- name: automated-fix
|
|
117
|
+
description: Apply fixes for common CI failures
|
|
118
|
+
- name: deployment
|
|
119
|
+
description: Deploy services via BuildKit
|
|
120
|
+
safety:
|
|
121
|
+
guardrails:
|
|
122
|
+
- no_force_push
|
|
123
|
+
- no_direct_main_commits
|
|
124
|
+
- human_escalation_for_infra
|
|
125
|
+
- audit_all_actions
|
|
126
|
+
pii_handling: none
|
|
127
|
+
audit_all_actions: true
|
|
128
|
+
max_cost_per_execution: 0.3
|
|
129
|
+
security:
|
|
130
|
+
tier: tier_2_write_limited
|
|
131
|
+
threat_model:
|
|
132
|
+
- category: privilege-escalation
|
|
133
|
+
severity: high
|
|
134
|
+
mitigations:
|
|
135
|
+
- scoped-tokens
|
|
136
|
+
- least-privilege
|
|
137
|
+
description: CI tokens must be scoped to minimum required permissions
|
|
138
|
+
capabilities:
|
|
139
|
+
required:
|
|
140
|
+
- network-outbound
|
|
141
|
+
- process-spawn
|
|
142
|
+
- tool-execution
|
|
143
|
+
optional:
|
|
144
|
+
- filesystem-read
|
|
145
|
+
- filesystem-write
|
|
146
|
+
sandboxing:
|
|
147
|
+
required: true
|
|
148
|
+
type: container
|
|
149
|
+
resource_limits:
|
|
150
|
+
max_memory_mb: 1024
|
|
151
|
+
max_cpu_cores: 1
|
|
152
|
+
max_execution_seconds: 300
|
|
153
|
+
network_access:
|
|
154
|
+
allowed_domains:
|
|
155
|
+
- gitlab.com
|
|
156
|
+
- '*.gitlab.com'
|
|
157
|
+
- api.anthropic.com
|
|
158
|
+
protocols:
|
|
159
|
+
- https
|
|
160
|
+
egress_policy: allow-list
|
|
161
|
+
data_classification: internal
|
|
162
|
+
protocols:
|
|
163
|
+
mcp:
|
|
164
|
+
version: 1.0.0
|
|
165
|
+
role: client
|
|
166
|
+
capabilities:
|
|
167
|
+
tools: true
|
|
168
|
+
resources: false
|
|
169
|
+
prompts: false
|
|
170
|
+
sampling: false
|
|
171
|
+
servers:
|
|
172
|
+
- name: buildkit
|
|
173
|
+
transport: stdio
|
|
174
|
+
command: buildkit
|
|
175
|
+
tools:
|
|
176
|
+
- pipeline_list
|
|
177
|
+
- pipeline_jobs
|
|
178
|
+
- job_log
|
|
179
|
+
- deploy_service
|
|
180
|
+
- gitlab_api
|
|
181
|
+
a2a:
|
|
182
|
+
version: 0.2.0
|
|
183
|
+
endpoint: https://openstandardagents.org/agents/gitlab-ci-agent
|
|
184
|
+
agent_card:
|
|
185
|
+
name: GitLab CI Agent
|
|
186
|
+
description: Diagnose and repair GitLab CI/CD pipelines
|
|
187
|
+
skills:
|
|
188
|
+
- id: fix-pipeline
|
|
189
|
+
name: Fix Pipeline
|
|
190
|
+
description: Diagnose and fix a broken CI pipeline
|
|
191
|
+
capabilities:
|
|
192
|
+
streaming: true
|
|
193
|
+
pushNotifications: false
|
|
194
|
+
stateTransitionHistory: true
|
|
195
|
+
authentication:
|
|
196
|
+
schemes:
|
|
197
|
+
- bearer
|
|
198
|
+
governance:
|
|
199
|
+
authorization:
|
|
200
|
+
clearance_level: 2
|
|
201
|
+
policy_references:
|
|
202
|
+
- blueflyio/cedar-policies
|
|
203
|
+
tool_permissions:
|
|
204
|
+
- tool: pipeline_list
|
|
205
|
+
risk_level: low
|
|
206
|
+
- tool: pipeline_jobs
|
|
207
|
+
risk_level: low
|
|
208
|
+
- tool: job_log
|
|
209
|
+
risk_level: low
|
|
210
|
+
- tool: deploy_service
|
|
211
|
+
risk_level: high
|
|
212
|
+
requires_approval: true
|
|
213
|
+
- tool: gitlab_api
|
|
214
|
+
risk_level: high
|
|
215
|
+
requires_approval: true
|
|
216
|
+
quality_requirements:
|
|
217
|
+
confidence_threshold: 0.85
|
|
218
|
+
security_score_threshold: 80
|
|
219
|
+
compliance:
|
|
220
|
+
data_classification: internal
|
|
221
|
+
audit_logging_required: true
|
|
@@ -1,31 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
#
|
|
3
|
-
# Demonstrates the parent-child subagent pattern for a code review pipeline.
|
|
4
|
-
# A coordinator agent spawns isolated subagents to perform specific review
|
|
5
|
-
# tasks (exploration, security scanning, test validation). Subagents report
|
|
6
|
-
# results only to the parent — there is no peer communication.
|
|
7
|
-
#
|
|
8
|
-
# Key characteristics:
|
|
9
|
-
# - Coordinator with subagents (not team members)
|
|
10
|
-
# - Parent-child delegation, no peer communication
|
|
11
|
-
# - Each subagent has a token budget to control costs
|
|
12
|
-
# - Context isolation enforced for all subagents
|
|
13
|
-
# - Results flow up: subagent -> parent -> user
|
|
14
|
-
|
|
15
|
-
apiVersion: ossa/v0.4.7
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
16
2
|
kind: Agent
|
|
17
3
|
metadata:
|
|
18
4
|
name: code-review-pipeline
|
|
19
|
-
version:
|
|
20
|
-
description:
|
|
21
|
-
A code review coordinator that spawns specialized subagents to analyze
|
|
22
|
-
code changes. A researcher explores the codebase for context, a debugger
|
|
23
|
-
scans for security vulnerabilities, and a generic subagent validates test
|
|
24
|
-
coverage. The coordinator synthesizes all findings into a review report.
|
|
25
|
-
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: A code review coordinator that spawns specialized subagents to analyze code changes. A researcher explores the codebase for context, a debugger scans for security vulnerabilities, and a generic subagent validates test coverage. The coordinator synthesizes all findings into a review report.
|
|
26
7
|
agentKind: coordinator
|
|
27
|
-
agentType:
|
|
28
|
-
|
|
8
|
+
agentType: custom
|
|
29
9
|
agentArchitecture:
|
|
30
10
|
pattern: hierarchical
|
|
31
11
|
capabilities:
|
|
@@ -39,36 +19,24 @@ metadata:
|
|
|
39
19
|
teamModel: parent-child
|
|
40
20
|
communicationPattern: direct
|
|
41
21
|
taskCoordination: assigned
|
|
42
|
-
|
|
43
22
|
labels:
|
|
44
23
|
domain: development
|
|
45
24
|
subdomain: code-review
|
|
46
25
|
pattern: hierarchical
|
|
47
|
-
|
|
48
26
|
spec:
|
|
49
|
-
role:
|
|
50
|
-
You are a code review coordinator. When given a merge request or set of
|
|
51
|
-
file changes, you:
|
|
52
|
-
1. Spawn the code-explorer subagent to gather codebase context.
|
|
53
|
-
2. Spawn the security-scanner subagent to identify vulnerabilities.
|
|
54
|
-
3. Spawn the test-validator subagent to check test coverage.
|
|
55
|
-
4. Collect all subagent reports and synthesize a comprehensive review
|
|
27
|
+
role: |-
|
|
28
|
+
You are a code review coordinator. When given a merge request or set of file changes, you: 1. Spawn the code-explorer subagent to gather codebase context. 2. Spawn the security-scanner subagent to identify vulnerabilities. 3. Spawn the test-validator subagent to check test coverage. 4. Collect all subagent reports and synthesize a comprehensive review
|
|
56
29
|
with actionable feedback, severity ratings, and suggested fixes.
|
|
57
|
-
|
|
58
30
|
llm:
|
|
59
31
|
provider: anthropic
|
|
60
32
|
model: claude-sonnet-4-5-20250929
|
|
61
33
|
temperature: 0.2
|
|
62
34
|
maxTokens: 4096
|
|
63
35
|
profile: deep
|
|
64
|
-
|
|
65
36
|
subagents:
|
|
66
37
|
- name: code-explorer
|
|
67
38
|
kind: researcher
|
|
68
|
-
role:
|
|
69
|
-
Fast codebase search and structural analysis. Find relevant files,
|
|
70
|
-
trace dependencies, identify architecture patterns, and summarize
|
|
71
|
-
the context around changed files. Read-only — never modify anything.
|
|
39
|
+
role: Fast codebase search and structural analysis. Find relevant files, trace dependencies, identify architecture patterns, and summarize the context around changed files. Read-only — never modify anything.
|
|
72
40
|
model:
|
|
73
41
|
provider: anthropic
|
|
74
42
|
name: claude-haiku-4-5-20250514
|
|
@@ -79,14 +47,9 @@ spec:
|
|
|
79
47
|
contextIsolation: true
|
|
80
48
|
reportTo: parent
|
|
81
49
|
maxTokenBudget: 50000
|
|
82
|
-
|
|
83
50
|
- name: security-scanner
|
|
84
51
|
kind: debugger
|
|
85
|
-
role:
|
|
86
|
-
Identify security vulnerabilities, code smells, and potential attack
|
|
87
|
-
vectors in the changed files. Check for injection risks, auth bypass,
|
|
88
|
-
secrets in code, unsafe deserialization, and OWASP Top 10 issues.
|
|
89
|
-
Generate a severity-rated findings list.
|
|
52
|
+
role: Identify security vulnerabilities, code smells, and potential attack vectors in the changed files. Check for injection risks, auth bypass, secrets in code, unsafe deserialization, and OWASP Top 10 issues. Generate a severity-rated findings list.
|
|
90
53
|
model:
|
|
91
54
|
provider: anthropic
|
|
92
55
|
name: claude-sonnet-4-5-20250929
|
|
@@ -97,14 +60,9 @@ spec:
|
|
|
97
60
|
contextIsolation: true
|
|
98
61
|
reportTo: parent
|
|
99
62
|
maxTokenBudget: 80000
|
|
100
|
-
|
|
101
63
|
- name: test-validator
|
|
102
64
|
kind: subagent
|
|
103
|
-
role:
|
|
104
|
-
Run the test suite and validate coverage for changed files. Check
|
|
105
|
-
that new code has corresponding tests, coverage thresholds are met,
|
|
106
|
-
and no existing tests are broken. Report coverage percentages and
|
|
107
|
-
any failures.
|
|
65
|
+
role: Run the test suite and validate coverage for changed files. Check that new code has corresponding tests, coverage thresholds are met, and no existing tests are broken. Report coverage percentages and any failures.
|
|
108
66
|
model:
|
|
109
67
|
provider: anthropic
|
|
110
68
|
name: claude-sonnet-4-5-20250929
|
|
@@ -115,11 +73,10 @@ spec:
|
|
|
115
73
|
contextIsolation: true
|
|
116
74
|
reportTo: parent
|
|
117
75
|
maxTokenBudget: 60000
|
|
118
|
-
|
|
119
76
|
constraints:
|
|
120
77
|
cost:
|
|
121
78
|
maxTokensPerRequest: 200000
|
|
122
|
-
maxCostPerDay: 50
|
|
79
|
+
maxCostPerDay: 50
|
|
123
80
|
currency: USD
|
|
124
81
|
performance:
|
|
125
82
|
timeoutSeconds: 120
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
# Run: ossa export examples/kagent/ossa-kagent-anthropic.ossa.yaml --platform kagent -o ./anthropic-out
|
|
3
|
-
# Deploy: kubectl apply -f anthropic-out/
|
|
4
|
-
# Or: ossa export examples/kagent/ossa-kagent-anthropic.ossa.yaml --platform kagent --apply
|
|
5
|
-
apiVersion: ossa/v0.4
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
6
2
|
kind: Agent
|
|
7
3
|
metadata:
|
|
8
4
|
name: ossa-kagent-anthropic
|
|
@@ -36,24 +32,5 @@ extensions:
|
|
|
36
32
|
resourceLimits:
|
|
37
33
|
cpu: 500m
|
|
38
34
|
memory: 512Mi
|
|
39
|
-
mcpServers:
|
|
40
|
-
gitlab-mcp:
|
|
41
|
-
url: https://your-mcp-server.example.com/api/mcp/sse
|
|
42
|
-
transport: sse
|
|
43
|
-
headers:
|
|
44
|
-
- name: Authorization
|
|
45
|
-
valueFrom:
|
|
46
|
-
type: Secret
|
|
47
|
-
name: gitlab-mcp-token
|
|
48
|
-
key: token
|
|
49
|
-
code-analysis:
|
|
50
|
-
url: http://code-analysis.kagent.svc.cluster.local/sse
|
|
51
|
-
transport: sse
|
|
52
35
|
a2aConfig:
|
|
53
|
-
|
|
54
|
-
- id: code-review
|
|
55
|
-
name: Code Review
|
|
56
|
-
description: Review merge requests for bugs, security issues, and best practices
|
|
57
|
-
inputModes: [text]
|
|
58
|
-
outputModes: [text]
|
|
59
|
-
tags: [code-review, security, gitlab]
|
|
36
|
+
enabled: true
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
# Run: ossa export examples/kagent/ossa-kagent-mcp-tools.ossa.yaml --platform kagent -o ./mcp-tools-out
|
|
3
|
-
# Deploy: ossa export examples/kagent/ossa-kagent-mcp-tools.ossa.yaml --platform kagent --apply
|
|
4
|
-
# Result: ModelConfig + 2x RemoteMCPServer + Agent applied in APPLY_ORDER
|
|
5
|
-
apiVersion: ossa/v0.4
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
6
2
|
kind: Agent
|
|
7
3
|
metadata:
|
|
8
4
|
name: fleet-ops-agent
|
|
@@ -40,29 +36,5 @@ extensions:
|
|
|
40
36
|
resourceLimits:
|
|
41
37
|
cpu: 1000m
|
|
42
38
|
memory: 1Gi
|
|
43
|
-
mcpServers:
|
|
44
|
-
kagent-tool-server:
|
|
45
|
-
url: http://kagent-tool-server.kagent.svc.cluster.local/sse
|
|
46
|
-
transport: sse
|
|
47
|
-
# GitLab tools live in agent-protocol (no separate gitlab-mcp-server)
|
|
48
|
-
agent-protocol-gitlab:
|
|
49
|
-
url: http://agent-protocol.agent-platform.svc.cluster.local:4005/api/mcp/sse
|
|
50
|
-
transport: sse
|
|
51
|
-
headers:
|
|
52
|
-
- name: Authorization
|
|
53
|
-
valueFrom:
|
|
54
|
-
type: Secret
|
|
55
|
-
name: gitlab-token
|
|
56
|
-
key: token
|
|
57
39
|
a2aConfig:
|
|
58
|
-
|
|
59
|
-
- id: fleet-management
|
|
60
|
-
name: Fleet Management
|
|
61
|
-
description: Manage Kubernetes resources and GitLab repositories across the fleet
|
|
62
|
-
inputModes: [text]
|
|
63
|
-
outputModes: [text]
|
|
64
|
-
tags: [k8s, gitlab, fleet, ossa]
|
|
65
|
-
examples:
|
|
66
|
-
- "List all deployments in the kagent namespace"
|
|
67
|
-
- "Show recent merge requests for agent-buildkit"
|
|
68
|
-
- "Get logs from the failing pod"
|
|
40
|
+
enabled: true
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
# Run: ossa export examples/kagent/ossa-kagent-multi-tool.ossa.yaml --platform kagent -o ./multi-out
|
|
3
|
-
# Deploy: kubectl apply -f multi-out/ (files are in APPLY_ORDER)
|
|
4
|
-
apiVersion: ossa/v0.4
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
5
2
|
kind: Agent
|
|
6
3
|
metadata:
|
|
7
4
|
name: ossa-kagent-devops
|
|
@@ -40,18 +37,5 @@ extensions:
|
|
|
40
37
|
kagent:
|
|
41
38
|
kubernetes:
|
|
42
39
|
namespace: kagent
|
|
43
|
-
mcpServers:
|
|
44
|
-
gitlab-mcp:
|
|
45
|
-
url: https://your-mcp-server.example.com/api/mcp/sse
|
|
46
|
-
transport: sse
|
|
47
|
-
grafana-mcp:
|
|
48
|
-
url: http://grafana-mcp.kagent.svc.cluster.local/sse
|
|
49
|
-
transport: sse
|
|
50
40
|
a2aConfig:
|
|
51
|
-
|
|
52
|
-
- id: devops-automation
|
|
53
|
-
name: DevOps Automation
|
|
54
|
-
description: CI/CD management, deployment monitoring, and incident response
|
|
55
|
-
inputModes: [text]
|
|
56
|
-
outputModes: [text]
|
|
57
|
-
tags: [devops, cicd, k8s, monitoring]
|
|
41
|
+
enabled: true
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
# Run: ossa export examples/kagent/ossa-kagent-poc.ossa.yaml --platform kagent --crd-version v1alpha2 -o ./poc-out
|
|
3
|
-
# Deploy: kubectl apply -f poc-out/model-config.yaml; kubectl apply -f poc-out/agent.yaml
|
|
4
|
-
# Invoke: kagent invoke --agent ossa-kagent-poc --task "List pods in kagent namespace"
|
|
5
|
-
apiVersion: ossa/v0.4
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
6
2
|
kind: Agent
|
|
7
3
|
metadata:
|
|
8
4
|
name: ossa-kagent-poc
|
|
@@ -33,14 +29,4 @@ extensions:
|
|
|
33
29
|
cpu: 500m
|
|
34
30
|
memory: 512Mi
|
|
35
31
|
a2aConfig:
|
|
36
|
-
|
|
37
|
-
- id: cluster-inspection
|
|
38
|
-
name: Cluster Inspection
|
|
39
|
-
description: List and inspect Kubernetes resources (pods, deployments, services)
|
|
40
|
-
inputModes: [text]
|
|
41
|
-
outputModes: [text]
|
|
42
|
-
tags: [k8s, ossa, poc]
|
|
43
|
-
examples:
|
|
44
|
-
- "List all pods in the kagent namespace"
|
|
45
|
-
- "What API resources are available in the cluster?"
|
|
46
|
-
- "Describe the kagent-controller deployment"
|
|
32
|
+
enabled: true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# OSSA v0.
|
|
1
|
+
# OSSA v0.5.0 Example: Pipeline Agent — Data Processing Pipeline
|
|
2
2
|
#
|
|
3
3
|
# Demonstrates the pipeline pattern for sequential data processing. A
|
|
4
4
|
# coordinator manages four team members arranged as sequential stages:
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
# - Assigned task coordination (coordinator assigns stage work)
|
|
14
14
|
# - Database-backed persistence for auditability
|
|
15
15
|
|
|
16
|
-
apiVersion: ossa/v0.
|
|
16
|
+
apiVersion: ossa/v0.5.0
|
|
17
17
|
kind: Agent
|
|
18
18
|
metadata:
|
|
19
19
|
name: data-processing-pipeline
|
|
@@ -26,7 +26,7 @@ metadata:
|
|
|
26
26
|
tools and model.
|
|
27
27
|
|
|
28
28
|
agentKind: coordinator
|
|
29
|
-
agentType:
|
|
29
|
+
agentType: claude
|
|
30
30
|
|
|
31
31
|
agentArchitecture:
|
|
32
32
|
pattern: pipeline
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
apiVersion: ossa/v0.
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
2
|
kind: Agent
|
|
3
3
|
metadata:
|
|
4
4
|
name: customer-support-bot
|
|
@@ -26,19 +26,16 @@ spec:
|
|
|
26
26
|
- Clear and concise explanations
|
|
27
27
|
- Proactive in offering solutions
|
|
28
28
|
- Transparent about limitations
|
|
29
|
-
|
|
30
29
|
llm:
|
|
31
30
|
provider: openai
|
|
32
31
|
model: gpt-4o
|
|
33
32
|
temperature: 0.7
|
|
34
33
|
maxTokens: 1500
|
|
35
|
-
|
|
36
34
|
capabilities:
|
|
37
35
|
- search_documentation
|
|
38
36
|
- create_ticket
|
|
39
37
|
- send_email
|
|
40
38
|
- conversation_memory
|
|
41
|
-
|
|
42
39
|
tools:
|
|
43
40
|
- type: function
|
|
44
41
|
name: search_docs
|
|
@@ -55,7 +52,6 @@ spec:
|
|
|
55
52
|
default: 5
|
|
56
53
|
required:
|
|
57
54
|
- query
|
|
58
|
-
|
|
59
55
|
- type: function
|
|
60
56
|
name: create_ticket
|
|
61
57
|
description: Create a support ticket for issues requiring human attention
|
|
@@ -70,7 +66,11 @@ spec:
|
|
|
70
66
|
description: Detailed description of the issue
|
|
71
67
|
priority:
|
|
72
68
|
type: string
|
|
73
|
-
enum:
|
|
69
|
+
enum:
|
|
70
|
+
- low
|
|
71
|
+
- medium
|
|
72
|
+
- high
|
|
73
|
+
- urgent
|
|
74
74
|
description: Priority level of the ticket
|
|
75
75
|
category:
|
|
76
76
|
type: string
|
|
@@ -79,7 +79,6 @@ spec:
|
|
|
79
79
|
- title
|
|
80
80
|
- description
|
|
81
81
|
- priority
|
|
82
|
-
|
|
83
82
|
- type: function
|
|
84
83
|
name: send_email
|
|
85
84
|
description: Send follow-up email to customer
|
|
@@ -98,12 +97,14 @@ spec:
|
|
|
98
97
|
template:
|
|
99
98
|
type: string
|
|
100
99
|
description: Email template to use
|
|
101
|
-
enum:
|
|
100
|
+
enum:
|
|
101
|
+
- follow_up
|
|
102
|
+
- resolution
|
|
103
|
+
- escalation
|
|
102
104
|
required:
|
|
103
105
|
- to
|
|
104
106
|
- subject
|
|
105
107
|
- body
|
|
106
|
-
|
|
107
108
|
autonomy:
|
|
108
109
|
level: supervised
|
|
109
110
|
approval_required: false
|
|
@@ -112,7 +113,6 @@ spec:
|
|
|
112
113
|
action: notify_human
|
|
113
114
|
- condition: ticket_count > 3
|
|
114
115
|
action: escalate
|
|
115
|
-
|
|
116
116
|
memory:
|
|
117
117
|
enabled: true
|
|
118
118
|
type: conversation_buffer
|
|
@@ -121,7 +121,6 @@ spec:
|
|
|
121
121
|
enabled: true
|
|
122
122
|
backend: redis
|
|
123
123
|
ttl: 86400
|
|
124
|
-
|
|
125
124
|
safety:
|
|
126
125
|
input_filters:
|
|
127
126
|
- type: pii_detection
|
|
@@ -132,8 +131,9 @@ spec:
|
|
|
132
131
|
- type: hallucination_check
|
|
133
132
|
threshold: 0.8
|
|
134
133
|
- type: tone_analysis
|
|
135
|
-
required_sentiment:
|
|
136
|
-
|
|
134
|
+
required_sentiment:
|
|
135
|
+
- positive
|
|
136
|
+
- neutral
|
|
137
137
|
observability:
|
|
138
138
|
logging:
|
|
139
139
|
level: info
|
|
@@ -150,23 +150,16 @@ spec:
|
|
|
150
150
|
tracing:
|
|
151
151
|
enabled: true
|
|
152
152
|
provider: opentelemetry
|
|
153
|
-
|
|
154
153
|
extensions:
|
|
155
154
|
langchain:
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
langchain_tool: send_email
|
|
168
|
-
tool_class: EmailTool
|
|
169
|
-
export_config:
|
|
170
|
-
format: python
|
|
171
|
-
include_dependencies: true
|
|
172
|
-
output_file: customer_support_agent.py
|
|
155
|
+
enabled: true
|
|
156
|
+
chain_type: agent
|
|
157
|
+
memory:
|
|
158
|
+
type: buffer
|
|
159
|
+
tools:
|
|
160
|
+
- name: search_docs
|
|
161
|
+
description: Search the knowledge base for relevant documentation
|
|
162
|
+
- name: create_ticket
|
|
163
|
+
description: Create a support ticket for issues requiring human attention
|
|
164
|
+
- name: send_email
|
|
165
|
+
description: Send follow-up email to customer
|