@bluefly/openstandardagents 0.2.4

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 (371) hide show
  1. package/.env.example +41 -0
  2. package/.eslintrc.cjs +43 -0
  3. package/.github/PULL_REQUEST_TEMPLATE.md +39 -0
  4. package/.github/dependabot.yml +58 -0
  5. package/.github/workflows/ci.yml +154 -0
  6. package/.github/workflows/codeql.yml +41 -0
  7. package/.github/workflows/dependabot-auto-merge.yml +28 -0
  8. package/.github/workflows/release.yml +103 -0
  9. package/.prettierignore +7 -0
  10. package/.prettierrc.json +10 -0
  11. package/.redocly.yaml +9 -0
  12. package/.releaserc.json +84 -0
  13. package/.releaserc.json.disabled +81 -0
  14. package/CHANGELOG.md +152 -0
  15. package/CONTRIBUTING.md +249 -0
  16. package/LICENSE +190 -0
  17. package/README.md +280 -0
  18. package/bin/ossa +8 -0
  19. package/bin/validate-ossa-0.2.2.ts +244 -0
  20. package/dist/di-container.d.ts +18 -0
  21. package/dist/di-container.d.ts.map +1 -0
  22. package/dist/di-container.js +43 -0
  23. package/dist/di-container.js.map +1 -0
  24. package/dist/index.d.ts +13 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +17 -0
  27. package/dist/index.js.map +1 -0
  28. package/dist/repositories/manifest.repository.d.ts +26 -0
  29. package/dist/repositories/manifest.repository.d.ts.map +1 -0
  30. package/dist/repositories/manifest.repository.js +90 -0
  31. package/dist/repositories/manifest.repository.js.map +1 -0
  32. package/dist/repositories/schema.repository.d.ts +30 -0
  33. package/dist/repositories/schema.repository.d.ts.map +1 -0
  34. package/dist/repositories/schema.repository.js +143 -0
  35. package/dist/repositories/schema.repository.js.map +1 -0
  36. package/dist/services/generation.service.d.ts +54 -0
  37. package/dist/services/generation.service.d.ts.map +1 -0
  38. package/dist/services/generation.service.js +298 -0
  39. package/dist/services/generation.service.js.map +1 -0
  40. package/dist/services/migration.service.d.ts +30 -0
  41. package/dist/services/migration.service.d.ts.map +1 -0
  42. package/dist/services/migration.service.js +231 -0
  43. package/dist/services/migration.service.js.map +1 -0
  44. package/dist/services/runtime/openai.adapter.d.ts +94 -0
  45. package/dist/services/runtime/openai.adapter.d.ts.map +1 -0
  46. package/dist/services/runtime/openai.adapter.js +209 -0
  47. package/dist/services/runtime/openai.adapter.js.map +1 -0
  48. package/dist/services/validation.service.d.ts +45 -0
  49. package/dist/services/validation.service.d.ts.map +1 -0
  50. package/dist/services/validation.service.js +362 -0
  51. package/dist/services/validation.service.js.map +1 -0
  52. package/dist/services/validators/anthropic.validator.d.ts +9 -0
  53. package/dist/services/validators/anthropic.validator.d.ts.map +1 -0
  54. package/dist/services/validators/anthropic.validator.js +105 -0
  55. package/dist/services/validators/anthropic.validator.js.map +1 -0
  56. package/dist/services/validators/autogen.validator.d.ts +9 -0
  57. package/dist/services/validators/autogen.validator.d.ts.map +1 -0
  58. package/dist/services/validators/autogen.validator.js +111 -0
  59. package/dist/services/validators/autogen.validator.js.map +1 -0
  60. package/dist/services/validators/crewai.validator.d.ts +9 -0
  61. package/dist/services/validators/crewai.validator.d.ts.map +1 -0
  62. package/dist/services/validators/crewai.validator.js +117 -0
  63. package/dist/services/validators/crewai.validator.js.map +1 -0
  64. package/dist/services/validators/cursor.validator.d.ts +9 -0
  65. package/dist/services/validators/cursor.validator.d.ts.map +1 -0
  66. package/dist/services/validators/cursor.validator.js +88 -0
  67. package/dist/services/validators/cursor.validator.js.map +1 -0
  68. package/dist/services/validators/index.d.ts +15 -0
  69. package/dist/services/validators/index.d.ts.map +1 -0
  70. package/dist/services/validators/index.js +15 -0
  71. package/dist/services/validators/index.js.map +1 -0
  72. package/dist/services/validators/langchain.validator.d.ts +9 -0
  73. package/dist/services/validators/langchain.validator.d.ts.map +1 -0
  74. package/dist/services/validators/langchain.validator.js +103 -0
  75. package/dist/services/validators/langchain.validator.js.map +1 -0
  76. package/dist/services/validators/langflow.validator.d.ts +9 -0
  77. package/dist/services/validators/langflow.validator.d.ts.map +1 -0
  78. package/dist/services/validators/langflow.validator.js +92 -0
  79. package/dist/services/validators/langflow.validator.js.map +1 -0
  80. package/dist/services/validators/langgraph.validator.d.ts +9 -0
  81. package/dist/services/validators/langgraph.validator.d.ts.map +1 -0
  82. package/dist/services/validators/langgraph.validator.js +123 -0
  83. package/dist/services/validators/langgraph.validator.js.map +1 -0
  84. package/dist/services/validators/llamaindex.validator.d.ts +9 -0
  85. package/dist/services/validators/llamaindex.validator.d.ts.map +1 -0
  86. package/dist/services/validators/llamaindex.validator.js +121 -0
  87. package/dist/services/validators/llamaindex.validator.js.map +1 -0
  88. package/dist/services/validators/openai.validator.d.ts +9 -0
  89. package/dist/services/validators/openai.validator.d.ts.map +1 -0
  90. package/dist/services/validators/openai.validator.js +126 -0
  91. package/dist/services/validators/openai.validator.js.map +1 -0
  92. package/dist/services/validators/vercel-ai.validator.d.ts +9 -0
  93. package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -0
  94. package/dist/services/validators/vercel-ai.validator.js +99 -0
  95. package/dist/services/validators/vercel-ai.validator.js.map +1 -0
  96. package/dist/spec/v0.1.9/agent-autonomous-extensions.json +234 -0
  97. package/dist/spec/v0.1.9/ecosystem-compliance.json +235 -0
  98. package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json +695 -0
  99. package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
  100. package/dist/spec/v0.1.9/reasoning-compliance.json +654 -0
  101. package/dist/spec/v0.2.2/kagent-enhancements.json +395 -0
  102. package/dist/spec/v0.2.2/ossa-0.2.2.schema.json +906 -0
  103. package/dist/spec/v0.2.2/ossa-0.2.2.yaml +448 -0
  104. package/dist/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +424 -0
  105. package/dist/spec/v0.2.3/CHANGELOG.md +176 -0
  106. package/dist/spec/v0.2.3/README.md +154 -0
  107. package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +343 -0
  108. package/dist/spec/v0.2.3/ossa-0.2.3.schema.json +1397 -0
  109. package/dist/spec/v0.2.3/ossa-0.2.3.yaml +448 -0
  110. package/dist/spec/v0.2.4-dev/CHANGELOG.md +403 -0
  111. package/dist/spec/v0.2.4-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
  112. package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.schema.json +1696 -0
  113. package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
  114. package/dist/spec/v0.2.5-dev/CHANGELOG.md +171 -0
  115. package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +362 -0
  116. package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +464 -0
  117. package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +440 -0
  118. package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +317 -0
  119. package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.schema.json +1732 -0
  120. package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +409 -0
  121. package/dist/types/index.d.ts +178 -0
  122. package/dist/types/index.d.ts.map +1 -0
  123. package/dist/types/index.js +6 -0
  124. package/dist/types/index.js.map +1 -0
  125. package/dist/types/openapi-extensions.d.ts +164 -0
  126. package/dist/types/openapi-extensions.d.ts.map +1 -0
  127. package/dist/types/openapi-extensions.js +6 -0
  128. package/dist/types/openapi-extensions.js.map +1 -0
  129. package/docs/OSSA-COMPLIANT-BADGE.md +248 -0
  130. package/docs/README.md +31 -0
  131. package/docs/VERSIONING.md +284 -0
  132. package/docs/agent-openapi-spec.yml +942 -0
  133. package/docs/getting-started.md +87 -0
  134. package/docs/migration/general-agent-schema.yml +255 -0
  135. package/docs/migration/migration-manifest.json +64 -0
  136. package/docs/openapi-extensions.md +930 -0
  137. package/docs/schemas/openapi-extensions.schema.json +486 -0
  138. package/examples/adk-integration/code-review-workflow.yml +136 -0
  139. package/examples/adk-integration/customer-support.yml +263 -0
  140. package/examples/adk-integration/data-pipeline.yml +173 -0
  141. package/examples/advanced/patterns/compliance-context-production.json +53 -0
  142. package/examples/advanced/patterns/model-router.ts +274 -0
  143. package/examples/advanced/patterns/smart-model-routing.ts +248 -0
  144. package/examples/advanced/workflows/hybrid-model-strategy.yaml +232 -0
  145. package/examples/agent-manifests/critics/critic-agent.yaml +149 -0
  146. package/examples/agent-manifests/governors/governor-agent.yaml +128 -0
  147. package/examples/agent-manifests/integrators/integrator-agent.yaml +103 -0
  148. package/examples/agent-manifests/judges/judge-agent.yaml +153 -0
  149. package/examples/agent-manifests/monitors/monitor-agent.yaml +122 -0
  150. package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +247 -0
  151. package/examples/agent-manifests/sample-compliant-agent.yaml +147 -0
  152. package/examples/agent-manifests/workers/worker-agent.yaml +82 -0
  153. package/examples/anthropic/claude-assistant.ossa.json +45 -0
  154. package/examples/architecture/model-configuration/ollama-integration.ts +110 -0
  155. package/examples/autogen/multi-agent.ossa.json +37 -0
  156. package/examples/bridge-configurations.yaml +346 -0
  157. package/examples/bridges/Dockerfile.production +87 -0
  158. package/examples/bridges/__pycache__/aiflow-bridge-enhanced.cpython-313.pyc +0 -0
  159. package/examples/bridges/__pycache__/aiflow-phoenix-tracing.cpython-313.pyc +0 -0
  160. package/examples/bridges/__pycache__/test_aiflow_integration.cpython-313.pyc +0 -0
  161. package/examples/bridges/aiflow-bridge-enhanced.py +462 -0
  162. package/examples/bridges/aiflow-bridge-example.yml +310 -0
  163. package/examples/bridges/aiflow-phoenix-tracing.py +310 -0
  164. package/examples/bridges/aiflow-registration-api.openapi.yml +439 -0
  165. package/examples/bridges/k8s/configmap.yaml +121 -0
  166. package/examples/bridges/k8s/deployment-simple.yaml +34 -0
  167. package/examples/bridges/k8s/deployment.yaml +275 -0
  168. package/examples/bridges/k8s/hpa.yaml +126 -0
  169. package/examples/bridges/k8s/ingress.yaml +155 -0
  170. package/examples/bridges/kagent-bridge-example.yml +94 -0
  171. package/examples/bridges/load-tests/Dockerfile +28 -0
  172. package/examples/bridges/load-tests/k6-load-test.js +302 -0
  173. package/examples/bridges/load-tests/requirements.txt +20 -0
  174. package/examples/bridges/loadtest/k6-scenarios.js +270 -0
  175. package/examples/bridges/phase4/SLO-SLA.yaml +249 -0
  176. package/examples/bridges/phase4/chaos-tests.yaml +226 -0
  177. package/examples/bridges/requirements.txt +24 -0
  178. package/examples/bridges/test_aiflow_integration.py +341 -0
  179. package/examples/common_npm/agent-router.ossa.yaml +182 -0
  180. package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +60 -0
  181. package/examples/compliance-agent.yml +155 -0
  182. package/examples/crewai/research-team.ossa.json +36 -0
  183. package/examples/cursor/code-review-agent.ossa.json +47 -0
  184. package/examples/drupal/gitlab-ml-recommender.ossa.yaml +609 -0
  185. package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +68 -0
  186. package/examples/enterprise/agent.yml +452 -0
  187. package/examples/extensions/drupal-v1.yml +266 -0
  188. package/examples/extensions/kagent-v1.yml +167 -0
  189. package/examples/getting-started/hello-world-complete.ossa.yaml +266 -0
  190. package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +376 -0
  191. package/examples/kagent/README.md +31 -0
  192. package/examples/kagent/compliance-validator.ossa.yaml +111 -0
  193. package/examples/kagent/cost-optimizer.ossa.yaml +93 -0
  194. package/examples/kagent/documentation-agent.ossa.yaml +91 -0
  195. package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +269 -0
  196. package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +106 -0
  197. package/examples/kagent/k8s-troubleshooter.ossa.yaml +257 -0
  198. package/examples/kagent/security-scanner.ossa.yaml +140 -0
  199. package/examples/langchain/chain-agent.ossa.json +42 -0
  200. package/examples/langflow/workflow-agent.ossa.json +39 -0
  201. package/examples/langgraph/state-machine-agent.ossa.json +59 -0
  202. package/examples/llamaindex/rag-agent.ossa.json +41 -0
  203. package/examples/migration-guides/from-langchain-to-ossa.yaml +309 -0
  204. package/examples/minimal/agent.yml +152 -0
  205. package/examples/minimal/openapi.yaml +95 -0
  206. package/examples/openai/swarm-agent.ossa.json +59 -0
  207. package/examples/openapi-extensions/README.md +87 -0
  208. package/examples/openapi-extensions/minimal-agent-api.openapi.yml +288 -0
  209. package/examples/openapi-extensions/orchestrator-agent-api.openapi.yml +633 -0
  210. package/examples/openapi-extensions/worker-agent-api.openapi.yml +533 -0
  211. package/examples/production/agent.yml +713 -0
  212. package/examples/production/document-analyzer-openai.yml +134 -0
  213. package/examples/quickstart/support-agent.ossa.yaml +59 -0
  214. package/examples/service-registry-usage.ts +423 -0
  215. package/examples/spec-examples/audit-agent.yml +147 -0
  216. package/examples/spec-examples/chat-agent.yml +189 -0
  217. package/examples/spec-examples/compliance-agent.yml +204 -0
  218. package/examples/spec-examples/data-processing-agent.yml +132 -0
  219. package/examples/spec-examples/development-agent.yml +138 -0
  220. package/examples/spec-examples/edge-agent.yml +101 -0
  221. package/examples/spec-examples/integration-agent.yml +129 -0
  222. package/examples/spec-examples/monitoring-agent.yml +130 -0
  223. package/examples/spec-examples/serverless-agent.yml +82 -0
  224. package/examples/spec-examples/workflow-agent.yml +223 -0
  225. package/examples/templates/ossa-compliance.yaml +56 -0
  226. package/examples/typescript/advanced/demo-registry.ts +168 -0
  227. package/examples/typescript/mcpb-agent-example.ts +358 -0
  228. package/examples/vercel/edge-agent.ossa.json +43 -0
  229. package/infrastructure/docker-compose.yml +33 -0
  230. package/junit.xml +1 -0
  231. package/openapi/drupal-agent-api.openapi.yaml +348 -0
  232. package/openapi/gitlab-orchestrator.openapi.yaml +330 -0
  233. package/openapi/helm-generator.openapi.yaml +389 -0
  234. package/openapi/ossa-core-api.openapi.yaml +1448 -0
  235. package/openapi/ossa-registry-api.openapi.yaml +980 -0
  236. package/openapi/ossa-registry.openapi.yaml +782 -0
  237. package/openapi/self-evolving-ecosystem.openapi.yaml +1530 -0
  238. package/openapi/unified-agent-gateway.openapi.yaml +833 -0
  239. package/ossa-website-swarm-tasks.json +105 -0
  240. package/package.json +132 -0
  241. package/release.config.js +64 -0
  242. package/spec/v0.1.9/agent-autonomous-extensions.json +234 -0
  243. package/spec/v0.1.9/ecosystem-compliance.json +235 -0
  244. package/spec/v0.1.9/ossa-v0.1.9.schema.json +695 -0
  245. package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
  246. package/spec/v0.1.9/reasoning-compliance.json +654 -0
  247. package/spec/v0.2.2/kagent-enhancements.json +395 -0
  248. package/spec/v0.2.2/ossa-0.2.2.schema.json +906 -0
  249. package/spec/v0.2.2/ossa-0.2.2.yaml +448 -0
  250. package/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +424 -0
  251. package/spec/v0.2.3/CHANGELOG.md +176 -0
  252. package/spec/v0.2.3/README.md +154 -0
  253. package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +343 -0
  254. package/spec/v0.2.3/ossa-0.2.3.schema.json +1397 -0
  255. package/spec/v0.2.3/ossa-0.2.3.yaml +448 -0
  256. package/spec/v0.2.4-dev/CHANGELOG.md +403 -0
  257. package/spec/v0.2.4-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
  258. package/spec/v0.2.4-dev/ossa-0.2.4-dev.schema.json +1696 -0
  259. package/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
  260. package/spec/v0.2.5-dev/CHANGELOG.md +171 -0
  261. package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +362 -0
  262. package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +464 -0
  263. package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +440 -0
  264. package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +317 -0
  265. package/spec/v0.2.5-dev/ossa-0.2.5-dev.schema.json +1732 -0
  266. package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +409 -0
  267. package/test-results.xml +1 -0
  268. package/website/.lighthouserc.js +20 -0
  269. package/website/.prettierrc +10 -0
  270. package/website/Dockerfile +17 -0
  271. package/website/app/about/page.tsx +295 -0
  272. package/website/app/api/validate/route.ts +88 -0
  273. package/website/app/blog/[slug]/page.tsx +167 -0
  274. package/website/app/blog/page.tsx +162 -0
  275. package/website/app/docs/[[...slug]]/page.tsx +349 -0
  276. package/website/app/docs/core-concepts/project-structure/page.tsx +349 -0
  277. package/website/app/ecosystem/page.tsx +375 -0
  278. package/website/app/examples/page.tsx +123 -0
  279. package/website/app/globals.css +108 -0
  280. package/website/app/layout.tsx +106 -0
  281. package/website/app/page.tsx +409 -0
  282. package/website/app/playground/page.tsx +507 -0
  283. package/website/app/robots.ts +19 -0
  284. package/website/app/rss.xml/route.ts +74 -0
  285. package/website/app/schema/page.tsx +970 -0
  286. package/website/app/sitemap.ts +56 -0
  287. package/website/app/specification/page.tsx +211 -0
  288. package/website/components/InstallCommand.tsx +96 -0
  289. package/website/components/Logo.tsx +24 -0
  290. package/website/components/StructuredData.tsx +65 -0
  291. package/website/components/docs/DocsSearch.tsx +104 -0
  292. package/website/components/docs/DocsSidebar.tsx +118 -0
  293. package/website/components/docs/MarkdownContent.tsx +183 -0
  294. package/website/components/docs/VersionSelector.tsx +49 -0
  295. package/website/components/examples/ExamplesViewer.tsx +293 -0
  296. package/website/components/layout/Footer.tsx +111 -0
  297. package/website/components/layout/Header.tsx +170 -0
  298. package/website/components/schema/SchemaExplorer.tsx +213 -0
  299. package/website/content/blog/OpenAPI-AI-Agents-Standard.md +285 -0
  300. package/website/content/blog/Why-Formal-Standards-Matter-Now.md +209 -0
  301. package/website/content/blog/introducing-ossa-framework.md +328 -0
  302. package/website/content/blog/ossa-production-results.md +279 -0
  303. package/website/content/blog/welcome-to-ossa.md +43 -0
  304. package/website/content/blog/why-ai-agents-need-open-standard.md +98 -0
  305. package/website/content/docs/00-HOME.md +160 -0
  306. package/website/content/docs/AIFlow-Framework-Integration-with-OSSA.md +107 -0
  307. package/website/content/docs/OpenAPI-Extensions.md +498 -0
  308. package/website/content/docs/architecture/execution-flow.md +335 -0
  309. package/website/content/docs/architecture/multi-agent-systems.md +737 -0
  310. package/website/content/docs/architecture/overview.md +121 -0
  311. package/website/content/docs/architecture/stack-integration.md +461 -0
  312. package/website/content/docs/changelog.md +246 -0
  313. package/website/content/docs/contributing.md +599 -0
  314. package/website/content/docs/core-concepts/project-structure.md +348 -0
  315. package/website/content/docs/ecosystem/framework-support.md +821 -0
  316. package/website/content/docs/ecosystem/overview.md +366 -0
  317. package/website/content/docs/examples/Migration-Guides.md +214 -0
  318. package/website/content/docs/examples.md +71 -0
  319. package/website/content/docs/for-audiences/Enterprises.md +256 -0
  320. package/website/content/docs/for-audiences/Students-Researchers.md +122 -0
  321. package/website/content/docs/for-audiences/architects.md +224 -0
  322. package/website/content/docs/for-audiences/developers.md +220 -0
  323. package/website/content/docs/getting-started/5-minute-overview.md +85 -0
  324. package/website/content/docs/getting-started/Hello-World.md +184 -0
  325. package/website/content/docs/getting-started/first-agent.md +196 -0
  326. package/website/content/docs/getting-started/installation.md +155 -0
  327. package/website/content/docs/getting-started/running-agents.md +107 -0
  328. package/website/content/docs/integrations/aiflow.md +104 -0
  329. package/website/content/docs/integrations/drupal.md +105 -0
  330. package/website/content/docs/migration-guides/00-index.md +76 -0
  331. package/website/content/docs/migration-guides/README.md +133 -0
  332. package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +1750 -0
  333. package/website/content/docs/migration-guides/crewai-to-ossa.md +274 -0
  334. package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +2017 -0
  335. package/website/content/docs/migration-guides/index.md +133 -0
  336. package/website/content/docs/migration-guides/langchain-to-ossa.md +1714 -0
  337. package/website/content/docs/migration-guides/langflow-to-ossa.md +2075 -0
  338. package/website/content/docs/migration-guides/openai-to-ossa.md +1202 -0
  339. package/website/content/docs/openapi-extensions/examples.md +550 -0
  340. package/website/content/docs/openapi-extensions/index.md +495 -0
  341. package/website/content/docs/openapi-extensions/operation-extensions.md +398 -0
  342. package/website/content/docs/openapi-extensions/root-extensions.md +364 -0
  343. package/website/content/docs/pre-release/index.md +175 -0
  344. package/website/content/docs/quick-reference.md +17 -0
  345. package/website/content/docs/schema-reference/agent-spec.md +406 -0
  346. package/website/content/docs/schema-reference/autonomy.md +568 -0
  347. package/website/content/docs/schema-reference/constraints.md +543 -0
  348. package/website/content/docs/schema-reference/index.md +176 -0
  349. package/website/content/docs/schema-reference/llm-config.md +445 -0
  350. package/website/content/docs/schema-reference/observability.md +654 -0
  351. package/website/content/docs/schema-reference/ossa-manifest.md +309 -0
  352. package/website/content/docs/schema-reference/taxonomy.md +509 -0
  353. package/website/content/docs/schema-reference/tools.md +628 -0
  354. package/website/content/docs/templates/blog-post.md +43 -0
  355. package/website/content/docs/use-cases/00-index.md +395 -0
  356. package/website/content/docs/use-cases/cicd-code-review.md +1236 -0
  357. package/website/content/docs/use-cases/customer-support.md +1234 -0
  358. package/website/content/docs/use-cases/enterprise-compliance.md +1208 -0
  359. package/website/content/docs/use-cases/research-multi-agent.md +1161 -0
  360. package/website/lib/version.ts +18 -0
  361. package/website/next.config.js +17 -0
  362. package/website/next.config.ts +16 -0
  363. package/website/nginx.conf +32 -0
  364. package/website/package-lock.json +9145 -0
  365. package/website/package.json +53 -0
  366. package/website/postcss.config.js +7 -0
  367. package/website/postcss.config.mjs +9 -0
  368. package/website/scripts/sync-version.js +44 -0
  369. package/website/scripts/sync-wiki.ts +261 -0
  370. package/website/tailwind.config.js +58 -0
  371. package/website/tailwind.config.ts +65 -0
