@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.
- package/.version.json +3 -3
- package/CHANGELOG.md +8 -8
- package/README.md +68 -58
- package/bin/postinstall +0 -0
- package/dist/.version.json +3 -3
- package/dist/adapters/claude-code/adapter.js +2 -2
- package/dist/adapters/docker/generators.js +19 -19
- package/dist/adapters/drupal/generator.js +76 -76
- package/dist/adapters/openai-agents/adapter.js +2 -2
- package/dist/cli/schema-driven/schema-loader.js +5 -5
- package/dist/mcp-server/__tests__/mcp-server.spec.js +20 -11
- package/dist/mcp-server/index.js +0 -0
- package/dist/package.json +24 -11
- 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/taxonomy-service.d.ts +3 -3
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/extensions/role-manifest.md +188 -0
- package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/agent.schema.json +2 -1
- package/dist/spec/v0.5/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/role.schema.json +268 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/role.d.ts +126 -0
- package/dist/types/role.js +38 -0
- package/dist/validation/validator.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/agent.ossa.yaml +36 -32
- package/examples/drupal/content-moderator.ossa.yaml +2 -2
- 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/reference-implementations/python-client/examples/basic_usage.py +0 -0
- package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -0
- 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-communication.yaml +260 -212
- package/openapi/agent-crud.yaml +217 -187
- 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 +298 -235
- 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 +108 -89
- 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 +47 -13
- package/openapi/schemas/common/agent.yaml +30 -29
- 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 +4 -2
- package/openapi/uadp-openapi.yaml +243 -165
- package/openapi/version-management.openapi.yaml +142 -135
- package/package.json +114 -103
- package/spec/extensions/role-manifest.md +188 -0
- package/spec/v0.4/extensions/mcp/README.md +1 -1
- package/spec/v0.5/agent.schema.json +2 -1
- package/spec/v0.5/extensions/mcp/README.md +1 -1
- package/spec/v0.5/role.schema.json +268 -0
|
@@ -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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
apiVersion: ossa/v0.
|
|
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:
|
|
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:
|
|
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:
|
|
122
|
+
fields:
|
|
123
|
+
- name
|
|
124
|
+
- company
|
|
125
|
+
- status
|
|
126
|
+
- last_contact
|
|
127
|
+
- notes
|
|
122
128
|
- type: interaction
|
|
123
|
-
fields:
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
-
|
|
146
|
-
|
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
-
|
|
119
|
-
|
|
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
|