@bluefly/openstandardagents 0.4.9 → 0.5.0

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.
Files changed (125) hide show
  1. package/.version.json +3 -3
  2. package/CHANGELOG.md +8 -8
  3. package/README.md +68 -58
  4. package/bin/postinstall +0 -0
  5. package/dist/.version.json +3 -3
  6. package/dist/adapters/claude-code/adapter.js +2 -2
  7. package/dist/adapters/docker/generators.js +19 -19
  8. package/dist/adapters/drupal/generator.js +76 -76
  9. package/dist/adapters/openai-agents/adapter.js +2 -2
  10. package/dist/cli/schema-driven/schema-loader.js +5 -5
  11. package/dist/mcp-server/__tests__/mcp-server.spec.js +20 -11
  12. package/dist/mcp-server/index.js +0 -0
  13. package/dist/package.json +24 -11
  14. package/dist/services/export/langchain/langchain-exporter.js +2 -2
  15. package/dist/services/export/langchain/memory-generator.js +2 -2
  16. package/dist/services/export/testing/test-generator.js +1 -1
  17. package/dist/services/taxonomy-service.d.ts +3 -3
  18. package/dist/skills/test-skill/package.json +1 -1
  19. package/dist/spec/extensions/role-manifest.md +188 -0
  20. package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
  21. package/dist/spec/v0.5/agent.schema.json +2 -1
  22. package/dist/spec/v0.5/extensions/mcp/README.md +1 -1
  23. package/dist/spec/v0.5/role.schema.json +268 -0
  24. package/dist/types/index.d.ts +2 -0
  25. package/dist/types/index.js +2 -0
  26. package/dist/types/role.d.ts +126 -0
  27. package/dist/types/role.js +38 -0
  28. package/dist/validation/validator.js +1 -1
  29. package/examples/agents/01-customer-support-bot/agent.ossa.yaml +24 -31
  30. package/examples/agents/05-sales-assistant/agent.ossa.yaml +35 -23
  31. package/examples/agents/07-research-assistant/agent.ossa.yaml +27 -21
  32. package/examples/agents/10-meeting-assistant/agent.ossa.yaml +27 -35
  33. package/examples/agents/security-audit-agent.ossa.yaml +234 -0
  34. package/examples/agentscope/react-assistant/agent.ossa.yaml +36 -32
  35. package/examples/drupal/content-moderator.ossa.yaml +2 -2
  36. package/examples/drupal/drupal-contributor.ossa.yaml +247 -0
  37. package/examples/export/langchain/production-agent-with-memory/README.md +1 -1
  38. package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +13 -23
  39. package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +1 -15
  40. package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +28 -29
  41. package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
  42. package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
  43. package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
  44. package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
  45. package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
  46. package/examples/getting-started/README.md +3 -3
  47. package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
  48. package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +221 -0
  49. package/examples/hierarchical-agent.ossa.yaml +10 -53
  50. package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +2 -25
  51. package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +2 -30
  52. package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +2 -18
  53. package/examples/kagent/ossa-kagent-poc.ossa.yaml +2 -16
  54. package/examples/pipeline-agent.ossa.yaml +3 -3
  55. package/examples/platform-specific/claude-code-subagent.yaml +1 -1
  56. package/examples/platform-specific/cursor-coding-agent.yaml +1 -1
  57. package/examples/platform-specific/warp-terminal-agent.yaml +1 -1
  58. package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +24 -31
  59. package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +35 -23
  60. package/examples/production-ready/07-research-assistant/agent.ossa.yaml +27 -19
  61. package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +27 -35
  62. package/examples/reference-implementations/python-client/examples/basic_usage.py +0 -0
  63. package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -0
  64. package/examples/roles/drupal-developer.role.yaml +37 -0
  65. package/examples/roles/platform-operator.role.yaml +28 -0
  66. package/examples/roles/security-auditor.role.yaml +27 -0
  67. package/examples/swarm-agent.ossa.yaml +13 -51
  68. package/examples/team-agent.ossa.yaml +12 -61
  69. package/examples/team-lead-teammate.ossa.yaml +12 -17
  70. package/openapi/agent-communication.yaml +260 -212
  71. package/openapi/agent-crud.yaml +217 -187
  72. package/openapi/agent-discovery.yaml +119 -81
  73. package/openapi/agent-identity.yaml +219 -187
  74. package/openapi/agent-taxonomy.yaml +95 -38
  75. package/openapi/agents-md-service.yaml +103 -30
  76. package/openapi/cli/openapi.yaml +147 -40
  77. package/openapi/core/ossa-core-api.openapi.yaml +327 -271
  78. package/openapi/core/ossa-registry-api.openapi.yaml +298 -235
  79. package/openapi/core/ossa-registry.openapi.yaml +299 -159
  80. package/openapi/core/unified-agent-gateway.openapi.yaml +234 -170
  81. package/openapi/daemon-api.openapi.yaml +323 -181
  82. package/openapi/dev-cli/openapi.yaml +137 -113
  83. package/openapi/github-sync.yaml +62 -19
  84. package/openapi/marketplace-plugin.openapi.yaml +539 -466
  85. package/openapi/ossa-api.openapi.yaml +354 -213
  86. package/openapi/ossa-cli-enhancements.openapi.yaml +108 -89
  87. package/openapi/ossa-cli.yaml +260 -184
  88. package/openapi/protocols/sse-streams.yaml +66 -74
  89. package/openapi/protocols/websocket-events.yaml +61 -54
  90. package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +37 -20
  91. package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +35 -23
  92. package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +29 -18
  93. package/openapi/reference-implementations/critic-agent-api.openapi.yaml +45 -19
  94. package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +30 -24
  95. package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +101 -50
  96. package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +33 -22
  97. package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +20 -16
  98. package/openapi/reference-implementations/governor-agent-api.openapi.yaml +41 -23
  99. package/openapi/reference-implementations/helm-generator.openapi.yaml +88 -46
  100. package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +30 -20
  101. package/openapi/reference-implementations/judge-agent-api.openapi.yaml +22 -16
  102. package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +32 -18
  103. package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +32 -21
  104. package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +34 -21
  105. package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +49 -27
  106. package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +27 -19
  107. package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +427 -293
  108. package/openapi/reference-implementations/worker-agent-api.openapi.yaml +34 -23
  109. package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +35 -21
  110. package/openapi/release-automation.openapi.yaml +47 -13
  111. package/openapi/schemas/common/agent.yaml +30 -29
  112. package/openapi/schemas/common/errors.yaml +13 -3
  113. package/openapi/schemas/common/metadata.yaml +22 -7
  114. package/openapi/schemas/common/pagination.yaml +18 -6
  115. package/openapi/schemas/common/security.yaml +13 -5
  116. package/openapi/schemas/index.yaml +49 -42
  117. package/openapi/uadp-asyncapi.yaml +4 -2
  118. package/openapi/uadp-openapi.yaml +243 -165
  119. package/openapi/version-management.openapi.yaml +142 -135
  120. package/package.json +114 -103
  121. package/spec/extensions/role-manifest.md +188 -0
  122. package/spec/v0.4/extensions/mcp/README.md +1 -1
  123. package/spec/v0.5/agent.schema.json +2 -1
  124. package/spec/v0.5/extensions/mcp/README.md +1 -1
  125. package/spec/v0.5/role.schema.json +268 -0