@@ -0,0 +1,906 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://openstandardagents.org/schemas/v0.2.2/agent.json",
4
+ "title": "OSSA v0.2.2 Agent Manifest Schema",
5
+ "description": "Open Standard for Scalable AI Agents (OSSA) - The OpenAPI for AI Agents. Specification for declarative agent definition with framework-agnostic portability.",
6
+ "type": "object",
7
+ "required": [
8
+ "apiVersion",
9
+ "kind",
10
+ "metadata",
11
+ "spec"
12
+ ],
13
+ "properties": {
14
+ "apiVersion": {
15
+ "type": "string",
16
+ "pattern": "^ossa/v(0\\.2\\.2|1)(\\.[0-9]+)?(-[a-zA-Z0-9]+)?$",
17
+ "description": "OSSA API version (supports ossa/v0.2.2 or ossa/v1 for compatibility)",
18
+ "examples": [
19
+ "ossa/v1",
20
+ "ossa/v0.2.2",
21
+ "ossa/v1.0"
22
+ ]
23
+ },
24
+ "kind": {
25
+ "type": "string",
26
+ "enum": [
27
+ "Agent"
28
+ ],
29
+ "description": "Resource type - currently only 'Agent' is supported"
30
+ },
31
+ "metadata": {
32
+ "$ref": "#/definitions/Metadata"
33
+ },
34
+ "spec": {
35
+ "$ref": "#/definitions/AgentSpec"
36
+ },
37
+ "extensions": {
38
+ "type": "object",
39
+ "description": "Framework-specific extensions for integration with kagent, buildkit, drupal, librechat, mcp, and other frameworks",
40
+ "properties": {
41
+ "kagent": {
42
+ "$ref": "#/definitions/KAgentExtension"
43
+ },
44
+ "buildkit": {
45
+ "$ref": "#/definitions/BuildKitExtension"
46
+ },
47
+ "drupal": {
48
+ "$ref": "#/definitions/DrupalExtension"
49
+ },
50
+ "librechat": {
51
+ "$ref": "#/definitions/LibreChatExtension"
52
+ },
53
+ "mcp": {
54
+ "$ref": "#/definitions/MCPExtension"
55
+ },
56
+ "langchain": {
57
+ "$ref": "#/definitions/LangChainExtension"
58
+ },
59
+ "crewai": {
60
+ "$ref": "#/definitions/CrewAIExtension"
61
+ },
62
+ "openai_agents": {
63
+ "$ref": "#/definitions/OpenAIAgentsExtension"
64
+ }
65
+ },
66
+ "additionalProperties": true
67
+ }
68
+ },
69
+ "additionalProperties": false,
70
+ "definitions": {
71
+ "Metadata": {
72
+ "type": "object",
73
+ "required": [
74
+ "name"
75
+ ],
76
+ "properties": {
77
+ "name": {
78
+ "type": "string",
79
+ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
80
+ "maxLength": 253,
81
+ "description": "Agent identifier (DNS-1123 subdomain format for Kubernetes compatibility)"
82
+ },
83
+ "version": {
84
+ "type": "string",
85
+ "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
86
+ "description": "Semantic version (semver 2.0.0)"
87
+ },
88
+ "description": {
89
+ "type": "string",
90
+ "maxLength": 2000,
91
+ "description": "Human-readable description of agent purpose and capabilities"
92
+ },
93
+ "labels": {
94
+ "type": "object",
95
+ "additionalProperties": {
96
+ "type": "string",
97
+ "maxLength": 63
98
+ },
99
+ "description": "Key-value labels for organization and filtering"
100
+ },
101
+ "annotations": {
102
+ "type": "object",
103
+ "additionalProperties": {
104
+ "type": "string"
105
+ },
106
+ "description": "Arbitrary metadata for tooling (not used for filtering)"
107
+ }
108
+ },
109
+ "additionalProperties": false
110
+ },
111
+ "AgentSpec": {
112
+ "type": "object",
113
+ "required": [
114
+ "role"
115
+ ],
116
+ "properties": {
117
+ "taxonomy": {
118
+ "$ref": "#/definitions/Taxonomy"
119
+ },
120
+ "role": {
121
+ "type": "string",
122
+ "minLength": 1,
123
+ "description": "Agent role/system prompt describing behavior and capabilities"
124
+ },
125
+ "llm": {
126
+ "$ref": "#/definitions/LLMConfig"
127
+ },
128
+ "tools": {
129
+ "type": "array",
130
+ "items": {
131
+ "$ref": "#/definitions/Tool"
132
+ },
133
+ "description": "Available tools/capabilities for the agent"
134
+ },
135
+ "autonomy": {
136
+ "$ref": "#/definitions/Autonomy"
137
+ },
138
+ "constraints": {
139
+ "$ref": "#/definitions/Constraints"
140
+ },
141
+ "observability": {
142
+ "$ref": "#/definitions/Observability"
143
+ }
144
+ },
145
+ "additionalProperties": true
146
+ },
147
+ "Taxonomy": {
148
+ "type": "object",
149
+ "required": [
150
+ "domain"
151
+ ],
152
+ "properties": {
153
+ "domain": {
154
+ "type": "string",
155
+ "description": "Primary domain classification",
156
+ "examples": [
157
+ "infrastructure",
158
+ "security",
159
+ "compliance",
160
+ "documentation"
161
+ ]
162
+ },
163
+ "subdomain": {
164
+ "type": "string",
165
+ "description": "Secondary classification within domain",
166
+ "examples": [
167
+ "kubernetes",
168
+ "vulnerability",
169
+ "generation"
170
+ ]
171
+ },
172
+ "capability": {
173
+ "type": "string",
174
+ "description": "Specific capability or function",
175
+ "examples": [
176
+ "troubleshooting",
177
+ "scanning",
178
+ "optimization"
179
+ ]
180
+ }
181
+ },
182
+ "additionalProperties": false
183
+ },
184
+ "LLMConfig": {
185
+ "type": "object",
186
+ "required": [
187
+ "provider",
188
+ "model"
189
+ ],
190
+ "properties": {
191
+ "provider": {
192
+ "type": "string",
193
+ "enum": [
194
+ "openai",
195
+ "anthropic",
196
+ "google",
197
+ "azure",
198
+ "ollama",
199
+ "custom"
200
+ ],
201
+ "description": "LLM provider"
202
+ },
203
+ "model": {
204
+ "type": "string",
205
+ "description": "Model identifier",
206
+ "examples": [
207
+ "gpt-4",
208
+ "claude-3-sonnet-20240229",
209
+ "gemini-pro"
210
+ ]
211
+ },
212
+ "temperature": {
213
+ "type": "number",
214
+ "minimum": 0,
215
+ "maximum": 2,
216
+ "description": "Sampling temperature for response generation"
217
+ },
218
+ "maxTokens": {
219
+ "type": "integer",
220
+ "minimum": 1,
221
+ "description": "Maximum tokens per request"
222
+ },
223
+ "topP": {
224
+ "type": "number",
225
+ "minimum": 0,
226
+ "maximum": 1,
227
+ "description": "Nucleus sampling parameter"
228
+ },
229
+ "frequencyPenalty": {
230
+ "type": "number",
231
+ "minimum": -2,
232
+ "maximum": 2,
233
+ "description": "Frequency penalty for token generation"
234
+ },
235
+ "presencePenalty": {
236
+ "type": "number",
237
+ "minimum": -2,
238
+ "maximum": 2,
239
+ "description": "Presence penalty for token generation"
240
+ }
241
+ },
242
+ "additionalProperties": false
243
+ },
244
+ "Tool": {
245
+ "type": "object",
246
+ "required": [
247
+ "type"
248
+ ],
249
+ "properties": {
250
+ "type": {
251
+ "type": "string",
252
+ "enum": [
253
+ "mcp",
254
+ "kubernetes",
255
+ "http",
256
+ "grpc",
257
+ "function",
258
+ "custom"
259
+ ],
260
+ "description": "Tool integration type"
261
+ },
262
+ "name": {
263
+ "type": "string",
264
+ "description": "Tool name/identifier"
265
+ },
266
+ "server": {
267
+ "type": "string",
268
+ "description": "MCP server name (for type=mcp)"
269
+ },
270
+ "namespace": {
271
+ "type": "string",
272
+ "description": "Kubernetes namespace (for type=kubernetes or mcp)"
273
+ },
274
+ "endpoint": {
275
+ "type": "string",
276
+ "format": "uri",
277
+ "description": "HTTP/gRPC endpoint (for type=http/grpc)"
278
+ },
279
+ "capabilities": {
280
+ "type": "array",
281
+ "items": {
282
+ "type": "string"
283
+ },
284
+ "description": "Specific capabilities/operations from this tool"
285
+ },
286
+ "config": {
287
+ "type": "object",
288
+ "description": "Tool-specific configuration",
289
+ "additionalProperties": true
290
+ },
291
+ "auth": {
292
+ "type": "object",
293
+ "properties": {
294
+ "type": {
295
+ "type": "string",
296
+ "enum": [
297
+ "bearer",
298
+ "oauth2",
299
+ "mtls",
300
+ "apikey",
301
+ "none"
302
+ ]
303
+ },
304
+ "credentials": {
305
+ "type": "string",
306
+ "description": "Reference to secret/credential (not the actual secret)"
307
+ }
308
+ }
309
+ }
310
+ },
311
+ "additionalProperties": false
312
+ },
313
+ "Autonomy": {
314
+ "type": "object",
315
+ "properties": {
316
+ "level": {
317
+ "type": "string",
318
+ "enum": [
319
+ "supervised",
320
+ "autonomous",
321
+ "fully_autonomous"
322
+ ],
323
+ "description": "Level of autonomy for agent decision-making"
324
+ },
325
+ "approval_required": {
326
+ "type": "boolean",
327
+ "description": "Whether human approval is required for actions"
328
+ },
329
+ "allowed_actions": {
330
+ "type": "array",
331
+ "items": {
332
+ "type": "string"
333
+ },
334
+ "description": "Whitelist of permitted actions"
335
+ },
336
+ "blocked_actions": {
337
+ "type": "array",
338
+ "items": {
339
+ "type": "string"
340
+ },
341
+ "description": "Blacklist of forbidden actions"
342
+ },
343
+ "escalation_policy": {
344
+ "type": "object",
345
+ "description": "Rules for escalating to human oversight"
346
+ }
347
+ },
348
+ "additionalProperties": false
349
+ },
350
+ "Constraints": {
351
+ "type": "object",
352
+ "properties": {
353
+ "cost": {
354
+ "type": "object",
355
+ "properties": {
356
+ "maxTokensPerDay": {
357
+ "type": "integer",
358
+ "minimum": 0
359
+ },
360
+ "maxTokensPerRequest": {
361
+ "type": "integer",
362
+ "minimum": 0
363
+ },
364
+ "maxCostPerDay": {
365
+ "type": "number",
366
+ "minimum": 0
367
+ },
368
+ "currency": {
369
+ "type": "string",
370
+ "pattern": "^[A-Z]{3}$",
371
+ "default": "USD"
372
+ }
373
+ }
374
+ },
375
+ "performance": {
376
+ "type": "object",
377
+ "properties": {
378
+ "maxLatencySeconds": {
379
+ "type": "number",
380
+ "minimum": 0
381
+ },
382
+ "maxConcurrentRequests": {
383
+ "type": "integer",
384
+ "minimum": 1
385
+ },
386
+ "timeoutSeconds": {
387
+ "type": "number",
388
+ "minimum": 0
389
+ }
390
+ }
391
+ },
392
+ "resources": {
393
+ "type": "object",
394
+ "properties": {
395
+ "cpu": {
396
+ "type": "string",
397
+ "description": "CPU limit (Kubernetes format: 100m, 1, 2.5)"
398
+ },
399
+ "memory": {
400
+ "type": "string",
401
+ "description": "Memory limit (Kubernetes format: 128Mi, 1Gi)"
402
+ },
403
+ "gpu": {
404
+ "type": "string",
405
+ "description": "GPU requirement"
406
+ }
407
+ }
408
+ }
409
+ },
410
+ "additionalProperties": false
411
+ },
412
+ "Observability": {
413
+ "type": "object",
414
+ "properties": {
415
+ "tracing": {
416
+ "type": "object",
417
+ "properties": {
418
+ "enabled": {
419
+ "type": "boolean",
420
+ "default": true
421
+ },
422
+ "exporter": {
423
+ "type": "string",
424
+ "enum": [
425
+ "otlp",
426
+ "jaeger",
427
+ "zipkin",
428
+ "custom"
429
+ ]
430
+ },
431
+ "endpoint": {
432
+ "type": "string",
433
+ "format": "uri"
434
+ }
435
+ }
436
+ },
437
+ "metrics": {
438
+ "type": "object",
439
+ "properties": {
440
+ "enabled": {
441
+ "type": "boolean",
442
+ "default": true
443
+ },
444
+ "exporter": {
445
+ "type": "string",
446
+ "enum": [
447
+ "prometheus",
448
+ "otlp",
449
+ "custom"
450
+ ]
451
+ },
452
+ "endpoint": {
453
+ "type": "string",
454
+ "format": "uri"
455
+ }
456
+ }
457
+ },
458
+ "logging": {
459
+ "type": "object",
460
+ "properties": {
461
+ "level": {
462
+ "type": "string",
463
+ "enum": [
464
+ "debug",
465
+ "info",
466
+ "warn",
467
+ "error"
468
+ ],
469
+ "default": "info"
470
+ },
471
+ "format": {
472
+ "type": "string",
473
+ "enum": [
474
+ "json",
475
+ "text"
476
+ ],
477
+ "default": "json"
478
+ }
479
+ }
480
+ }
481
+ },
482
+ "additionalProperties": false
483
+ },
484
+ "KAgentExtension": {
485
+ "type": "object",
486
+ "description": "kagent.dev Kubernetes-native agent deployment extension",
487
+ "properties": {
488
+ "kubernetes": {
489
+ "type": "object",
490
+ "properties": {
491
+ "namespace": {
492
+ "type": "string",
493
+ "default": "default",
494
+ "description": "Target Kubernetes namespace"
495
+ },
496
+ "labels": {
497
+ "type": "object",
498
+ "additionalProperties": {
499
+ "type": "string"
500
+ },
501
+ "description": "Kubernetes labels for agent CRD"
502
+ },
503
+ "annotations": {
504
+ "type": "object",
505
+ "additionalProperties": {
506
+ "type": "string"
507
+ },
508
+ "description": "Kubernetes annotations"
509
+ }
510
+ }
511
+ },
512
+ "deployment": {
513
+ "type": "object",
514
+ "properties": {
515
+ "replicas": {
516
+ "type": "integer",
517
+ "minimum": 1,
518
+ "default": 1
519
+ },
520
+ "strategy": {
521
+ "type": "string",
522
+ "enum": ["rolling-update", "recreate"],
523
+ "default": "rolling-update"
524
+ }
525
+ }
526
+ },
527
+ "api_version": {
528
+ "type": "string",
529
+ "description": "kagent.dev API version (e.g., kagent.dev/v1alpha2)",
530
+ "default": "kagent.dev/v1alpha2"
531
+ }
532
+ },
533
+ "additionalProperties": true
534
+ },
535
+ "BuildKitExtension": {
536
+ "type": "object",
537
+ "description": "Agent BuildKit deployment and orchestration extension",
538
+ "properties": {
539
+ "deployment": {
540
+ "type": "object",
541
+ "properties": {
542
+ "replicas": {
543
+ "type": "object",
544
+ "properties": {
545
+ "min": {
546
+ "type": "integer",
547
+ "default": 1
548
+ },
549
+ "max": {
550
+ "type": "integer",
551
+ "default": 4
552
+ }
553
+ }
554
+ }
555
+ }
556
+ },
557
+ "container": {
558
+ "type": "object",
559
+ "properties": {
560
+ "image": {
561
+ "type": "string",
562
+ "description": "Container image"
563
+ },
564
+ "runtime": {
565
+ "type": "string",
566
+ "enum": ["docker", "podman", "containerd"],
567
+ "default": "docker"
568
+ },
569
+ "resources": {
570
+ "type": "object",
571
+ "description": "Container resource limits"
572
+ }
573
+ }
574
+ }
575
+ },
576
+ "additionalProperties": true
577
+ },
578
+ "DrupalExtension": {
579
+ "type": "object",
580
+ "description": "Drupal LLM Platform integration extension",
581
+ "properties": {
582
+ "module": {
583
+ "type": "string",
584
+ "pattern": "^[a-z][a-z0-9_]*$",
585
+ "description": "Drupal module that owns this agent"
586
+ },
587
+ "service": {
588
+ "type": "string",
589
+ "pattern": "^[a-z][a-z0-9_]*\\.[a-z][a-z0-9_]*$",
590
+ "description": "Drupal service ID (module.service format)"
591
+ },
592
+ "dependencies": {
593
+ "type": "array",
594
+ "items": {
595
+ "type": "string",
596
+ "pattern": "^[a-z][a-z0-9_]*$"
597
+ },
598
+ "description": "Required Drupal modules"
599
+ },
600
+ "database": {
601
+ "type": "object",
602
+ "properties": {
603
+ "tables": {
604
+ "type": "array",
605
+ "items": {
606
+ "type": "string"
607
+ }
608
+ },
609
+ "migrations": {
610
+ "type": "array",
611
+ "items": {
612
+ "type": "string"
613
+ }
614
+ }
615
+ }
616
+ }
617
+ },
618
+ "additionalProperties": true
619
+ },
620
+ "LibreChatExtension": {
621
+ "type": "object",
622
+ "description": "LibreChat integration extension",
623
+ "properties": {
624
+ "enabled": {
625
+ "type": "boolean",
626
+ "default": true
627
+ },
628
+ "agent_id": {
629
+ "type": "string",
630
+ "description": "LibreChat agent identifier"
631
+ },
632
+ "endpoint": {
633
+ "type": "string",
634
+ "format": "uri",
635
+ "description": "LibreChat API endpoint"
636
+ },
637
+ "authentication": {
638
+ "type": "object",
639
+ "description": "LibreChat authentication configuration"
640
+ }
641
+ },
642
+ "additionalProperties": true
643
+ },
644
+ "MCPExtension": {
645
+ "type": "object",
646
+ "description": "Model Context Protocol (MCP) extension",
647
+ "properties": {
648
+ "enabled": {
649
+ "type": "boolean",
650
+ "default": true
651
+ },
652
+ "server_type": {
653
+ "type": "string",
654
+ "enum": ["stdio", "sse", "websocket"],
655
+ "default": "stdio"
656
+ },
657
+ "server_name": {
658
+ "type": "string",
659
+ "description": "MCP server name"
660
+ },
661
+ "config": {
662
+ "type": "object",
663
+ "description": "MCP server configuration"
664
+ }
665
+ },
666
+ "additionalProperties": true
667
+ },
668
+ "LangChainExtension": {
669
+ "type": "object",
670
+ "description": "LangChain framework integration extension",
671
+ "properties": {
672
+ "enabled": {
673
+ "type": "boolean",
674
+ "default": false
675
+ },
676
+ "tool_class": {
677
+ "type": "string",
678
+ "description": "LangChain tool class name"
679
+ },
680
+ "chain_type": {
681
+ "type": "string",
682
+ "enum": ["llm", "retrieval", "agent", "sequential", "custom"]
683
+ },
684
+ "memory": {
685
+ "type": "object",
686
+ "properties": {
687
+ "type": {
688
+ "type": "string",
689
+ "enum": ["buffer", "summary", "conversation", "vector"]
690
+ },
691
+ "max_tokens": {
692
+ "type": "integer"
693
+ }
694
+ }
695
+ }
696
+ },
697
+ "additionalProperties": true
698
+ },
699
+ "CrewAIExtension": {
700
+ "type": "object",
701
+ "description": "CrewAI framework integration extension",
702
+ "properties": {
703
+ "enabled": {
704
+ "type": "boolean",
705
+ "default": false
706
+ },
707
+ "agent_type": {
708
+ "type": "string",
709
+ "enum": ["worker", "manager", "researcher", "analyst", "custom"]
710
+ },
711
+ "role": {
712
+ "type": "string",
713
+ "description": "CrewAI agent role"
714
+ },
715
+ "goal": {
716
+ "type": "string",
717
+ "description": "CrewAI agent goal"
718
+ },
719
+ "backstory": {
720
+ "type": "string",
721
+ "description": "CrewAI agent backstory"
722
+ },
723
+ "tools": {
724
+ "type": "array",
725
+ "items": {
726
+ "type": "string"
727
+ },
728
+ "description": "CrewAI tool names"
729
+ }
730
+ },
731
+ "additionalProperties": true
732
+ },
733
+ "OpenAIAgentsExtension": {
734
+ "type": "object",
735
+ "description": "OpenAI Agents SDK integration extension",
736
+ "properties": {
737
+ "enabled": {
738
+ "type": "boolean",
739
+ "default": false,
740
+ "description": "Enable OpenAI Agents SDK bridge"
741
+ },
742
+ "agent_id": {
743
+ "type": "string",
744
+ "description": "OpenAI agent ID (optional, auto-generated if not provided)"
745
+ },
746
+ "instructions": {
747
+ "type": "string",
748
+ "description": "Agent instructions/prompt (overrides spec.role if provided)"
749
+ },
750
+ "model": {
751
+ "type": "string",
752
+ "enum": [
753
+ "gpt-4o",
754
+ "gpt-4o-mini",
755
+ "gpt-4-turbo",
756
+ "gpt-3.5-turbo"
757
+ ],
758
+ "default": "gpt-4o-mini",
759
+ "description": "OpenAI model to use for the agent"
760
+ },
761
+ "tools_mapping": {
762
+ "type": "array",
763
+ "description": "Map OSSA capabilities to OpenAI tools",
764
+ "items": {
765
+ "type": "object",
766
+ "required": [
767
+ "ossa_capability"
768
+ ],
769
+ "properties": {
770
+ "ossa_capability": {
771
+ "type": "string",
772
+ "description": "OSSA capability name to map"
773
+ },
774
+ "openai_tool_name": {
775
+ "type": "string",
776
+ "description": "OpenAI tool name (defaults to ossa_capability if not provided)"
777
+ },
778
+ "description": {
779
+ "type": "string",
780
+ "description": "Tool description (defaults to OSSA capability description)"
781
+ },
782
+ "parameters": {
783
+ "type": "object",
784
+ "description": "OpenAI tool parameter schema (auto-generated from OSSA input_schema if not provided)"
785
+ }
786
+ },
787
+ "additionalProperties": false
788
+ }
789
+ },
790
+ "sub_agents": {
791
+ "type": "array",
792
+ "description": "Sub-agent handoffs configuration",
793
+ "items": {
794
+ "type": "object",
795
+ "required": [
796
+ "agent_id",
797
+ "ossa_agent_ref"
798
+ ],
799
+ "properties": {
800
+ "agent_id": {
801
+ "type": "string",
802
+ "description": "OpenAI sub-agent identifier"
803
+ },
804
+ "ossa_agent_ref": {
805
+ "type": "string",
806
+ "description": "Reference to OSSA agent (metadata.name or agent ID)"
807
+ },
808
+ "handoff_conditions": {
809
+ "type": "array",
810
+ "items": {
811
+ "type": "string"
812
+ },
813
+ "description": "Conditions that trigger handoff to this sub-agent"
814
+ },
815
+ "instructions": {
816
+ "type": "string",
817
+ "description": "Sub-agent specific instructions"
818
+ }
819
+ },
820
+ "additionalProperties": false
821
+ }
822
+ },
823
+ "guardrails": {
824
+ "type": "object",
825
+ "description": "Safety guardrails configuration",
826
+ "properties": {
827
+ "enabled": {
828
+ "type": "boolean",
829
+ "default": true
830
+ },
831
+ "policies": {
832
+ "type": "array",
833
+ "items": {
834
+ "type": "string"
835
+ },
836
+ "description": "Guardrail policy names (maps to OSSA compliance frameworks)"
837
+ },
838
+ "max_tool_calls": {
839
+ "type": "integer",
840
+ "minimum": 1,
841
+ "description": "Maximum tool calls per agent execution"
842
+ },
843
+ "timeout_seconds": {
844
+ "type": "integer",
845
+ "minimum": 1,
846
+ "description": "Maximum execution time in seconds"
847
+ }
848
+ },
849
+ "additionalProperties": false
850
+ },
851
+ "memory": {
852
+ "type": "object",
853
+ "description": "Session memory configuration",
854
+ "properties": {
855
+ "enabled": {
856
+ "type": "boolean",
857
+ "default": false
858
+ },
859
+ "type": {
860
+ "type": "string",
861
+ "enum": [
862
+ "session",
863
+ "persistent"
864
+ ],
865
+ "default": "session",
866
+ "description": "Memory storage type"
867
+ },
868
+ "max_messages": {
869
+ "type": "integer",
870
+ "minimum": 1,
871
+ "description": "Maximum messages to retain in memory"
872
+ }
873
+ },
874
+ "additionalProperties": false
875
+ },
876
+ "tracing": {
877
+ "type": "object",
878
+ "description": "Observability and tracing configuration",
879
+ "properties": {
880
+ "enabled": {
881
+ "type": "boolean",
882
+ "default": true
883
+ },
884
+ "provider": {
885
+ "type": "string",
886
+ "enum": [
887
+ "langfuse",
888
+ "langsmith",
889
+ "custom"
890
+ ],
891
+ "default": "langfuse",
892
+ "description": "Tracing provider"
893
+ },
894
+ "endpoint": {
895
+ "type": "string",
896
+ "format": "uri",
897
+ "description": "Custom tracing endpoint (for provider=custom)"
898
+ }
899
+ },
900
+ "additionalProperties": false
901
+ }
902
+ },
903
+ "additionalProperties": true
904
+ }
905
+ }
906
+ }