@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,1397 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://openstandardagents.org/schemas/v0.2.3/agent.json",
4
+ "title": "OSSA v0.2.3 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-3]|1)(\\.[0-9]+)?(-[a-zA-Z0-9]+)?$",
17
+ "description": "OSSA API version (supports ossa/v0.2.2, ossa/v0.2.3, or ossa/v1 for compatibility)",
18
+ "examples": [
19
+ "ossa/v1",
20
+ "ossa/v0.2.3",
21
+ "ossa/v0.2.2",
22
+ "ossa/v1.0"
23
+ ]
24
+ },
25
+ "kind": {
26
+ "type": "string",
27
+ "enum": [
28
+ "Agent"
29
+ ],
30
+ "description": "Resource type - currently only 'Agent' is supported"
31
+ },
32
+ "metadata": {
33
+ "$ref": "#/definitions/Metadata"
34
+ },
35
+ "spec": {
36
+ "$ref": "#/definitions/AgentSpec"
37
+ },
38
+ "extensions": {
39
+ "type": "object",
40
+ "description": "Framework-specific extensions for integration with kagent, buildkit, drupal, librechat, mcp, langchain, crewai, openai_agents, cursor, langflow, autogen, vercel_ai, llamaindex, langgraph, anthropic, and other frameworks",
41
+ "properties": {
42
+ "kagent": {
43
+ "$ref": "#/definitions/KAgentExtension"
44
+ },
45
+ "buildkit": {
46
+ "$ref": "#/definitions/BuildKitExtension"
47
+ },
48
+ "drupal": {
49
+ "$ref": "#/definitions/DrupalExtension"
50
+ },
51
+ "librechat": {
52
+ "$ref": "#/definitions/LibreChatExtension"
53
+ },
54
+ "mcp": {
55
+ "$ref": "#/definitions/MCPExtension"
56
+ },
57
+ "langchain": {
58
+ "$ref": "#/definitions/LangChainExtension"
59
+ },
60
+ "crewai": {
61
+ "$ref": "#/definitions/CrewAIExtension"
62
+ },
63
+ "openai_agents": {
64
+ "$ref": "#/definitions/OpenAIAgentsExtension"
65
+ },
66
+ "cursor": {
67
+ "$ref": "#/definitions/CursorExtension"
68
+ },
69
+ "langflow": {
70
+ "$ref": "#/definitions/LangflowExtension"
71
+ },
72
+ "autogen": {
73
+ "$ref": "#/definitions/AutoGenExtension"
74
+ },
75
+ "vercel_ai": {
76
+ "$ref": "#/definitions/VercelAIExtension"
77
+ },
78
+ "llamaindex": {
79
+ "$ref": "#/definitions/LlamaIndexExtension"
80
+ },
81
+ "langgraph": {
82
+ "$ref": "#/definitions/LangGraphExtension"
83
+ },
84
+ "anthropic": {
85
+ "$ref": "#/definitions/AnthropicExtension"
86
+ }
87
+ },
88
+ "additionalProperties": true
89
+ }
90
+ },
91
+ "additionalProperties": false,
92
+ "definitions": {
93
+ "Metadata": {
94
+ "type": "object",
95
+ "required": [
96
+ "name"
97
+ ],
98
+ "properties": {
99
+ "name": {
100
+ "type": "string",
101
+ "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
102
+ "maxLength": 253,
103
+ "description": "Agent identifier (DNS-1123 subdomain format for Kubernetes compatibility)"
104
+ },
105
+ "version": {
106
+ "type": "string",
107
+ "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-]+)*))?$",
108
+ "description": "Semantic version (semver 2.0.0)"
109
+ },
110
+ "description": {
111
+ "type": "string",
112
+ "maxLength": 2000,
113
+ "description": "Human-readable description of agent purpose and capabilities"
114
+ },
115
+ "labels": {
116
+ "type": "object",
117
+ "additionalProperties": {
118
+ "type": "string",
119
+ "maxLength": 63
120
+ },
121
+ "description": "Key-value labels for organization and filtering"
122
+ },
123
+ "annotations": {
124
+ "type": "object",
125
+ "additionalProperties": {
126
+ "type": "string"
127
+ },
128
+ "description": "Arbitrary metadata for tooling (not used for filtering)"
129
+ }
130
+ },
131
+ "additionalProperties": false
132
+ },
133
+ "AgentSpec": {
134
+ "type": "object",
135
+ "required": [
136
+ "role"
137
+ ],
138
+ "properties": {
139
+ "taxonomy": {
140
+ "$ref": "#/definitions/Taxonomy"
141
+ },
142
+ "role": {
143
+ "type": "string",
144
+ "minLength": 1,
145
+ "description": "Agent role/system prompt describing behavior and capabilities"
146
+ },
147
+ "llm": {
148
+ "$ref": "#/definitions/LLMConfig"
149
+ },
150
+ "tools": {
151
+ "type": "array",
152
+ "items": {
153
+ "$ref": "#/definitions/Tool"
154
+ },
155
+ "description": "Available tools/capabilities for the agent"
156
+ },
157
+ "autonomy": {
158
+ "$ref": "#/definitions/Autonomy"
159
+ },
160
+ "constraints": {
161
+ "$ref": "#/definitions/Constraints"
162
+ },
163
+ "observability": {
164
+ "$ref": "#/definitions/Observability"
165
+ }
166
+ },
167
+ "additionalProperties": true
168
+ },
169
+ "Taxonomy": {
170
+ "type": "object",
171
+ "required": [
172
+ "domain"
173
+ ],
174
+ "properties": {
175
+ "domain": {
176
+ "type": "string",
177
+ "description": "Primary domain classification",
178
+ "examples": [
179
+ "infrastructure",
180
+ "security",
181
+ "compliance",
182
+ "documentation"
183
+ ]
184
+ },
185
+ "subdomain": {
186
+ "type": "string",
187
+ "description": "Secondary classification within domain",
188
+ "examples": [
189
+ "kubernetes",
190
+ "vulnerability",
191
+ "generation"
192
+ ]
193
+ },
194
+ "capability": {
195
+ "type": "string",
196
+ "description": "Specific capability or function",
197
+ "examples": [
198
+ "troubleshooting",
199
+ "scanning",
200
+ "optimization"
201
+ ]
202
+ }
203
+ },
204
+ "additionalProperties": false
205
+ },
206
+ "LLMConfig": {
207
+ "type": "object",
208
+ "required": [
209
+ "provider",
210
+ "model"
211
+ ],
212
+ "properties": {
213
+ "provider": {
214
+ "type": "string",
215
+ "enum": [
216
+ "openai",
217
+ "anthropic",
218
+ "google",
219
+ "azure",
220
+ "ollama",
221
+ "custom"
222
+ ],
223
+ "description": "LLM provider"
224
+ },
225
+ "model": {
226
+ "type": "string",
227
+ "description": "Model identifier",
228
+ "examples": [
229
+ "gpt-4",
230
+ "claude-3-sonnet-20240229",
231
+ "gemini-pro"
232
+ ]
233
+ },
234
+ "temperature": {
235
+ "type": "number",
236
+ "minimum": 0,
237
+ "maximum": 2,
238
+ "description": "Sampling temperature for response generation"
239
+ },
240
+ "maxTokens": {
241
+ "type": "integer",
242
+ "minimum": 1,
243
+ "description": "Maximum tokens per request"
244
+ },
245
+ "topP": {
246
+ "type": "number",
247
+ "minimum": 0,
248
+ "maximum": 1,
249
+ "description": "Nucleus sampling parameter"
250
+ },
251
+ "frequencyPenalty": {
252
+ "type": "number",
253
+ "minimum": -2,
254
+ "maximum": 2,
255
+ "description": "Frequency penalty for token generation"
256
+ },
257
+ "presencePenalty": {
258
+ "type": "number",
259
+ "minimum": -2,
260
+ "maximum": 2,
261
+ "description": "Presence penalty for token generation"
262
+ }
263
+ },
264
+ "additionalProperties": false
265
+ },
266
+ "Tool": {
267
+ "type": "object",
268
+ "required": [
269
+ "type"
270
+ ],
271
+ "properties": {
272
+ "type": {
273
+ "type": "string",
274
+ "enum": [
275
+ "mcp",
276
+ "kubernetes",
277
+ "http",
278
+ "grpc",
279
+ "function",
280
+ "custom"
281
+ ],
282
+ "description": "Tool integration type"
283
+ },
284
+ "name": {
285
+ "type": "string",
286
+ "description": "Tool name/identifier"
287
+ },
288
+ "server": {
289
+ "type": "string",
290
+ "description": "MCP server name (for type=mcp)"
291
+ },
292
+ "namespace": {
293
+ "type": "string",
294
+ "description": "Kubernetes namespace (for type=kubernetes or mcp)"
295
+ },
296
+ "endpoint": {
297
+ "type": "string",
298
+ "format": "uri",
299
+ "description": "HTTP/gRPC endpoint (for type=http/grpc)"
300
+ },
301
+ "capabilities": {
302
+ "type": "array",
303
+ "items": {
304
+ "type": "string"
305
+ },
306
+ "description": "Specific capabilities/operations from this tool"
307
+ },
308
+ "config": {
309
+ "type": "object",
310
+ "description": "Tool-specific configuration",
311
+ "additionalProperties": true
312
+ },
313
+ "auth": {
314
+ "type": "object",
315
+ "properties": {
316
+ "type": {
317
+ "type": "string",
318
+ "enum": [
319
+ "bearer",
320
+ "oauth2",
321
+ "mtls",
322
+ "apikey",
323
+ "none"
324
+ ]
325
+ },
326
+ "credentials": {
327
+ "type": "string",
328
+ "description": "Reference to secret/credential (not the actual secret)"
329
+ }
330
+ }
331
+ }
332
+ },
333
+ "additionalProperties": false
334
+ },
335
+ "Autonomy": {
336
+ "type": "object",
337
+ "properties": {
338
+ "level": {
339
+ "type": "string",
340
+ "enum": [
341
+ "supervised",
342
+ "autonomous",
343
+ "fully_autonomous"
344
+ ],
345
+ "description": "Level of autonomy for agent decision-making"
346
+ },
347
+ "approval_required": {
348
+ "type": "boolean",
349
+ "description": "Whether human approval is required for actions"
350
+ },
351
+ "allowed_actions": {
352
+ "type": "array",
353
+ "items": {
354
+ "type": "string"
355
+ },
356
+ "description": "Whitelist of permitted actions"
357
+ },
358
+ "blocked_actions": {
359
+ "type": "array",
360
+ "items": {
361
+ "type": "string"
362
+ },
363
+ "description": "Blacklist of forbidden actions"
364
+ },
365
+ "escalation_policy": {
366
+ "type": "object",
367
+ "description": "Rules for escalating to human oversight"
368
+ }
369
+ },
370
+ "additionalProperties": false
371
+ },
372
+ "Constraints": {
373
+ "type": "object",
374
+ "properties": {
375
+ "cost": {
376
+ "type": "object",
377
+ "properties": {
378
+ "maxTokensPerDay": {
379
+ "type": "integer",
380
+ "minimum": 0
381
+ },
382
+ "maxTokensPerRequest": {
383
+ "type": "integer",
384
+ "minimum": 0
385
+ },
386
+ "maxCostPerDay": {
387
+ "type": "number",
388
+ "minimum": 0
389
+ },
390
+ "currency": {
391
+ "type": "string",
392
+ "pattern": "^[A-Z]{3}$",
393
+ "default": "USD"
394
+ }
395
+ }
396
+ },
397
+ "performance": {
398
+ "type": "object",
399
+ "properties": {
400
+ "maxLatencySeconds": {
401
+ "type": "number",
402
+ "minimum": 0
403
+ },
404
+ "maxConcurrentRequests": {
405
+ "type": "integer",
406
+ "minimum": 1
407
+ },
408
+ "timeoutSeconds": {
409
+ "type": "number",
410
+ "minimum": 0
411
+ }
412
+ }
413
+ },
414
+ "resources": {
415
+ "type": "object",
416
+ "properties": {
417
+ "cpu": {
418
+ "type": "string",
419
+ "description": "CPU limit (Kubernetes format: 100m, 1, 2.5)"
420
+ },
421
+ "memory": {
422
+ "type": "string",
423
+ "description": "Memory limit (Kubernetes format: 128Mi, 1Gi)"
424
+ },
425
+ "gpu": {
426
+ "type": "string",
427
+ "description": "GPU requirement"
428
+ }
429
+ }
430
+ }
431
+ },
432
+ "additionalProperties": false
433
+ },
434
+ "Observability": {
435
+ "type": "object",
436
+ "properties": {
437
+ "tracing": {
438
+ "type": "object",
439
+ "properties": {
440
+ "enabled": {
441
+ "type": "boolean",
442
+ "default": true
443
+ },
444
+ "exporter": {
445
+ "type": "string",
446
+ "enum": [
447
+ "otlp",
448
+ "jaeger",
449
+ "zipkin",
450
+ "custom"
451
+ ]
452
+ },
453
+ "endpoint": {
454
+ "type": "string",
455
+ "format": "uri"
456
+ }
457
+ }
458
+ },
459
+ "metrics": {
460
+ "type": "object",
461
+ "properties": {
462
+ "enabled": {
463
+ "type": "boolean",
464
+ "default": true
465
+ },
466
+ "exporter": {
467
+ "type": "string",
468
+ "enum": [
469
+ "prometheus",
470
+ "otlp",
471
+ "custom"
472
+ ]
473
+ },
474
+ "endpoint": {
475
+ "type": "string",
476
+ "format": "uri"
477
+ }
478
+ }
479
+ },
480
+ "logging": {
481
+ "type": "object",
482
+ "properties": {
483
+ "level": {
484
+ "type": "string",
485
+ "enum": [
486
+ "debug",
487
+ "info",
488
+ "warn",
489
+ "error"
490
+ ],
491
+ "default": "info"
492
+ },
493
+ "format": {
494
+ "type": "string",
495
+ "enum": [
496
+ "json",
497
+ "text"
498
+ ],
499
+ "default": "json"
500
+ }
501
+ }
502
+ }
503
+ },
504
+ "additionalProperties": false
505
+ },
506
+ "KAgentExtension": {
507
+ "type": "object",
508
+ "description": "kagent.dev Kubernetes-native agent deployment extension",
509
+ "properties": {
510
+ "kubernetes": {
511
+ "type": "object",
512
+ "properties": {
513
+ "namespace": {
514
+ "type": "string",
515
+ "default": "default",
516
+ "description": "Target Kubernetes namespace"
517
+ },
518
+ "labels": {
519
+ "type": "object",
520
+ "additionalProperties": {
521
+ "type": "string"
522
+ },
523
+ "description": "Kubernetes labels for agent CRD"
524
+ },
525
+ "annotations": {
526
+ "type": "object",
527
+ "additionalProperties": {
528
+ "type": "string"
529
+ },
530
+ "description": "Kubernetes annotations"
531
+ }
532
+ }
533
+ },
534
+ "deployment": {
535
+ "type": "object",
536
+ "properties": {
537
+ "replicas": {
538
+ "type": "integer",
539
+ "minimum": 1,
540
+ "default": 1
541
+ },
542
+ "strategy": {
543
+ "type": "string",
544
+ "enum": ["rolling-update", "recreate"],
545
+ "default": "rolling-update"
546
+ }
547
+ }
548
+ },
549
+ "api_version": {
550
+ "type": "string",
551
+ "description": "kagent.dev API version (e.g., kagent.dev/v1alpha2)",
552
+ "default": "kagent.dev/v1alpha2"
553
+ }
554
+ },
555
+ "additionalProperties": true
556
+ },
557
+ "BuildKitExtension": {
558
+ "type": "object",
559
+ "description": "Agent BuildKit deployment and orchestration extension",
560
+ "properties": {
561
+ "deployment": {
562
+ "type": "object",
563
+ "properties": {
564
+ "replicas": {
565
+ "type": "object",
566
+ "properties": {
567
+ "min": {
568
+ "type": "integer",
569
+ "default": 1
570
+ },
571
+ "max": {
572
+ "type": "integer",
573
+ "default": 4
574
+ }
575
+ }
576
+ }
577
+ }
578
+ },
579
+ "container": {
580
+ "type": "object",
581
+ "properties": {
582
+ "image": {
583
+ "type": "string",
584
+ "description": "Container image"
585
+ },
586
+ "runtime": {
587
+ "type": "string",
588
+ "enum": ["docker", "podman", "containerd"],
589
+ "default": "docker"
590
+ },
591
+ "resources": {
592
+ "type": "object",
593
+ "description": "Container resource limits"
594
+ }
595
+ }
596
+ }
597
+ },
598
+ "additionalProperties": true
599
+ },
600
+ "DrupalExtension": {
601
+ "type": "object",
602
+ "description": "Drupal LLM Platform integration extension",
603
+ "properties": {
604
+ "module": {
605
+ "type": "string",
606
+ "pattern": "^[a-z][a-z0-9_]*$",
607
+ "description": "Drupal module that owns this agent"
608
+ },
609
+ "service": {
610
+ "type": "string",
611
+ "pattern": "^[a-z][a-z0-9_]*\\.[a-z][a-z0-9_]*$",
612
+ "description": "Drupal service ID (module.service format)"
613
+ },
614
+ "dependencies": {
615
+ "type": "array",
616
+ "items": {
617
+ "type": "string",
618
+ "pattern": "^[a-z][a-z0-9_]*$"
619
+ },
620
+ "description": "Required Drupal modules"
621
+ },
622
+ "database": {
623
+ "type": "object",
624
+ "properties": {
625
+ "tables": {
626
+ "type": "array",
627
+ "items": {
628
+ "type": "string"
629
+ }
630
+ },
631
+ "migrations": {
632
+ "type": "array",
633
+ "items": {
634
+ "type": "string"
635
+ }
636
+ }
637
+ }
638
+ }
639
+ },
640
+ "additionalProperties": true
641
+ },
642
+ "LibreChatExtension": {
643
+ "type": "object",
644
+ "description": "LibreChat integration extension",
645
+ "properties": {
646
+ "enabled": {
647
+ "type": "boolean",
648
+ "default": true
649
+ },
650
+ "agent_id": {
651
+ "type": "string",
652
+ "description": "LibreChat agent identifier"
653
+ },
654
+ "endpoint": {
655
+ "type": "string",
656
+ "format": "uri",
657
+ "description": "LibreChat API endpoint"
658
+ },
659
+ "authentication": {
660
+ "type": "object",
661
+ "description": "LibreChat authentication configuration"
662
+ }
663
+ },
664
+ "additionalProperties": true
665
+ },
666
+ "MCPExtension": {
667
+ "type": "object",
668
+ "description": "Model Context Protocol (MCP) extension",
669
+ "properties": {
670
+ "enabled": {
671
+ "type": "boolean",
672
+ "default": true
673
+ },
674
+ "server_type": {
675
+ "type": "string",
676
+ "enum": ["stdio", "sse", "websocket"],
677
+ "default": "stdio"
678
+ },
679
+ "server_name": {
680
+ "type": "string",
681
+ "description": "MCP server name"
682
+ },
683
+ "config": {
684
+ "type": "object",
685
+ "description": "MCP server configuration"
686
+ }
687
+ },
688
+ "additionalProperties": true
689
+ },
690
+ "LangChainExtension": {
691
+ "type": "object",
692
+ "description": "LangChain framework integration extension",
693
+ "properties": {
694
+ "enabled": {
695
+ "type": "boolean",
696
+ "default": false
697
+ },
698
+ "tool_class": {
699
+ "type": "string",
700
+ "description": "LangChain tool class name"
701
+ },
702
+ "chain_type": {
703
+ "type": "string",
704
+ "enum": ["llm", "retrieval", "agent", "sequential", "custom"]
705
+ },
706
+ "memory": {
707
+ "type": "object",
708
+ "properties": {
709
+ "type": {
710
+ "type": "string",
711
+ "enum": ["buffer", "summary", "conversation", "vector"]
712
+ },
713
+ "max_tokens": {
714
+ "type": "integer"
715
+ }
716
+ }
717
+ }
718
+ },
719
+ "additionalProperties": true
720
+ },
721
+ "CrewAIExtension": {
722
+ "type": "object",
723
+ "description": "CrewAI framework integration extension",
724
+ "properties": {
725
+ "enabled": {
726
+ "type": "boolean",
727
+ "default": false
728
+ },
729
+ "agent_type": {
730
+ "type": "string",
731
+ "enum": ["worker", "manager", "researcher", "analyst", "custom"]
732
+ },
733
+ "role": {
734
+ "type": "string",
735
+ "description": "CrewAI agent role"
736
+ },
737
+ "goal": {
738
+ "type": "string",
739
+ "description": "CrewAI agent goal"
740
+ },
741
+ "backstory": {
742
+ "type": "string",
743
+ "description": "CrewAI agent backstory"
744
+ },
745
+ "tools": {
746
+ "type": "array",
747
+ "items": {
748
+ "type": "string"
749
+ },
750
+ "description": "CrewAI tool names"
751
+ }
752
+ },
753
+ "additionalProperties": true
754
+ },
755
+ "OpenAIAgentsExtension": {
756
+ "type": "object",
757
+ "description": "OpenAI Agents SDK integration extension",
758
+ "properties": {
759
+ "enabled": {
760
+ "type": "boolean",
761
+ "default": false,
762
+ "description": "Enable OpenAI Agents SDK bridge"
763
+ },
764
+ "agent_id": {
765
+ "type": "string",
766
+ "description": "OpenAI agent ID (optional, auto-generated if not provided)"
767
+ },
768
+ "instructions": {
769
+ "type": "string",
770
+ "description": "Agent instructions/prompt (overrides spec.role if provided)"
771
+ },
772
+ "model": {
773
+ "type": "string",
774
+ "enum": [
775
+ "gpt-4o",
776
+ "gpt-4o-mini",
777
+ "gpt-4-turbo",
778
+ "gpt-3.5-turbo"
779
+ ],
780
+ "default": "gpt-4o-mini",
781
+ "description": "OpenAI model to use for the agent"
782
+ },
783
+ "tools_mapping": {
784
+ "type": "array",
785
+ "description": "Map OSSA capabilities to OpenAI tools",
786
+ "items": {
787
+ "type": "object",
788
+ "required": [
789
+ "ossa_capability"
790
+ ],
791
+ "properties": {
792
+ "ossa_capability": {
793
+ "type": "string",
794
+ "description": "OSSA capability name to map"
795
+ },
796
+ "openai_tool_name": {
797
+ "type": "string",
798
+ "description": "OpenAI tool name (defaults to ossa_capability if not provided)"
799
+ },
800
+ "description": {
801
+ "type": "string",
802
+ "description": "Tool description (defaults to OSSA capability description)"
803
+ },
804
+ "parameters": {
805
+ "type": "object",
806
+ "description": "OpenAI tool parameter schema (auto-generated from OSSA input_schema if not provided)"
807
+ }
808
+ },
809
+ "additionalProperties": false
810
+ }
811
+ },
812
+ "sub_agents": {
813
+ "type": "array",
814
+ "description": "Sub-agent handoffs configuration",
815
+ "items": {
816
+ "type": "object",
817
+ "required": [
818
+ "agent_id",
819
+ "ossa_agent_ref"
820
+ ],
821
+ "properties": {
822
+ "agent_id": {
823
+ "type": "string",
824
+ "description": "OpenAI sub-agent identifier"
825
+ },
826
+ "ossa_agent_ref": {
827
+ "type": "string",
828
+ "description": "Reference to OSSA agent (metadata.name or agent ID)"
829
+ },
830
+ "handoff_conditions": {
831
+ "type": "array",
832
+ "items": {
833
+ "type": "string"
834
+ },
835
+ "description": "Conditions that trigger handoff to this sub-agent"
836
+ },
837
+ "instructions": {
838
+ "type": "string",
839
+ "description": "Sub-agent specific instructions"
840
+ }
841
+ },
842
+ "additionalProperties": false
843
+ }
844
+ },
845
+ "guardrails": {
846
+ "type": "object",
847
+ "description": "Safety guardrails configuration",
848
+ "properties": {
849
+ "enabled": {
850
+ "type": "boolean",
851
+ "default": true
852
+ },
853
+ "policies": {
854
+ "type": "array",
855
+ "items": {
856
+ "type": "string"
857
+ },
858
+ "description": "Guardrail policy names (maps to OSSA compliance frameworks)"
859
+ },
860
+ "max_tool_calls": {
861
+ "type": "integer",
862
+ "minimum": 1,
863
+ "description": "Maximum tool calls per agent execution"
864
+ },
865
+ "timeout_seconds": {
866
+ "type": "integer",
867
+ "minimum": 1,
868
+ "description": "Maximum execution time in seconds"
869
+ }
870
+ },
871
+ "additionalProperties": false
872
+ },
873
+ "memory": {
874
+ "type": "object",
875
+ "description": "Session memory configuration",
876
+ "properties": {
877
+ "enabled": {
878
+ "type": "boolean",
879
+ "default": false
880
+ },
881
+ "type": {
882
+ "type": "string",
883
+ "enum": [
884
+ "session",
885
+ "persistent"
886
+ ],
887
+ "default": "session",
888
+ "description": "Memory storage type"
889
+ },
890
+ "max_messages": {
891
+ "type": "integer",
892
+ "minimum": 1,
893
+ "description": "Maximum messages to retain in memory"
894
+ }
895
+ },
896
+ "additionalProperties": false
897
+ },
898
+ "tracing": {
899
+ "type": "object",
900
+ "description": "Observability and tracing configuration",
901
+ "properties": {
902
+ "enabled": {
903
+ "type": "boolean",
904
+ "default": true
905
+ },
906
+ "provider": {
907
+ "type": "string",
908
+ "enum": [
909
+ "langfuse",
910
+ "langsmith",
911
+ "custom"
912
+ ],
913
+ "default": "langfuse",
914
+ "description": "Tracing provider"
915
+ },
916
+ "endpoint": {
917
+ "type": "string",
918
+ "format": "uri",
919
+ "description": "Custom tracing endpoint (for provider=custom)"
920
+ }
921
+ },
922
+ "additionalProperties": false
923
+ }
924
+ },
925
+ "additionalProperties": true
926
+ },
927
+ "CursorExtension": {
928
+ "type": "object",
929
+ "description": "Cursor IDE agent integration extension",
930
+ "properties": {
931
+ "enabled": {
932
+ "type": "boolean",
933
+ "default": true,
934
+ "description": "Enable Cursor IDE integration"
935
+ },
936
+ "agent_type": {
937
+ "type": "string",
938
+ "enum": ["composer", "chat", "background", "cloud"],
939
+ "default": "composer",
940
+ "description": "Cursor agent type (composer, chat, background, or cloud)"
941
+ },
942
+ "workspace_config": {
943
+ "type": "object",
944
+ "properties": {
945
+ "rules_file": {
946
+ "type": "string",
947
+ "description": "Path to .cursorrules file (default: .cursor/.cursorrules)"
948
+ },
949
+ "context_files": {
950
+ "type": "array",
951
+ "items": {
952
+ "type": "string"
953
+ },
954
+ "description": "Files to include in agent context"
955
+ },
956
+ "ignore_patterns": {
957
+ "type": "array",
958
+ "items": {
959
+ "type": "string"
960
+ },
961
+ "description": "Glob patterns to exclude from context"
962
+ }
963
+ }
964
+ },
965
+ "capabilities": {
966
+ "type": "object",
967
+ "properties": {
968
+ "code_generation": {
969
+ "type": "boolean",
970
+ "default": true
971
+ },
972
+ "code_review": {
973
+ "type": "boolean",
974
+ "default": false
975
+ },
976
+ "refactoring": {
977
+ "type": "boolean",
978
+ "default": false
979
+ },
980
+ "testing": {
981
+ "type": "boolean",
982
+ "default": false
983
+ }
984
+ }
985
+ },
986
+ "model": {
987
+ "type": "object",
988
+ "properties": {
989
+ "provider": {
990
+ "type": "string",
991
+ "enum": ["openai", "anthropic", "custom"],
992
+ "default": "openai"
993
+ },
994
+ "name": {
995
+ "type": "string",
996
+ "description": "Model name (e.g., gpt-4, claude-3-opus)"
997
+ }
998
+ }
999
+ }
1000
+ },
1001
+ "additionalProperties": true
1002
+ },
1003
+ "LangflowExtension": {
1004
+ "type": "object",
1005
+ "description": "Langflow workflow orchestration extension",
1006
+ "properties": {
1007
+ "enabled": {
1008
+ "type": "boolean",
1009
+ "default": false,
1010
+ "description": "Enable Langflow integration"
1011
+ },
1012
+ "flow_id": {
1013
+ "type": "string",
1014
+ "description": "Langflow flow identifier"
1015
+ },
1016
+ "flow_name": {
1017
+ "type": "string",
1018
+ "description": "Human-readable flow name"
1019
+ },
1020
+ "endpoint": {
1021
+ "type": "string",
1022
+ "format": "uri",
1023
+ "description": "Langflow API endpoint"
1024
+ },
1025
+ "api_key": {
1026
+ "type": "string",
1027
+ "description": "Langflow API key (reference to secret)"
1028
+ },
1029
+ "components": {
1030
+ "type": "array",
1031
+ "description": "Langflow components used in this agent",
1032
+ "items": {
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "id": {
1036
+ "type": "string"
1037
+ },
1038
+ "type": {
1039
+ "type": "string"
1040
+ },
1041
+ "name": {
1042
+ "type": "string"
1043
+ }
1044
+ }
1045
+ }
1046
+ },
1047
+ "dataflow": {
1048
+ "type": "object",
1049
+ "description": "Data flow configuration between components"
1050
+ }
1051
+ },
1052
+ "additionalProperties": true
1053
+ },
1054
+ "AutoGenExtension": {
1055
+ "type": "object",
1056
+ "description": "AutoGen multi-agent framework extension",
1057
+ "properties": {
1058
+ "enabled": {
1059
+ "type": "boolean",
1060
+ "default": false,
1061
+ "description": "Enable AutoGen integration"
1062
+ },
1063
+ "agent_type": {
1064
+ "type": "string",
1065
+ "enum": ["assistant", "user_proxy", "groupchat", "custom"],
1066
+ "description": "AutoGen agent type"
1067
+ },
1068
+ "system_message": {
1069
+ "type": "string",
1070
+ "description": "System message for AutoGen agent (overrides spec.role if provided)"
1071
+ },
1072
+ "human_input_mode": {
1073
+ "type": "string",
1074
+ "enum": ["ALWAYS", "NEVER", "TERMINATE"],
1075
+ "default": "NEVER",
1076
+ "description": "When to request human input"
1077
+ },
1078
+ "code_execution": {
1079
+ "type": "object",
1080
+ "properties": {
1081
+ "enabled": {
1082
+ "type": "boolean",
1083
+ "default": false
1084
+ },
1085
+ "work_dir": {
1086
+ "type": "string",
1087
+ "description": "Working directory for code execution"
1088
+ },
1089
+ "use_docker": {
1090
+ "type": "boolean",
1091
+ "default": false,
1092
+ "description": "Execute code in Docker container"
1093
+ }
1094
+ }
1095
+ },
1096
+ "max_consecutive_auto_reply": {
1097
+ "type": "integer",
1098
+ "minimum": 1,
1099
+ "default": 10,
1100
+ "description": "Maximum consecutive auto-replies before human input"
1101
+ },
1102
+ "groupchat": {
1103
+ "type": "object",
1104
+ "description": "Group chat configuration (for agent_type=groupchat)",
1105
+ "properties": {
1106
+ "agents": {
1107
+ "type": "array",
1108
+ "items": {
1109
+ "type": "string"
1110
+ },
1111
+ "description": "Other agent IDs in the group"
1112
+ },
1113
+ "max_round": {
1114
+ "type": "integer",
1115
+ "minimum": 1,
1116
+ "description": "Maximum rounds in group chat"
1117
+ }
1118
+ }
1119
+ }
1120
+ },
1121
+ "additionalProperties": true
1122
+ },
1123
+ "VercelAIExtension": {
1124
+ "type": "object",
1125
+ "description": "Vercel AI SDK integration extension",
1126
+ "properties": {
1127
+ "enabled": {
1128
+ "type": "boolean",
1129
+ "default": false,
1130
+ "description": "Enable Vercel AI SDK integration"
1131
+ },
1132
+ "runtime": {
1133
+ "type": "string",
1134
+ "enum": ["edge", "nodejs"],
1135
+ "default": "edge",
1136
+ "description": "Runtime environment (edge or nodejs)"
1137
+ },
1138
+ "stream": {
1139
+ "type": "boolean",
1140
+ "default": true,
1141
+ "description": "Enable streaming responses"
1142
+ },
1143
+ "route": {
1144
+ "type": "string",
1145
+ "description": "API route path (e.g., /api/chat)"
1146
+ },
1147
+ "tools": {
1148
+ "type": "array",
1149
+ "description": "Vercel AI SDK tools configuration",
1150
+ "items": {
1151
+ "type": "object",
1152
+ "properties": {
1153
+ "name": {
1154
+ "type": "string"
1155
+ },
1156
+ "description": {
1157
+ "type": "string"
1158
+ },
1159
+ "parameters": {
1160
+ "type": "object",
1161
+ "description": "Tool parameters schema (JSON Schema)"
1162
+ }
1163
+ }
1164
+ }
1165
+ },
1166
+ "experimental": {
1167
+ "type": "object",
1168
+ "description": "Experimental Vercel AI SDK features",
1169
+ "additionalProperties": true
1170
+ }
1171
+ },
1172
+ "additionalProperties": true
1173
+ },
1174
+ "LlamaIndexExtension": {
1175
+ "type": "object",
1176
+ "description": "LlamaIndex framework integration extension",
1177
+ "properties": {
1178
+ "enabled": {
1179
+ "type": "boolean",
1180
+ "default": false,
1181
+ "description": "Enable LlamaIndex integration"
1182
+ },
1183
+ "agent_type": {
1184
+ "type": "string",
1185
+ "enum": ["query_engine", "chat_engine", "retriever", "custom"],
1186
+ "description": "LlamaIndex agent/engine type"
1187
+ },
1188
+ "llm": {
1189
+ "type": "object",
1190
+ "properties": {
1191
+ "provider": {
1192
+ "type": "string",
1193
+ "enum": ["openai", "anthropic", "local", "custom"]
1194
+ },
1195
+ "model": {
1196
+ "type": "string"
1197
+ },
1198
+ "temperature": {
1199
+ "type": "number",
1200
+ "minimum": 0,
1201
+ "maximum": 2
1202
+ }
1203
+ }
1204
+ },
1205
+ "vector_store": {
1206
+ "type": "object",
1207
+ "description": "Vector store configuration for RAG",
1208
+ "properties": {
1209
+ "type": {
1210
+ "type": "string",
1211
+ "enum": ["pinecone", "weaviate", "chroma", "qdrant", "milvus", "custom"]
1212
+ },
1213
+ "config": {
1214
+ "type": "object",
1215
+ "additionalProperties": true
1216
+ }
1217
+ }
1218
+ },
1219
+ "retrieval": {
1220
+ "type": "object",
1221
+ "description": "Retrieval configuration",
1222
+ "properties": {
1223
+ "top_k": {
1224
+ "type": "integer",
1225
+ "minimum": 1,
1226
+ "default": 5,
1227
+ "description": "Number of documents to retrieve"
1228
+ },
1229
+ "similarity_top_k": {
1230
+ "type": "integer",
1231
+ "minimum": 1
1232
+ }
1233
+ }
1234
+ },
1235
+ "tools": {
1236
+ "type": "array",
1237
+ "description": "LlamaIndex tools/query modules",
1238
+ "items": {
1239
+ "type": "object",
1240
+ "properties": {
1241
+ "name": {
1242
+ "type": "string"
1243
+ },
1244
+ "type": {
1245
+ "type": "string"
1246
+ }
1247
+ }
1248
+ }
1249
+ }
1250
+ },
1251
+ "additionalProperties": true
1252
+ },
1253
+ "LangGraphExtension": {
1254
+ "type": "object",
1255
+ "description": "LangGraph state machine agent extension",
1256
+ "properties": {
1257
+ "enabled": {
1258
+ "type": "boolean",
1259
+ "default": false,
1260
+ "description": "Enable LangGraph integration"
1261
+ },
1262
+ "graph_name": {
1263
+ "type": "string",
1264
+ "description": "LangGraph graph/state machine name"
1265
+ },
1266
+ "state_schema": {
1267
+ "type": "object",
1268
+ "description": "State schema definition (TypedDict structure)"
1269
+ },
1270
+ "nodes": {
1271
+ "type": "array",
1272
+ "description": "Graph nodes configuration",
1273
+ "items": {
1274
+ "type": "object",
1275
+ "properties": {
1276
+ "name": {
1277
+ "type": "string"
1278
+ },
1279
+ "function": {
1280
+ "type": "string",
1281
+ "description": "Node function name"
1282
+ }
1283
+ }
1284
+ }
1285
+ },
1286
+ "edges": {
1287
+ "type": "array",
1288
+ "description": "Graph edges/transitions",
1289
+ "items": {
1290
+ "type": "object",
1291
+ "properties": {
1292
+ "from": {
1293
+ "type": "string"
1294
+ },
1295
+ "to": {
1296
+ "type": "string"
1297
+ },
1298
+ "condition": {
1299
+ "type": "string",
1300
+ "description": "Condition function name (optional)"
1301
+ }
1302
+ }
1303
+ }
1304
+ },
1305
+ "checkpoint": {
1306
+ "type": "object",
1307
+ "description": "Checkpoint configuration for state persistence",
1308
+ "properties": {
1309
+ "enabled": {
1310
+ "type": "boolean",
1311
+ "default": false
1312
+ },
1313
+ "type": {
1314
+ "type": "string",
1315
+ "enum": ["memory", "sqlite", "postgres", "custom"]
1316
+ }
1317
+ }
1318
+ }
1319
+ },
1320
+ "additionalProperties": true
1321
+ },
1322
+ "AnthropicExtension": {
1323
+ "type": "object",
1324
+ "description": "Anthropic Claude API integration extension",
1325
+ "properties": {
1326
+ "enabled": {
1327
+ "type": "boolean",
1328
+ "default": false,
1329
+ "description": "Enable Anthropic Claude integration"
1330
+ },
1331
+ "model": {
1332
+ "type": "string",
1333
+ "enum": [
1334
+ "claude-3-5-sonnet-20241022",
1335
+ "claude-3-5-haiku-20241022",
1336
+ "claude-3-opus-20240229",
1337
+ "claude-3-sonnet-20240229",
1338
+ "claude-3-haiku-20240307"
1339
+ ],
1340
+ "default": "claude-3-5-sonnet-20241022",
1341
+ "description": "Claude model version"
1342
+ },
1343
+ "system": {
1344
+ "type": "string",
1345
+ "description": "System prompt (overrides spec.role if provided)"
1346
+ },
1347
+ "max_tokens": {
1348
+ "type": "integer",
1349
+ "minimum": 1,
1350
+ "maximum": 4096,
1351
+ "default": 4096,
1352
+ "description": "Maximum tokens in response"
1353
+ },
1354
+ "temperature": {
1355
+ "type": "number",
1356
+ "minimum": 0,
1357
+ "maximum": 1,
1358
+ "default": 1,
1359
+ "description": "Sampling temperature"
1360
+ },
1361
+ "tools": {
1362
+ "type": "array",
1363
+ "description": "Claude tools/capabilities",
1364
+ "items": {
1365
+ "type": "object",
1366
+ "properties": {
1367
+ "name": {
1368
+ "type": "string"
1369
+ },
1370
+ "description": {
1371
+ "type": "string"
1372
+ },
1373
+ "input_schema": {
1374
+ "type": "object",
1375
+ "description": "Tool input schema (JSON Schema)"
1376
+ }
1377
+ },
1378
+ "required": ["name", "description", "input_schema"]
1379
+ }
1380
+ },
1381
+ "streaming": {
1382
+ "type": "boolean",
1383
+ "default": false,
1384
+ "description": "Enable streaming responses"
1385
+ },
1386
+ "stop_sequences": {
1387
+ "type": "array",
1388
+ "items": {
1389
+ "type": "string"
1390
+ },
1391
+ "description": "Stop sequences for response generation"
1392
+ }
1393
+ },
1394
+ "additionalProperties": true
1395
+ }
1396
+ }
1397
+ }