@@ -1,31 +1,11 @@
1
- # OSSA v0.4.5 Example: Hierarchical Agent — Code Review Pipeline with Subagents
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: "1.0.0"
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: a2a
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.00
79
+ maxCostPerDay: 50
123
80
  currency: USD
124
81
  performance:
125
82
  timeoutSeconds: 120
@@ -1,8 +1,4 @@
1
- # OSSA kagent export: Anthropic provider with RemoteMCPServer
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
- skills:
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
- # OSSA v1alpha2 export example: Agent with RemoteMCPServer tools and Anthropic provider
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
- skills:
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
- # OSSA kagent export: Multi-tool agent with multiple RemoteMCPServers
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
- skills:
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
- # OSSA-first POC: one manifest, export to kagent.dev (v1alpha2 Declarative)
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
- skills:
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.4.5 Example: Pipeline Agent — Data Processing Pipeline
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.4.7
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: workflow
29
+ agentType: claude
30
30
 
31
31
  agentArchitecture:
32
32
  pattern: pipeline
@@ -4,7 +4,7 @@ metadata:
4
4
  name: claude-code-explorer
5
5
  version: 1.0.0
6
6
  description: Specialized sub-agent for deep code exploration and codebase analysis
7
- author: Bluefly Platform
7
+ author: Agent Platform
8
8
  tags:
