@bluefly/openstandardagents 0.2.7 → 0.2.8
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/.devfile.yaml +1 -1
- package/.env.example +1 -1
- package/.version.json +2 -2
- package/.wiki-config.json +24 -0
- package/CHANGELOG.md +11 -18
- package/CODEOWNERS +75 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +171 -243
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +6 -1
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +49 -27
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/services/migration.service.d.ts +4 -3
- package/dist/services/migration.service.d.ts.map +1 -1
- package/dist/services/migration.service.js +11 -10
- package/dist/services/migration.service.js.map +1 -1
- package/dist/services/release-automation/release.service.js +1 -1
- package/dist/services/release-automation/release.service.js.map +1 -1
- package/dist/services/release-automation/schemas/release.schema.js +1 -1
- package/dist/services/runtime/claude/claude-adapter.js +1 -1
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -1
- package/dist/spec/v0.2.8/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.8/README.md +72 -0
- package/dist/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/dist/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +81 -0
- package/{spec/v0.2.6-dev/ossa-0.2.5.schema.json → dist/spec/v0.2.8/ossa-0.2.8.schema.json} +1509 -52
- package/dist/spec/v0.2.8/ossa-0.2.8.yaml +581 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/version.d.ts +68 -0
- package/dist/utils/version.d.ts.map +1 -0
- package/dist/utils/version.js +156 -0
- package/dist/utils/version.js.map +1 -0
- package/eslint-report.json +1 -0
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/claude-code/code-reviewer.ossa.yaml +78 -0
- package/examples/claude-code/ossa-validator.ossa.yaml +80 -0
- package/examples/common_npm/agent-router.ossa.yaml +1 -0
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -0
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +1 -0
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/multi-agent/README.md +74 -0
- package/examples/multi-agent/conditional-router.ossa.yaml +42 -0
- package/examples/multi-agent/parallel-execution.ossa.yaml +54 -0
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +45 -0
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/spec-examples/audit-agent.yml +1 -1
- package/examples/spec-examples/chat-agent.yml +1 -1
- package/examples/spec-examples/compliance-agent.yml +1 -1
- package/examples/spec-examples/monitoring-agent.yml +1 -1
- package/examples/spec-examples/workflow-agent.yml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/gl-code-quality-report.json +62 -0
- package/llms-ctx-full.txt +39 -0
- package/llms-ctx.txt +39 -0
- package/llms.txt +47 -0
- package/package.json +3 -2
- package/scripts/eslint-to-codequality.cjs +34 -0
- package/scripts/generate-llms-ctx.sh +17 -0
- package/scripts/generate-schema-docs.ts +31 -10
- package/scripts/sync-version.js +4 -12
- package/scripts/validate-schema.ts +2 -1
- package/spec/v0.2.8/CHANGELOG.md +401 -0
- package/spec/v0.2.8/README.md +72 -0
- package/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +81 -0
- package/{dist/spec/v0.2.6-dev/ossa-0.2.5.schema.json → spec/v0.2.8/ossa-0.2.8.schema.json} +1509 -52
- package/spec/v0.2.8/ossa-0.2.8.yaml +581 -0
- package/test-results/junit.xml +299 -0
- package/bin/validate-ossa-0.2.5-RC.ts +0 -244
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json +0 -1696
- package/scripts/lib/exec.ts +0 -37
- package/scripts/lib/file-ops.ts +0 -58
- package/scripts/lib/version.ts +0 -83
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json +0 -1696
- package/website/.lighthouserc.ts +0 -24
- package/website/.prettierrc +0 -10
- package/website/DESIGN_SYSTEM_IMPLEMENTATION.md +0 -445
- package/website/Dockerfile +0 -30
- package/website/app/about/page.tsx +0 -304
- package/website/app/blog/[slug]/page.tsx +0 -208
- package/website/app/blog/page.tsx +0 -249
- package/website/app/design-guide/page.tsx +0 -511
- package/website/app/docs/[[...slug]]/page.tsx +0 -847
- package/website/app/docs/core-concepts/project-structure/page.tsx +0 -349
- package/website/app/ecosystem/page.tsx +0 -410
- package/website/app/examples/page.tsx +0 -133
- package/website/app/globals.scss +0 -370
- package/website/app/layout.tsx +0 -106
- package/website/app/license/page.tsx +0 -183
- package/website/app/not-found.tsx +0 -18
- package/website/app/page.tsx +0 -686
- package/website/app/page.tsx.bak +0 -679
- package/website/app/page.tsx.bak2 +0 -649
- package/website/app/playground/page.tsx +0 -487
- package/website/app/robots.ts +0 -19
- package/website/app/rss.xml/route.ts +0 -74
- package/website/app/schema/page.tsx +0 -1001
- package/website/app/sitemap.ts +0 -56
- package/website/app/specification/page.tsx +0 -287
- package/website/components/InstallCommand.tsx +0 -96
- package/website/components/Logo.tsx +0 -97
- package/website/components/StructuredData.tsx +0 -65
- package/website/components/docs/DocsSearch.tsx +0 -104
- package/website/components/docs/DocsSidebar.tsx +0 -155
- package/website/components/docs/MarkdownContent.tsx +0 -401
- package/website/components/docs/VersionSelector.tsx +0 -105
- package/website/components/examples/ExamplesViewer.tsx +0 -293
- package/website/components/layout/Footer.tsx +0 -116
- package/website/components/layout/Header.tsx +0 -172
- package/website/components/schema/SchemaComponentsAccordion.tsx +0 -84
- package/website/components/schema/SchemaExplorer.tsx +0 -213
- package/website/components/ui/Badge.tsx +0 -82
- package/website/components/ui/Button.tsx +0 -116
- package/website/components/ui/Card.tsx +0 -167
- package/website/components/ui/Checkbox.tsx +0 -141
- package/website/components/ui/Input.tsx +0 -169
- package/website/components/ui/Radio.tsx +0 -141
- package/website/components/ui/Select.tsx +0 -182
- package/website/components/ui/Tag.tsx +0 -158
- package/website/components/ui/Textarea.tsx +0 -195
- package/website/components/ui/index.ts +0 -11
- package/website/content/blog/OpenAPI-AI-Agents-Standard.md +0 -285
- package/website/content/blog/Why-Formal-Standards-Matter-Now.md +0 -198
- package/website/content/blog/gitlab-kubernetes-agent-ecosystem.md +0 -286
- package/website/content/blog/introducing-ossa-framework.md +0 -328
- package/website/content/blog/ossa-production-results.md +0 -279
- package/website/content/blog/welcome-to-ossa.md +0 -43
- package/website/content/blog/why-ai-agents-need-open-standard.md +0 -98
- package/website/content/docs/00-home.md +0 -153
- package/website/content/docs/adapters/openai-adapter.md +0 -693
- package/website/content/docs/agents/catalog.md +0 -28
- package/website/content/docs/aiflow-framework-integration-with-ossa.md +0 -107
- package/website/content/docs/api-reference/index.md +0 -38
- package/website/content/docs/api-reference/ossa-core-api.md +0 -634
- package/website/content/docs/api-reference/ossa-registry-api.md +0 -515
- package/website/content/docs/api-reference/unified-agent-gateway.md +0 -599
- package/website/content/docs/architecture/execution-flow.md +0 -335
- package/website/content/docs/architecture/multi-agent-systems.md +0 -737
- package/website/content/docs/architecture/overview.md +0 -121
- package/website/content/docs/architecture/stack-integration.md +0 -461
- package/website/content/docs/changelog.md +0 -246
- package/website/content/docs/cli-reference/index.md +0 -111
- package/website/content/docs/cli-reference/ossa-agents.md +0 -70
- package/website/content/docs/cli-reference/ossa-export.md +0 -56
- package/website/content/docs/cli-reference/ossa-generate.md +0 -66
- package/website/content/docs/cli-reference/ossa-gitlab-agent.md +0 -57
- package/website/content/docs/cli-reference/ossa-import.md +0 -56
- package/website/content/docs/cli-reference/ossa-init.md +0 -57
- package/website/content/docs/cli-reference/ossa-migrate.md +0 -62
- package/website/content/docs/cli-reference/ossa-run.md +0 -66
- package/website/content/docs/cli-reference/ossa-schema.md +0 -57
- package/website/content/docs/cli-reference/ossa-setup.md +0 -57
- package/website/content/docs/cli-reference/ossa-validate.md +0 -66
- package/website/content/docs/configuration/index.md +0 -97
- package/website/content/docs/contributing.md +0 -599
- package/website/content/docs/deployment/github-mirroring.md +0 -924
- package/website/content/docs/documentation.md +0 -100
- package/website/content/docs/ecosystem/framework-support.md +0 -1361
- package/website/content/docs/ecosystem/overview.md +0 -366
- package/website/content/docs/errors/index.md +0 -10
- package/website/content/docs/examples/aiflow-framework-integration-with-ossa.md +0 -107
- package/website/content/docs/examples/catalog.md +0 -300
- package/website/content/docs/for-audiences/students-researchers.md +0 -122
- package/website/content/docs/getting-started/index.md +0 -92
- package/website/content/docs/getting-started/installation.md +0 -155
- package/website/content/docs/getting-started/running-agents.md +0 -309
- package/website/content/docs/getting-started.md +0 -91
- package/website/content/docs/integrations/aiflow.md +0 -104
- package/website/content/docs/integrations/drupal.md +0 -105
- package/website/content/docs/migration-guides/agent-schema-comparison.md +0 -232
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +0 -1750
- package/website/content/docs/migration-guides/crewai-to-ossa.md +0 -274
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +0 -2017
- package/website/content/docs/migration-guides/general-agent-schema.yml +0 -247
- package/website/content/docs/migration-guides/index.md +0 -133
- package/website/content/docs/migration-guides/langchain-to-ossa.md +0 -1714
- package/website/content/docs/migration-guides/langflow-to-ossa.md +0 -2075
- package/website/content/docs/migration-guides/migration-manifest.json +0 -64
- package/website/content/docs/migration-guides/openai-to-ossa.md +0 -1202
- package/website/content/docs/openapi-extensions/examples.md +0 -550
- package/website/content/docs/openapi-extensions/index.md +0 -551
- package/website/content/docs/openapi-extensions/operation-extensions.md +0 -457
- package/website/content/docs/openapi-extensions/root-extensions.md +0 -410
- package/website/content/docs/ossa-compliant-badge.md +0 -251
- package/website/content/docs/pre-release/index.md +0 -175
- package/website/content/docs/quick-reference.md +0 -17
- package/website/content/docs/readme.md +0 -35
- package/website/content/docs/releases/v0.2.6.md +0 -99
- package/website/content/docs/schema-reference/agent-capabilities.md +0 -50
- package/website/content/docs/schema-reference/agent-id.md +0 -52
- package/website/content/docs/schema-reference/agent-name.md +0 -50
- package/website/content/docs/schema-reference/agent-role.md +0 -54
- package/website/content/docs/schema-reference/agent-spec.md +0 -406
- package/website/content/docs/schema-reference/agent-version.md +0 -50
- package/website/content/docs/schema-reference/autonomy.md +0 -568
- package/website/content/docs/schema-reference/constraints.md +0 -543
- package/website/content/docs/schema-reference/index.md +0 -45
- package/website/content/docs/schema-reference/llm-config.md +0 -445
- package/website/content/docs/schema-reference/observability.md +0 -654
- package/website/content/docs/schema-reference/ossa-manifest.md +0 -309
- package/website/content/docs/schema-reference/taxonomy.md +0 -509
- package/website/content/docs/schema-reference/tools.md +0 -628
- package/website/content/docs/templates/blog-post.md +0 -43
- package/website/content/docs/types-reference/index.md +0 -105
- package/website/content/docs/use-cases/00-index.md +0 -395
- package/website/content/docs/use-cases/cicd-code-review.md +0 -1236
- package/website/content/docs/use-cases/customer-support.md +0 -1234
- package/website/content/docs/use-cases/enterprise-compliance.md +0 -1208
- package/website/content/docs/use-cases/research-multi-agent.md +0 -1161
- package/website/content/docs/versioning.md +0 -288
- package/website/dev.sh +0 -53
- package/website/docker-compose.dev.yml +0 -36
- package/website/lib/version.ts +0 -35
- package/website/lib/versions.json +0 -103
- package/website/next.config.ts +0 -18
- package/website/nginx.conf +0 -32
- package/website/package-lock.json +0 -9679
- package/website/package.json +0 -59
- package/website/postcss.config.mjs +0 -9
- package/website/scripts/fetch-versions.js +0 -166
- package/website/scripts/generate-examples-index.js +0 -163
- package/website/scripts/merge-docs-to-wiki.ts +0 -207
- package/website/scripts/sync-version.js +0 -72
- package/website/scripts/sync-wiki.ts +0 -322
- package/website/scripts/upload-wiki.ts +0 -199
- package/website/styles/_spacing.scss +0 -453
- package/website/styles/_tokens.scss +0 -245
- package/website/styles/_typography.scss +0 -361
- package/website/styles/_variables.scss +0 -287
- package/website/tailwind.config.ts +0 -170
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Running Agents"
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Running Agents
|
|
6
|
-
|
|
7
|
-
Learn how to run OSSA agents using the CLI.
|
|
8
|
-
|
|
9
|
-
## Prerequisites
|
|
10
|
-
|
|
11
|
-
- Node.js 18+
|
|
12
|
-
- npm or yarn
|
|
13
|
-
- API key for your LLM provider
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npm install -g @bluefly/open-standards-scalable-agents
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Quick Start
|
|
22
|
-
|
|
23
|
-
### 1. Set your API key
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
export OPENAI_API_KEY=sk-...
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
### 2. Create an agent manifest
|
|
30
|
-
|
|
31
|
-
```yaml
|
|
32
|
-
# support-agent.ossa.yaml
|
|
33
|
-
apiVersion: ossa/v0.2.x
|
|
34
|
-
kind: Agent
|
|
35
|
-
|
|
36
|
-
metadata:
|
|
37
|
-
name: support-agent
|
|
38
|
-
version: 1.0.0
|
|
39
|
-
description: Customer support agent
|
|
40
|
-
|
|
41
|
-
spec:
|
|
42
|
-
role: |
|
|
43
|
-
You are a helpful customer support agent.
|
|
44
|
-
Answer questions about orders and shipping.
|
|
45
|
-
|
|
46
|
-
llm:
|
|
47
|
-
provider: openai
|
|
48
|
-
model: gpt-4o-mini
|
|
49
|
-
temperature: 0.7
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### 3. Run the agent
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
# Interactive mode
|
|
56
|
-
ossa run support-agent.ossa.yaml
|
|
57
|
-
|
|
58
|
-
# Single message
|
|
59
|
-
ossa run support-agent.ossa.yaml -m "Help me track my order"
|
|
60
|
-
|
|
61
|
-
# Verbose (show tool calls)
|
|
62
|
-
ossa run support-agent.ossa.yaml -v
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
## Command Options
|
|
66
|
-
|
|
67
|
-
| Option | Description | Default |
|
|
68
|
-
|--------|-------------|---------|
|
|
69
|
-
| `-r, --runtime <runtime>` | Runtime adapter to use | `openai` |
|
|
70
|
-
| `-v, --verbose` | Show detailed output including tool calls | `false` |
|
|
71
|
-
| `-m, --message <message>` | Single message mode (non-interactive) | Interactive REPL |
|
|
72
|
-
| `--no-validate` | Skip manifest validation before running | Validation enabled |
|
|
73
|
-
| `--max-turns <turns>` | Maximum tool call iterations | `10` |
|
|
74
|
-
|
|
75
|
-
### Detailed Option Descriptions
|
|
76
|
-
|
|
77
|
-
#### Runtime Selection (`-r, --runtime`)
|
|
78
|
-
|
|
79
|
-
Choose which runtime adapter to use for executing your agent:
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
# Use OpenAI (default)
|
|
83
|
-
ossa run agent.ossa.yaml --runtime openai
|
|
84
|
-
|
|
85
|
-
# Short form
|
|
86
|
-
ossa run agent.ossa.yaml -r openai
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
#### Verbose Mode (`-v, --verbose`)
|
|
90
|
-
|
|
91
|
-
Enable verbose output to see detailed information about tool calls and execution:
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
ossa run agent.ossa.yaml --verbose
|
|
95
|
-
|
|
96
|
-
# Shows:
|
|
97
|
-
# - Tool call names and arguments
|
|
98
|
-
# - Tool execution results
|
|
99
|
-
# - Conversation flow
|
|
100
|
-
# - Validation details
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
#### Single Message Mode (`-m, --message`)
|
|
104
|
-
|
|
105
|
-
Execute a single message and exit (non-interactive):
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
# Ask a single question
|
|
109
|
-
ossa run agent.ossa.yaml -m "What is the weather today?"
|
|
110
|
-
|
|
111
|
-
# Long form
|
|
112
|
-
ossa run agent.ossa.yaml --message "Analyze this data"
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
#### Skip Validation (`--no-validate`)
|
|
116
|
-
|
|
117
|
-
Skip manifest validation for faster startup (use with caution):
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
ossa run agent.ossa.yaml --no-validate
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
**Note:** Validation is recommended to catch configuration errors early.
|
|
124
|
-
|
|
125
|
-
#### Max Turns (`--max-turns`)
|
|
126
|
-
|
|
127
|
-
Limit the number of tool call iterations to prevent infinite loops:
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
# Allow up to 5 tool call iterations
|
|
131
|
-
ossa run agent.ossa.yaml --max-turns 5
|
|
132
|
-
|
|
133
|
-
# Default is 10
|
|
134
|
-
ossa run agent.ossa.yaml --max-turns 10
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
## Supported Runtimes
|
|
138
|
-
|
|
139
|
-
| Runtime | Status | Provider |
|
|
140
|
-
|---------|--------|----------|
|
|
141
|
-
| openai | Available | OpenAI API |
|
|
142
|
-
| anthropic | Coming Soon | Anthropic Claude |
|
|
143
|
-
| ollama | Coming Soon | Local LLMs |
|
|
144
|
-
| gemini | Coming Soon | Google AI |
|
|
145
|
-
|
|
146
|
-
## Adding Tools
|
|
147
|
-
|
|
148
|
-
Define tools in your manifest using the OpenAI extension:
|
|
149
|
-
|
|
150
|
-
```yaml
|
|
151
|
-
extensions:
|
|
152
|
-
openai_agents:
|
|
153
|
-
tools_mapping:
|
|
154
|
-
- ossa_capability: order_tracking
|
|
155
|
-
openai_tool_name: get_order_status
|
|
156
|
-
description: Get order status by ID
|
|
157
|
-
parameters:
|
|
158
|
-
type: object
|
|
159
|
-
properties:
|
|
160
|
-
order_id:
|
|
161
|
-
type: string
|
|
162
|
-
description: The order ID to track
|
|
163
|
-
required: [order_id]
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
## Interactive REPL Mode
|
|
167
|
-
|
|
168
|
-
When you run an agent without the `-m` flag, you enter interactive mode:
|
|
169
|
-
|
|
170
|
-
```bash
|
|
171
|
-
ossa run agent.ossa.yaml
|
|
172
|
-
|
|
173
|
-
# Output:
|
|
174
|
-
# ✓ Agent 'my-agent' loaded
|
|
175
|
-
# Model: gpt-4o-mini
|
|
176
|
-
# Tools: search, calculate
|
|
177
|
-
#
|
|
178
|
-
# Entering interactive mode. Type "exit" to quit.
|
|
179
|
-
#
|
|
180
|
-
# You:
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
In interactive mode:
|
|
184
|
-
- Type your messages and press Enter
|
|
185
|
-
- The agent maintains conversation history
|
|
186
|
-
- Type `exit` or `quit` to end the session
|
|
187
|
-
- Press Ctrl+C to force quit
|
|
188
|
-
|
|
189
|
-
## Troubleshooting
|
|
190
|
-
|
|
191
|
-
### API Key Not Set
|
|
192
|
-
|
|
193
|
-
**Error:** `OPENAI_API_KEY environment variable not set`
|
|
194
|
-
|
|
195
|
-
**Solution:**
|
|
196
|
-
```bash
|
|
197
|
-
export OPENAI_API_KEY=sk-your-key-here
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### Validation Errors
|
|
201
|
-
|
|
202
|
-
**Error:** `Agent manifest validation failed`
|
|
203
|
-
|
|
204
|
-
**Solution:** Check your manifest against the schema:
|
|
205
|
-
```bash
|
|
206
|
-
ossa validate agent.ossa.yaml --verbose
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
### Runtime Not Supported
|
|
210
|
-
|
|
211
|
-
**Error:** `Runtime 'xyz' not supported yet`
|
|
212
|
-
|
|
213
|
-
**Solution:** Use the OpenAI runtime (currently the only supported runtime):
|
|
214
|
-
```bash
|
|
215
|
-
ossa run agent.ossa.yaml --runtime openai
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
### Max Turns Reached
|
|
219
|
-
|
|
220
|
-
**Error:** `Max turns reached without completion`
|
|
221
|
-
|
|
222
|
-
**Solution:** Increase the max turns limit:
|
|
223
|
-
```bash
|
|
224
|
-
ossa run agent.ossa.yaml --max-turns 20
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
## Advanced Usage
|
|
228
|
-
|
|
229
|
-
### Combining Options
|
|
230
|
-
|
|
231
|
-
You can combine multiple options:
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
# Verbose single message with custom max turns
|
|
235
|
-
ossa run agent.ossa.yaml -v -m "Complex query" --max-turns 15
|
|
236
|
-
|
|
237
|
-
# Skip validation in verbose mode
|
|
238
|
-
ossa run agent.ossa.yaml --no-validate --verbose
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
### Using with Different Models
|
|
242
|
-
|
|
243
|
-
Specify the model in your manifest:
|
|
244
|
-
|
|
245
|
-
```yaml
|
|
246
|
-
spec:
|
|
247
|
-
llm:
|
|
248
|
-
provider: openai
|
|
249
|
-
model: gpt-4-turbo
|
|
250
|
-
temperature: 0.8
|
|
251
|
-
maxTokens: 2000
|
|
252
|
-
```
|
|
253
|
-
|
|
254
|
-
Or use the OpenAI extension:
|
|
255
|
-
|
|
256
|
-
```yaml
|
|
257
|
-
extensions:
|
|
258
|
-
openai_agents:
|
|
259
|
-
model: gpt-4-turbo
|
|
260
|
-
instructions: Custom system prompt
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
### Environment Variables
|
|
264
|
-
|
|
265
|
-
The run command respects these environment variables:
|
|
266
|
-
|
|
267
|
-
- `OPENAI_API_KEY` - Your OpenAI API key (required)
|
|
268
|
-
- `OPENAI_ORG_ID` - Your OpenAI organization ID (optional)
|
|
269
|
-
|
|
270
|
-
## Examples
|
|
271
|
-
|
|
272
|
-
### Customer Support Agent
|
|
273
|
-
|
|
274
|
-
```bash
|
|
275
|
-
# Create the manifest
|
|
276
|
-
cat > support.ossa.yaml << EOF
|
|
277
|
-
apiVersion: ossa/v0.2.4
|
|
278
|
-
kind: Agent
|
|
279
|
-
metadata:
|
|
280
|
-
name: support-agent
|
|
281
|
-
version: 1.0.0
|
|
282
|
-
spec:
|
|
283
|
-
role: You are a helpful customer support agent
|
|
284
|
-
llm:
|
|
285
|
-
provider: openai
|
|
286
|
-
model: gpt-4o-mini
|
|
287
|
-
EOF
|
|
288
|
-
|
|
289
|
-
# Run interactively
|
|
290
|
-
ossa run support.ossa.yaml
|
|
291
|
-
|
|
292
|
-
# Or single message
|
|
293
|
-
ossa run support.ossa.yaml -m "How do I reset my password?"
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
### Code Assistant with Tools
|
|
297
|
-
|
|
298
|
-
```bash
|
|
299
|
-
# See examples/openai/swarm-agent.ossa.json for a complete example
|
|
300
|
-
ossa run examples/openai/swarm-agent.ossa.json -v
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
## Next Steps
|
|
304
|
-
|
|
305
|
-
- [CLI Reference](/docs/cli/run-command) - Complete command reference
|
|
306
|
-
- [OpenAI Adapter](/docs/adapters/openai-adapter) - OpenAI adapter configuration
|
|
307
|
-
- [Manifest Reference](/docs/schema-reference) - Full manifest schema
|
|
308
|
-
- [Framework Extensions](/docs/openapi-extensions) - Extension system
|
|
309
|
-
- [Migration Guides](/docs/migration-guides) - Migrate from other frameworks
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Getting Started"
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Getting Started with OSSA
|
|
6
|
-
|
|
7
|
-
## What is OSSA?
|
|
8
|
-
|
|
9
|
-
OSSA (Open Standard for Scalable AI Agents) is a specification standard for AI agents, similar to how OpenAPI standardizes REST APIs.
|
|
10
|
-
|
|
11
|
-
**OSSA is NOT a framework** - it's a standard that defines the contract.
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npm install -g @bluefly/openstandardagents
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
## Quick Start
|
|
20
|
-
|
|
21
|
-
### 1. Initialize a New Agent
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
ossa init my-agent --type worker
|
|
25
|
-
cd .agents/my-agent
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### 2. Edit Agent Manifest
|
|
29
|
-
|
|
30
|
-
Edit `agent.yml`:
|
|
31
|
-
|
|
32
|
-
```yaml
|
|
33
|
-
ossaVersion: "0.2.6"
|
|
34
|
-
|
|
35
|
-
agent:
|
|
36
|
-
id: my-agent
|
|
37
|
-
name: My Agent
|
|
38
|
-
version: "1.0.0"
|
|
39
|
-
role: worker
|
|
40
|
-
|
|
41
|
-
runtime:
|
|
42
|
-
type: docker
|
|
43
|
-
|
|
44
|
-
capabilities:
|
|
45
|
-
- name: process_data
|
|
46
|
-
description: Process incoming data
|
|
47
|
-
input_schema:
|
|
48
|
-
type: object
|
|
49
|
-
properties:
|
|
50
|
-
data:
|
|
51
|
-
type: string
|
|
52
|
-
output_schema:
|
|
53
|
-
type: object
|
|
54
|
-
properties:
|
|
55
|
-
result:
|
|
56
|
-
type: string
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
### 3. Validate
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
ossa validate agent.yml
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### 4. Deploy
|
|
66
|
-
|
|
67
|
-
OSSA doesn't dictate deployment. Deploy to YOUR infrastructure:
|
|
68
|
-
- Docker / Kubernetes
|
|
69
|
-
- AWS / GCP / Azure
|
|
70
|
-
- On-premise
|
|
71
|
-
- Serverless
|
|
72
|
-
|
|
73
|
-
## CLI Commands
|
|
74
|
-
|
|
75
|
-
- `ossa init <name>` - Initialize new agent project
|
|
76
|
-
- `ossa validate <path>` - Validate against OSSA 1.0 schema
|
|
77
|
-
- `ossa generate <type>` - Generate from template
|
|
78
|
-
- `ossa migrate <source>` - Migrate v0.1.9 → 1.0
|
|
79
|
-
|
|
80
|
-
## Next Steps
|
|
81
|
-
|
|
82
|
-
- Review [Examples](Examples/)
|
|
83
|
-
- Read the [Specification](Specification/ossa-1.0.schema.json)
|
|
84
|
-
- Visit the [GitHub Repository](https://github.com/blueflyio/openstandardagents)
|
|
85
|
-
|
|
86
|
-
## Need More Features?
|
|
87
|
-
|
|
88
|
-
For production features like GitLab integration, Kubernetes deployment, and monitoring, see:
|
|
89
|
-
|
|
90
|
-
**[agent-buildkit](https://github.com/blueflyio/openstandardagents)** - Reference implementation with production tooling
|
|
91
|
-
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
# AIFlow Framework Integration with OSSA
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
AIFlow is a Python-based social agent framework that enables personality-driven, emotionally intelligent AI agents for autonomous social media content generation. This integration demonstrates how AIFlow agents are wrapped in OSSA 1.0 manifests for Kubernetes orchestration and deployment through agent-buildkit.
|
|
6
|
-
|
|
7
|
-
For complete integration analysis, see: [agent-buildkit AIFlow Integration Guide](https://github.com/blueflyio/openstandardagents/wiki/AIFlow-Integration-with-OSSA-BuildKit-and-K-Agent)
|
|
8
|
-
|
|
9
|
-
## Core Components
|
|
10
|
-
|
|
11
|
-
### OSSA Manifest
|
|
12
|
-
|
|
13
|
-
**Location**: [agent-buildkit/examples/aiflow-integration/social-agent-aiflow.ossa.yaml](https://github.com/blueflyio/openstandardagents/blob/development/examples/aiflow-integration/social-agent-aiflow.ossa.yaml)
|
|
14
|
-
|
|
15
|
-
The manifest defines the agent's identity, runtime configuration, capabilities, and deployment requirements. It conforms to OSSA 1.0 specification.
|
|
16
|
-
|
|
17
|
-
**Key Manifest Sections**:
|
|
18
|
-
|
|
19
|
-
- **Agent Identity**: `social-agent-aiflow`, version 1.0.0, role: chat
|
|
20
|
-
- **Runtime**: Docker image `aiflow/agent:1.0.0`, Python 3.12+, resource requirements
|
|
21
|
-
- **Capabilities**: `generate_post`, `generate_response` with defined schemas
|
|
22
|
-
- **Dependencies**: Required integration with `agent-brain` for cognitive functions
|
|
23
|
-
- **Environment**: Required secrets for Anthropic API, Twitter API, Telegram Bot, PostgreSQL
|
|
24
|
-
|
|
25
|
-
### OpenAPI Specification
|
|
26
|
-
|
|
27
|
-
**Location**: [agent-buildkit/openapi/aiflow-agent.openapi.yml](https://github.com/blueflyio/openstandardagents/blob/development/openapi/aiflow-agent.openapi.yml)
|
|
28
|
-
|
|
29
|
-
The OpenAPI 3.1 specification defines the REST API interface for the AIFlow agent, including:
|
|
30
|
-
- FastAPI bridge endpoints for AIFlow Sia runtime
|
|
31
|
-
- Request/response schemas for all capabilities
|
|
32
|
-
- Kubernetes metadata extensions (x-k-agent) for orchestration
|
|
33
|
-
- Health check endpoints and observability metrics
|
|
34
|
-
|
|
35
|
-
### OSSA Schema
|
|
36
|
-
|
|
37
|
-
**Location**: [OSSA/spec/v0.2.6/ossa-0.2.6.schema.json](https://github.com/blueflyio/openstandardagents/blob/development/spec/v0.2.6/ossa-0.2.6.schema.json)
|
|
38
|
-
|
|
39
|
-
JSON Schema definition for OSSA 1.0 manifest validation. All agent manifests must conform to this schema.
|
|
40
|
-
|
|
41
|
-
## Validation
|
|
42
|
-
|
|
43
|
-
### OSSA Manifest Validation
|
|
44
|
-
|
|
45
|
-
Validate the manifest against OSSA 1.0 schema:
|
|
46
|
-
|
|
47
|
-
```yaml
|
|
48
|
-
ossa validate examples/aiflow-integration/social-agent-aiflow.ossa.yaml
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
This checks:
|
|
52
|
-
- Schema compliance against OSSA 1.0 specification
|
|
53
|
-
- Required fields and type correctness
|
|
54
|
-
- Capability schema definitions
|
|
55
|
-
- Dependency declarations
|
|
56
|
-
- Environment variable definitions
|
|
57
|
-
|
|
58
|
-
### OpenAPI Specification Validation
|
|
59
|
-
|
|
60
|
-
Validate OpenAPI spec with strict mode and K-Agent metadata checks:
|
|
61
|
-
|
|
62
|
-
```yaml
|
|
63
|
-
buildkit openapi validate --spec openapi/aiflow-agent.openapi.yml --strict
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
This validates:
|
|
67
|
-
- OpenAPI 3.1 syntax and semantics
|
|
68
|
-
- x-k-agent extension metadata for Kubernetes
|
|
69
|
-
- Endpoint schemas match OSSA capability definitions
|
|
70
|
-
- Health check endpoint compliance
|
|
71
|
-
|
|
72
|
-
## Deployment
|
|
73
|
-
|
|
74
|
-
Deploy via agent-buildkit orchestration:
|
|
75
|
-
|
|
76
|
-
```yaml
|
|
77
|
-
buildkit orchestrate deploy --manifest examples/aiflow-integration/social-agent-aiflow.ossa.yaml
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
This generates Kubernetes manifests and deploys the agent with:
|
|
81
|
-
- Rolling deployment strategy
|
|
82
|
-
- Horizontal Pod Autoscaling (HPA)
|
|
83
|
-
- Health checks and readiness probes
|
|
84
|
-
- Service account and RBAC configuration
|
|
85
|
-
- ConfigMap for character definitions
|
|
86
|
-
- Persistent volume for memory database
|
|
87
|
-
|
|
88
|
-
## Integration Architecture
|
|
89
|
-
|
|
90
|
-
1. **OSSA Manifest** → Defines agent structure and requirements
|
|
91
|
-
2. **OpenAPI Spec** → REST API contract with K8s metadata
|
|
92
|
-
3. **FastAPI Bridge** → Wraps AIFlow Sia runtime in REST API
|
|
93
|
-
4. **BuildKit Deployment** → Generates and applies K8s manifests
|
|
94
|
-
5. **Runtime Orchestration** → Kubernetes manages agent lifecycle
|
|
95
|
-
|
|
96
|
-
## Resources
|
|
97
|
-
|
|
98
|
-
- **AIFlow Repository**: https://github.com/AIFlow-agent/AIFlow-Agent
|
|
99
|
-
- **OSSA Project**: [openapi-ai-agents-standard](https://github.com/blueflyio/openstandardagents)
|
|
100
|
-
- **Integration Guide**: [agent-buildkit Wiki](https://github.com/blueflyio/openstandardagents/wiki/AIFlow-Integration-with-OSSA-BuildKit-and-K-Agent)
|
|
101
|
-
- **OSSA Specification Schema**: [OSSA 1.0 Schema](https://github.com/blueflyio/openstandardagents/blob/development/spec/v0.2.6/ossa-0.2.6.schema.json)
|
|
102
|
-
- **Example Manifest**: [social-agent-aiflow.ossa.yaml](https://github.com/blueflyio/openstandardagents/blob/development/examples/aiflow-integration/social-agent-aiflow.ossa.yaml)
|
|
103
|
-
- **OpenAPI Spec**: [aiflow-agent.openapi.yml](https://github.com/blueflyio/openstandardagents/blob/development/openapi/aiflow-agent.openapi.yml)
|
|
104
|
-
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: "Drupal Integration"
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Drupal Integration
|
|
6
|
-
|
|
7
|
-
Integrate OSSA agents with Drupal's LLM Platform.
|
|
8
|
-
|
|
9
|
-
## Overview
|
|
10
|
-
|
|
11
|
-
The OSSA Drupal modules provide:
|
|
12
|
-
- Agent management UI
|
|
13
|
-
- Workflow orchestration
|
|
14
|
-
- CrewAI integration
|
|
15
|
-
- Marketplace for agents
|
|
16
|
-
|
|
17
|
-
## Available Modules
|
|
18
|
-
|
|
19
|
-
| Module | Description |
|
|
20
|
-
|--------|-------------|
|
|
21
|
-
| ai_agents_ossa | Core OSSA integration |
|
|
22
|
-
| ai_agents_orchestra | Workflow orchestration |
|
|
23
|
-
| ai_agents_crewai | CrewAI framework bridge |
|
|
24
|
-
| ai_agents_marketplace | Agent marketplace |
|
|
25
|
-
| ai_agents_huggingface | HuggingFace models |
|
|
26
|
-
|
|
27
|
-
## Installation
|
|
28
|
-
|
|
29
|
-
### Via Composer
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
composer require drupal/ai_agents_ossa
|
|
33
|
-
drush en ai_agents_ossa
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Configuration
|
|
37
|
-
|
|
38
|
-
1. Go to `/admin/config/ai/agents`
|
|
39
|
-
2. Configure LLM provider credentials
|
|
40
|
-
3. Import OSSA manifests
|
|
41
|
-
|
|
42
|
-
## Creating Agents in Drupal
|
|
43
|
-
|
|
44
|
-
### Using the UI
|
|
45
|
-
|
|
46
|
-
1. Navigate to `/admin/content/agents`
|
|
47
|
-
2. Click "Add Agent"
|
|
48
|
-
3. Upload OSSA manifest or configure inline
|
|
49
|
-
|
|
50
|
-
### Using Drush
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
# Import agent from manifest
|
|
54
|
-
drush ai:agent:import path/to/agent.ossa.yaml
|
|
55
|
-
|
|
56
|
-
# List agents
|
|
57
|
-
drush ai:agent:list
|
|
58
|
-
|
|
59
|
-
# Run agent
|
|
60
|
-
drush ai:agent:run my-agent "Hello"
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## Workflow Orchestration
|
|
64
|
-
|
|
65
|
-
The `ai_agents_orchestra` module enables multi-agent workflows:
|
|
66
|
-
|
|
67
|
-
```yaml
|
|
68
|
-
# workflow.ossa.yaml
|
|
69
|
-
apiVersion: ossa/v0.2.x
|
|
70
|
-
kind: AgentGraph
|
|
71
|
-
|
|
72
|
-
metadata:
|
|
73
|
-
name: support-workflow
|
|
74
|
-
|
|
75
|
-
spec:
|
|
76
|
-
agents:
|
|
77
|
-
- ref: triage-agent
|
|
78
|
-
- ref: resolver-agent
|
|
79
|
-
edges:
|
|
80
|
-
- from: triage-agent
|
|
81
|
-
to: resolver-agent
|
|
82
|
-
process: sequential
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## ECA Integration
|
|
86
|
-
|
|
87
|
-
OSSA agents work with Drupal's ECA (Event-Condition-Action):
|
|
88
|
-
|
|
89
|
-
- Trigger agents on content events
|
|
90
|
-
- Use agent responses in conditions
|
|
91
|
-
- Chain multiple agents
|
|
92
|
-
|
|
93
|
-
## API Endpoints
|
|
94
|
-
|
|
95
|
-
| Endpoint | Method | Description |
|
|
96
|
-
|----------|--------|-------------|
|
|
97
|
-
| `/api/agents` | GET | List agents |
|
|
98
|
-
| `/api/agents/{id}/run` | POST | Run agent |
|
|
99
|
-
| `/api/agents/{id}/status` | GET | Agent status |
|
|
100
|
-
|
|
101
|
-
## Next Steps
|
|
102
|
-
|
|
103
|
-
- [OSSA Manifest Reference](/docs/schema-reference)
|
|
104
|
-
- [Orchestra Module Docs](https://github.com/blueflyio/drupal/ai_agents_orchestra)
|
|
105
|
-
- [CrewAI Integration](/docs/migration-guides/crewai-to-ossa)
|