@bluefly/openstandardagents 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -1990
- package/README.md +163 -392
- package/dist/adapters/anthropic/runtime.d.ts +1 -1
- package/dist/adapters/anthropic/runtime.d.ts.map +1 -1
- package/dist/adapters/anthropic/runtime.js +1 -1
- package/dist/adapters/anthropic/runtime.js.map +1 -1
- package/dist/adapters/crewai-adapter.d.ts.map +1 -1
- package/dist/adapters/crewai-adapter.js +0 -1
- package/dist/adapters/crewai-adapter.js.map +1 -1
- package/dist/adapters/langchain-adapter.d.ts.map +1 -1
- package/dist/adapters/langchain-adapter.js +0 -1
- package/dist/adapters/langchain-adapter.js.map +1 -1
- package/dist/adapters/langflow-adapter.js +1 -1
- package/dist/adapters/langflow-adapter.js.map +1 -1
- package/dist/adapters/langfuse.adapter.d.ts +30 -0
- package/dist/adapters/langfuse.adapter.d.ts.map +1 -0
- package/dist/adapters/langfuse.adapter.js +61 -0
- package/dist/adapters/langfuse.adapter.js.map +1 -0
- package/dist/adapters/langsmith.adapter.d.ts +29 -0
- package/dist/adapters/langsmith.adapter.d.ts.map +1 -0
- package/dist/adapters/langsmith.adapter.js +60 -0
- package/dist/adapters/langsmith.adapter.js.map +1 -0
- package/dist/adapters/openapi-adapter.d.ts.map +1 -1
- package/dist/adapters/openapi-adapter.js +19 -15
- package/dist/adapters/openapi-adapter.js.map +1 -1
- package/dist/adapters/opentelemetry.adapter.d.ts +136 -0
- package/dist/adapters/opentelemetry.adapter.d.ts.map +1 -0
- package/dist/adapters/opentelemetry.adapter.js +239 -0
- package/dist/adapters/opentelemetry.adapter.js.map +1 -0
- package/dist/adapters/phoenix.adapter.d.ts +28 -0
- package/dist/adapters/phoenix.adapter.d.ts.map +1 -0
- package/dist/adapters/phoenix.adapter.js +63 -0
- package/dist/adapters/phoenix.adapter.js.map +1 -0
- package/dist/bot/ci-pipeline-bot.d.ts +1 -1
- package/dist/bot/ci-pipeline-bot.d.ts.map +1 -1
- package/dist/bot/ci-pipeline-bot.js +1 -1
- package/dist/bot/ci-pipeline-bot.js.map +1 -1
- package/dist/bot/compliance-bot.d.ts.map +1 -1
- package/dist/bot/compliance-bot.js +1 -1
- package/dist/bot/compliance-bot.js.map +1 -1
- package/dist/cli/commands/agent-card.command.d.ts +4 -0
- package/dist/cli/commands/agent-card.command.d.ts.map +1 -1
- package/dist/cli/commands/agent-card.command.js +9 -7
- package/dist/cli/commands/agent-card.command.js.map +1 -1
- package/dist/cli/commands/agents-md.command.d.ts.map +1 -1
- package/dist/cli/commands/agents-md.command.js +9 -11
- package/dist/cli/commands/agents-md.command.js.map +1 -1
- package/dist/cli/commands/agents.command.js +3 -3
- package/dist/cli/commands/agents.command.js.map +1 -1
- package/dist/cli/commands/catalog/config.d.ts +54 -0
- package/dist/cli/commands/catalog/config.d.ts.map +1 -0
- package/dist/cli/commands/catalog/config.js +113 -0
- package/dist/cli/commands/catalog/config.js.map +1 -0
- package/dist/cli/commands/catalog/convert.command.d.ts +8 -0
- package/dist/cli/commands/catalog/convert.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/convert.command.js +106 -0
- package/dist/cli/commands/catalog/convert.command.js.map +1 -0
- package/dist/cli/commands/catalog/diff.command.d.ts +8 -0
- package/dist/cli/commands/catalog/diff.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/diff.command.js +76 -0
- package/dist/cli/commands/catalog/diff.command.js.map +1 -0
- package/dist/cli/commands/catalog/index.d.ts +19 -0
- package/dist/cli/commands/catalog/index.d.ts.map +1 -0
- package/dist/cli/commands/catalog/index.js +40 -0
- package/dist/cli/commands/catalog/index.js.map +1 -0
- package/dist/cli/commands/catalog/list.command.d.ts +8 -0
- package/dist/cli/commands/catalog/list.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/list.command.js +101 -0
- package/dist/cli/commands/catalog/list.command.js.map +1 -0
- package/dist/cli/commands/catalog/pull.command.d.ts +8 -0
- package/dist/cli/commands/catalog/pull.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/pull.command.js +87 -0
- package/dist/cli/commands/catalog/pull.command.js.map +1 -0
- package/dist/cli/commands/catalog/push.command.d.ts +8 -0
- package/dist/cli/commands/catalog/push.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/push.command.js +98 -0
- package/dist/cli/commands/catalog/push.command.js.map +1 -0
- package/dist/cli/commands/catalog/schemas.d.ts +62 -0
- package/dist/cli/commands/catalog/schemas.d.ts.map +1 -0
- package/dist/cli/commands/catalog/schemas.js +55 -0
- package/dist/cli/commands/catalog/schemas.js.map +1 -0
- package/dist/cli/commands/catalog/sync.command.d.ts +8 -0
- package/dist/cli/commands/catalog/sync.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/sync.command.js +69 -0
- package/dist/cli/commands/catalog/sync.command.js.map +1 -0
- package/dist/cli/commands/catalog/validate.command.d.ts +8 -0
- package/dist/cli/commands/catalog/validate.command.d.ts.map +1 -0
- package/dist/cli/commands/catalog/validate.command.js +140 -0
- package/dist/cli/commands/catalog/validate.command.js.map +1 -0
- package/dist/cli/commands/compliance.command.d.ts +19 -0
- package/dist/cli/commands/compliance.command.d.ts.map +1 -0
- package/dist/cli/commands/compliance.command.js +218 -0
- package/dist/cli/commands/compliance.command.js.map +1 -0
- package/dist/cli/commands/contract.command.d.ts +5 -0
- package/dist/cli/commands/contract.command.d.ts.map +1 -1
- package/dist/cli/commands/contract.command.js +40 -63
- package/dist/cli/commands/contract.command.js.map +1 -1
- package/dist/cli/commands/dependencies.command.d.ts +5 -0
- package/dist/cli/commands/dependencies.command.d.ts.map +1 -1
- package/dist/cli/commands/dependencies.command.js +58 -108
- package/dist/cli/commands/dependencies.command.js.map +1 -1
- package/dist/cli/commands/diff.command.d.ts +4 -0
- package/dist/cli/commands/diff.command.d.ts.map +1 -1
- package/dist/cli/commands/diff.command.js +10 -10
- package/dist/cli/commands/diff.command.js.map +1 -1
- package/dist/cli/commands/docs.command.d.ts.map +1 -1
- package/dist/cli/commands/docs.command.js +2 -1
- package/dist/cli/commands/docs.command.js.map +1 -1
- package/dist/cli/commands/export.command.d.ts.map +1 -1
- package/dist/cli/commands/export.command.js +2 -2
- package/dist/cli/commands/export.command.js.map +1 -1
- package/dist/cli/commands/extension-team.command.d.ts +15 -0
- package/dist/cli/commands/extension-team.command.d.ts.map +1 -0
- package/dist/cli/commands/extension-team.command.js +117 -0
- package/dist/cli/commands/extension-team.command.js.map +1 -0
- package/dist/cli/commands/framework.command.d.ts +9 -0
- package/dist/cli/commands/framework.command.d.ts.map +1 -0
- package/dist/cli/commands/framework.command.js +179 -0
- package/dist/cli/commands/framework.command.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts.map +1 -1
- package/dist/cli/commands/generate.command.js +15 -8
- package/dist/cli/commands/generate.command.js.map +1 -1
- package/dist/cli/commands/github-sync.command.js +2 -2
- package/dist/cli/commands/github-sync.command.js.map +1 -1
- package/dist/cli/commands/import.command.d.ts.map +1 -1
- package/dist/cli/commands/import.command.js +2 -2
- package/dist/cli/commands/import.command.js.map +1 -1
- package/dist/cli/commands/install.command.d.ts.map +1 -1
- package/dist/cli/commands/install.command.js +3 -1
- package/dist/cli/commands/install.command.js.map +1 -1
- package/dist/cli/commands/langchain.command.d.ts +9 -0
- package/dist/cli/commands/langchain.command.d.ts.map +1 -0
- package/dist/cli/commands/langchain.command.js +110 -0
- package/dist/cli/commands/langchain.command.js.map +1 -0
- package/dist/cli/commands/langflow.command.d.ts +9 -0
- package/dist/cli/commands/langflow.command.d.ts.map +1 -0
- package/dist/cli/commands/langflow.command.js +111 -0
- package/dist/cli/commands/langflow.command.js.map +1 -0
- package/dist/cli/commands/lint.command.d.ts +5 -0
- package/dist/cli/commands/lint.command.d.ts.map +1 -1
- package/dist/cli/commands/lint.command.js +13 -57
- package/dist/cli/commands/lint.command.js.map +1 -1
- package/dist/cli/commands/llms-txt.command.d.ts +7 -0
- package/dist/cli/commands/llms-txt.command.d.ts.map +1 -0
- package/dist/cli/commands/llms-txt.command.js +119 -0
- package/dist/cli/commands/llms-txt.command.js.map +1 -0
- package/dist/cli/commands/migrate.command.js +4 -4
- package/dist/cli/commands/migrate.command.js.map +1 -1
- package/dist/cli/commands/publish.command.d.ts.map +1 -1
- package/dist/cli/commands/publish.command.js.map +1 -1
- package/dist/cli/commands/quickstart.command.d.ts.map +1 -1
- package/dist/cli/commands/quickstart.command.js +4 -10
- package/dist/cli/commands/quickstart.command.js.map +1 -1
- package/dist/cli/commands/registry.command.d.ts +4 -0
- package/dist/cli/commands/registry.command.d.ts.map +1 -1
- package/dist/cli/commands/registry.command.js +11 -12
- package/dist/cli/commands/registry.command.js.map +1 -1
- package/dist/cli/commands/scaffold.command.d.ts +19 -0
- package/dist/cli/commands/scaffold.command.d.ts.map +1 -0
- package/dist/cli/commands/scaffold.command.js +182 -0
- package/dist/cli/commands/scaffold.command.js.map +1 -0
- package/dist/cli/commands/schema.command.d.ts +4 -0
- package/dist/cli/commands/schema.command.d.ts.map +1 -1
- package/dist/cli/commands/schema.command.js +8 -5
- package/dist/cli/commands/schema.command.js.map +1 -1
- package/dist/cli/commands/setup.command.d.ts.map +1 -1
- package/dist/cli/commands/setup.command.js +23 -24
- package/dist/cli/commands/setup.command.js.map +1 -1
- package/dist/cli/commands/standardize.command.d.ts +19 -0
- package/dist/cli/commands/standardize.command.d.ts.map +1 -0
- package/dist/cli/commands/standardize.command.js +275 -0
- package/dist/cli/commands/standardize.command.js.map +1 -0
- package/dist/cli/commands/sync.command.js +3 -3
- package/dist/cli/commands/sync.command.js.map +1 -1
- package/dist/cli/commands/test.command.d.ts +8 -0
- package/dist/cli/commands/test.command.d.ts.map +1 -1
- package/dist/cli/commands/test.command.js +83 -15
- package/dist/cli/commands/test.command.js.map +1 -1
- package/dist/cli/commands/validate.command.d.ts +4 -0
- package/dist/cli/commands/validate.command.d.ts.map +1 -1
- package/dist/cli/commands/validate.command.js +30 -1
- package/dist/cli/commands/validate.command.js.map +1 -1
- package/dist/cli/commands/workspace.command.d.ts.map +1 -1
- package/dist/cli/commands/workspace.command.js +32 -42
- package/dist/cli/commands/workspace.command.js.map +1 -1
- package/dist/cli/extensions/gitlab-release.commands.d.ts +19 -0
- package/dist/cli/extensions/gitlab-release.commands.d.ts.map +1 -0
- package/dist/cli/extensions/gitlab-release.commands.js +341 -0
- package/dist/cli/extensions/gitlab-release.commands.js.map +1 -0
- package/dist/cli/extensions/gitlab.extension.d.ts +24 -0
- package/dist/cli/extensions/gitlab.extension.d.ts.map +1 -0
- package/dist/cli/extensions/gitlab.extension.js +64 -0
- package/dist/cli/extensions/gitlab.extension.js.map +1 -0
- package/dist/cli/extensions/index.d.ts +63 -0
- package/dist/cli/extensions/index.d.ts.map +1 -0
- package/dist/cli/extensions/index.js +181 -0
- package/dist/cli/extensions/index.js.map +1 -0
- package/dist/cli/index.d.ts +11 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +111 -35
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/error-formatter.js +6 -6
- package/dist/cli/utils/error-formatter.js.map +1 -1
- package/dist/cli/utils/gitlab-config.d.ts +94 -0
- package/dist/cli/utils/gitlab-config.d.ts.map +1 -0
- package/dist/cli/utils/gitlab-config.js +180 -0
- package/dist/cli/utils/gitlab-config.js.map +1 -0
- package/dist/cli/utils/index.d.ts +11 -0
- package/dist/cli/utils/index.d.ts.map +1 -0
- package/dist/cli/utils/index.js +15 -0
- package/dist/cli/utils/index.js.map +1 -0
- package/dist/cli/utils/manifest-loader.d.ts +77 -0
- package/dist/cli/utils/manifest-loader.d.ts.map +1 -0
- package/dist/cli/utils/manifest-loader.js +153 -0
- package/dist/cli/utils/manifest-loader.js.map +1 -0
- package/dist/cli/utils/output.d.ts +134 -0
- package/dist/cli/utils/output.d.ts.map +1 -0
- package/dist/cli/utils/output.js +200 -0
- package/dist/cli/utils/output.js.map +1 -0
- package/dist/config/defaults.d.ts +138 -0
- package/dist/config/defaults.d.ts.map +1 -0
- package/dist/config/defaults.js +223 -0
- package/dist/config/defaults.js.map +1 -0
- package/dist/dev-cli/schemas/spec.schema.d.ts +38 -0
- package/dist/dev-cli/schemas/spec.schema.d.ts.map +1 -0
- package/dist/dev-cli/schemas/spec.schema.js +36 -0
- package/dist/dev-cli/schemas/spec.schema.js.map +1 -0
- package/dist/dev-cli/schemas/version.schema.d.ts +82 -0
- package/dist/dev-cli/schemas/version.schema.d.ts.map +1 -0
- package/dist/dev-cli/schemas/version.schema.js +83 -0
- package/dist/dev-cli/schemas/version.schema.js.map +1 -0
- package/dist/dev-cli/services/version-audit.service.d.ts +31 -0
- package/dist/dev-cli/services/version-audit.service.d.ts.map +1 -0
- package/dist/dev-cli/services/version-audit.service.js +168 -0
- package/dist/dev-cli/services/version-audit.service.js.map +1 -0
- package/dist/dev-cli/src/commands/release-prep.command.d.ts +12 -0
- package/dist/dev-cli/src/commands/release-prep.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/release-prep.command.js +112 -0
- package/dist/dev-cli/src/commands/release-prep.command.js.map +1 -0
- package/dist/dev-cli/src/commands/release.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/release.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/release.command.js +112 -0
- package/dist/dev-cli/src/commands/release.command.js.map +1 -0
- package/dist/dev-cli/src/commands/spec.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/spec.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/spec.command.js +85 -0
- package/dist/dev-cli/src/commands/spec.command.js.map +1 -0
- package/dist/dev-cli/src/commands/version.command.d.ts +9 -0
- package/dist/dev-cli/src/commands/version.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/version.command.js +114 -0
- package/dist/dev-cli/src/commands/version.command.js.map +1 -0
- package/dist/dev-cli/src/commands/workflow.command.d.ts +8 -0
- package/dist/dev-cli/src/commands/workflow.command.d.ts.map +1 -0
- package/dist/dev-cli/src/commands/workflow.command.js +93 -0
- package/dist/dev-cli/src/commands/workflow.command.js.map +1 -0
- package/dist/dev-cli/src/index.d.ts +14 -0
- package/dist/dev-cli/src/index.d.ts.map +1 -0
- package/dist/dev-cli/src/index.js +35 -0
- package/dist/dev-cli/src/index.js.map +1 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.d.ts +112 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.js +76 -0
- package/dist/dev-cli/src/schemas/release-prep.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/release.schema.d.ts +146 -0
- package/dist/dev-cli/src/schemas/release.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/release.schema.js +77 -0
- package/dist/dev-cli/src/schemas/release.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/spec.schema.d.ts +34 -0
- package/dist/dev-cli/src/schemas/spec.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/spec.schema.js +30 -0
- package/dist/dev-cli/src/schemas/spec.schema.js.map +1 -0
- package/dist/dev-cli/src/schemas/version.schema.d.ts +53 -0
- package/dist/dev-cli/src/schemas/version.schema.d.ts.map +1 -0
- package/dist/dev-cli/src/schemas/version.schema.js +43 -0
- package/dist/dev-cli/src/schemas/version.schema.js.map +1 -0
- package/dist/dev-cli/src/services/release-prep.service.d.ts +55 -0
- package/dist/dev-cli/src/services/release-prep.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/release-prep.service.js +492 -0
- package/dist/dev-cli/src/services/release-prep.service.js.map +1 -0
- package/dist/dev-cli/src/services/release-verify.service.d.ts +49 -0
- package/dist/dev-cli/src/services/release-verify.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/release-verify.service.js +385 -0
- package/dist/dev-cli/src/services/release-verify.service.js.map +1 -0
- package/dist/dev-cli/src/services/spec-generate.service.d.ts +18 -0
- package/dist/dev-cli/src/services/spec-generate.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/spec-generate.service.js +49 -0
- package/dist/dev-cli/src/services/spec-generate.service.js.map +1 -0
- package/dist/dev-cli/src/services/spec-validate.service.d.ts +17 -0
- package/dist/dev-cli/src/services/spec-validate.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/spec-validate.service.js +52 -0
- package/dist/dev-cli/src/services/spec-validate.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-release.service.d.ts +17 -0
- package/dist/dev-cli/src/services/version-release.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-release.service.js +80 -0
- package/dist/dev-cli/src/services/version-release.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-sync.service.d.ts +21 -0
- package/dist/dev-cli/src/services/version-sync.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-sync.service.js +98 -0
- package/dist/dev-cli/src/services/version-sync.service.js.map +1 -0
- package/dist/dev-cli/src/services/version-validate.service.d.ts +17 -0
- package/dist/dev-cli/src/services/version-validate.service.d.ts.map +1 -0
- package/dist/dev-cli/src/services/version-validate.service.js +52 -0
- package/dist/dev-cli/src/services/version-validate.service.js.map +1 -0
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +14 -3
- package/dist/di-container.js.map +1 -1
- package/dist/messaging/broker.d.ts +1 -1
- package/dist/messaging/broker.js +1 -1
- package/dist/messaging/channels.d.ts +1 -1
- package/dist/messaging/channels.js +1 -1
- package/dist/messaging/index.d.ts +1 -1
- package/dist/messaging/index.js +1 -1
- package/dist/messaging/protocols/memory.d.ts +1 -1
- package/dist/messaging/protocols/memory.js +1 -1
- package/dist/messaging/protocols/redis.d.ts +1 -1
- package/dist/messaging/protocols/redis.js +1 -1
- package/dist/messaging/types.d.ts +2 -2
- package/dist/messaging/types.js +1 -1
- package/dist/repositories/manifest.repository.d.ts +1 -1
- package/dist/repositories/manifest.repository.d.ts.map +1 -1
- package/dist/repositories/manifest.repository.js +18 -13
- package/dist/repositories/manifest.repository.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +2 -2
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +1 -1
- package/dist/runtime/crewai.runtime.d.ts +30 -0
- package/dist/runtime/crewai.runtime.d.ts.map +1 -0
- package/dist/runtime/crewai.runtime.js +106 -0
- package/dist/runtime/crewai.runtime.js.map +1 -0
- package/dist/runtime/langchain.runtime.d.ts +32 -0
- package/dist/runtime/langchain.runtime.d.ts.map +1 -0
- package/dist/runtime/langchain.runtime.js +75 -0
- package/dist/runtime/langchain.runtime.js.map +1 -0
- package/dist/runtime/langflow.runtime.d.ts +65 -0
- package/dist/runtime/langflow.runtime.d.ts.map +1 -0
- package/dist/runtime/langflow.runtime.js +140 -0
- package/dist/runtime/langflow.runtime.js.map +1 -0
- package/dist/sdks/index.d.ts +15 -0
- package/dist/sdks/index.d.ts.map +1 -0
- package/dist/sdks/index.js +17 -0
- package/dist/sdks/index.js.map +1 -0
- package/dist/sdks/python-generator/index.d.ts +18 -0
- package/dist/sdks/python-generator/index.d.ts.map +1 -0
- package/dist/sdks/python-generator/index.js +13 -0
- package/dist/sdks/python-generator/index.js.map +1 -0
- package/dist/sdks/shared/index.d.ts +24 -0
- package/dist/sdks/shared/index.d.ts.map +1 -0
- package/dist/sdks/shared/index.js +28 -0
- package/dist/sdks/shared/index.js.map +1 -0
- package/dist/sdks/shared/manifest-loader.d.ts +41 -0
- package/dist/sdks/shared/manifest-loader.d.ts.map +1 -0
- package/dist/sdks/shared/manifest-loader.js +45 -0
- package/dist/sdks/shared/manifest-loader.js.map +1 -0
- package/dist/sdks/shared/schema-validator.d.ts +34 -0
- package/dist/sdks/shared/schema-validator.d.ts.map +1 -0
- package/dist/sdks/shared/schema-validator.js +101 -0
- package/dist/sdks/shared/schema-validator.js.map +1 -0
- package/dist/sdks/shared/types.d.ts +43 -0
- package/dist/sdks/shared/types.d.ts.map +1 -0
- package/dist/sdks/shared/types.js +27 -0
- package/dist/sdks/shared/types.js.map +1 -0
- package/dist/sdks/shared/validation.d.ts +52 -0
- package/dist/sdks/shared/validation.d.ts.map +1 -0
- package/dist/sdks/shared/validation.js +37 -0
- package/dist/sdks/shared/validation.js.map +1 -0
- package/dist/sdks/typescript/client.d.ts +44 -0
- package/dist/sdks/typescript/client.d.ts.map +1 -0
- package/dist/sdks/typescript/client.js +51 -0
- package/dist/sdks/typescript/client.js.map +1 -0
- package/dist/sdks/typescript/events/cloudevents-emitter.d.ts.map +1 -0
- package/dist/sdks/typescript/events/cloudevents-emitter.js.map +1 -0
- package/dist/sdks/typescript/events/index.d.ts.map +1 -0
- package/dist/sdks/typescript/events/index.js.map +1 -0
- package/dist/sdks/typescript/index.d.ts +31 -0
- package/dist/sdks/typescript/index.d.ts.map +1 -0
- package/dist/sdks/typescript/index.js +36 -0
- package/dist/sdks/typescript/index.js.map +1 -0
- package/dist/sdks/typescript/manifest.d.ts +36 -0
- package/dist/sdks/typescript/manifest.d.ts.map +1 -0
- package/dist/sdks/typescript/manifest.js +85 -0
- package/dist/sdks/typescript/manifest.js.map +1 -0
- package/dist/sdks/typescript/tracing/index.d.ts.map +1 -0
- package/dist/sdks/typescript/tracing/index.js.map +1 -0
- package/dist/sdks/typescript/tracing/w3c-baggage.d.ts.map +1 -0
- package/dist/sdks/typescript/tracing/w3c-baggage.js.map +1 -0
- package/dist/sdks/typescript/types.d.ts +145 -0
- package/dist/sdks/typescript/types.d.ts.map +1 -0
- package/dist/sdks/typescript/types.js +51 -0
- package/dist/sdks/typescript/types.js.map +1 -0
- package/dist/sdks/typescript/validator.d.ts +26 -0
- package/dist/sdks/typescript/validator.d.ts.map +1 -0
- package/dist/sdks/typescript/validator.js +58 -0
- package/dist/sdks/typescript/validator.js.map +1 -0
- package/dist/services/agent-services/qdrant.service.js +2 -2
- package/dist/services/agent-services/qdrant.service.js.map +1 -1
- package/dist/services/codegen/codegen.service.d.ts +4 -2
- package/dist/services/codegen/codegen.service.d.ts.map +1 -1
- package/dist/services/codegen/codegen.service.js +8 -2
- package/dist/services/codegen/codegen.service.js.map +1 -1
- package/dist/services/codegen/generators/openapi-zod.generator.d.ts +79 -0
- package/dist/services/codegen/generators/openapi-zod.generator.d.ts.map +1 -0
- package/dist/services/codegen/generators/openapi-zod.generator.js +476 -0
- package/dist/services/codegen/generators/openapi-zod.generator.js.map +1 -0
- package/dist/services/codegen/generators/vscode.generator.js +1 -1
- package/dist/services/codegen/generators/zod.generator.d.ts.map +1 -1
- package/dist/services/codegen/generators/zod.generator.js +2 -1
- package/dist/services/codegen/generators/zod.generator.js.map +1 -1
- package/dist/services/codegen/index.d.ts +2 -0
- package/dist/services/codegen/index.d.ts.map +1 -1
- package/dist/services/codegen/index.js +2 -0
- package/dist/services/codegen/index.js.map +1 -1
- package/dist/services/extension-team/extension-team-kickoff.service.d.ts +85 -0
- package/dist/services/extension-team/extension-team-kickoff.service.d.ts.map +1 -0
- package/dist/services/extension-team/extension-team-kickoff.service.js +121 -0
- package/dist/services/extension-team/extension-team-kickoff.service.js.map +1 -0
- package/dist/services/framework-import/langchain-importer.service.d.ts +55 -0
- package/dist/services/framework-import/langchain-importer.service.d.ts.map +1 -0
- package/dist/services/framework-import/langchain-importer.service.js +149 -0
- package/dist/services/framework-import/langchain-importer.service.js.map +1 -0
- package/dist/services/framework-import/langflow-importer.service.d.ts +85 -0
- package/dist/services/framework-import/langflow-importer.service.d.ts.map +1 -0
- package/dist/services/framework-import/langflow-importer.service.js +260 -0
- package/dist/services/framework-import/langflow-importer.service.js.map +1 -0
- package/dist/services/github-sync/sync.service.js +2 -2
- package/dist/services/llms-txt/llms-txt.service.d.ts +59 -0
- package/dist/services/llms-txt/llms-txt.service.d.ts.map +1 -0
- package/dist/services/llms-txt/llms-txt.service.js +509 -0
- package/dist/services/llms-txt/llms-txt.service.js.map +1 -0
- package/dist/services/messaging/example.js +15 -15
- package/dist/services/messaging/example.js.map +1 -1
- package/dist/services/release-automation/generate-changelog.d.ts +7 -0
- package/dist/services/release-automation/generate-changelog.d.ts.map +1 -0
- package/dist/services/release-automation/generate-changelog.js +286 -0
- package/dist/services/release-automation/generate-changelog.js.map +1 -0
- package/dist/services/release-automation/increment-dev-tag.d.ts +7 -0
- package/dist/services/release-automation/increment-dev-tag.d.ts.map +1 -0
- package/dist/services/release-automation/increment-dev-tag.js +156 -0
- package/dist/services/release-automation/increment-dev-tag.js.map +1 -0
- package/dist/services/release-automation/release-buttons.d.ts +7 -0
- package/dist/services/release-automation/release-buttons.d.ts.map +1 -0
- package/dist/services/release-automation/release-buttons.js +165 -0
- package/dist/services/release-automation/release-buttons.js.map +1 -0
- package/dist/services/release-automation/schemas/release.schema.d.ts +2 -2
- package/dist/services/release-automation/tag.service.d.ts +3 -3
- package/dist/services/validation-zod.service.d.ts +36 -0
- package/dist/services/validation-zod.service.d.ts.map +1 -0
- package/dist/services/validation-zod.service.js +328 -0
- package/dist/services/validation-zod.service.js.map +1 -0
- package/dist/services/validation.service.js +1 -1
- package/dist/services/validation.service.js.map +1 -1
- package/dist/services/validators/contract.validator.d.ts +6 -5
- package/dist/services/validators/contract.validator.d.ts.map +1 -1
- package/dist/services/validators/contract.validator.js +6 -6
- package/dist/services/validators/contract.validator.js.map +1 -1
- package/dist/services/validators/dependencies.validator.js.map +1 -1
- package/dist/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
- package/dist/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
- package/dist/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
- package/dist/spec/examples/reference-agents/mr-reviewer/system-prompt.md +154 -0
- package/dist/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
- package/dist/spec/examples/reference-agents/ossa-validator-v0.3/system-prompt.md +135 -0
- package/dist/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
- package/dist/spec/examples/reference-agents/release-orchestrator/README.md +35 -0
- package/dist/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
- package/dist/spec/extensions/a2a-messaging.md +5 -5
- package/dist/spec/extensions/manifest-extensions.md +4 -4
- package/dist/spec/extensions/openapi/ossa-openapi-extensions.schema.json +10 -10
- package/dist/spec/extensions/skills-compatibility.md +292 -0
- package/dist/spec/registry/README.md +1 -1
- package/dist/spec/registry/registry-spec.md +6 -6
- package/dist/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +19 -19
- package/dist/spec/v0.3.2/UNIFIED-SCHEMA.md +3 -3
- package/dist/spec/v0.3.2/access_tiers.yaml +2 -2
- package/dist/spec/v0.3.2/adapters/drupal.md +7 -7
- package/dist/spec/v0.3.2/adapters/symfony.md +4 -4
- package/dist/spec/v0.3.2/agent-test.schema.json +2 -2
- package/dist/spec/v0.3.2/examples/access-tiers/README.md +4 -4
- package/dist/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +8 -22
- package/dist/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +11 -29
- package/dist/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +9 -27
- package/dist/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +4 -23
- package/dist/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +9 -24
- package/dist/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +5 -10
- package/dist/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +31 -50
- package/dist/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/dist/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +4 -35
- package/dist/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/dist/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +37 -47
- package/dist/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +21 -43
- package/dist/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +59 -76
- package/dist/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +80 -92
- package/dist/spec/v0.3.2/extensions/agent-identity.yaml +3 -3
- package/dist/spec/v0.3.2/extensions/drupal.md +5 -5
- package/dist/spec/v0.3.2/infrastructure/service-ports.yaml +1 -1
- package/dist/spec/v0.3.2/ossa-0.3.2.schema.json +86 -15
- package/dist/spec/v0.3.2/protocols/delegation.yaml +1 -1
- package/dist/spec/v0.3.2/protocols/websocket.md +2 -2
- package/dist/spec/v0.3.2/runtime/RUNTIME.md +3 -3
- package/dist/spec/v0.3.2/runtime/memory-model.yaml +4 -4
- package/dist/spec/v0.3.2/runtime/runtime.yaml +4 -4
- package/dist/spec/v0.3.2/schemas/agent-unified.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/capabilities.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/functions.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/messaging/channel.schema.json +2 -2
- package/dist/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/dist/spec/v0.3.2/schemas/messaging/message.schema.json +3 -3
- package/dist/spec/v0.3.2/schemas/messaging/subscription.schema.json +2 -2
- package/dist/spec/v0.3.2/schemas/runtime.yaml +2 -2
- package/dist/spec/v0.3.2/schemas/taxonomy.yaml +3 -3
- package/dist/spec/v0.3.2/schemas/unified-llm.yaml +2 -2
- package/dist/spec/v0.3.2/taxonomy.yaml +2 -2
- package/dist/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/UNIFIED-SCHEMA.md +3 -3
- package/dist/spec/v0.3.3/access_tiers.yaml +375 -0
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/adapters/drupal.md +7 -7
- package/dist/spec/{v0.3.0 → v0.3.3}/adapters/symfony.md +4 -4
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/agent-test.schema.json +2 -2
- package/dist/spec/v0.3.3/examples/access-tiers/README.md +106 -0
- package/dist/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +105 -0
- package/dist/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
- package/dist/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
- package/dist/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +98 -0
- package/dist/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +118 -0
- package/dist/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +63 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/examples/drupal-content-writer.ossa.yaml +31 -50
- package/dist/spec/{v0.3.0 → v0.3.3}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/dist/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/dist/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +137 -0
- package/dist/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +103 -0
- package/dist/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +173 -0
- package/dist/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
- package/dist/spec/v0.3.3/extensions/agent-identity.yaml +594 -0
- package/dist/spec/v0.3.3/extensions/agents-md.md +1219 -0
- package/dist/spec/v0.3.3/extensions/autogen.md +1124 -0
- package/dist/spec/v0.3.3/extensions/bedrock-agents.md +1320 -0
- package/dist/spec/v0.3.3/extensions/crewai.md +1575 -0
- package/dist/spec/v0.3.3/extensions/dify.md +1461 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/extensions/drupal.md +5 -5
- package/dist/spec/v0.3.3/extensions/langchain.md +1092 -0
- package/dist/spec/v0.3.3/extensions/langflow.md +1055 -0
- package/dist/spec/v0.3.3/extensions/llamaindex.md +1519 -0
- package/dist/spec/v0.3.3/extensions/llms-txt.md +295 -0
- package/dist/spec/v0.3.3/extensions/openai-assistants.md +1632 -0
- package/dist/spec/v0.3.3/extensions/openai-swarm.md +1400 -0
- package/dist/spec/v0.3.3/extensions/opentelemetry.md +360 -0
- package/dist/spec/v0.3.3/extensions/semantic-kernel.md +1360 -0
- package/dist/spec/v0.3.3/extensions/vercel-ai.md +1197 -0
- package/dist/spec/v0.3.3/infrastructure/service-ports.yaml +324 -0
- package/dist/spec/v0.3.3/ossa-0.3.3.schema.json +9773 -0
- package/dist/spec/v0.3.3/protocols/delegation.yaml +239 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/protocols/websocket.md +2 -2
- package/dist/spec/v0.3.3/runtime/RUNTIME.md +457 -0
- package/dist/spec/v0.3.3/runtime/memory-model.yaml +871 -0
- package/dist/spec/v0.3.3/runtime/runtime.yaml +926 -0
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/capabilities.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/functions.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/channel.schema.json +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/messaging/message.schema.json +3 -3
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/runtime.yaml +2 -2
- package/dist/spec/{v0.3.0 → v0.3.3}/schemas/taxonomy.yaml +3 -3
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/schemas/unified-llm.yaml +2 -2
- package/{spec/v0.3.0 → dist/spec/v0.3.3}/taxonomy.yaml +114 -7
- package/dist/types/generated/ossa-0.3.2.types.d.ts +4 -4
- package/dist/types/generated/ossa-0.3.2.types.js +2 -2
- package/dist/types/generated/ossa-0.3.2.zod.d.ts +4 -4
- package/dist/types/generated/ossa-0.3.2.zod.js +3 -3
- package/dist/types/generated/ossa-0.3.3.types.d.ts +367 -0
- package/dist/types/generated/ossa-0.3.3.types.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.3.types.js +10 -0
- package/dist/types/generated/ossa-0.3.3.types.js.map +1 -0
- package/dist/types/generated/ossa-0.3.3.zod.d.ts +36 -0
- package/dist/types/generated/ossa-0.3.3.zod.d.ts.map +1 -0
- package/dist/types/generated/ossa-0.3.3.zod.js +25 -0
- package/dist/types/generated/ossa-0.3.3.zod.js.map +1 -0
- package/dist/types/identity.d.ts +405 -0
- package/dist/types/identity.d.ts.map +1 -0
- package/dist/types/identity.js +12 -0
- package/dist/types/identity.js.map +1 -0
- package/dist/types/identity.zod.d.ts +622 -0
- package/dist/types/identity.zod.d.ts.map +1 -0
- package/dist/types/identity.zod.js +263 -0
- package/dist/types/identity.zod.js.map +1 -0
- package/dist/types/index.d.ts +67 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/llms-txt.zod.d.ts +320 -0
- package/dist/types/llms-txt.zod.d.ts.map +1 -0
- package/dist/types/llms-txt.zod.js +80 -0
- package/dist/types/llms-txt.zod.js.map +1 -0
- package/dist/types/personality.d.ts +141 -0
- package/dist/types/personality.d.ts.map +1 -0
- package/dist/types/personality.js +72 -0
- package/dist/types/personality.js.map +1 -0
- package/dist/types/personality.zod.d.ts +483 -0
- package/dist/types/personality.zod.d.ts.map +1 -0
- package/dist/types/personality.zod.js +160 -0
- package/dist/types/personality.zod.js.map +1 -0
- package/dist/types/prompts.d.ts +219 -0
- package/dist/types/prompts.d.ts.map +1 -0
- package/dist/types/prompts.js +163 -0
- package/dist/types/prompts.js.map +1 -0
- package/dist/types/prompts.zod.d.ts +252 -0
- package/dist/types/prompts.zod.d.ts.map +1 -0
- package/dist/types/prompts.zod.js +105 -0
- package/dist/types/prompts.zod.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/type-guards.d.ts +59 -0
- package/dist/utils/type-guards.d.ts.map +1 -0
- package/dist/utils/type-guards.js +170 -0
- package/dist/utils/type-guards.js.map +1 -0
- package/dist/utils/version.js +3 -3
- package/dist/utils/version.js.map +1 -1
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +1 -1
- package/examples/agents-md/monorepo-agent.ossa.yaml +123 -104
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +13 -13
- package/examples/claude-code/code-reviewer.ossa.yaml +55 -47
- package/examples/claude-code/ossa-validator.ossa.yaml +62 -58
- package/examples/common_npm/agent-router.ossa.yaml +49 -171
- package/examples/contracts/data-consumer.ossa.yaml +2 -2
- package/examples/contracts/data-producer-v2.ossa.yaml +4 -4
- package/examples/contracts/data-producer.ossa.yaml +4 -4
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +7 -11
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +53 -594
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/getting-started/01-minimal-agent.ossa.yaml +24 -349
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +187 -824
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +66 -797
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +317 -754
- package/examples/getting-started/05-workflow-composition.ossa.yaml +98 -154
- package/examples/getting-started/hello-world-complete.ossa.yaml +61 -216
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +75 -336
- package/examples/kagent/compliance-validator.ossa.yaml +40 -51
- package/examples/kagent/cost-optimizer.ossa.yaml +30 -42
- package/examples/kagent/documentation-agent.ossa.yaml +29 -41
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +80 -263
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +69 -224
- package/examples/kagent/security-scanner.ossa.yaml +54 -110
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/messaging/dependency-healer.ossa.yaml +2 -2
- package/examples/messaging/incident-responder.ossa.yaml +2 -2
- package/examples/messaging/routing-rules.ossa.yaml +2 -109
- package/examples/messaging/security-scanner.ossa.yaml +248 -241
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/multi-agent/conditional-router.ossa.yaml +32 -32
- package/examples/multi-agent/parallel-execution.ossa.yaml +43 -43
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +35 -35
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +33 -34
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +114 -0
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +103 -0
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +100 -0
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +116 -0
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +102 -0
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +132 -0
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +110 -0
- package/examples/ossa-templates/08-content-writer.ossa.yaml +136 -0
- package/examples/ossa-templates/09-test-generator.ossa.yaml +113 -0
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +102 -0
- package/examples/ossa-templates/README.md +98 -0
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +27 -29
- package/examples/rag-agent/index.ts +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +2 -1
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +2 -1
- package/examples/reference-implementations/typescript-client/package.json +1 -1
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +54 -420
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +27 -31
- package/examples/showcase/code-assistant.ossa.yaml +51 -65
- package/examples/showcase/code-reviewer.ossa.yaml +28 -31
- package/examples/showcase/compliance-validator.ossa.yaml +31 -32
- package/examples/showcase/content-writer.ossa.yaml +35 -32
- package/examples/showcase/data-transformer.ossa.yaml +35 -37
- package/examples/showcase/doc-generator.ossa.yaml +33 -35
- package/examples/showcase/security-scanner.ossa.yaml +33 -32
- package/examples/showcase/test-generator.ossa.yaml +25 -51
- package/examples/showcase/workflow-orchestrator.ossa.yaml +63 -78
- package/examples/tasks/batch-email-sender.yaml +1 -1
- package/examples/tasks/data-transform.yaml +1 -1
- package/examples/tasks/publish-content.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +224 -227
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/junit.xml +1469 -0
- package/openapi/agent-communication.yaml +4 -45
- package/openapi/agent-crud.yaml +13 -65
- package/openapi/agent-discovery.yaml +3 -3
- package/openapi/agent-identity.yaml +8 -8
- package/openapi/cli-commands.openapi.yaml +1316 -110
- package/openapi/core/ossa-core-api.openapi.yaml +19 -257
- package/openapi/core/ossa-registry-api.openapi.yaml +1 -1
- package/openapi/core/ossa-registry.openapi.yaml +5 -36
- package/openapi/core/unified-agent-gateway.openapi.yaml +1 -1
- package/openapi/dev-cli.openapi.yml +867 -0
- package/openapi/github-sync.yaml +1 -1
- package/openapi/protocols/sse-streams.yaml +1 -1
- package/openapi/protocols/websocket-events.yaml +2 -2
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +3 -3
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +3 -3
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/helm-generator.openapi.yaml +1 -1
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +3 -3
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +1 -1
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +1 -1
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +1 -1
- package/openapi/schemas/common/agent.yaml +229 -0
- package/openapi/schemas/common/errors.yaml +75 -0
- package/openapi/schemas/common/metadata.yaml +62 -0
- package/openapi/schemas/common/pagination.yaml +72 -0
- package/openapi/schemas/common/security.yaml +88 -0
- package/openapi/schemas/index.yaml +88 -0
- package/package.json +29 -21
- package/spec/examples/reference-agents/compliance-auditor/manifest.ossa.yaml +527 -0
- package/spec/examples/reference-agents/doc-agent/manifest.ossa.yaml +776 -0
- package/spec/examples/reference-agents/mr-reviewer/manifest.ossa.yaml +249 -0
- package/spec/examples/reference-agents/mr-reviewer/system-prompt.md +154 -0
- package/spec/examples/reference-agents/ossa-validator-v0.3/manifest.ossa.yaml +548 -0
- package/spec/examples/reference-agents/ossa-validator-v0.3/system-prompt.md +135 -0
- package/spec/examples/reference-agents/pipeline-fixer/manifest.ossa.yaml +336 -0
- package/spec/examples/reference-agents/release-orchestrator/README.md +35 -0
- package/spec/examples/reference-agents/release-orchestrator/manifest.ossa.yaml +233 -0
- package/spec/extensions/a2a-messaging.md +5 -5
- package/spec/extensions/manifest-extensions.md +4 -4
- package/spec/extensions/openapi/ossa-openapi-extensions.schema.json +10 -10
- package/spec/extensions/skills-compatibility.md +292 -0
- package/spec/registry/README.md +1 -1
- package/spec/registry/registry-spec.md +6 -6
- package/spec/v0.3.2/MIGRATION-v0.3.1-to-v0.3.2.md +19 -19
- package/spec/v0.3.2/UNIFIED-SCHEMA.md +3 -3
- package/spec/v0.3.2/access_tiers.yaml +2 -2
- package/spec/v0.3.2/adapters/drupal.md +7 -7
- package/spec/v0.3.2/adapters/symfony.md +4 -4
- package/spec/v0.3.2/agent-test.schema.json +2 -2
- package/spec/v0.3.2/examples/access-tiers/README.md +4 -4
- package/spec/v0.3.2/examples/access-tiers/code-critic.ossa.yaml +8 -22
- package/spec/v0.3.2/examples/access-tiers/compliance-governor.ossa.yaml +11 -29
- package/spec/v0.3.2/examples/access-tiers/deployment-operator.ossa.yaml +9 -27
- package/spec/v0.3.2/examples/access-tiers/doc-generator.ossa.yaml +4 -23
- package/spec/v0.3.2/examples/access-tiers/security-scanner.ossa.yaml +9 -24
- package/spec/v0.3.2/examples/agent-with-identity.ossa.yaml +5 -10
- package/spec/v0.3.2/examples/drupal-content-writer.ossa.yaml +31 -50
- package/spec/v0.3.2/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/spec/v0.3.2/examples/multi-provider-identity.ossa.yaml +4 -35
- package/spec/v0.3.2/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/spec/v0.3.2/examples/tasks/data-transform.ossa.yaml +37 -47
- package/spec/v0.3.2/examples/tasks/publish-content.ossa.yaml +21 -43
- package/spec/v0.3.2/examples/workflows/content-publishing.ossa.yaml +59 -76
- package/spec/v0.3.2/examples/workflows/deployment-pipeline.ossa.yaml +80 -92
- package/spec/v0.3.2/extensions/agent-identity.yaml +3 -3
- package/spec/v0.3.2/extensions/drupal.md +5 -5
- package/spec/v0.3.2/infrastructure/service-ports.yaml +1 -1
- package/spec/v0.3.2/ossa-0.3.2.schema.json +86 -15
- package/spec/v0.3.2/protocols/delegation.yaml +1 -1
- package/spec/v0.3.2/protocols/websocket.md +2 -2
- package/spec/v0.3.2/runtime/RUNTIME.md +3 -3
- package/spec/v0.3.2/runtime/memory-model.yaml +4 -4
- package/spec/v0.3.2/runtime/runtime.yaml +4 -4
- package/spec/v0.3.2/schemas/agent-unified.yaml +2 -2
- package/spec/v0.3.2/schemas/capabilities.yaml +2 -2
- package/spec/v0.3.2/schemas/functions.yaml +2 -2
- package/spec/v0.3.2/schemas/messaging/channel.schema.json +2 -2
- package/spec/v0.3.2/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/spec/v0.3.2/schemas/messaging/message.schema.json +3 -3
- package/spec/v0.3.2/schemas/messaging/subscription.schema.json +2 -2
- package/spec/v0.3.2/schemas/runtime.yaml +2 -2
- package/spec/v0.3.2/schemas/taxonomy.yaml +3 -3
- package/spec/v0.3.2/schemas/unified-llm.yaml +2 -2
- package/spec/v0.3.2/taxonomy.yaml +2 -2
- package/spec/v0.3.3/MIGRATION-v0.3.2-to-v0.3.3.md +117 -0
- package/spec/{v0.3.0 → v0.3.3}/UNIFIED-SCHEMA.md +3 -3
- package/spec/v0.3.3/access_tiers.yaml +375 -0
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/adapters/drupal.md +7 -7
- package/spec/{v0.3.0 → v0.3.3}/adapters/symfony.md +4 -4
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/agent-test.schema.json +2 -2
- package/spec/v0.3.3/examples/access-tiers/README.md +106 -0
- package/spec/v0.3.3/examples/access-tiers/code-critic.ossa.yaml +105 -0
- package/spec/v0.3.3/examples/access-tiers/compliance-governor.ossa.yaml +216 -0
- package/spec/v0.3.3/examples/access-tiers/deployment-operator.ossa.yaml +183 -0
- package/spec/v0.3.3/examples/access-tiers/doc-generator.ossa.yaml +98 -0
- package/spec/v0.3.3/examples/access-tiers/security-scanner.ossa.yaml +118 -0
- package/spec/v0.3.3/examples/agent-with-identity.ossa.yaml +63 -0
- package/spec/{v0.3.0 → v0.3.3}/examples/drupal-content-writer.ossa.yaml +31 -50
- package/spec/{v0.3.0 → v0.3.3}/examples/drupal-moderation-assistant.ossa.yaml +27 -43
- package/spec/v0.3.3/examples/multi-provider-identity.ossa.yaml +205 -0
- package/spec/{v0.3.0 → v0.3.3}/examples/quick-wins/complete-agent-with-quick-wins.ossa.yaml +5 -18
- package/spec/v0.3.3/examples/tasks/data-transform.ossa.yaml +137 -0
- package/spec/v0.3.3/examples/tasks/publish-content.ossa.yaml +103 -0
- package/spec/v0.3.3/examples/workflows/content-publishing.ossa.yaml +173 -0
- package/spec/v0.3.3/examples/workflows/deployment-pipeline.ossa.yaml +235 -0
- package/spec/v0.3.3/extensions/agent-identity.yaml +594 -0
- package/spec/v0.3.3/extensions/agents-md.md +1219 -0
- package/spec/v0.3.3/extensions/autogen.md +1124 -0
- package/spec/v0.3.3/extensions/bedrock-agents.md +1320 -0
- package/spec/v0.3.3/extensions/crewai.md +1575 -0
- package/spec/v0.3.3/extensions/dify.md +1461 -0
- package/spec/{v0.3.0 → v0.3.3}/extensions/drupal.md +5 -5
- package/spec/v0.3.3/extensions/langchain.md +1092 -0
- package/spec/v0.3.3/extensions/langflow.md +1055 -0
- package/spec/v0.3.3/extensions/llamaindex.md +1519 -0
- package/spec/v0.3.3/extensions/llms-txt.md +295 -0
- package/spec/v0.3.3/extensions/openai-assistants.md +1632 -0
- package/spec/v0.3.3/extensions/openai-swarm.md +1400 -0
- package/spec/v0.3.3/extensions/opentelemetry.md +360 -0
- package/spec/v0.3.3/extensions/semantic-kernel.md +1360 -0
- package/spec/v0.3.3/extensions/vercel-ai.md +1197 -0
- package/spec/v0.3.3/infrastructure/service-ports.yaml +324 -0
- package/spec/v0.3.3/ossa-0.3.3.schema.json +9773 -0
- package/spec/v0.3.3/protocols/a2a-communication.schema.json +897 -0
- package/spec/v0.3.3/protocols/delegation.yaml +239 -0
- package/spec/v0.3.3/protocols/identity-runtime.schema.json +482 -0
- package/spec/{v0.3.0 → v0.3.3}/protocols/websocket.md +2 -2
- package/spec/v0.3.3/runtime/RUNTIME.md +457 -0
- package/spec/v0.3.3/runtime/memory-model.yaml +871 -0
- package/spec/v0.3.3/runtime/runtime.yaml +926 -0
- package/spec/{v0.3.0 → v0.3.3}/schemas/agent-unified.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/capabilities.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/functions.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/channel.schema.json +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/delivery-receipt.schema.json +2 -2
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/messaging/message.schema.json +3 -3
- package/spec/{v0.3.0 → v0.3.3}/schemas/messaging/subscription.schema.json +2 -2
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/runtime.yaml +2 -2
- package/spec/{v0.3.0 → v0.3.3}/schemas/taxonomy.yaml +3 -3
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/schemas/unified-llm.yaml +2 -2
- package/{dist/spec/v0.3.0 → spec/v0.3.3}/taxonomy.yaml +114 -7
- package/.devfile.yaml +0 -87
- package/.gitlab-ci-trigger +0 -1
- package/bin/ossa-dev +0 -42
- package/bin/ossa-export +0 -32
- package/bin/ossa-generate +0 -53
- package/bin/ossa-health +0 -40
- package/bin/ossa-init +0 -26
- package/bin/quickstart +0 -514
- package/bin/validate-ossa.ts +0 -273
- package/dist/cli/commands/release.command.d.ts +0 -8
- package/dist/cli/commands/release.command.d.ts.map +0 -1
- package/dist/cli/commands/release.command.js +0 -641
- package/dist/cli/commands/release.command.js.map +0 -1
- package/dist/sdk/events/cloudevents-emitter.d.ts.map +0 -1
- package/dist/sdk/events/cloudevents-emitter.js.map +0 -1
- package/dist/sdk/events/index.d.ts.map +0 -1
- package/dist/sdk/events/index.js.map +0 -1
- package/dist/sdk/tracing/index.d.ts.map +0 -1
- package/dist/sdk/tracing/index.js.map +0 -1
- package/dist/sdk/tracing/w3c-baggage.d.ts.map +0 -1
- package/dist/sdk/tracing/w3c-baggage.js.map +0 -1
- package/dist/spec/v0.1.9/agent-autonomous-extensions.json +0 -234
- package/dist/spec/v0.1.9/ecosystem-compliance.json +0 -235
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json +0 -695
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +0 -695
- package/dist/spec/v0.1.9/reasoning-compliance.json +0 -654
- package/dist/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/dist/spec/v0.2.1/ossa-0.2.1.schema.json +0 -555
- package/dist/spec/v0.2.2/kagent-enhancements.json +0 -395
- package/dist/spec/v0.2.2/ossa-0.2.2.schema.json +0 -906
- package/dist/spec/v0.2.2/ossa-0.2.2.yaml +0 -448
- package/dist/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +0 -424
- package/dist/spec/v0.2.3/CHANGELOG.md +0 -176
- package/dist/spec/v0.2.3/README.md +0 -154
- package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/dist/spec/v0.2.3/ossa-0.2.3.schema.json +0 -1397
- package/dist/spec/v0.2.3/ossa-0.2.3.yaml +0 -448
- package/dist/spec/v0.2.4/CHANGELOG.md +0 -403
- package/dist/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +0 -1696
- package/dist/spec/v0.2.4/ossa-0.2.4.yaml +0 -581
- package/dist/spec/v0.2.5/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.5/README.md +0 -72
- package/dist/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.5/ossa-0.2.5.schema.json +0 -1696
- package/dist/spec/v0.2.5/ossa-0.2.5.yaml +0 -581
- package/dist/spec/v0.2.5-RC/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.5-RC/README.md +0 -72
- package/dist/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +0 -1696
- package/dist/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +0 -581
- package/dist/spec/v0.2.6/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.6/README.md +0 -72
- package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +0 -1786
- package/dist/spec/v0.2.6/ossa-0.2.6.yaml +0 -581
- package/dist/spec/v0.2.6-dev/CHANGELOG.md +0 -164
- package/dist/spec/v0.2.6-dev/README.md +0 -75
- package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +0 -581
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +0 -448
- package/dist/spec/v0.2.7/core/agentgraph.md +0 -324
- package/dist/spec/v0.2.7/resources/agentgraph.yaml +0 -135
- package/dist/spec/v0.2.8/CHANGELOG.md +0 -401
- package/dist/spec/v0.2.8/README.md +0 -72
- package/dist/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/dist/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/dist/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +0 -81
- package/dist/spec/v0.2.8/ossa-0.2.8.schema.json +0 -3247
- package/dist/spec/v0.2.8/ossa-0.2.8.yaml +0 -581
- package/dist/spec/v0.2.9/a2a-protocol.md +0 -1337
- package/dist/spec/v0.2.9/agent.md +0 -1946
- package/dist/spec/v0.2.9/capabilities/index.yaml +0 -25
- package/dist/spec/v0.2.9/capabilities/memory.yaml +0 -251
- package/dist/spec/v0.2.9/capability-schema.md +0 -576
- package/dist/spec/v0.2.9/compliance-profiles.md +0 -533
- package/dist/spec/v0.2.9/conformance-testing.md +0 -1527
- package/dist/spec/v0.2.9/gitlab-duo-integration.md +0 -621
- package/dist/spec/v0.2.9/ossa-0.2.9.schema.json +0 -3699
- package/dist/spec/v0.2.9/runtime-semantics.md +0 -464
- package/dist/spec/v0.2.9/security-model.md +0 -1245
- package/dist/spec/v0.2.9/semantic-conventions.md +0 -347
- package/dist/spec/v0.2.9/types.ts +0 -522
- package/dist/spec/v0.3.0/ossa-0.3.0.schema.json +0 -2787
- package/examples/reference-implementations/curl-scripts/01-search-agents.sh +0 -72
- package/examples/reference-implementations/curl-scripts/02-get-agent-details.sh +0 -74
- package/examples/reference-implementations/curl-scripts/03-publish-agent.sh +0 -136
- package/examples/reference-implementations/curl-scripts/04-a2a-messaging.sh +0 -178
- package/examples/reference-implementations/curl-scripts/05-discovery.sh +0 -98
- package/schemas/agent.json +0 -523
- package/spec/v0.1.9/agent-autonomous-extensions.json +0 -234
- package/spec/v0.1.9/ecosystem-compliance.json +0 -235
- package/spec/v0.1.9/ossa-v0.1.9.schema.json +0 -695
- package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +0 -695
- package/spec/v0.1.9/reasoning-compliance.json +0 -654
- package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/spec/v0.2.1/ossa-0.2.1.schema.json +0 -555
- package/spec/v0.2.2/kagent-enhancements.json +0 -395
- package/spec/v0.2.2/ossa-0.2.2.schema.json +0 -906
- package/spec/v0.2.2/ossa-0.2.2.yaml +0 -448
- package/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +0 -424
- package/spec/v0.2.3/CHANGELOG.md +0 -176
- package/spec/v0.2.3/README.md +0 -154
- package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/spec/v0.2.3/ossa-0.2.3.schema.json +0 -1397
- package/spec/v0.2.3/ossa-0.2.3.yaml +0 -448
- package/spec/v0.2.4/CHANGELOG.md +0 -403
- package/spec/v0.2.4/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.4/ossa-0.2.4.schema.json +0 -1696
- package/spec/v0.2.4/ossa-0.2.4.yaml +0 -581
- package/spec/v0.2.5/CHANGELOG.md +0 -401
- package/spec/v0.2.5/README.md +0 -72
- package/spec/v0.2.5/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.5/ossa-0.2.5.schema.json +0 -1696
- package/spec/v0.2.5/ossa-0.2.5.yaml +0 -581
- package/spec/v0.2.5-RC/CHANGELOG.md +0 -401
- package/spec/v0.2.5-RC/README.md +0 -72
- package/spec/v0.2.5-RC/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.schema.json +0 -1696
- package/spec/v0.2.5-RC/ossa-0.2.5-RC.yaml +0 -581
- package/spec/v0.2.6/CHANGELOG.md +0 -401
- package/spec/v0.2.6/README.md +0 -72
- package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/spec/v0.2.6/ossa-0.2.6.schema.json +0 -1786
- package/spec/v0.2.6/ossa-0.2.6.yaml +0 -581
- package/spec/v0.2.6-dev/CHANGELOG.md +0 -164
- package/spec/v0.2.6-dev/README.md +0 -75
- package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +0 -343
- package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.6-dev/ossa-0.2.5.yaml +0 -581
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +0 -448
- package/spec/v0.2.7/core/agentgraph.md +0 -324
- package/spec/v0.2.7/resources/agentgraph.yaml +0 -135
- package/spec/v0.2.8/CHANGELOG.md +0 -401
- package/spec/v0.2.8/README.md +0 -72
- package/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +0 -599
- package/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +0 -65
- package/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +0 -81
- package/spec/v0.2.8/ossa-0.2.8.schema.json +0 -3247
- package/spec/v0.2.8/ossa-0.2.8.yaml +0 -581
- package/spec/v0.2.9/a2a-protocol.md +0 -1337
- package/spec/v0.2.9/agent.md +0 -1946
- package/spec/v0.2.9/capabilities/index.yaml +0 -25
- package/spec/v0.2.9/capabilities/memory.yaml +0 -251
- package/spec/v0.2.9/capability-schema.md +0 -576
- package/spec/v0.2.9/compliance-profiles.md +0 -533
- package/spec/v0.2.9/conformance-testing.md +0 -1527
- package/spec/v0.2.9/gitlab-duo-integration.md +0 -621
- package/spec/v0.2.9/ossa-0.2.9.schema.json +0 -3699
- package/spec/v0.2.9/runtime-semantics.md +0 -464
- package/spec/v0.2.9/security-model.md +0 -1245
- package/spec/v0.2.9/semantic-conventions.md +0 -347
- package/spec/v0.2.9/types.ts +0 -522
- package/spec/v0.3.0/ossa-0.3.0.schema.json +0 -2787
- /package/dist/{sdk → sdks/typescript}/events/cloudevents-emitter.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/events/cloudevents-emitter.js +0 -0
- /package/dist/{sdk → sdks/typescript}/events/index.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/events/index.js +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/index.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/index.js +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/w3c-baggage.d.ts +0 -0
- /package/dist/{sdk → sdks/typescript}/tracing/w3c-baggage.js +0 -0
- /package/{schemas/communication.json → dist/spec/v0.3.3/protocols/a2a-communication.schema.json} +0 -0
- /package/{schemas/identity.json → dist/spec/v0.3.3/protocols/identity-runtime.schema.json} +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.3}/protocols/sse.md +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.3}/protocols/webrtc.md +0 -0
- /package/dist/spec/{v0.3.0 → v0.3.3}/runtime-bindings/anthropic.yaml +0 -0
- /package/spec/{v0.3.0 → v0.3.3}/protocols/sse.md +0 -0
- /package/spec/{v0.3.0 → v0.3.3}/protocols/webrtc.md +0 -0
- /package/spec/{v0.3.0 → v0.3.3}/runtime-bindings/anthropic.yaml +0 -0
|
@@ -0,0 +1,1092 @@
|
|
|
1
|
+
# LangChain/LangGraph Extension for OSSA v0.3.3
|
|
2
|
+
|
|
3
|
+
**Version:** 0.3.3
|
|
4
|
+
**Status:** Stable
|
|
5
|
+
**Last Updated:** 2025-12-31
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
The `extensions.langchain` schema provides comprehensive bidirectional mapping between LangChain/LangGraph constructs and OSSA manifest primitives. This extension enables:
|
|
10
|
+
|
|
11
|
+
- LCEL (LangChain Expression Language) chains to be represented as OSSA Workflows
|
|
12
|
+
- LangGraph state machines mapped to OSSA Workflow kind with conditional branching
|
|
13
|
+
- Tool/Function binding via OSSA capabilities abstraction
|
|
14
|
+
- Memory systems (ConversationBufferMemory, VectorStoreMemory) mapped to OSSA state
|
|
15
|
+
- Agent architectures (ReAct, OpenAI Functions, XML) to OSSA Agent kind
|
|
16
|
+
- Callbacks integration with OSSA observability
|
|
17
|
+
- Runnables as OSSA Task kind
|
|
18
|
+
|
|
19
|
+
## Schema Definition
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
extensions:
|
|
23
|
+
langchain:
|
|
24
|
+
type: object
|
|
25
|
+
description: "LangChain/LangGraph integration extension for OSSA v0.3.3"
|
|
26
|
+
properties:
|
|
27
|
+
enabled:
|
|
28
|
+
type: boolean
|
|
29
|
+
default: true
|
|
30
|
+
description: "Enable LangChain extension"
|
|
31
|
+
|
|
32
|
+
version:
|
|
33
|
+
type: string
|
|
34
|
+
pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
|
|
35
|
+
description: "LangChain version compatibility (e.g., 0.3.0)"
|
|
36
|
+
examples:
|
|
37
|
+
- "0.3.0"
|
|
38
|
+
- "0.2.16"
|
|
39
|
+
|
|
40
|
+
chains:
|
|
41
|
+
type: array
|
|
42
|
+
description: "LCEL chain definitions mapped to OSSA constructs"
|
|
43
|
+
items:
|
|
44
|
+
$ref: "#/definitions/LangChainChainConfig"
|
|
45
|
+
|
|
46
|
+
graphs:
|
|
47
|
+
type: array
|
|
48
|
+
description: "LangGraph state machine definitions"
|
|
49
|
+
items:
|
|
50
|
+
$ref: "#/definitions/LangGraphConfig"
|
|
51
|
+
|
|
52
|
+
memory_type:
|
|
53
|
+
type: string
|
|
54
|
+
enum:
|
|
55
|
+
- conversation_buffer
|
|
56
|
+
- conversation_buffer_window
|
|
57
|
+
- conversation_summary
|
|
58
|
+
- vector_store
|
|
59
|
+
- entity
|
|
60
|
+
- combined
|
|
61
|
+
- none
|
|
62
|
+
default: none
|
|
63
|
+
description: "Memory backend type for stateful interactions"
|
|
64
|
+
|
|
65
|
+
memory_config:
|
|
66
|
+
type: object
|
|
67
|
+
description: "Memory-specific configuration"
|
|
68
|
+
properties:
|
|
69
|
+
max_token_limit:
|
|
70
|
+
type: integer
|
|
71
|
+
minimum: 100
|
|
72
|
+
maximum: 128000
|
|
73
|
+
description: "Maximum tokens for memory buffer"
|
|
74
|
+
k:
|
|
75
|
+
type: integer
|
|
76
|
+
minimum: 1
|
|
77
|
+
description: "Window size for conversation_buffer_window"
|
|
78
|
+
vector_store:
|
|
79
|
+
type: object
|
|
80
|
+
properties:
|
|
81
|
+
type:
|
|
82
|
+
type: string
|
|
83
|
+
enum: [chroma, qdrant, pinecone, weaviate, milvus, pgvector, faiss]
|
|
84
|
+
collection_name:
|
|
85
|
+
type: string
|
|
86
|
+
embedding_model:
|
|
87
|
+
type: string
|
|
88
|
+
description: "Embedding model for vectorization"
|
|
89
|
+
connection_string:
|
|
90
|
+
type: string
|
|
91
|
+
description: "Connection string reference (use env var)"
|
|
92
|
+
|
|
93
|
+
callbacks:
|
|
94
|
+
type: array
|
|
95
|
+
description: "LangChain callback handlers mapped to OSSA observability"
|
|
96
|
+
items:
|
|
97
|
+
$ref: "#/definitions/LangChainCallbackConfig"
|
|
98
|
+
|
|
99
|
+
runnable_config:
|
|
100
|
+
type: object
|
|
101
|
+
description: "Global RunnableConfig settings"
|
|
102
|
+
properties:
|
|
103
|
+
max_concurrency:
|
|
104
|
+
type: integer
|
|
105
|
+
minimum: 1
|
|
106
|
+
maximum: 100
|
|
107
|
+
default: 5
|
|
108
|
+
description: "Maximum concurrent runnable executions"
|
|
109
|
+
recursion_limit:
|
|
110
|
+
type: integer
|
|
111
|
+
minimum: 1
|
|
112
|
+
maximum: 100
|
|
113
|
+
default: 25
|
|
114
|
+
description: "Maximum recursion depth for nested runnables"
|
|
115
|
+
tags:
|
|
116
|
+
type: array
|
|
117
|
+
items:
|
|
118
|
+
type: string
|
|
119
|
+
description: "Tags for filtering callbacks"
|
|
120
|
+
metadata:
|
|
121
|
+
type: object
|
|
122
|
+
additionalProperties: true
|
|
123
|
+
description: "Arbitrary metadata passed to callbacks"
|
|
124
|
+
configurable:
|
|
125
|
+
type: object
|
|
126
|
+
additionalProperties: true
|
|
127
|
+
description: "Configurable fields for runtime configuration"
|
|
128
|
+
|
|
129
|
+
agent_type:
|
|
130
|
+
type: string
|
|
131
|
+
enum:
|
|
132
|
+
- react
|
|
133
|
+
- openai_functions
|
|
134
|
+
- openai_tools
|
|
135
|
+
- xml
|
|
136
|
+
- structured_chat
|
|
137
|
+
- tool_calling
|
|
138
|
+
- langgraph_react
|
|
139
|
+
- custom
|
|
140
|
+
description: "LangChain agent architecture type"
|
|
141
|
+
|
|
142
|
+
agent_config:
|
|
143
|
+
type: object
|
|
144
|
+
description: "Agent-type-specific configuration"
|
|
145
|
+
properties:
|
|
146
|
+
handle_parsing_errors:
|
|
147
|
+
type: boolean
|
|
148
|
+
default: true
|
|
149
|
+
max_iterations:
|
|
150
|
+
type: integer
|
|
151
|
+
minimum: 1
|
|
152
|
+
maximum: 100
|
|
153
|
+
default: 15
|
|
154
|
+
early_stopping_method:
|
|
155
|
+
type: string
|
|
156
|
+
enum: [force, generate]
|
|
157
|
+
default: generate
|
|
158
|
+
return_intermediate_steps:
|
|
159
|
+
type: boolean
|
|
160
|
+
default: false
|
|
161
|
+
trim_intermediate_steps:
|
|
162
|
+
type: integer
|
|
163
|
+
description: "Keep only last N intermediate steps"
|
|
164
|
+
|
|
165
|
+
definitions:
|
|
166
|
+
LangChainChainConfig:
|
|
167
|
+
type: object
|
|
168
|
+
required:
|
|
169
|
+
- name
|
|
170
|
+
- type
|
|
171
|
+
properties:
|
|
172
|
+
name:
|
|
173
|
+
type: string
|
|
174
|
+
pattern: "^[a-z][a-z0-9_-]*$"
|
|
175
|
+
description: "Chain identifier"
|
|
176
|
+
type:
|
|
177
|
+
type: string
|
|
178
|
+
enum:
|
|
179
|
+
- llm
|
|
180
|
+
- prompt_template
|
|
181
|
+
- retrieval
|
|
182
|
+
- stuff_documents
|
|
183
|
+
- map_reduce
|
|
184
|
+
- refine
|
|
185
|
+
- map_rerank
|
|
186
|
+
- conversational_retrieval
|
|
187
|
+
- sql_database
|
|
188
|
+
- api
|
|
189
|
+
- transformation
|
|
190
|
+
- sequential
|
|
191
|
+
- router
|
|
192
|
+
- custom
|
|
193
|
+
description: "Chain type"
|
|
194
|
+
lcel_expression:
|
|
195
|
+
type: string
|
|
196
|
+
description: "LCEL expression string (e.g., 'prompt | llm | parser')"
|
|
197
|
+
components:
|
|
198
|
+
type: array
|
|
199
|
+
description: "Chain components for sequential chains"
|
|
200
|
+
items:
|
|
201
|
+
type: object
|
|
202
|
+
properties:
|
|
203
|
+
type:
|
|
204
|
+
type: string
|
|
205
|
+
enum: [prompt, llm, parser, retriever, tool, function, passthrough, itemgetter]
|
|
206
|
+
ref:
|
|
207
|
+
type: string
|
|
208
|
+
description: "Reference to component definition"
|
|
209
|
+
config:
|
|
210
|
+
type: object
|
|
211
|
+
additionalProperties: true
|
|
212
|
+
input_schema:
|
|
213
|
+
$ref: "#/definitions/JSONSchemaDefinition"
|
|
214
|
+
output_schema:
|
|
215
|
+
$ref: "#/definitions/JSONSchemaDefinition"
|
|
216
|
+
fallback:
|
|
217
|
+
type: object
|
|
218
|
+
description: "Fallback chain configuration"
|
|
219
|
+
properties:
|
|
220
|
+
chain_ref:
|
|
221
|
+
type: string
|
|
222
|
+
exceptions:
|
|
223
|
+
type: array
|
|
224
|
+
items:
|
|
225
|
+
type: string
|
|
226
|
+
batch_config:
|
|
227
|
+
type: object
|
|
228
|
+
properties:
|
|
229
|
+
max_concurrency:
|
|
230
|
+
type: integer
|
|
231
|
+
return_exceptions:
|
|
232
|
+
type: boolean
|
|
233
|
+
default: false
|
|
234
|
+
|
|
235
|
+
LangGraphConfig:
|
|
236
|
+
type: object
|
|
237
|
+
required:
|
|
238
|
+
- name
|
|
239
|
+
- nodes
|
|
240
|
+
properties:
|
|
241
|
+
name:
|
|
242
|
+
type: string
|
|
243
|
+
pattern: "^[a-z][a-z0-9_-]*$"
|
|
244
|
+
description: "Graph identifier"
|
|
245
|
+
state_schema:
|
|
246
|
+
$ref: "#/definitions/JSONSchemaDefinition"
|
|
247
|
+
description: "TypedDict/Pydantic state schema"
|
|
248
|
+
nodes:
|
|
249
|
+
type: array
|
|
250
|
+
description: "Graph nodes"
|
|
251
|
+
items:
|
|
252
|
+
type: object
|
|
253
|
+
required:
|
|
254
|
+
- id
|
|
255
|
+
- type
|
|
256
|
+
properties:
|
|
257
|
+
id:
|
|
258
|
+
type: string
|
|
259
|
+
description: "Node identifier"
|
|
260
|
+
type:
|
|
261
|
+
type: string
|
|
262
|
+
enum:
|
|
263
|
+
- agent
|
|
264
|
+
- tool
|
|
265
|
+
- function
|
|
266
|
+
- subgraph
|
|
267
|
+
- passthrough
|
|
268
|
+
- conditional
|
|
269
|
+
- human_in_loop
|
|
270
|
+
handler:
|
|
271
|
+
type: string
|
|
272
|
+
description: "Handler function/class reference"
|
|
273
|
+
ossa_ref:
|
|
274
|
+
type: string
|
|
275
|
+
description: "Reference to OSSA Task or Agent manifest"
|
|
276
|
+
edges:
|
|
277
|
+
type: array
|
|
278
|
+
description: "Graph edges (transitions)"
|
|
279
|
+
items:
|
|
280
|
+
type: object
|
|
281
|
+
required:
|
|
282
|
+
- from
|
|
283
|
+
- to
|
|
284
|
+
properties:
|
|
285
|
+
from:
|
|
286
|
+
type: string
|
|
287
|
+
description: "Source node ID or START"
|
|
288
|
+
to:
|
|
289
|
+
type: string
|
|
290
|
+
description: "Target node ID or END"
|
|
291
|
+
condition:
|
|
292
|
+
type: string
|
|
293
|
+
description: "Condition function reference for conditional edges"
|
|
294
|
+
condition_map:
|
|
295
|
+
type: object
|
|
296
|
+
description: "Map of condition values to target nodes"
|
|
297
|
+
additionalProperties:
|
|
298
|
+
type: string
|
|
299
|
+
entrypoint:
|
|
300
|
+
type: string
|
|
301
|
+
default: "START"
|
|
302
|
+
description: "Entry point node ID"
|
|
303
|
+
checkpointer:
|
|
304
|
+
type: object
|
|
305
|
+
description: "State persistence configuration"
|
|
306
|
+
properties:
|
|
307
|
+
type:
|
|
308
|
+
type: string
|
|
309
|
+
enum: [memory, sqlite, postgres, redis]
|
|
310
|
+
connection_string:
|
|
311
|
+
type: string
|
|
312
|
+
interrupt_before:
|
|
313
|
+
type: array
|
|
314
|
+
items:
|
|
315
|
+
type: string
|
|
316
|
+
description: "Nodes to interrupt before (human-in-the-loop)"
|
|
317
|
+
interrupt_after:
|
|
318
|
+
type: array
|
|
319
|
+
items:
|
|
320
|
+
type: string
|
|
321
|
+
description: "Nodes to interrupt after"
|
|
322
|
+
|
|
323
|
+
LangChainCallbackConfig:
|
|
324
|
+
type: object
|
|
325
|
+
required:
|
|
326
|
+
- type
|
|
327
|
+
properties:
|
|
328
|
+
type:
|
|
329
|
+
type: string
|
|
330
|
+
enum:
|
|
331
|
+
- langchain_tracer
|
|
332
|
+
- langsmith
|
|
333
|
+
- stdout
|
|
334
|
+
- file
|
|
335
|
+
- opentelemetry
|
|
336
|
+
- phoenix
|
|
337
|
+
- wandb
|
|
338
|
+
- mlflow
|
|
339
|
+
- custom
|
|
340
|
+
description: "Callback handler type"
|
|
341
|
+
config:
|
|
342
|
+
type: object
|
|
343
|
+
additionalProperties: true
|
|
344
|
+
description: "Handler-specific configuration"
|
|
345
|
+
events:
|
|
346
|
+
type: array
|
|
347
|
+
items:
|
|
348
|
+
type: string
|
|
349
|
+
enum:
|
|
350
|
+
- on_llm_start
|
|
351
|
+
- on_llm_end
|
|
352
|
+
- on_llm_error
|
|
353
|
+
- on_chain_start
|
|
354
|
+
- on_chain_end
|
|
355
|
+
- on_chain_error
|
|
356
|
+
- on_tool_start
|
|
357
|
+
- on_tool_end
|
|
358
|
+
- on_tool_error
|
|
359
|
+
- on_agent_action
|
|
360
|
+
- on_agent_finish
|
|
361
|
+
- on_retriever_start
|
|
362
|
+
- on_retriever_end
|
|
363
|
+
- on_text
|
|
364
|
+
- on_retry
|
|
365
|
+
description: "Events to handle (empty = all)"
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
## Bidirectional Mapping Tables
|
|
369
|
+
|
|
370
|
+
### 1. LCEL Chains to OSSA Workflows
|
|
371
|
+
|
|
372
|
+
| LangChain Construct | OSSA Equivalent | Notes |
|
|
373
|
+
|---------------------|-----------------|-------|
|
|
374
|
+
| `prompt \| llm \| parser` | `Workflow.steps[]` with sequential `Task` refs | Pipe operator maps to step dependencies |
|
|
375
|
+
| `RunnableSequence` | `Workflow` with ordered `steps` | Each runnable becomes a step |
|
|
376
|
+
| `RunnableParallel` | `Workflow.steps[].kind: Parallel` | Parallel execution group |
|
|
377
|
+
| `RunnableBranch` | `Workflow.steps[].kind: Conditional` | Conditional branching |
|
|
378
|
+
| `RunnableLambda` | `Task` with `execution.type: deterministic` | Pure function wrapper |
|
|
379
|
+
| `RunnablePassthrough` | `Task` with identity transform | Input passthrough |
|
|
380
|
+
| `chain.with_fallbacks()` | `Workflow.error_handling.on_failure: fallback` | Error fallback chain |
|
|
381
|
+
| `chain.batch()` | `Task.batch.enabled: true` | Batch processing |
|
|
382
|
+
| `chain.astream()` | `runtime.transport: async` | Streaming execution |
|
|
383
|
+
| `chain.invoke()` | Standard workflow execution | Synchronous invocation |
|
|
384
|
+
|
|
385
|
+
### 2. LangGraph State Machines to OSSA Workflows
|
|
386
|
+
|
|
387
|
+
| LangGraph Construct | OSSA Equivalent | Notes |
|
|
388
|
+
|---------------------|-----------------|-------|
|
|
389
|
+
| `StateGraph` | `kind: Workflow` | Workflow with state context |
|
|
390
|
+
| `graph.add_node()` | `Workflow.steps[]` | Each node is a step |
|
|
391
|
+
| `graph.add_edge()` | `steps[].depends_on` | Explicit dependencies |
|
|
392
|
+
| `graph.add_conditional_edges()` | `steps[].kind: Conditional` with `branches` | Conditional routing |
|
|
393
|
+
| `START` | First step (no `depends_on`) | Entry point |
|
|
394
|
+
| `END` | Step with no dependents | Terminal state |
|
|
395
|
+
| `MemorySaver` | `spec.state.persistence` | State checkpointing |
|
|
396
|
+
| `graph.compile()` | Workflow validation | Compile-time checks |
|
|
397
|
+
| `interrupt_before` | Human-in-loop approval | `access.requires_approval` |
|
|
398
|
+
| `state.messages` | `spec.state.schema.messages` | Message history |
|
|
399
|
+
| `state.update` | `steps[].output.to` | State updates |
|
|
400
|
+
|
|
401
|
+
### 3. Tool/Function Binding to OSSA Capabilities
|
|
402
|
+
|
|
403
|
+
| LangChain Construct | OSSA Equivalent | Notes |
|
|
404
|
+
|---------------------|-----------------|-------|
|
|
405
|
+
| `@tool` decorator | `spec.tools[]` | Tool definition |
|
|
406
|
+
| `Tool(name, func, description)` | `Tool` definition | Explicit tool |
|
|
407
|
+
| `StructuredTool` | `Tool` with `parameters` schema | Typed parameters |
|
|
408
|
+
| `BaseTool` subclass | `Tool` with `implementation` | Custom tool class |
|
|
409
|
+
| `create_retriever_tool()` | `Tool` + `extensions.mcp.resources` | Retrieval tool |
|
|
410
|
+
| `bind_tools()` | `spec.tools` assignment | Bind tools to agent |
|
|
411
|
+
| `tool_choice` | `llm.tool_calling.mode` | Tool selection mode |
|
|
412
|
+
| `ToolExecutor` | `runtime.bindings` | Execution binding |
|
|
413
|
+
| `ToolMessage` | Messaging extension | Tool result message |
|
|
414
|
+
|
|
415
|
+
### 4. Memory to OSSA State
|
|
416
|
+
|
|
417
|
+
| LangChain Memory | OSSA State Config | Notes |
|
|
418
|
+
|------------------|-------------------|-------|
|
|
419
|
+
| `ConversationBufferMemory` | `state.schema: {messages: array}` | Full history |
|
|
420
|
+
| `ConversationBufferWindowMemory(k=5)` | `state.history.window_size: 5` | Sliding window |
|
|
421
|
+
| `ConversationSummaryMemory` | `state.summarization.enabled: true` | Summarized history |
|
|
422
|
+
| `VectorStoreRetrieverMemory` | `state.vector_store` + retriever tool | Semantic search |
|
|
423
|
+
| `EntityMemory` | `state.entities` schema | Entity extraction |
|
|
424
|
+
| `CombinedMemory` | Multiple state schemas | Combined approach |
|
|
425
|
+
| `memory.load_memory_variables()` | `state.load()` | State retrieval |
|
|
426
|
+
| `memory.save_context()` | `state.save()` | State persistence |
|
|
427
|
+
| `memory.clear()` | `state.clear()` | State reset |
|
|
428
|
+
|
|
429
|
+
### 5. LangChain Agents to OSSA Agent Kind
|
|
430
|
+
|
|
431
|
+
| LangChain Agent | OSSA Agent Config | Notes |
|
|
432
|
+
|-----------------|-------------------|-------|
|
|
433
|
+
| `create_react_agent()` | `type: specialist`, ReAct prompts | Reasoning + Acting |
|
|
434
|
+
| `create_openai_functions_agent()` | `llm.tool_calling.format: openai_functions` | Function calling |
|
|
435
|
+
| `create_openai_tools_agent()` | `llm.tool_calling.format: openai_tools` | Tool calling |
|
|
436
|
+
| `create_xml_agent()` | `llm.tool_calling.format: xml` | XML format tools |
|
|
437
|
+
| `create_structured_chat_agent()` | Structured output schema | Structured chat |
|
|
438
|
+
| `create_tool_calling_agent()` | `llm.tool_calling.enabled: true` | Generic tool calling |
|
|
439
|
+
| `AgentExecutor` | OSSA runtime execution | Agent execution loop |
|
|
440
|
+
| `agent.astream_events()` | `observability.streaming: true` | Event streaming |
|
|
441
|
+
| `max_iterations` | `constraints.max_iterations` | Iteration limit |
|
|
442
|
+
| `handle_parsing_errors` | `constraints.error_handling` | Error recovery |
|
|
443
|
+
|
|
444
|
+
### 6. Callbacks to OSSA Observability
|
|
445
|
+
|
|
446
|
+
| LangChain Callback | OSSA Observability | Notes |
|
|
447
|
+
|--------------------|---------------------|-------|
|
|
448
|
+
| `StdOutCallbackHandler` | `observability.logging.level: debug` | Console output |
|
|
449
|
+
| `FileCallbackHandler` | `observability.logging.file` | File logging |
|
|
450
|
+
| `LangChainTracer` | `observability.tracing.enabled: true` | Distributed tracing |
|
|
451
|
+
| `LangSmithCallbackHandler` | External service integration | LangSmith platform |
|
|
452
|
+
| `OpenTelemetryCallbackHandler` | `observability.otlp` | OpenTelemetry export |
|
|
453
|
+
| `ArizePhoenixCallbackHandler` | `observability.phoenix` | Phoenix observability |
|
|
454
|
+
| `WandbCallbackHandler` | `observability.wandb` | Weights & Biases |
|
|
455
|
+
| `on_llm_start` | `observability.events.llm_start` | LLM invocation start |
|
|
456
|
+
| `on_chain_end` | `observability.events.chain_end` | Chain completion |
|
|
457
|
+
| `on_tool_error` | `observability.events.tool_error` | Tool execution error |
|
|
458
|
+
|
|
459
|
+
### 7. Runnables to OSSA Task Kind
|
|
460
|
+
|
|
461
|
+
| LangChain Runnable | OSSA Task Config | Notes |
|
|
462
|
+
|--------------------|------------------|-------|
|
|
463
|
+
| `Runnable` (base) | `kind: Task` | Base task |
|
|
464
|
+
| `RunnableLambda` | `execution.type: deterministic` | Pure function |
|
|
465
|
+
| `RunnableGenerator` | `execution.type: generator` | Streaming output |
|
|
466
|
+
| `RunnableRetry` | `error_handling.retry` | Retry logic |
|
|
467
|
+
| `RunnableWithFallbacks` | `error_handling.fallback_task` | Fallback chain |
|
|
468
|
+
| `RunnableBinding` | `runtime.bindings` | Runtime binding |
|
|
469
|
+
| `RunnableConfigurableFields` | `runtime.configurable` | Runtime config |
|
|
470
|
+
| `RunnableConfigurableAlternatives` | Multiple task variants | A/B testing |
|
|
471
|
+
| `runnable.invoke()` | Task execution | Synchronous |
|
|
472
|
+
| `runnable.ainvoke()` | Async task execution | Asynchronous |
|
|
473
|
+
| `runnable.batch()` | `batch.enabled: true` | Batch processing |
|
|
474
|
+
| `runnable.stream()` | Streaming execution | Token streaming |
|
|
475
|
+
|
|
476
|
+
## Example Manifests
|
|
477
|
+
|
|
478
|
+
### 1. ReAct Agent with Tools
|
|
479
|
+
|
|
480
|
+
```yaml
|
|
481
|
+
apiVersion: ossa/v0.3.3
|
|
482
|
+
kind: Agent
|
|
483
|
+
metadata:
|
|
484
|
+
name: react-research-agent
|
|
485
|
+
version: 1.0.0
|
|
486
|
+
description: Research agent using ReAct pattern with web search and calculator
|
|
487
|
+
|
|
488
|
+
spec:
|
|
489
|
+
role: |
|
|
490
|
+
You are a research assistant that uses the ReAct pattern.
|
|
491
|
+
Think step-by-step, use tools when needed, and provide accurate answers.
|
|
492
|
+
|
|
493
|
+
llm:
|
|
494
|
+
provider: anthropic
|
|
495
|
+
model: claude-sonnet-4-20250514
|
|
496
|
+
temperature: 0.1
|
|
497
|
+
|
|
498
|
+
tools:
|
|
499
|
+
- name: web_search
|
|
500
|
+
description: Search the web for current information
|
|
501
|
+
parameters:
|
|
502
|
+
type: object
|
|
503
|
+
properties:
|
|
504
|
+
query:
|
|
505
|
+
type: string
|
|
506
|
+
description: Search query
|
|
507
|
+
required: [query]
|
|
508
|
+
|
|
509
|
+
- name: calculator
|
|
510
|
+
description: Perform mathematical calculations
|
|
511
|
+
parameters:
|
|
512
|
+
type: object
|
|
513
|
+
properties:
|
|
514
|
+
expression:
|
|
515
|
+
type: string
|
|
516
|
+
description: Mathematical expression to evaluate
|
|
517
|
+
required: [expression]
|
|
518
|
+
|
|
519
|
+
constraints:
|
|
520
|
+
max_iterations: 15
|
|
521
|
+
timeout_seconds: 120
|
|
522
|
+
|
|
523
|
+
state:
|
|
524
|
+
persistence:
|
|
525
|
+
type: redis
|
|
526
|
+
connection_string: ${REDIS_URL}
|
|
527
|
+
schema:
|
|
528
|
+
type: object
|
|
529
|
+
properties:
|
|
530
|
+
messages:
|
|
531
|
+
type: array
|
|
532
|
+
items:
|
|
533
|
+
type: object
|
|
534
|
+
properties:
|
|
535
|
+
role:
|
|
536
|
+
type: string
|
|
537
|
+
content:
|
|
538
|
+
type: string
|
|
539
|
+
intermediate_steps:
|
|
540
|
+
type: array
|
|
541
|
+
|
|
542
|
+
observability:
|
|
543
|
+
tracing:
|
|
544
|
+
enabled: true
|
|
545
|
+
exporter: otlp
|
|
546
|
+
logging:
|
|
547
|
+
level: info
|
|
548
|
+
|
|
549
|
+
extensions:
|
|
550
|
+
langchain:
|
|
551
|
+
enabled: true
|
|
552
|
+
version: "0.3.0"
|
|
553
|
+
agent_type: react
|
|
554
|
+
agent_config:
|
|
555
|
+
handle_parsing_errors: true
|
|
556
|
+
max_iterations: 15
|
|
557
|
+
return_intermediate_steps: true
|
|
558
|
+
memory_type: conversation_buffer
|
|
559
|
+
memory_config:
|
|
560
|
+
max_token_limit: 4000
|
|
561
|
+
callbacks:
|
|
562
|
+
- type: langsmith
|
|
563
|
+
config:
|
|
564
|
+
project_name: research-agent
|
|
565
|
+
- type: opentelemetry
|
|
566
|
+
config:
|
|
567
|
+
endpoint: ${OTEL_EXPORTER_ENDPOINT}
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
### 2. LangGraph Workflow with Conditional Edges
|
|
571
|
+
|
|
572
|
+
```yaml
|
|
573
|
+
apiVersion: ossa/v0.3.3
|
|
574
|
+
kind: Workflow
|
|
575
|
+
metadata:
|
|
576
|
+
name: content-moderation-graph
|
|
577
|
+
version: 1.0.0
|
|
578
|
+
description: Content moderation workflow using LangGraph state machine
|
|
579
|
+
|
|
580
|
+
spec:
|
|
581
|
+
inputs:
|
|
582
|
+
type: object
|
|
583
|
+
properties:
|
|
584
|
+
content:
|
|
585
|
+
type: string
|
|
586
|
+
description: Content to moderate
|
|
587
|
+
content_type:
|
|
588
|
+
type: string
|
|
589
|
+
enum: [text, image, video]
|
|
590
|
+
required: [content, content_type]
|
|
591
|
+
|
|
592
|
+
outputs:
|
|
593
|
+
type: object
|
|
594
|
+
properties:
|
|
595
|
+
approved:
|
|
596
|
+
type: boolean
|
|
597
|
+
flags:
|
|
598
|
+
type: array
|
|
599
|
+
items:
|
|
600
|
+
type: string
|
|
601
|
+
confidence:
|
|
602
|
+
type: number
|
|
603
|
+
|
|
604
|
+
steps:
|
|
605
|
+
- id: classify
|
|
606
|
+
name: Content Classification
|
|
607
|
+
kind: Task
|
|
608
|
+
ref: ./tasks/classify-content.yaml
|
|
609
|
+
input:
|
|
610
|
+
content: ${{ workflow.input.content }}
|
|
611
|
+
content_type: ${{ workflow.input.content_type }}
|
|
612
|
+
|
|
613
|
+
- id: route
|
|
614
|
+
name: Route by Classification
|
|
615
|
+
kind: Conditional
|
|
616
|
+
condition: ${{ steps.classify.output.risk_level }}
|
|
617
|
+
branches:
|
|
618
|
+
- condition: ${{ steps.classify.output.risk_level == 'low' }}
|
|
619
|
+
steps:
|
|
620
|
+
- id: auto_approve
|
|
621
|
+
kind: Task
|
|
622
|
+
ref: ./tasks/auto-approve.yaml
|
|
623
|
+
- condition: ${{ steps.classify.output.risk_level == 'medium' }}
|
|
624
|
+
steps:
|
|
625
|
+
- id: detailed_review
|
|
626
|
+
kind: Agent
|
|
627
|
+
ref: ./agents/content-reviewer.yaml
|
|
628
|
+
- condition: ${{ steps.classify.output.risk_level == 'high' }}
|
|
629
|
+
steps:
|
|
630
|
+
- id: human_review
|
|
631
|
+
kind: Task
|
|
632
|
+
ref: ./tasks/queue-human-review.yaml
|
|
633
|
+
|
|
634
|
+
- id: finalize
|
|
635
|
+
name: Finalize Decision
|
|
636
|
+
kind: Task
|
|
637
|
+
ref: ./tasks/finalize-moderation.yaml
|
|
638
|
+
depends_on: [route]
|
|
639
|
+
|
|
640
|
+
context:
|
|
641
|
+
variables:
|
|
642
|
+
moderation_policy_version: "2.1"
|
|
643
|
+
|
|
644
|
+
error_handling:
|
|
645
|
+
on_failure: notify
|
|
646
|
+
notification:
|
|
647
|
+
channels: [slack]
|
|
648
|
+
|
|
649
|
+
extensions:
|
|
650
|
+
langchain:
|
|
651
|
+
enabled: true
|
|
652
|
+
version: "0.3.0"
|
|
653
|
+
graphs:
|
|
654
|
+
- name: moderation-graph
|
|
655
|
+
state_schema:
|
|
656
|
+
type: object
|
|
657
|
+
properties:
|
|
658
|
+
content:
|
|
659
|
+
type: string
|
|
660
|
+
risk_level:
|
|
661
|
+
type: string
|
|
662
|
+
enum: [low, medium, high]
|
|
663
|
+
flags:
|
|
664
|
+
type: array
|
|
665
|
+
decision:
|
|
666
|
+
type: string
|
|
667
|
+
nodes:
|
|
668
|
+
- id: classify
|
|
669
|
+
type: function
|
|
670
|
+
handler: "moderation.classify_content"
|
|
671
|
+
ossa_ref: ./tasks/classify-content.yaml
|
|
672
|
+
- id: auto_approve
|
|
673
|
+
type: function
|
|
674
|
+
handler: "moderation.auto_approve"
|
|
675
|
+
- id: detailed_review
|
|
676
|
+
type: agent
|
|
677
|
+
ossa_ref: ./agents/content-reviewer.yaml
|
|
678
|
+
- id: human_review
|
|
679
|
+
type: human_in_loop
|
|
680
|
+
handler: "moderation.queue_human"
|
|
681
|
+
- id: finalize
|
|
682
|
+
type: function
|
|
683
|
+
handler: "moderation.finalize"
|
|
684
|
+
edges:
|
|
685
|
+
- from: START
|
|
686
|
+
to: classify
|
|
687
|
+
- from: classify
|
|
688
|
+
to: route
|
|
689
|
+
condition: "route_by_risk"
|
|
690
|
+
condition_map:
|
|
691
|
+
low: auto_approve
|
|
692
|
+
medium: detailed_review
|
|
693
|
+
high: human_review
|
|
694
|
+
- from: auto_approve
|
|
695
|
+
to: finalize
|
|
696
|
+
- from: detailed_review
|
|
697
|
+
to: finalize
|
|
698
|
+
- from: human_review
|
|
699
|
+
to: finalize
|
|
700
|
+
- from: finalize
|
|
701
|
+
to: END
|
|
702
|
+
checkpointer:
|
|
703
|
+
type: postgres
|
|
704
|
+
connection_string: ${DATABASE_URL}
|
|
705
|
+
interrupt_before:
|
|
706
|
+
- human_review
|
|
707
|
+
```
|
|
708
|
+
|
|
709
|
+
### 3. LCEL Chain as OSSA Task
|
|
710
|
+
|
|
711
|
+
```yaml
|
|
712
|
+
apiVersion: ossa/v0.3.3
|
|
713
|
+
kind: Task
|
|
714
|
+
metadata:
|
|
715
|
+
name: summarization-chain
|
|
716
|
+
version: 1.0.0
|
|
717
|
+
description: Document summarization using LCEL chain
|
|
718
|
+
|
|
719
|
+
spec:
|
|
720
|
+
execution:
|
|
721
|
+
type: deterministic
|
|
722
|
+
runtime: python
|
|
723
|
+
entrypoint: chains.summarization:run_chain
|
|
724
|
+
timeout_seconds: 60
|
|
725
|
+
|
|
726
|
+
capabilities:
|
|
727
|
+
- summarize_text
|
|
728
|
+
- extract_entities
|
|
729
|
+
|
|
730
|
+
input:
|
|
731
|
+
type: object
|
|
732
|
+
properties:
|
|
733
|
+
document:
|
|
734
|
+
type: string
|
|
735
|
+
description: Document text to summarize
|
|
736
|
+
max_length:
|
|
737
|
+
type: integer
|
|
738
|
+
default: 500
|
|
739
|
+
description: Maximum summary length
|
|
740
|
+
style:
|
|
741
|
+
type: string
|
|
742
|
+
enum: [concise, detailed, bullet_points]
|
|
743
|
+
default: concise
|
|
744
|
+
required: [document]
|
|
745
|
+
|
|
746
|
+
output:
|
|
747
|
+
type: object
|
|
748
|
+
properties:
|
|
749
|
+
summary:
|
|
750
|
+
type: string
|
|
751
|
+
key_points:
|
|
752
|
+
type: array
|
|
753
|
+
items:
|
|
754
|
+
type: string
|
|
755
|
+
entities:
|
|
756
|
+
type: array
|
|
757
|
+
items:
|
|
758
|
+
type: object
|
|
759
|
+
properties:
|
|
760
|
+
name:
|
|
761
|
+
type: string
|
|
762
|
+
type:
|
|
763
|
+
type: string
|
|
764
|
+
|
|
765
|
+
batch:
|
|
766
|
+
enabled: true
|
|
767
|
+
parallelism: 5
|
|
768
|
+
chunk_size: 10
|
|
769
|
+
|
|
770
|
+
error_handling:
|
|
771
|
+
on_error: retry
|
|
772
|
+
error_mapping:
|
|
773
|
+
rate_limit_exceeded: retry
|
|
774
|
+
context_length_exceeded: fail
|
|
775
|
+
|
|
776
|
+
observability:
|
|
777
|
+
logging:
|
|
778
|
+
level: info
|
|
779
|
+
metrics:
|
|
780
|
+
enabled: true
|
|
781
|
+
custom_labels:
|
|
782
|
+
chain_type: summarization
|
|
783
|
+
|
|
784
|
+
extensions:
|
|
785
|
+
langchain:
|
|
786
|
+
enabled: true
|
|
787
|
+
version: "0.3.0"
|
|
788
|
+
chains:
|
|
789
|
+
- name: summarization
|
|
790
|
+
type: sequential
|
|
791
|
+
lcel_expression: "prompt | llm | parser"
|
|
792
|
+
components:
|
|
793
|
+
- type: prompt
|
|
794
|
+
ref: prompts/summarization.yaml
|
|
795
|
+
config:
|
|
796
|
+
input_variables: [document, max_length, style]
|
|
797
|
+
- type: llm
|
|
798
|
+
ref: ${LLM_MODEL:-claude-sonnet-4-20250514}
|
|
799
|
+
config:
|
|
800
|
+
temperature: 0.3
|
|
801
|
+
- type: parser
|
|
802
|
+
ref: parsers/summary_output
|
|
803
|
+
input_schema:
|
|
804
|
+
type: object
|
|
805
|
+
properties:
|
|
806
|
+
document:
|
|
807
|
+
type: string
|
|
808
|
+
max_length:
|
|
809
|
+
type: integer
|
|
810
|
+
style:
|
|
811
|
+
type: string
|
|
812
|
+
output_schema:
|
|
813
|
+
type: object
|
|
814
|
+
properties:
|
|
815
|
+
summary:
|
|
816
|
+
type: string
|
|
817
|
+
key_points:
|
|
818
|
+
type: array
|
|
819
|
+
fallback:
|
|
820
|
+
chain_ref: chains/simple_summarization
|
|
821
|
+
exceptions:
|
|
822
|
+
- OutputParserException
|
|
823
|
+
runnable_config:
|
|
824
|
+
max_concurrency: 10
|
|
825
|
+
recursion_limit: 5
|
|
826
|
+
tags:
|
|
827
|
+
- summarization
|
|
828
|
+
- production
|
|
829
|
+
metadata:
|
|
830
|
+
version: "1.0"
|
|
831
|
+
```
|
|
832
|
+
|
|
833
|
+
### 4. Vector Store Memory Agent
|
|
834
|
+
|
|
835
|
+
```yaml
|
|
836
|
+
apiVersion: ossa/v0.3.3
|
|
837
|
+
kind: Agent
|
|
838
|
+
metadata:
|
|
839
|
+
name: knowledge-assistant
|
|
840
|
+
version: 1.0.0
|
|
841
|
+
description: Knowledge assistant with vector store memory
|
|
842
|
+
|
|
843
|
+
spec:
|
|
844
|
+
role: |
|
|
845
|
+
You are a knowledge assistant with access to a vector store of documents.
|
|
846
|
+
Use the retrieved context to answer questions accurately.
|
|
847
|
+
If you don't find relevant information, say so clearly.
|
|
848
|
+
|
|
849
|
+
llm:
|
|
850
|
+
provider: openai
|
|
851
|
+
model: gpt-4o
|
|
852
|
+
temperature: 0.2
|
|
853
|
+
|
|
854
|
+
tools:
|
|
855
|
+
- name: search_knowledge_base
|
|
856
|
+
description: Search the knowledge base for relevant documents
|
|
857
|
+
parameters:
|
|
858
|
+
type: object
|
|
859
|
+
properties:
|
|
860
|
+
query:
|
|
861
|
+
type: string
|
|
862
|
+
description: Search query
|
|
863
|
+
k:
|
|
864
|
+
type: integer
|
|
865
|
+
default: 5
|
|
866
|
+
description: Number of results
|
|
867
|
+
required: [query]
|
|
868
|
+
|
|
869
|
+
state:
|
|
870
|
+
schema:
|
|
871
|
+
type: object
|
|
872
|
+
properties:
|
|
873
|
+
messages:
|
|
874
|
+
type: array
|
|
875
|
+
retrieved_documents:
|
|
876
|
+
type: array
|
|
877
|
+
session_context:
|
|
878
|
+
type: object
|
|
879
|
+
persistence:
|
|
880
|
+
type: postgres
|
|
881
|
+
connection_string: ${DATABASE_URL}
|
|
882
|
+
|
|
883
|
+
constraints:
|
|
884
|
+
max_iterations: 10
|
|
885
|
+
timeout_seconds: 90
|
|
886
|
+
|
|
887
|
+
extensions:
|
|
888
|
+
langchain:
|
|
889
|
+
enabled: true
|
|
890
|
+
version: "0.3.0"
|
|
891
|
+
agent_type: openai_tools
|
|
892
|
+
memory_type: vector_store
|
|
893
|
+
memory_config:
|
|
894
|
+
vector_store:
|
|
895
|
+
type: qdrant
|
|
896
|
+
collection_name: knowledge_base
|
|
897
|
+
embedding_model: text-embedding-3-small
|
|
898
|
+
connection_string: ${QDRANT_URL}
|
|
899
|
+
max_token_limit: 8000
|
|
900
|
+
agent_config:
|
|
901
|
+
max_iterations: 10
|
|
902
|
+
handle_parsing_errors: true
|
|
903
|
+
return_intermediate_steps: false
|
|
904
|
+
callbacks:
|
|
905
|
+
- type: phoenix
|
|
906
|
+
config:
|
|
907
|
+
project_name: knowledge-assistant
|
|
908
|
+
events:
|
|
909
|
+
- on_retriever_start
|
|
910
|
+
- on_retriever_end
|
|
911
|
+
- on_llm_start
|
|
912
|
+
- on_llm_end
|
|
913
|
+
```
|
|
914
|
+
|
|
915
|
+
### 5. Multi-Agent Conversation with OpenAI Functions
|
|
916
|
+
|
|
917
|
+
```yaml
|
|
918
|
+
apiVersion: ossa/v0.3.3
|
|
919
|
+
kind: Workflow
|
|
920
|
+
metadata:
|
|
921
|
+
name: multi-agent-conversation
|
|
922
|
+
version: 1.0.0
|
|
923
|
+
description: Multi-agent conversation using LangGraph
|
|
924
|
+
|
|
925
|
+
spec:
|
|
926
|
+
steps:
|
|
927
|
+
- id: coordinator
|
|
928
|
+
kind: Agent
|
|
929
|
+
ref: ./agents/coordinator.yaml
|
|
930
|
+
input:
|
|
931
|
+
task: ${{ workflow.input.task }}
|
|
932
|
+
|
|
933
|
+
- id: research_agent
|
|
934
|
+
kind: Agent
|
|
935
|
+
ref: ./agents/researcher.yaml
|
|
936
|
+
condition: ${{ steps.coordinator.output.needs_research }}
|
|
937
|
+
input:
|
|
938
|
+
query: ${{ steps.coordinator.output.research_query }}
|
|
939
|
+
|
|
940
|
+
- id: writing_agent
|
|
941
|
+
kind: Agent
|
|
942
|
+
ref: ./agents/writer.yaml
|
|
943
|
+
depends_on: [research_agent]
|
|
944
|
+
condition: ${{ steps.coordinator.output.needs_writing }}
|
|
945
|
+
input:
|
|
946
|
+
research: ${{ steps.research_agent.output.findings }}
|
|
947
|
+
style: ${{ workflow.input.style }}
|
|
948
|
+
|
|
949
|
+
- id: review_agent
|
|
950
|
+
kind: Agent
|
|
951
|
+
ref: ./agents/reviewer.yaml
|
|
952
|
+
depends_on: [writing_agent]
|
|
953
|
+
input:
|
|
954
|
+
content: ${{ steps.writing_agent.output.draft }}
|
|
955
|
+
|
|
956
|
+
context:
|
|
957
|
+
variables:
|
|
958
|
+
conversation_id: ${{ uuid() }}
|
|
959
|
+
|
|
960
|
+
extensions:
|
|
961
|
+
langchain:
|
|
962
|
+
enabled: true
|
|
963
|
+
version: "0.3.0"
|
|
964
|
+
graphs:
|
|
965
|
+
- name: multi-agent-graph
|
|
966
|
+
state_schema:
|
|
967
|
+
type: object
|
|
968
|
+
properties:
|
|
969
|
+
messages:
|
|
970
|
+
type: array
|
|
971
|
+
description: Shared message history
|
|
972
|
+
current_agent:
|
|
973
|
+
type: string
|
|
974
|
+
task_status:
|
|
975
|
+
type: string
|
|
976
|
+
enum: [pending, researching, writing, reviewing, complete]
|
|
977
|
+
nodes:
|
|
978
|
+
- id: coordinator
|
|
979
|
+
type: agent
|
|
980
|
+
ossa_ref: ./agents/coordinator.yaml
|
|
981
|
+
- id: research_agent
|
|
982
|
+
type: agent
|
|
983
|
+
ossa_ref: ./agents/researcher.yaml
|
|
984
|
+
- id: writing_agent
|
|
985
|
+
type: agent
|
|
986
|
+
ossa_ref: ./agents/writer.yaml
|
|
987
|
+
- id: review_agent
|
|
988
|
+
type: agent
|
|
989
|
+
ossa_ref: ./agents/reviewer.yaml
|
|
990
|
+
edges:
|
|
991
|
+
- from: START
|
|
992
|
+
to: coordinator
|
|
993
|
+
- from: coordinator
|
|
994
|
+
to: route
|
|
995
|
+
condition: "route_to_agent"
|
|
996
|
+
condition_map:
|
|
997
|
+
research: research_agent
|
|
998
|
+
write: writing_agent
|
|
999
|
+
review: review_agent
|
|
1000
|
+
done: END
|
|
1001
|
+
- from: research_agent
|
|
1002
|
+
to: coordinator
|
|
1003
|
+
- from: writing_agent
|
|
1004
|
+
to: coordinator
|
|
1005
|
+
- from: review_agent
|
|
1006
|
+
to: coordinator
|
|
1007
|
+
checkpointer:
|
|
1008
|
+
type: redis
|
|
1009
|
+
connection_string: ${REDIS_URL}
|
|
1010
|
+
memory_type: conversation_buffer
|
|
1011
|
+
memory_config:
|
|
1012
|
+
max_token_limit: 16000
|
|
1013
|
+
callbacks:
|
|
1014
|
+
- type: langsmith
|
|
1015
|
+
config:
|
|
1016
|
+
project_name: multi-agent-conversation
|
|
1017
|
+
```
|
|
1018
|
+
|
|
1019
|
+
## Implementation Notes
|
|
1020
|
+
|
|
1021
|
+
### Converting LangChain to OSSA
|
|
1022
|
+
|
|
1023
|
+
1. **Chains to Workflows**:
|
|
1024
|
+
- Each pipe operator (`|`) becomes a step dependency
|
|
1025
|
+
- `RunnableParallel` becomes `kind: Parallel` step
|
|
1026
|
+
- `RunnableBranch` becomes `kind: Conditional` with branches
|
|
1027
|
+
|
|
1028
|
+
2. **LangGraph to Workflow**:
|
|
1029
|
+
- `StateGraph` state schema maps to `spec.context.variables`
|
|
1030
|
+
- Node handlers become Task or Agent refs
|
|
1031
|
+
- Conditional edges use OSSA expression syntax
|
|
1032
|
+
- Checkpointer maps to state persistence
|
|
1033
|
+
|
|
1034
|
+
3. **Memory to State**:
|
|
1035
|
+
- Memory variables become state schema properties
|
|
1036
|
+
- Window size maps to `state.history.window_size`
|
|
1037
|
+
- Vector store memory uses retriever tool + state
|
|
1038
|
+
|
|
1039
|
+
4. **Callbacks to Observability**:
|
|
1040
|
+
- Event handlers map to OSSA observability events
|
|
1041
|
+
- Tracers integrate via OpenTelemetry
|
|
1042
|
+
- Custom callbacks use webhook or custom handlers
|
|
1043
|
+
|
|
1044
|
+
### Converting OSSA to LangChain
|
|
1045
|
+
|
|
1046
|
+
1. **Workflow to LCEL**:
|
|
1047
|
+
- Sequential steps become pipe chains
|
|
1048
|
+
- Parallel steps use `RunnableParallel`
|
|
1049
|
+
- Conditional steps use `RunnableBranch`
|
|
1050
|
+
|
|
1051
|
+
2. **Agent to LangChain Agent**:
|
|
1052
|
+
- Map agent type to appropriate create_*_agent function
|
|
1053
|
+
- Tools become `@tool` decorated functions
|
|
1054
|
+
- Constraints become AgentExecutor parameters
|
|
1055
|
+
|
|
1056
|
+
3. **State to Memory**:
|
|
1057
|
+
- State schema drives memory type selection
|
|
1058
|
+
- Persistence config maps to memory backend
|
|
1059
|
+
- Window size determines BufferWindow k value
|
|
1060
|
+
|
|
1061
|
+
## Validation
|
|
1062
|
+
|
|
1063
|
+
Validate LangChain extension configuration:
|
|
1064
|
+
|
|
1065
|
+
```bash
|
|
1066
|
+
# Validate manifest with LangChain extension
|
|
1067
|
+
ossa validate manifest.yaml --extension langchain
|
|
1068
|
+
|
|
1069
|
+
# Check LangGraph graph definition
|
|
1070
|
+
ossa validate manifest.yaml --check-graphs
|
|
1071
|
+
|
|
1072
|
+
# Verify callback configuration
|
|
1073
|
+
ossa validate manifest.yaml --check-callbacks
|
|
1074
|
+
```
|
|
1075
|
+
|
|
1076
|
+
## Best Practices
|
|
1077
|
+
|
|
1078
|
+
1. **Version Compatibility**: Always specify `version` to ensure LangChain API compatibility
|
|
1079
|
+
2. **Memory Selection**: Choose memory type based on use case - buffer for short conversations, vector store for knowledge retrieval
|
|
1080
|
+
3. **Callback Efficiency**: Only subscribe to needed events to reduce overhead
|
|
1081
|
+
4. **State Schema**: Define explicit state schemas for type safety
|
|
1082
|
+
5. **Error Handling**: Configure fallbacks for production chains
|
|
1083
|
+
6. **Observability**: Enable tracing for debugging and monitoring
|
|
1084
|
+
7. **Batch Processing**: Use batch configuration for high-throughput scenarios
|
|
1085
|
+
|
|
1086
|
+
## References
|
|
1087
|
+
|
|
1088
|
+
- [LangChain Documentation](https://python.langchain.com/docs/)
|
|
1089
|
+
- [LangGraph Documentation](https://langchain-ai.github.io/langgraph/)
|
|
1090
|
+
- [OSSA v0.3.3 Specification](../ossa-0.3.3.schema.json)
|
|
1091
|
+
- [OSSA Workflow Specification](../UNIFIED-SCHEMA.md)
|
|
1092
|
+
- [OSSA Observability Extension](./observability.md)
|