9
9
  - claude-code
10
10
  - subagent
@@ -4,7 +4,7 @@ metadata:
4
4
  name: cursor-coding-assistant
5
5
  version: 1.0.0
6
6
  description: AI coding assistant for Cursor IDE with advanced code generation and refactoring
7
- author: Bluefly Platform
7
+ author: Agent Platform
8
8
  tags:
9
9
  - cursor
10
10
  - coding-assistant
@@ -4,7 +4,7 @@ metadata:
4
4
  name: warp-dev-agent
5
5
  version: 1.0.0
6
6
  description: Development workflow agent for Warp Terminal
7
- author: Bluefly Platform
7
+ author: Agent Platform
8
8
  tags:
9
9
  - warp
10
10
  - terminal
@@ -1,4 +1,4 @@
1
- apiVersion: ossa/v0.4.7
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: [low, medium, high, urgent]
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: [follow_up, resolution, escalation]
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: [positive, neutral]
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
- agent_type: react
157
- memory_type: conversation_buffer
158
- chain_type: conversation
159
- tools_mapping:
160
- - ossa_capability: search_documentation
161
- langchain_tool: search_docs
162
- tool_class: CustomSearchTool
163
- - ossa_capability: create_ticket
164
- langchain_tool: create_ticket
165
- tool_class: TicketingTool
166
- - ossa_capability: send_email
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
@@ -1,4 +1,4 @@
1
- apiVersion: ossa/v0.4.7
1
+ apiVersion: ossa/v0.5
2
2
  kind: Agent
3
3
  metadata:
4
4
  name: sales-assistant
@@ -19,20 +19,17 @@ spec:
19
19
  - Automated follow-up communication
20
20
  - Meeting scheduling and coordination
21
21
  - Sales pipeline management
22
-
23
22
  llm:
24
23
  provider: openai
25
24
  model: gpt-4o
26
25
  temperature: 0.7
27
26
  maxTokens: 1500
28
-
29
27
  capabilities:
30
28
  - search_crm
31
29
  - create_lead
32
30
  - send_followup
33
31
  - schedule_meeting
34
32
  - update_pipeline
35
-
36
33
  tools:
37
34
  - type: function
38
35
  name: search_crm
@@ -51,7 +48,6 @@ spec:
51
48
  type: string
52
49
  revenue_range:
53
50
  type: string
54
-
55
51
  - type: function
56
52
  name: create_lead
57
53
  description: Create new lead in CRM
@@ -73,7 +69,6 @@ spec:
73
69
  required:
74
70
  - name
75
71
  - email
76
-
77
72
  - type: function
78
73
  name: send_followup
79
74
  description: Send automated follow-up email
@@ -84,13 +79,16 @@ spec:
84
79
  type: string
85
80
  template:
86
81
  type: string
87
- enum: [intro, demo_followup, pricing, closing]
82
+ enum:
83
+ - intro
84
+ - demo_followup
85
+ - pricing
86
+ - closing
88
87
  personalization:
89
88
  type: object
90
89
  required:
91
90
  - leadId
92
91
  - template
93
-
94
92
  - type: function
95
93
  name: schedule_meeting
96
94
  description: Schedule meeting with lead
@@ -101,7 +99,11 @@ spec:
101
99
  type: string
102
100
  meetingType:
103
101
  type: string
104
- enum: [discovery, demo, negotiation, closing]
102
+ enum:
103
+ - discovery
104
+ - demo
105
+ - negotiation
106
+ - closing
105
107
  duration:
106
108
  type: integer
107
109
  suggestedTimes:
@@ -112,16 +114,23 @@ spec:
112
114
  required:
113
115
  - leadId
114
116
  - meetingType
115
-
116
117
  memory:
117
118
  enabled: true
118
119
  type: entity_memory
119
120
  entities:
120
121
  - type: lead
121
- fields: [name, company, status, last_contact, notes]
122
+ fields:
123
+ - name
124
+ - company
125
+ - status
126
+ - last_contact
127
+ - notes
122
128
  - type: interaction
123
- fields: [date, type, summary, outcome]
124
-
129
+ fields:
130
+ - date
131
+ - type
132
+ - summary
133
+ - outcome
125
134
  observability:
126
135
  logging:
127
136
  level: info
@@ -132,15 +141,18 @@ spec:
132
141
  - emails_sent
133
142
  - meetings_scheduled
134
143
  - conversion_rate
135
-
136
144
  extensions:
137
145
  langchain:
138
- agent_type: react
139
- memory_type: entity
140
- tools_mapping:
141
- - ossa_capability: search_crm
142
- langchain_tool: crm_search
143
- - ossa_capability: create_lead
144
- langchain_tool: create_lead
145
- - ossa_capability: send_followup
146
- langchain_tool: send_email
146
+ enabled: true
147
+ chain_type: agent
148
+ memory:
149
+ type: vector
150
+ tools:
151
+ - name: search_crm
152
+ description: Search CRM for contacts and accounts
153
+ - name: create_lead
154
+ description: Create new lead in CRM
155
+ - name: send_followup
156
+ description: Send automated follow-up email
157
+ - name: schedule_meeting
158
+ description: Schedule meeting with lead
@@ -1,4 +1,4 @@
1
- apiVersion: ossa/v0.4.7
1
+ apiVersion: ossa/v0.5
2
2
  kind: Agent
3
3
  metadata:
4
4
  name: research-assistant
@@ -19,19 +19,16 @@ spec:
19
19
  - Citation management
20
20
  - Research question formulation
21
21
  - Methodology analysis
22
-
23
22
  llm:
24
23
  provider: anthropic
25
24
  model: claude-sonnet-4-20250514
26
25
  temperature: 0.5
27
26
  maxTokens: 4000
28
-
29
27
  capabilities:
30
28
  - search_papers
31
29
  - summarize_paper
32
30
  - generate_citations
33
31
  - compare_studies
34
-
35
32
  tools:
36
33
  - type: function
37
34
  name: search_papers
@@ -45,7 +42,11 @@ spec:
45
42
  type: array
46
43
  items:
47
44
  type: string
48
- enum: [pubmed, arxiv, semantic_scholar, google_scholar]
45
+ enum:
46
+ - pubmed
47
+ - arxiv
48
+ - semantic_scholar
49
+ - google_scholar
49
50
  filters:
50
51
  type: object
51
52
  properties:
@@ -57,7 +58,6 @@ spec:
57
58
  type: number
58
59
  required:
59
60
  - query
60
-
61
61
  - type: function
62
62
  name: summarize_paper
63
63
  description: Generate structured summary of research paper
@@ -68,10 +68,13 @@ spec:
68
68
  type: string
69
69
  summaryType:
70
70
  type: string
71
- enum: [abstract, full, methodology, findings]
71
+ enum:
72
+ - abstract
73
+ - full
74
+ - methodology
75
+ - findings
72
76
  required:
73
77
  - paperId
74
-
75
78
  - type: function
76
79
  name: generate_citations
77
80
  description: Generate citations in various formats
@@ -84,11 +87,14 @@ spec:
84
87
  type: string
85
88
  format:
86
89
  type: string
87
- enum: [apa, mla, chicago, bibtex]
90
+ enum:
91
+ - apa
92
+ - mla
93
+ - chicago
94
+ - bibtex
88
95
  required:
89
96
  - papers
90
97
  - format
91
-
92
98
  memory:
93
99
  enabled: true
94
100
  type: summary_memory
@@ -97,7 +103,6 @@ spec:
97
103
  summary_prompt: |
98
104
  Summarize the key research topics, papers discussed,
99
105
  and important findings from this session.
100
-
101
106
  observability:
102
107
  logging:
103
108
  level: info
@@ -107,13 +112,16 @@ spec:
107
112
  - papers_searched
108
113
  - summaries_generated
109
114
  - citations_created
110
-
111
115
  extensions:
112
116
  langchain:
113
- agent_type: react
114
- memory_type: summary
115
- tools_mapping:
116
- - ossa_capability: search_papers
117
- langchain_tool: academic_search
118
- - ossa_capability: summarize_paper
119
- langchain_tool: paper_summarizer
117
+ enabled: true
118
+ chain_type: agent
119
+ memory:
120
+ type: summary
121
+ tools:
122
+ - name: search_papers
123
+ description: Search academic papers and publications
124
+ - name: summarize_paper
125
+ description: Generate structured summary of research paper
126
+ - name: generate_citations
127
+ description: Generate citations in various formats