@bluefly/openstandardagents 0.1.9
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/.buildkit/agent-first-policy.sh +65 -0
- package/.buildkit/branching-workflow.json +41 -0
- package/.buildkit/hooks.yaml +23 -0
- package/.buildkit/install-buildkit-setup.cjs +483 -0
- package/.cursor/plans/ossa-comprehensive-enhancement-issue-audit-plan.plan.md +735 -0
- package/.cursor/plans/ossa-enterprise-transformation-plan-0ccaf09b.plan.md +373 -0
- package/.cursor/plans/ossa-milestone-organization-and-v0-2-4-release-6dafa4ec.plan.md +214 -0
- package/.cursor/rules/problems.json +483 -0
- package/.cursor/settings.json +29 -0
- package/.cursor/worktrees.json +95 -0
- package/.env.example +41 -0
- package/.env.local +31 -0
- package/.github/ISSUE_TEMPLATE/README.md +33 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +61 -0
- package/.github/ISSUE_TEMPLATE/config.yml +12 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +75 -0
- package/.github/wiki_templates/home.md +39 -0
- package/.gitignore.bak +489 -0
- package/.gitlab-ci-trigger +1 -0
- package/.husky/pre-commit +31 -0
- package/.lintstagedrc.json +16 -0
- package/.redocly.yaml +63 -0
- package/.vscode/extensions.json +6 -0
- package/.vscode/settings.json +3 -0
- package/AUDIT_FIXES.md +139 -0
- package/AUDIT_REPORT.md +308 -0
- package/BUILDKIT_INTEGRATION.md +146 -0
- package/Dockerfile +35 -0
- package/README.md +559 -0
- package/dist/adk/adapters/index.d.ts +64 -0
- package/dist/adk/adapters/index.d.ts.map +1 -0
- package/dist/adk/adapters/index.js +257 -0
- package/dist/adk/adapters/index.js.map +1 -0
- package/dist/adk/agents/custom-agent.d.ts +55 -0
- package/dist/adk/agents/custom-agent.d.ts.map +1 -0
- package/dist/adk/agents/custom-agent.js +167 -0
- package/dist/adk/agents/custom-agent.js.map +1 -0
- package/dist/adk/agents/index.d.ts +64 -0
- package/dist/adk/agents/index.d.ts.map +1 -0
- package/dist/adk/agents/index.js +125 -0
- package/dist/adk/agents/index.js.map +1 -0
- package/dist/adk/agents/llm-agent.d.ts +27 -0
- package/dist/adk/agents/llm-agent.d.ts.map +1 -0
- package/dist/adk/agents/llm-agent.js +63 -0
- package/dist/adk/agents/llm-agent.js.map +1 -0
- package/dist/adk/agents/workflow-agent.d.ts +42 -0
- package/dist/adk/agents/workflow-agent.d.ts.map +1 -0
- package/dist/adk/agents/workflow-agent.js +144 -0
- package/dist/adk/agents/workflow-agent.js.map +1 -0
- package/dist/adk/index.d.ts +10 -0
- package/dist/adk/index.d.ts.map +1 -0
- package/dist/adk/index.js +10 -0
- package/dist/adk/index.js.map +1 -0
- package/dist/adk/orchestration/index.d.ts +63 -0
- package/dist/adk/orchestration/index.d.ts.map +1 -0
- package/dist/adk/orchestration/index.js +264 -0
- package/dist/adk/orchestration/index.js.map +1 -0
- package/dist/adk/state/index.d.ts +73 -0
- package/dist/adk/state/index.d.ts.map +1 -0
- package/dist/adk/state/index.js +177 -0
- package/dist/adk/state/index.js.map +1 -0
- package/dist/adk/tools/index.d.ts +65 -0
- package/dist/adk/tools/index.d.ts.map +1 -0
- package/dist/adk/tools/index.js +252 -0
- package/dist/adk/tools/index.js.map +1 -0
- package/dist/cli/agent-deployment.d.ts +34 -0
- package/dist/cli/agent-deployment.d.ts.map +1 -0
- package/dist/cli/agent-deployment.js +396 -0
- package/dist/cli/agent-deployment.js.map +1 -0
- package/dist/cli/commands/discover.command.d.ts +7 -0
- package/dist/cli/commands/discover.command.d.ts.map +1 -0
- package/dist/cli/commands/discover.command.js +80 -0
- package/dist/cli/commands/discover.command.js.map +1 -0
- package/dist/cli/commands/export.command.d.ts +7 -0
- package/dist/cli/commands/export.command.d.ts.map +1 -0
- package/dist/cli/commands/export.command.js +56 -0
- package/dist/cli/commands/export.command.js.map +1 -0
- package/dist/cli/commands/generate.command.d.ts +7 -0
- package/dist/cli/commands/generate.command.d.ts.map +1 -0
- package/dist/cli/commands/generate.command.js +66 -0
- package/dist/cli/commands/generate.command.js.map +1 -0
- package/dist/cli/commands/gitlab-agent.command.d.ts +8 -0
- package/dist/cli/commands/gitlab-agent.command.d.ts.map +1 -0
- package/dist/cli/commands/gitlab-agent.command.js +201 -0
- package/dist/cli/commands/gitlab-agent.command.js.map +1 -0
- package/dist/cli/commands/import.command.d.ts +7 -0
- package/dist/cli/commands/import.command.d.ts.map +1 -0
- package/dist/cli/commands/import.command.js +36 -0
- package/dist/cli/commands/import.command.js.map +1 -0
- package/dist/cli/commands/init.command.d.ts +7 -0
- package/dist/cli/commands/init.command.d.ts.map +1 -0
- package/dist/cli/commands/init.command.js +146 -0
- package/dist/cli/commands/init.command.js.map +1 -0
- package/dist/cli/commands/migrate.command.d.ts +7 -0
- package/dist/cli/commands/migrate.command.d.ts.map +1 -0
- package/dist/cli/commands/migrate.command.js +110 -0
- package/dist/cli/commands/migrate.command.js.map +1 -0
- package/dist/cli/commands/ossa.d.ts +9 -0
- package/dist/cli/commands/ossa.d.ts.map +1 -0
- package/dist/cli/commands/ossa.js +234 -0
- package/dist/cli/commands/ossa.js.map +1 -0
- package/dist/cli/commands/run.command.d.ts +7 -0
- package/dist/cli/commands/run.command.d.ts.map +1 -0
- package/dist/cli/commands/run.command.js +114 -0
- package/dist/cli/commands/run.command.js.map +1 -0
- package/dist/cli/commands/schema.command.d.ts +7 -0
- package/dist/cli/commands/schema.command.d.ts.map +1 -0
- package/dist/cli/commands/schema.command.js +72 -0
- package/dist/cli/commands/schema.command.js.map +1 -0
- package/dist/cli/commands/validate.command.d.ts +7 -0
- package/dist/cli/commands/validate.command.d.ts.map +1 -0
- package/dist/cli/commands/validate.command.js +125 -0
- package/dist/cli/commands/validate.command.js.map +1 -0
- package/dist/cli/commands/worktree.d.ts +7 -0
- package/dist/cli/commands/worktree.d.ts.map +1 -0
- package/dist/cli/commands/worktree.js +509 -0
- package/dist/cli/commands/worktree.js.map +1 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +50 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/ossa-cli.d.ts +52 -0
- package/dist/cli/ossa-cli.d.ts.map +1 -0
- package/dist/cli/ossa-cli.js +1061 -0
- package/dist/cli/ossa-cli.js.map +1 -0
- package/dist/core/index.d.ts +31 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +37 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/mcp-server-implementation.d.ts +39 -0
- package/dist/core/mcp-server-implementation.d.ts.map +1 -0
- package/dist/core/mcp-server-implementation.js +1262 -0
- package/dist/core/mcp-server-implementation.js.map +1 -0
- package/dist/core/orchestrator/index.d.ts +156 -0
- package/dist/core/orchestrator/index.d.ts.map +1 -0
- package/dist/core/orchestrator/index.js +446 -0
- package/dist/core/orchestrator/index.js.map +1 -0
- package/dist/core/orchestrator/ossa-orchestrator.d.ts +106 -0
- package/dist/core/orchestrator/ossa-orchestrator.d.ts.map +1 -0
- package/dist/core/orchestrator/ossa-orchestrator.js +396 -0
- package/dist/core/orchestrator/ossa-orchestrator.js.map +1 -0
- package/dist/di-container.d.ts +18 -0
- package/dist/di-container.d.ts.map +1 -0
- package/dist/di-container.js +46 -0
- package/dist/di-container.js.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/dist/protocols/acap.d.ts +61 -0
- package/dist/protocols/acap.d.ts.map +1 -0
- package/dist/protocols/acap.js +92 -0
- package/dist/protocols/acap.js.map +1 -0
- package/dist/protocols/index.d.ts +8 -0
- package/dist/protocols/index.d.ts.map +1 -0
- package/dist/protocols/index.js +8 -0
- package/dist/protocols/index.js.map +1 -0
- package/dist/protocols/rasp.d.ts +58 -0
- package/dist/protocols/rasp.d.ts.map +1 -0
- package/dist/protocols/rasp.js +212 -0
- package/dist/protocols/rasp.js.map +1 -0
- package/dist/repositories/manifest.repository.d.ts +26 -0
- package/dist/repositories/manifest.repository.d.ts.map +1 -0
- package/dist/repositories/manifest.repository.js +90 -0
- package/dist/repositories/manifest.repository.js.map +1 -0
- package/dist/repositories/schema.repository.d.ts +30 -0
- package/dist/repositories/schema.repository.d.ts.map +1 -0
- package/dist/repositories/schema.repository.js +144 -0
- package/dist/repositories/schema.repository.js.map +1 -0
- package/dist/server/simple-app.d.ts +18 -0
- package/dist/server/simple-app.d.ts.map +1 -0
- package/dist/server/simple-app.js +155 -0
- package/dist/server/simple-app.js.map +1 -0
- package/dist/server/types/agent.d.ts +498 -0
- package/dist/server/types/agent.d.ts.map +1 -0
- package/dist/server/types/agent.js +37 -0
- package/dist/server/types/agent.js.map +1 -0
- package/dist/server/types/server.d.ts +370 -0
- package/dist/server/types/server.d.ts.map +1 -0
- package/dist/server/types/server.js +68 -0
- package/dist/server/types/server.js.map +1 -0
- package/dist/services/discovery.service.d.ts +78 -0
- package/dist/services/discovery.service.d.ts.map +1 -0
- package/dist/services/discovery.service.js +212 -0
- package/dist/services/discovery.service.js.map +1 -0
- package/dist/services/generation.service.d.ts +54 -0
- package/dist/services/generation.service.d.ts.map +1 -0
- package/dist/services/generation.service.js +298 -0
- package/dist/services/generation.service.js.map +1 -0
- package/dist/services/gitlab-agent.service.d.ts +94 -0
- package/dist/services/gitlab-agent.service.d.ts.map +1 -0
- package/dist/services/gitlab-agent.service.js +158 -0
- package/dist/services/gitlab-agent.service.js.map +1 -0
- package/dist/services/migration.service.d.ts +30 -0
- package/dist/services/migration.service.d.ts.map +1 -0
- package/dist/services/migration.service.js +231 -0
- package/dist/services/migration.service.js.map +1 -0
- package/dist/services/orchestration/worktree-orchestrator.d.ts +146 -0
- package/dist/services/orchestration/worktree-orchestrator.d.ts.map +1 -0
- package/dist/services/orchestration/worktree-orchestrator.js +591 -0
- package/dist/services/orchestration/worktree-orchestrator.js.map +1 -0
- package/dist/services/runtime/openai.adapter.d.ts +94 -0
- package/dist/services/runtime/openai.adapter.d.ts.map +1 -0
- package/dist/services/runtime/openai.adapter.js +209 -0
- package/dist/services/runtime/openai.adapter.js.map +1 -0
- package/dist/services/validation.service.d.ts +45 -0
- package/dist/services/validation.service.d.ts.map +1 -0
- package/dist/services/validation.service.js +362 -0
- package/dist/services/validation.service.js.map +1 -0
- package/dist/services/validators/anthropic.validator.d.ts +9 -0
- package/dist/services/validators/anthropic.validator.d.ts.map +1 -0
- package/dist/services/validators/anthropic.validator.js +105 -0
- package/dist/services/validators/anthropic.validator.js.map +1 -0
- package/dist/services/validators/autogen.validator.d.ts +9 -0
- package/dist/services/validators/autogen.validator.d.ts.map +1 -0
- package/dist/services/validators/autogen.validator.js +111 -0
- package/dist/services/validators/autogen.validator.js.map +1 -0
- package/dist/services/validators/crewai.validator.d.ts +9 -0
- package/dist/services/validators/crewai.validator.d.ts.map +1 -0
- package/dist/services/validators/crewai.validator.js +117 -0
- package/dist/services/validators/crewai.validator.js.map +1 -0
- package/dist/services/validators/cursor.validator.d.ts +9 -0
- package/dist/services/validators/cursor.validator.d.ts.map +1 -0
- package/dist/services/validators/cursor.validator.js +88 -0
- package/dist/services/validators/cursor.validator.js.map +1 -0
- package/dist/services/validators/index.d.ts +15 -0
- package/dist/services/validators/index.d.ts.map +1 -0
- package/dist/services/validators/index.js +15 -0
- package/dist/services/validators/index.js.map +1 -0
- package/dist/services/validators/langchain.validator.d.ts +9 -0
- package/dist/services/validators/langchain.validator.d.ts.map +1 -0
- package/dist/services/validators/langchain.validator.js +103 -0
- package/dist/services/validators/langchain.validator.js.map +1 -0
- package/dist/services/validators/langflow.validator.d.ts +9 -0
- package/dist/services/validators/langflow.validator.d.ts.map +1 -0
- package/dist/services/validators/langflow.validator.js +92 -0
- package/dist/services/validators/langflow.validator.js.map +1 -0
- package/dist/services/validators/langgraph.validator.d.ts +9 -0
- package/dist/services/validators/langgraph.validator.d.ts.map +1 -0
- package/dist/services/validators/langgraph.validator.js +123 -0
- package/dist/services/validators/langgraph.validator.js.map +1 -0
- package/dist/services/validators/llamaindex.validator.d.ts +9 -0
- package/dist/services/validators/llamaindex.validator.d.ts.map +1 -0
- package/dist/services/validators/llamaindex.validator.js +121 -0
- package/dist/services/validators/llamaindex.validator.js.map +1 -0
- package/dist/services/validators/openai.validator.d.ts +9 -0
- package/dist/services/validators/openai.validator.d.ts.map +1 -0
- package/dist/services/validators/openai.validator.js +126 -0
- package/dist/services/validators/openai.validator.js.map +1 -0
- package/dist/services/validators/vercel-ai.validator.d.ts +9 -0
- package/dist/services/validators/vercel-ai.validator.d.ts.map +1 -0
- package/dist/services/validators/vercel-ai.validator.js +99 -0
- package/dist/services/validators/vercel-ai.validator.js.map +1 -0
- package/dist/services/worktree/branching-strategy.d.ts +17 -0
- package/dist/services/worktree/branching-strategy.d.ts.map +1 -0
- package/dist/services/worktree/branching-strategy.js +66 -0
- package/dist/services/worktree/branching-strategy.js.map +1 -0
- package/dist/services/worktree/git-worktree-manager.d.ts +32 -0
- package/dist/services/worktree/git-worktree-manager.d.ts.map +1 -0
- package/dist/services/worktree/git-worktree-manager.js +61 -0
- package/dist/services/worktree/git-worktree-manager.js.map +1 -0
- package/dist/spec/v0.1.9/agent-autonomous-extensions.json +234 -0
- package/dist/spec/v0.1.9/ecosystem-compliance.json +235 -0
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json +695 -0
- package/dist/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
- package/dist/spec/v0.1.9/reasoning-compliance.json +654 -0
- 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 +555 -0
- package/dist/spec/v0.2.2/kagent-enhancements.json +395 -0
- package/dist/spec/v0.2.2/ossa-0.2.2.schema.json +906 -0
- package/dist/spec/v0.2.2/ossa-0.2.2.yaml +448 -0
- package/dist/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +424 -0
- package/dist/spec/v0.2.3/README.md +154 -0
- package/dist/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/dist/spec/v0.2.3/ossa-0.2.3.schema.json +1397 -0
- package/dist/spec/v0.2.3/ossa-0.2.3.yaml +448 -0
- package/dist/spec/v0.2.4-dev/README.md +61 -0
- package/dist/spec/v0.2.4-dev/RELEASE-PROCESS.md +130 -0
- package/dist/spec/v0.2.4-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.4-dev/openapi/CHANGELOG-0.2.4.md +177 -0
- package/dist/spec/v0.2.4-dev/openapi/README-0.2.4.md +51 -0
- package/dist/spec/v0.2.4-dev/openapi/VERIFICATION-0.2.4.md +147 -0
- package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.schema.json +1717 -0
- package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
- package/dist/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +317 -0
- package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.schema.json +1732 -0
- package/dist/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +409 -0
- package/dist/specification/validator.d.ts +82 -0
- package/dist/specification/validator.d.ts.map +1 -0
- package/dist/specification/validator.js +562 -0
- package/dist/specification/validator.js.map +1 -0
- package/dist/types/acdl-api.d.ts +335 -0
- package/dist/types/acdl-api.d.ts.map +1 -0
- package/dist/types/acdl-api.js +6 -0
- package/dist/types/acdl-api.js.map +1 -0
- package/dist/types/agents/index.d.ts +53 -0
- package/dist/types/agents/index.d.ts.map +1 -0
- package/dist/types/agents/index.js +5 -0
- package/dist/types/agents/index.js.map +1 -0
- package/dist/types/api.d.ts +225 -0
- package/dist/types/api.d.ts.map +1 -0
- package/dist/types/api.js +6 -0
- package/dist/types/api.js.map +1 -0
- package/dist/types/architecture/index.d.ts +530 -0
- package/dist/types/architecture/index.d.ts.map +1 -0
- package/dist/types/architecture/index.js +258 -0
- package/dist/types/architecture/index.js.map +1 -0
- package/dist/types/index.d.ts +279 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +68 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/openapi-extensions.d.ts +164 -0
- package/dist/types/openapi-extensions.d.ts.map +1 -0
- package/dist/types/openapi-extensions.js +6 -0
- package/dist/types/openapi-extensions.js.map +1 -0
- package/dist/types/policies/index.d.ts +35 -0
- package/dist/types/policies/index.d.ts.map +1 -0
- package/dist/types/policies/index.js +5 -0
- package/dist/types/policies/index.js.map +1 -0
- package/dist/types/workflows/index.d.ts +40 -0
- package/dist/types/workflows/index.d.ts.map +1 -0
- package/dist/types/workflows/index.js +5 -0
- package/dist/types/workflows/index.js.map +1 -0
- package/dist/utils/version-resolver.d.ts +28 -0
- package/dist/utils/version-resolver.d.ts.map +1 -0
- package/dist/utils/version-resolver.js +110 -0
- package/dist/utils/version-resolver.js.map +1 -0
- package/docker-compose.yml +160 -0
- package/junit.xml +1 -0
- package/package.json +105 -0
- package/public/api-docs.html +206 -0
- package/public/assets/favicon.svg +8 -0
- package/public/assets/script.js +279 -0
- package/public/assets/style.css +632 -0
- package/public/index.html +307 -0
- package/public/redocly-config.yaml +80 -0
- package/public/src/api/acdl-specification.yml +531 -0
- package/public/src/api/clean-architecture.openapi.yml +1435 -0
- package/public/src/api/context7-mcp.openapi.yml +313 -0
- package/public/src/api/magic-mcp.openapi.yml +647 -0
- package/public/src/api/mcp-infrastructure.openapi.yml +904 -0
- package/public/src/api/orchestration.openapi.yml +444 -0
- package/public/src/api/ossa-complete.openapi.yml +2250 -0
- package/public/src/api/project-discovery.openapi.yml +1293 -0
- package/public/src/api/rebuild-audit.openapi.yml +800 -0
- package/public/src/api/specification.openapi.yml +498 -0
- package/public/src/api/voice-agent-specification.yml +640 -0
- package/public/src/api/web-eval-mcp.openapi.yml +426 -0
- package/pyrightconfig.json +13 -0
- package/redocly.yaml +56 -0
- package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
- package/spec/v0.2.0/ossa-0.2.0.schema.json +0 -0
- package/spec/v0.2.1/ossa-0.2.1.schema.json +555 -0
- package/spec/v0.2.4/ossa-0.2.4.schema.json +1717 -0
- package/spec/v0.2.4/ossa-0.2.4.yaml +581 -0
- package/specs/README.md +31 -0
- package/specs/acdl-specification.yml +531 -0
- package/specs/clean-architecture.openapi.yml +1435 -0
- package/specs/context7-mcp.openapi.yml +313 -0
- package/specs/magic-mcp.openapi.yml +647 -0
- package/specs/mcp-infrastructure.openapi.yml +904 -0
- package/specs/orchestration.openapi.yml +444 -0
- package/specs/ossa-complete.openapi.yml +2250 -0
- package/specs/project-discovery.openapi.yml +1293 -0
- package/specs/rebuild-audit.openapi.yml +800 -0
- package/specs/specification.openapi.yml +498 -0
- package/specs/test-api.openapi.yml +20 -0
- package/specs/voice-agent-specification.yml +640 -0
- package/specs/web-eval-mcp.openapi.yml +426 -0
- package/src/adk/adapters/index.ts +310 -0
- package/src/adk/agents/custom-agent.ts +206 -0
- package/src/adk/agents/index.ts +158 -0
- package/src/adk/agents/llm-agent.ts +76 -0
- package/src/adk/agents/workflow-agent.ts +191 -0
- package/src/adk/index.ts +10 -0
- package/src/adk/orchestration/index.ts +352 -0
- package/src/adk/state/index.ts +217 -0
- package/src/adk/tools/index.ts +291 -0
- package/src/api/acdl-specification.yml +531 -0
- package/src/api/agent-manifest.schema.json +859 -0
- package/src/api/agent-worktree-schema.json +320 -0
- package/src/api/clean-architecture.openapi.yml +1435 -0
- package/src/api/context7-mcp.openapi.yml +313 -0
- package/src/api/magic-mcp.openapi.yml +647 -0
- package/src/api/mcp-infrastructure.openapi.yml +904 -0
- package/src/api/openapi.redoc.config.json +6 -0
- package/src/api/orchestration.openapi.yml +444 -0
- package/src/api/ossa-complete.openapi.yml +2250 -0
- package/src/api/project-discovery.openapi.yml +1293 -0
- package/src/api/rebuild-audit.openapi.yml +800 -0
- package/src/api/specification.openapi.yml +498 -0
- package/src/api/test-api.openapi.yml +20 -0
- package/src/api/voice-agent-specification.yml +640 -0
- package/src/api/web-eval-mcp.openapi.yml +426 -0
- package/src/api/workflow.schema.json +524 -0
- package/src/cli/agent-deployment.ts +452 -0
- package/src/cli/commands/ossa.ts +272 -0
- package/src/cli/commands/worktree.ts +603 -0
- package/src/cli/ossa-cli.ts +1176 -0
- package/src/core/index.ts +42 -0
- package/src/core/mcp-server-implementation.ts +1409 -0
- package/src/core/orchestrator/index.ts +611 -0
- package/src/core/orchestrator/ossa-orchestrator.ts +504 -0
- package/src/mcp/simple-server.ts +322 -0
- package/src/protocols/acap.ts +146 -0
- package/src/protocols/index.ts +8 -0
- package/src/protocols/rasp.ts +263 -0
- package/src/server/app.ts +472 -0
- package/src/server/middleware/agentAccess.ts +10 -0
- package/src/server/middleware/asyncHandler.ts +10 -0
- package/src/server/middleware/auth.ts +10 -0
- package/src/server/middleware/errorHandler.ts +9 -0
- package/src/server/middleware/logging.ts +10 -0
- package/src/server/middleware/metrics.ts +10 -0
- package/src/server/middleware/validation.ts +10 -0
- package/src/server/routes/agents.ts +632 -0
- package/src/server/routes/monitoring.ts +13 -0
- package/src/server/routes/orchestration.ts +13 -0
- package/src/server/routes/specifications.ts +13 -0
- package/src/server/services/AgentService.ts +46 -0
- package/src/server/services/ExecutionService.ts +51 -0
- package/src/server/services/SpecificationService.ts +22 -0
- package/src/server/services/WebhookService.ts +24 -0
- package/src/server/simple-app.ts +174 -0
- package/src/server/types/agent.ts +612 -0
- package/src/server/types/server.ts +465 -0
- package/src/services/orchestration/worktree-orchestrator.ts +779 -0
- package/src/services/worktree/branching-strategy.ts +76 -0
- package/src/services/worktree/git-worktree-manager.ts +86 -0
- package/website/.next/BUILD_ID +1 -0
- package/website/.next/app-build-manifest.json +151 -0
- package/website/.next/app-path-routes-manifest.json +19 -0
- package/website/.next/build-manifest.json +33 -0
- package/website/.next/cache/.previewinfo +1 -0
- package/website/.next/cache/.rscinfo +1 -0
- package/website/.next/cache/.tsbuildinfo +1 -0
- package/website/.next/cache/fetch-cache/920aec34c288eefa97c5efba3baf95a846a0beb0c48a5064980a2c24b83e941c +1 -0
- package/website/.next/cache/fetch-cache/c2ad7a72b43463a0daaa85ca926a8af38defd17ecb64f1fdd2dd4fe2293e8b26 +1 -0
- package/website/.next/cache/fetch-cache/d10eb963d5980c8a50ee9ed24472339ee6da054ead33e00676e61e8b8e62cc83 +1 -0
- package/website/.next/cache/fetch-cache/f243d84640477f3205b74a85013018acd63b692144675630a74d1af8a3e9eab5 +1 -0
- package/website/.next/cache/webpack/client-production/0.pack +0 -0
- package/website/.next/cache/webpack/client-production/1.pack +0 -0
- package/website/.next/cache/webpack/client-production/10.pack +0 -0
- package/website/.next/cache/webpack/client-production/11.pack +0 -0
- package/website/.next/cache/webpack/client-production/12.pack +0 -0
- package/website/.next/cache/webpack/client-production/13.pack +0 -0
- package/website/.next/cache/webpack/client-production/14.pack +0 -0
- package/website/.next/cache/webpack/client-production/15.pack +0 -0
- package/website/.next/cache/webpack/client-production/16.pack +0 -0
- package/website/.next/cache/webpack/client-production/17.pack +0 -0
- package/website/.next/cache/webpack/client-production/18.pack +0 -0
- package/website/.next/cache/webpack/client-production/2.pack +0 -0
- package/website/.next/cache/webpack/client-production/3.pack +0 -0
- package/website/.next/cache/webpack/client-production/4.pack +0 -0
- package/website/.next/cache/webpack/client-production/5.pack +0 -0
- package/website/.next/cache/webpack/client-production/6.pack +0 -0
- package/website/.next/cache/webpack/client-production/7.pack +0 -0
- package/website/.next/cache/webpack/client-production/8.pack +0 -0
- package/website/.next/cache/webpack/client-production/9.pack +0 -0
- package/website/.next/cache/webpack/client-production/index.pack +0 -0
- package/website/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/website/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/website/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/website/.next/cache/webpack/server-production/0.pack +0 -0
- package/website/.next/cache/webpack/server-production/1.pack +0 -0
- package/website/.next/cache/webpack/server-production/10.pack +0 -0
- package/website/.next/cache/webpack/server-production/11.pack +0 -0
- package/website/.next/cache/webpack/server-production/12.pack +0 -0
- package/website/.next/cache/webpack/server-production/2.pack +0 -0
- package/website/.next/cache/webpack/server-production/3.pack +0 -0
- package/website/.next/cache/webpack/server-production/4.pack +0 -0
- package/website/.next/cache/webpack/server-production/5.pack +0 -0
- package/website/.next/cache/webpack/server-production/6.pack +0 -0
- package/website/.next/cache/webpack/server-production/7.pack +0 -0
- package/website/.next/cache/webpack/server-production/8.pack +0 -0
- package/website/.next/cache/webpack/server-production/9.pack +0 -0
- package/website/.next/cache/webpack/server-production/index.pack +0 -0
- package/website/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/website/.next/diagnostics/build-diagnostics.json +6 -0
- package/website/.next/diagnostics/framework.json +1 -0
- package/website/.next/export-detail.json +5 -0
- package/website/.next/export-marker.json +6 -0
- package/website/.next/images-manifest.json +57 -0
- package/website/.next/next-minimal-server.js.nft.json +1 -0
- package/website/.next/next-server.js.nft.json +1 -0
- package/website/.next/package.json +1 -0
- package/website/.next/prerender-manifest.json +2143 -0
- package/website/.next/react-loadable-manifest.json +1898 -0
- package/website/.next/required-server-files.json +320 -0
- package/website/.next/routes-manifest.json +161 -0
- package/website/.next/server/app/_not-found/page.js +2 -0
- package/website/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/website/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/_not-found.html +1 -0
- package/website/.next/server/app/_not-found.meta +8 -0
- package/website/.next/server/app/_not-found.rsc +23 -0
- package/website/.next/server/app/about/page.js +2 -0
- package/website/.next/server/app/about/page.js.nft.json +1 -0
- package/website/.next/server/app/about/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/about.html +1 -0
- package/website/.next/server/app/about.meta +7 -0
- package/website/.next/server/app/about.rsc +40 -0
- package/website/.next/server/app/blog/OpenAPI-AI-Agents-Standard.html +217 -0
- package/website/.next/server/app/blog/OpenAPI-AI-Agents-Standard.meta +7 -0
- package/website/.next/server/app/blog/OpenAPI-AI-Agents-Standard.rsc +308 -0
- package/website/.next/server/app/blog/Why-Formal-Standards-Matter-Now.html +180 -0
- package/website/.next/server/app/blog/Why-Formal-Standards-Matter-Now.meta +7 -0
- package/website/.next/server/app/blog/Why-Formal-Standards-Matter-Now.rsc +232 -0
- package/website/.next/server/app/blog/[slug]/page.js +2 -0
- package/website/.next/server/app/blog/[slug]/page.js.nft.json +1 -0
- package/website/.next/server/app/blog/[slug]/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/blog/introducing-ossa-framework.html +263 -0
- package/website/.next/server/app/blog/introducing-ossa-framework.meta +7 -0
- package/website/.next/server/app/blog/introducing-ossa-framework.rsc +351 -0
- package/website/.next/server/app/blog/ossa-production-results.html +198 -0
- package/website/.next/server/app/blog/ossa-production-results.meta +7 -0
- package/website/.next/server/app/blog/ossa-production-results.rsc +302 -0
- package/website/.next/server/app/blog/page.js +2 -0
- package/website/.next/server/app/blog/page.js.nft.json +1 -0
- package/website/.next/server/app/blog/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/blog/welcome-to-ossa.html +22 -0
- package/website/.next/server/app/blog/welcome-to-ossa.meta +7 -0
- package/website/.next/server/app/blog/welcome-to-ossa.rsc +31 -0
- package/website/.next/server/app/blog/why-ai-agents-need-open-standard.html +63 -0
- package/website/.next/server/app/blog/why-ai-agents-need-open-standard.meta +7 -0
- package/website/.next/server/app/blog/why-ai-agents-need-open-standard.rsc +121 -0
- package/website/.next/server/app/blog.html +1 -0
- package/website/.next/server/app/blog.meta +7 -0
- package/website/.next/server/app/blog.rsc +35 -0
- package/website/.next/server/app/design-guide/page.js +12 -0
- package/website/.next/server/app/design-guide/page.js.nft.json +1 -0
- package/website/.next/server/app/design-guide/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/design-guide.html +11 -0
- package/website/.next/server/app/design-guide.meta +7 -0
- package/website/.next/server/app/design-guide.rsc +41 -0
- package/website/.next/server/app/docs.html +1 -0
- package/website/.next/server/app/docs.meta +7 -0
- package/website/.next/server/app/docs.rsc +42 -0
- package/website/.next/server/app/ecosystem/page.js +2 -0
- package/website/.next/server/app/ecosystem/page.js.nft.json +1 -0
- package/website/.next/server/app/ecosystem/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/ecosystem.html +1 -0
- package/website/.next/server/app/ecosystem.meta +7 -0
- package/website/.next/server/app/ecosystem.rsc +40 -0
- package/website/.next/server/app/examples.html +1 -0
- package/website/.next/server/app/examples.meta +7 -0
- package/website/.next/server/app/examples.rsc +14559 -0
- package/website/.next/server/app/index.html +3 -0
- package/website/.next/server/app/index.meta +7 -0
- package/website/.next/server/app/index.rsc +40 -0
- package/website/.next/server/app/license/page.js +2 -0
- package/website/.next/server/app/license/page.js.nft.json +1 -0
- package/website/.next/server/app/license/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/license.html +191 -0
- package/website/.next/server/app/license.meta +7 -0
- package/website/.next/server/app/license.rsc +222 -0
- package/website/.next/server/app/page.js +4 -0
- package/website/.next/server/app/page.js.nft.json +1 -0
- package/website/.next/server/app/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/playground/page.js +111 -0
- package/website/.next/server/app/playground/page.js.nft.json +1 -0
- package/website/.next/server/app/playground/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/playground.html +1 -0
- package/website/.next/server/app/playground.meta +7 -0
- package/website/.next/server/app/playground.rsc +30 -0
- package/website/.next/server/app/robots.txt/route.js +1 -0
- package/website/.next/server/app/robots.txt/route.js.nft.json +1 -0
- package/website/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -0
- package/website/.next/server/app/robots.txt.body +6 -0
- package/website/.next/server/app/robots.txt.meta +1 -0
- package/website/.next/server/app/rss.xml/route.js +18 -0
- package/website/.next/server/app/rss.xml/route.js.nft.json +1 -0
- package/website/.next/server/app/rss.xml/route_client-reference-manifest.js +1 -0
- package/website/.next/server/app/rss.xml.body +11 -0
- package/website/.next/server/app/rss.xml.meta +1 -0
- package/website/.next/server/app/schema/page.js +76 -0
- package/website/.next/server/app/schema/page.js.nft.json +1 -0
- package/website/.next/server/app/schema/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/schema.html +1 -0
- package/website/.next/server/app/schema.meta +7 -0
- package/website/.next/server/app/schema.rsc +26 -0
- package/website/.next/server/app/sitemap.xml/route.js +1 -0
- package/website/.next/server/app/sitemap.xml/route.js.nft.json +1 -0
- package/website/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -0
- package/website/.next/server/app/sitemap.xml.body +39 -0
- package/website/.next/server/app/sitemap.xml.meta +1 -0
- package/website/.next/server/app/specification/page.js +10 -0
- package/website/.next/server/app/specification/page.js.nft.json +1 -0
- package/website/.next/server/app/specification/page_client-reference-manifest.js +1 -0
- package/website/.next/server/app/specification.html +9 -0
- package/website/.next/server/app/specification.meta +7 -0
- package/website/.next/server/app/specification.rsc +32 -0
- package/website/.next/server/app-paths-manifest.json +19 -0
- package/website/.next/server/chunks/18.js +1 -0
- package/website/.next/server/chunks/227.js +9 -0
- package/website/.next/server/chunks/339.js +25 -0
- package/website/.next/server/chunks/49.js +1 -0
- package/website/.next/server/chunks/51.js +1 -0
- package/website/.next/server/chunks/57.js +1 -0
- package/website/.next/server/chunks/579.js +16 -0
- package/website/.next/server/chunks/611.js +6 -0
- package/website/.next/server/chunks/873.js +22 -0
- package/website/.next/server/chunks/900.js +1 -0
- package/website/.next/server/chunks/97.js +1 -0
- package/website/.next/server/functions-config-manifest.json +4 -0
- package/website/.next/server/interception-route-rewrite-manifest.js +1 -0
- package/website/.next/server/middleware-build-manifest.js +1 -0
- package/website/.next/server/middleware-manifest.json +6 -0
- package/website/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/website/.next/server/next-font-manifest.js +1 -0
- package/website/.next/server/next-font-manifest.json +1 -0
- package/website/.next/server/pages/404.html +1 -0
- package/website/.next/server/pages/500.html +1 -0
- package/website/.next/server/pages/_app.js +1 -0
- package/website/.next/server/pages/_app.js.nft.json +1 -0
- package/website/.next/server/pages/_document.js +1 -0
- package/website/.next/server/pages/_document.js.nft.json +1 -0
- package/website/.next/server/pages/_error.js +19 -0
- package/website/.next/server/pages/_error.js.nft.json +1 -0
- package/website/.next/server/pages-manifest.json +6 -0
- package/website/.next/server/server-reference-manifest.js +1 -0
- package/website/.next/server/server-reference-manifest.json +1 -0
- package/website/.next/server/webpack-runtime.js +1 -0
- package/website/.next/static/IDhDQiozPwOaA3PpMqvTE/_buildManifest.js +1 -0
- package/website/.next/static/IDhDQiozPwOaA3PpMqvTE/_ssgManifest.js +1 -0
- package/website/.next/static/chunks/119.05f66060d7798fc9.js +25 -0
- package/website/.next/static/chunks/255-bf407b21685f2318.js +1 -0
- package/website/.next/static/chunks/451-235273497e501ae9.js +1 -0
- package/website/.next/static/chunks/4bd1b696-409494caf8c83275.js +1 -0
- package/website/.next/static/chunks/619-f072ac750404f9da.js +1 -0
- package/website/.next/static/chunks/651-5cd3c87d43b7eb46.js +1 -0
- package/website/.next/static/chunks/778.278ac2aadb2a1105.js +1 -0
- package/website/.next/static/chunks/890-ab915e0570e1961b.js +1 -0
- package/website/.next/static/chunks/app/_not-found/page-ccdaf9d90b537c5d.js +1 -0
- package/website/.next/static/chunks/app/about/page-bd4cb2219b41f933.js +1 -0
- package/website/.next/static/chunks/app/blog/[slug]/page-8fd43000c4969233.js +1 -0
- package/website/.next/static/chunks/app/blog/page-bd4cb2219b41f933.js +1 -0
- package/website/.next/static/chunks/app/design-guide/page-bd4cb2219b41f933.js +1 -0
- package/website/.next/static/chunks/app/ecosystem/page-bd4cb2219b41f933.js +1 -0
- package/website/.next/static/chunks/app/layout-ccacbd90656baa78.js +1 -0
- package/website/.next/static/chunks/app/license/page-bd4cb2219b41f933.js +1 -0
- package/website/.next/static/chunks/app/page-31241dc7465f9590.js +1 -0
- package/website/.next/static/chunks/app/playground/page-c2af00885374900f.js +1 -0
- package/website/.next/static/chunks/app/robots.txt/route-032c05054032342f.js +1 -0
- package/website/.next/static/chunks/app/rss.xml/route-032c05054032342f.js +1 -0
- package/website/.next/static/chunks/app/schema/page-f7c224b281771083.js +1 -0
- package/website/.next/static/chunks/app/sitemap.xml/route-032c05054032342f.js +1 -0
- package/website/.next/static/chunks/app/specification/page-bd4cb2219b41f933.js +1 -0
- package/website/.next/static/chunks/framework-1ce91eb6f9ecda85.js +1 -0
- package/website/.next/static/chunks/main-3099e141650ec47a.js +1 -0
- package/website/.next/static/chunks/main-app-a2fc6ac9305e3090.js +1 -0
- package/website/.next/static/chunks/pages/_app-5addca2b3b969fde.js +1 -0
- package/website/.next/static/chunks/pages/_error-022e4ac7bbb9914f.js +1 -0
- package/website/.next/static/chunks/polyfills-42372ed130431b0a.js +1 -0
- package/website/.next/static/chunks/webpack-6ecb09e5c6e34cb4.js +1 -0
- package/website/.next/static/css/23135390005d4468.css +3 -0
- package/website/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/website/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/website/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/website/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/website/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/website/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/website/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/website/.next/trace +3 -0
- package/website/.next/types/app/about/page.ts +84 -0
- package/website/.next/types/app/blog/[slug]/page.ts +84 -0
- package/website/.next/types/app/blog/page.ts +84 -0
- package/website/.next/types/app/design-guide/page.ts +84 -0
- package/website/.next/types/app/ecosystem/page.ts +84 -0
- package/website/.next/types/app/license/page.ts +84 -0
- package/website/.next/types/app/page.ts +84 -0
- package/website/.next/types/app/playground/page.ts +84 -0
- package/website/.next/types/app/rss.xml/route.ts +347 -0
- package/website/.next/types/app/schema/page.ts +84 -0
- package/website/.next/types/app/specification/page.ts +84 -0
- package/website/.next/types/cache-life.d.ts +141 -0
- package/website/.next/types/package.json +1 -0
- package/website/.next/types/routes.d.ts +85 -0
- package/website/.next/types/validator.ts +187 -0
- package/website/.wiki-export/Agent-Folder-Structure.md +215 -0
- package/website/.wiki-export/CI-STATUS.md +66 -0
- package/website/.wiki-export/COMPLETE-IMPLEMENTATION-CHECKLIST.md +74 -0
- package/website/.wiki-export/DRUPAL-MODULE-INTEGRATION.md +103 -0
- package/website/.wiki-export/FINAL-STATUS.md +63 -0
- package/website/.wiki-export/Getting-Started.md +87 -0
- package/website/.wiki-export/INSTRUCTIONS.md +46 -0
- package/website/.wiki-export/INTEGRATION-ANALYSIS.md +216 -0
- package/website/.wiki-export/MANIFEST.json +62 -0
- package/website/.wiki-export/OSSA-COMPLIANT-BADGE.md +247 -0
- package/website/.wiki-export/Openapi-Extensions.md +930 -0
- package/website/.wiki-export/README.md +31 -0
- package/website/.wiki-export/RELEASE-READINESS.md +95 -0
- package/website/.wiki-export/VERSIONING.md +284 -0
- package/website/lib/versions.json +77 -0
- package/website/next-env.d.ts +6 -0
- package/website/out/app-build-manifest.json +3 -0
- package/website/out/build-manifest.json +17 -0
- package/website/out/cache/.rscinfo +1 -0
- package/website/out/cache/next-devtools-config.json +1 -0
- package/website/out/cache/webpack/client-development/0.pack.gz +0 -0
- package/website/out/cache/webpack/client-development/1.pack.gz +0 -0
- package/website/out/cache/webpack/client-development/2.pack.gz +0 -0
- package/website/out/cache/webpack/client-development/3.pack.gz +0 -0
- package/website/out/cache/webpack/client-development/index.pack.gz +0 -0
- package/website/out/cache/webpack/client-development/index.pack.gz.old +0 -0
- package/website/out/cache/webpack/client-development-fallback/0.pack.gz +0 -0
- package/website/out/cache/webpack/client-development-fallback/index.pack.gz +0 -0
- package/website/out/cache/webpack/server-development/0.pack.gz +0 -0
- package/website/out/cache/webpack/server-development/1.pack.gz +0 -0
- package/website/out/cache/webpack/server-development/2.pack.gz +0 -0
- package/website/out/cache/webpack/server-development/3.pack.gz +0 -0
- package/website/out/cache/webpack/server-development/index.pack.gz +0 -0
- package/website/out/cache/webpack/server-development/index.pack.gz.old +0 -0
- package/website/out/package.json +1 -0
- package/website/out/prerender-manifest.json +11 -0
- package/website/out/react-loadable-manifest.json +1 -0
- package/website/out/routes-manifest.json +1 -0
- package/website/out/server/app-paths-manifest.json +1 -0
- package/website/out/server/interception-route-rewrite-manifest.js +1 -0
- package/website/out/server/middleware-build-manifest.js +19 -0
- package/website/out/server/middleware-manifest.json +6 -0
- package/website/out/server/middleware-react-loadable-manifest.js +1 -0
- package/website/out/server/next-font-manifest.js +1 -0
- package/website/out/server/next-font-manifest.json +1 -0
- package/website/out/server/pages-manifest.json +1 -0
- package/website/out/server/server-reference-manifest.js +1 -0
- package/website/out/server/server-reference-manifest.json +5 -0
- package/website/out/static/chunks/polyfills.js +1 -0
- package/website/out/static/development/_buildManifest.js +1 -0
- package/website/out/static/development/_ssgManifest.js +1 -0
- package/website/out/trace +2 -0
- package/website/out/types/cache-life.d.ts +141 -0
- package/website/out/types/package.json +1 -0
- package/website/out/types/routes.d.ts +85 -0
- package/website/out/types/validator.ts +187 -0
- package/website/public/examples.json +476 -0
- package/website/public/schemas/openapi-extensions.schema.json +486 -0
- package/website/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,2250 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: OSSA Complete API
|
|
4
|
+
version: 0.1.9
|
|
5
|
+
summary: Open Standards for Scalable Agents - Complete OpenAPI 3.1 Implementation
|
|
6
|
+
description: |
|
|
7
|
+
# OSSA Complete API v0.1.9
|
|
8
|
+
|
|
9
|
+
This is a comprehensive OpenAPI 3.1 specification showcasing all advanced features:
|
|
10
|
+
- **JSON Schema Draft 2020-12** for validation
|
|
11
|
+
- **Webhooks** for event-driven architecture
|
|
12
|
+
- **Discriminator mapping** for polymorphic schemas
|
|
13
|
+
- **Content encoding** for binary data
|
|
14
|
+
- **Security schemes** with OAuth 2.1 and API keys
|
|
15
|
+
- **Path templating** with complex parameters
|
|
16
|
+
- **Advanced examples** with external references
|
|
17
|
+
- **Callbacks** for asynchronous operations
|
|
18
|
+
- **Links** for HATEOAS implementation
|
|
19
|
+
|
|
20
|
+
## Agent Types Hierarchy
|
|
21
|
+
|
|
22
|
+
OSSA defines a sophisticated agent taxonomy with inheritance and composition:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
Agent (base)
|
|
26
|
+
├── ExecutionAgent
|
|
27
|
+
│ ├── WorkerAgent (task execution)
|
|
28
|
+
│ ├── OrchestratorAgent (coordination)
|
|
29
|
+
│ └── ProcessorAgent (data transformation)
|
|
30
|
+
├── GovernanceAgent
|
|
31
|
+
│ ├── CriticAgent (quality control)
|
|
32
|
+
│ ├── JudgeAgent (decision making)
|
|
33
|
+
│ └── GovernorAgent (policy enforcement)
|
|
34
|
+
└── ObservabilityAgent
|
|
35
|
+
├── MonitorAgent (system observation)
|
|
36
|
+
├── TracerAgent (execution tracking)
|
|
37
|
+
└── AuditorAgent (compliance logging)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## OpenAPI 3.1 Features Demonstrated
|
|
41
|
+
|
|
42
|
+
This specification showcases:
|
|
43
|
+
- ✅ JSON Schema Draft 2020-12 (`$schema`, `$vocabulary`)
|
|
44
|
+
- ✅ Discriminator with mapping for polymorphic inheritance
|
|
45
|
+
- ✅ Webhooks for event-driven notifications
|
|
46
|
+
- ✅ Content encoding for binary payloads
|
|
47
|
+
- ✅ Advanced security with OAuth 2.1 PKCE
|
|
48
|
+
- ✅ Path item references and reusable components
|
|
49
|
+
- ✅ Examples with external references
|
|
50
|
+
- ✅ Callbacks for async workflow triggers
|
|
51
|
+
- ✅ Links for HATEOAS navigation
|
|
52
|
+
- ✅ Multiple content types per operation
|
|
53
|
+
- ✅ Complex parameter dependencies
|
|
54
|
+
- ✅ Conditional schemas with `if/then/else`
|
|
55
|
+
|
|
56
|
+
termsOfService: https://ossa.bluefly.io/terms
|
|
57
|
+
contact:
|
|
58
|
+
name: OSSA Development Team
|
|
59
|
+
url: https://gitlab.bluefly.io/llm/openapi-ai-agents-standard
|
|
60
|
+
email: ossa@bluefly.io
|
|
61
|
+
license:
|
|
62
|
+
name: MIT
|
|
63
|
+
url: https://spdx.org/licenses/MIT.html
|
|
64
|
+
x-logo:
|
|
65
|
+
url: https://ossa.bluefly.io/logo.svg
|
|
66
|
+
altText: OSSA Logo
|
|
67
|
+
|
|
68
|
+
externalDocs:
|
|
69
|
+
description: Complete OSSA Documentation
|
|
70
|
+
url: https://docs.ossa.bluefly.io
|
|
71
|
+
|
|
72
|
+
servers:
|
|
73
|
+
- url: https://api.ossa.bluefly.io/v1
|
|
74
|
+
description: Production Server
|
|
75
|
+
- url: https://staging.api.ossa.bluefly.io/v1
|
|
76
|
+
description: Staging Server
|
|
77
|
+
- url: http://localhost:3000/v1
|
|
78
|
+
description: Local Development Server
|
|
79
|
+
|
|
80
|
+
tags:
|
|
81
|
+
- name: Agents
|
|
82
|
+
description: Agent lifecycle management operations
|
|
83
|
+
externalDocs:
|
|
84
|
+
description: Agent Management Guide
|
|
85
|
+
url: https://docs.ossa.bluefly.io/agents
|
|
86
|
+
- name: Specifications
|
|
87
|
+
description: OpenAPI specification operations
|
|
88
|
+
externalDocs:
|
|
89
|
+
description: Specification Guide
|
|
90
|
+
url: https://docs.ossa.bluefly.io/specs
|
|
91
|
+
- name: Orchestration
|
|
92
|
+
description: Workflow and orchestration operations
|
|
93
|
+
- name: Registry
|
|
94
|
+
description: Agent discovery and registration
|
|
95
|
+
- name: Monitoring
|
|
96
|
+
description: System monitoring and observability
|
|
97
|
+
- name: Governance
|
|
98
|
+
description: Compliance and policy enforcement
|
|
99
|
+
|
|
100
|
+
paths:
|
|
101
|
+
/agents:
|
|
102
|
+
get:
|
|
103
|
+
tags: [Agents]
|
|
104
|
+
summary: List all agents
|
|
105
|
+
description: |
|
|
106
|
+
Retrieve a paginated list of agents with advanced filtering and sorting capabilities.
|
|
107
|
+
|
|
108
|
+
Supports:
|
|
109
|
+
- Type-based filtering with inheritance hierarchy
|
|
110
|
+
- Capability-based search with fuzzy matching
|
|
111
|
+
- Status filtering (active, inactive, error, deploying)
|
|
112
|
+
- Creation date range queries
|
|
113
|
+
- Performance metric filtering
|
|
114
|
+
operationId: listAgents
|
|
115
|
+
parameters:
|
|
116
|
+
- $ref: '#/components/parameters/PageParam'
|
|
117
|
+
- $ref: '#/components/parameters/LimitParam'
|
|
118
|
+
- $ref: '#/components/parameters/SortParam'
|
|
119
|
+
- name: type
|
|
120
|
+
in: query
|
|
121
|
+
description: Filter by agent type (supports inheritance)
|
|
122
|
+
schema:
|
|
123
|
+
$ref: '#/components/schemas/AgentType'
|
|
124
|
+
style: form
|
|
125
|
+
explode: false
|
|
126
|
+
- name: status
|
|
127
|
+
in: query
|
|
128
|
+
description: Filter by agent status
|
|
129
|
+
schema:
|
|
130
|
+
type: array
|
|
131
|
+
items:
|
|
132
|
+
$ref: '#/components/schemas/AgentStatus'
|
|
133
|
+
style: form
|
|
134
|
+
explode: true
|
|
135
|
+
- name: capabilities
|
|
136
|
+
in: query
|
|
137
|
+
description: Filter by required capabilities (AND logic)
|
|
138
|
+
schema:
|
|
139
|
+
type: array
|
|
140
|
+
items:
|
|
141
|
+
type: string
|
|
142
|
+
minItems: 1
|
|
143
|
+
maxItems: 10
|
|
144
|
+
style: form
|
|
145
|
+
explode: true
|
|
146
|
+
- name: created_after
|
|
147
|
+
in: query
|
|
148
|
+
description: Filter agents created after this timestamp
|
|
149
|
+
schema:
|
|
150
|
+
type: string
|
|
151
|
+
format: date-time
|
|
152
|
+
- name: performance_min
|
|
153
|
+
in: query
|
|
154
|
+
description: Minimum performance score (0-100)
|
|
155
|
+
schema:
|
|
156
|
+
type: number
|
|
157
|
+
minimum: 0
|
|
158
|
+
maximum: 100
|
|
159
|
+
responses:
|
|
160
|
+
'200':
|
|
161
|
+
description: List of agents retrieved successfully
|
|
162
|
+
content:
|
|
163
|
+
application/json:
|
|
164
|
+
schema:
|
|
165
|
+
$ref: '#/components/schemas/AgentListResponse'
|
|
166
|
+
examples:
|
|
167
|
+
with_workers:
|
|
168
|
+
summary: Response with worker agents
|
|
169
|
+
externalValue: https://examples.ossa.bluefly.io/agents/workers.json
|
|
170
|
+
with_orchestrators:
|
|
171
|
+
summary: Response with orchestrator agents
|
|
172
|
+
value:
|
|
173
|
+
agents:
|
|
174
|
+
- id: "orch-001"
|
|
175
|
+
type: "orchestrator"
|
|
176
|
+
name: "Workflow Master"
|
|
177
|
+
status: "active"
|
|
178
|
+
created_at: "2025-01-15T10:30:00Z"
|
|
179
|
+
pagination:
|
|
180
|
+
page: 1
|
|
181
|
+
limit: 20
|
|
182
|
+
total: 1
|
|
183
|
+
has_next: false
|
|
184
|
+
application/yaml:
|
|
185
|
+
schema:
|
|
186
|
+
$ref: '#/components/schemas/AgentListResponse'
|
|
187
|
+
text/csv:
|
|
188
|
+
schema:
|
|
189
|
+
type: string
|
|
190
|
+
example: |
|
|
191
|
+
id,type,name,status,created_at
|
|
192
|
+
agent-001,worker,Data Processor,active,2025-01-15T10:30:00Z
|
|
193
|
+
'400':
|
|
194
|
+
$ref: '#/components/responses/BadRequest'
|
|
195
|
+
'401':
|
|
196
|
+
$ref: '#/components/responses/Unauthorized'
|
|
197
|
+
'403':
|
|
198
|
+
$ref: '#/components/responses/Forbidden'
|
|
199
|
+
'429':
|
|
200
|
+
$ref: '#/components/responses/TooManyRequests'
|
|
201
|
+
'500':
|
|
202
|
+
$ref: '#/components/responses/InternalServerError'
|
|
203
|
+
callbacks:
|
|
204
|
+
agentStatusChange:
|
|
205
|
+
'{$request.body#/webhook_url}':
|
|
206
|
+
post:
|
|
207
|
+
summary: Agent status change notification
|
|
208
|
+
requestBody:
|
|
209
|
+
content:
|
|
210
|
+
application/json:
|
|
211
|
+
schema:
|
|
212
|
+
$ref: '#/components/schemas/AgentStatusEvent'
|
|
213
|
+
responses:
|
|
214
|
+
'200':
|
|
215
|
+
description: Webhook received successfully
|
|
216
|
+
|
|
217
|
+
post:
|
|
218
|
+
tags: [Agents]
|
|
219
|
+
summary: Create a new agent
|
|
220
|
+
description: |
|
|
221
|
+
Create a new agent with comprehensive validation and automatic capability inference.
|
|
222
|
+
|
|
223
|
+
Features:
|
|
224
|
+
- **Polymorphic agent types** with discriminator-based validation
|
|
225
|
+
- **Automatic capability detection** from provided specifications
|
|
226
|
+
- **Version conflict resolution** with semantic versioning
|
|
227
|
+
- **Dependency validation** against existing agents
|
|
228
|
+
- **Resource quota enforcement** per organization
|
|
229
|
+
- **Async creation** with webhook notifications
|
|
230
|
+
operationId: createAgent
|
|
231
|
+
requestBody:
|
|
232
|
+
required: true
|
|
233
|
+
content:
|
|
234
|
+
application/json:
|
|
235
|
+
schema:
|
|
236
|
+
$ref: '#/components/schemas/CreateAgentRequest'
|
|
237
|
+
examples:
|
|
238
|
+
worker_agent:
|
|
239
|
+
summary: Create a worker agent
|
|
240
|
+
value:
|
|
241
|
+
type: "worker"
|
|
242
|
+
name: "Data Processor"
|
|
243
|
+
description: "Processes incoming data streams"
|
|
244
|
+
capabilities: ["data-processing", "validation"]
|
|
245
|
+
configuration:
|
|
246
|
+
max_concurrent_tasks: 10
|
|
247
|
+
timeout_seconds: 300
|
|
248
|
+
orchestrator_agent:
|
|
249
|
+
summary: Create an orchestrator agent
|
|
250
|
+
value:
|
|
251
|
+
type: "orchestrator"
|
|
252
|
+
name: "Workflow Manager"
|
|
253
|
+
description: "Manages complex workflows"
|
|
254
|
+
capabilities: ["orchestration", "monitoring"]
|
|
255
|
+
configuration:
|
|
256
|
+
max_concurrent_workflows: 5
|
|
257
|
+
workflow_timeout_minutes: 60
|
|
258
|
+
application/yaml:
|
|
259
|
+
schema:
|
|
260
|
+
$ref: '#/components/schemas/CreateAgentRequest'
|
|
261
|
+
multipart/form-data:
|
|
262
|
+
schema:
|
|
263
|
+
type: object
|
|
264
|
+
properties:
|
|
265
|
+
agent_data:
|
|
266
|
+
$ref: '#/components/schemas/CreateAgentRequest'
|
|
267
|
+
specification_file:
|
|
268
|
+
type: string
|
|
269
|
+
format: binary
|
|
270
|
+
description: OpenAPI specification file
|
|
271
|
+
dockerfile:
|
|
272
|
+
type: string
|
|
273
|
+
format: binary
|
|
274
|
+
description: Optional Dockerfile for containerized agents
|
|
275
|
+
encoding:
|
|
276
|
+
specification_file:
|
|
277
|
+
contentType: application/yaml, application/json
|
|
278
|
+
dockerfile:
|
|
279
|
+
contentType: text/plain
|
|
280
|
+
responses:
|
|
281
|
+
'201':
|
|
282
|
+
description: Agent created successfully
|
|
283
|
+
content:
|
|
284
|
+
application/json:
|
|
285
|
+
schema:
|
|
286
|
+
$ref: '#/components/schemas/Agent'
|
|
287
|
+
links:
|
|
288
|
+
GetAgent:
|
|
289
|
+
operationId: getAgent
|
|
290
|
+
parameters:
|
|
291
|
+
agent_id: '$response.body#/id'
|
|
292
|
+
description: Get the created agent details
|
|
293
|
+
UpdateAgent:
|
|
294
|
+
operationId: updateAgent
|
|
295
|
+
parameters:
|
|
296
|
+
agent_id: '$response.body#/id'
|
|
297
|
+
description: Update the created agent
|
|
298
|
+
DeleteAgent:
|
|
299
|
+
operationId: deleteAgent
|
|
300
|
+
parameters:
|
|
301
|
+
agent_id: '$response.body#/id'
|
|
302
|
+
description: Delete the created agent
|
|
303
|
+
'400':
|
|
304
|
+
$ref: '#/components/responses/BadRequest'
|
|
305
|
+
'401':
|
|
306
|
+
$ref: '#/components/responses/Unauthorized'
|
|
307
|
+
'403':
|
|
308
|
+
$ref: '#/components/responses/Forbidden'
|
|
309
|
+
'409':
|
|
310
|
+
description: Agent with this name already exists
|
|
311
|
+
content:
|
|
312
|
+
application/json:
|
|
313
|
+
schema:
|
|
314
|
+
$ref: '#/components/schemas/ConflictError'
|
|
315
|
+
'422':
|
|
316
|
+
description: Validation failed
|
|
317
|
+
content:
|
|
318
|
+
application/json:
|
|
319
|
+
schema:
|
|
320
|
+
$ref: '#/components/schemas/ValidationError'
|
|
321
|
+
'429':
|
|
322
|
+
$ref: '#/components/responses/TooManyRequests'
|
|
323
|
+
'500':
|
|
324
|
+
$ref: '#/components/responses/InternalServerError'
|
|
325
|
+
|
|
326
|
+
/agents/{agent_id}:
|
|
327
|
+
parameters:
|
|
328
|
+
- $ref: '#/components/parameters/AgentIdParam'
|
|
329
|
+
|
|
330
|
+
get:
|
|
331
|
+
tags: [Agents]
|
|
332
|
+
summary: Get agent details
|
|
333
|
+
description: |
|
|
334
|
+
Retrieve detailed information about a specific agent including:
|
|
335
|
+
- Current status and health metrics
|
|
336
|
+
- Performance statistics and SLA compliance
|
|
337
|
+
- Capability matrix and dependencies
|
|
338
|
+
- Recent execution history
|
|
339
|
+
- Configuration and metadata
|
|
340
|
+
operationId: getAgent
|
|
341
|
+
parameters:
|
|
342
|
+
- name: include
|
|
343
|
+
in: query
|
|
344
|
+
description: Additional data to include in response
|
|
345
|
+
schema:
|
|
346
|
+
type: array
|
|
347
|
+
items:
|
|
348
|
+
type: string
|
|
349
|
+
enum: [metrics, history, dependencies, logs]
|
|
350
|
+
style: form
|
|
351
|
+
explode: true
|
|
352
|
+
responses:
|
|
353
|
+
'200':
|
|
354
|
+
description: Agent details retrieved successfully
|
|
355
|
+
content:
|
|
356
|
+
application/json:
|
|
357
|
+
schema:
|
|
358
|
+
$ref: '#/components/schemas/Agent'
|
|
359
|
+
examples:
|
|
360
|
+
worker_agent:
|
|
361
|
+
$ref: '#/components/examples/WorkerAgentExample'
|
|
362
|
+
orchestrator_agent:
|
|
363
|
+
$ref: '#/components/examples/OrchestratorAgentExample'
|
|
364
|
+
application/yaml:
|
|
365
|
+
schema:
|
|
366
|
+
$ref: '#/components/schemas/Agent'
|
|
367
|
+
'404':
|
|
368
|
+
$ref: '#/components/responses/NotFound'
|
|
369
|
+
'401':
|
|
370
|
+
$ref: '#/components/responses/Unauthorized'
|
|
371
|
+
'403':
|
|
372
|
+
$ref: '#/components/responses/Forbidden'
|
|
373
|
+
'500':
|
|
374
|
+
$ref: '#/components/responses/InternalServerError'
|
|
375
|
+
|
|
376
|
+
put:
|
|
377
|
+
tags: [Agents]
|
|
378
|
+
summary: Update agent
|
|
379
|
+
description: |
|
|
380
|
+
Update an existing agent with full replacement semantics.
|
|
381
|
+
|
|
382
|
+
Supports:
|
|
383
|
+
- **Atomic updates** with rollback on failure
|
|
384
|
+
- **Version-aware updates** with optimistic locking
|
|
385
|
+
- **Capability migration** with backwards compatibility
|
|
386
|
+
- **Hot updates** for non-breaking changes
|
|
387
|
+
- **Blue-green deployment** for breaking changes
|
|
388
|
+
operationId: updateAgent
|
|
389
|
+
requestBody:
|
|
390
|
+
required: true
|
|
391
|
+
content:
|
|
392
|
+
application/json:
|
|
393
|
+
schema:
|
|
394
|
+
$ref: '#/components/schemas/UpdateAgentRequest'
|
|
395
|
+
responses:
|
|
396
|
+
'200':
|
|
397
|
+
description: Agent updated successfully
|
|
398
|
+
content:
|
|
399
|
+
application/json:
|
|
400
|
+
schema:
|
|
401
|
+
$ref: '#/components/schemas/Agent'
|
|
402
|
+
'400':
|
|
403
|
+
$ref: '#/components/responses/BadRequest'
|
|
404
|
+
'401':
|
|
405
|
+
$ref: '#/components/responses/Unauthorized'
|
|
406
|
+
'403':
|
|
407
|
+
$ref: '#/components/responses/Forbidden'
|
|
408
|
+
'404':
|
|
409
|
+
$ref: '#/components/responses/NotFound'
|
|
410
|
+
'409':
|
|
411
|
+
description: Version conflict detected
|
|
412
|
+
content:
|
|
413
|
+
application/json:
|
|
414
|
+
schema:
|
|
415
|
+
$ref: '#/components/schemas/ConflictError'
|
|
416
|
+
'422':
|
|
417
|
+
$ref: '#/components/responses/ValidationError'
|
|
418
|
+
'500':
|
|
419
|
+
$ref: '#/components/responses/InternalServerError'
|
|
420
|
+
|
|
421
|
+
patch:
|
|
422
|
+
tags: [Agents]
|
|
423
|
+
summary: Partially update agent
|
|
424
|
+
description: |
|
|
425
|
+
Perform partial updates to an agent using JSON Patch (RFC 6902) operations.
|
|
426
|
+
|
|
427
|
+
Supports atomic patch operations:
|
|
428
|
+
- `add` - Add new properties or array elements
|
|
429
|
+
- `remove` - Remove properties or array elements
|
|
430
|
+
- `replace` - Replace existing values
|
|
431
|
+
- `move` - Move values within the document
|
|
432
|
+
- `copy` - Copy values within the document
|
|
433
|
+
- `test` - Test values before applying other operations
|
|
434
|
+
operationId: patchAgent
|
|
435
|
+
requestBody:
|
|
436
|
+
required: true
|
|
437
|
+
content:
|
|
438
|
+
application/json-patch+json:
|
|
439
|
+
schema:
|
|
440
|
+
type: array
|
|
441
|
+
items:
|
|
442
|
+
$ref: '#/components/schemas/JsonPatchOperation'
|
|
443
|
+
examples:
|
|
444
|
+
add_capability:
|
|
445
|
+
summary: Add a new capability
|
|
446
|
+
value:
|
|
447
|
+
- op: "add"
|
|
448
|
+
path: "/capabilities/-"
|
|
449
|
+
value: "machine-learning"
|
|
450
|
+
update_status:
|
|
451
|
+
summary: Update agent status
|
|
452
|
+
value:
|
|
453
|
+
- op: "replace"
|
|
454
|
+
path: "/status"
|
|
455
|
+
value: "maintenance"
|
|
456
|
+
remove_deprecated_config:
|
|
457
|
+
summary: Remove deprecated configuration
|
|
458
|
+
value:
|
|
459
|
+
- op: "remove"
|
|
460
|
+
path: "/configuration/deprecated_setting"
|
|
461
|
+
responses:
|
|
462
|
+
'200':
|
|
463
|
+
description: Agent patched successfully
|
|
464
|
+
content:
|
|
465
|
+
application/json:
|
|
466
|
+
schema:
|
|
467
|
+
$ref: '#/components/schemas/Agent'
|
|
468
|
+
'400':
|
|
469
|
+
$ref: '#/components/responses/BadRequest'
|
|
470
|
+
'401':
|
|
471
|
+
$ref: '#/components/responses/Unauthorized'
|
|
472
|
+
'403':
|
|
473
|
+
$ref: '#/components/responses/Forbidden'
|
|
474
|
+
'404':
|
|
475
|
+
$ref: '#/components/responses/NotFound'
|
|
476
|
+
'422':
|
|
477
|
+
description: Patch operation failed
|
|
478
|
+
content:
|
|
479
|
+
application/json:
|
|
480
|
+
schema:
|
|
481
|
+
$ref: '#/components/schemas/PatchError'
|
|
482
|
+
'500':
|
|
483
|
+
$ref: '#/components/responses/InternalServerError'
|
|
484
|
+
|
|
485
|
+
delete:
|
|
486
|
+
tags: [Agents]
|
|
487
|
+
summary: Delete agent
|
|
488
|
+
description: |
|
|
489
|
+
Delete an agent with comprehensive cleanup and dependency management.
|
|
490
|
+
|
|
491
|
+
Features:
|
|
492
|
+
- **Graceful shutdown** with configurable timeout
|
|
493
|
+
- **Dependency validation** to prevent orphaned workflows
|
|
494
|
+
- **Data retention policies** with configurable periods
|
|
495
|
+
- **Audit trail preservation** for compliance
|
|
496
|
+
- **Cascading deletion** of related resources
|
|
497
|
+
operationId: deleteAgent
|
|
498
|
+
parameters:
|
|
499
|
+
- name: force
|
|
500
|
+
in: query
|
|
501
|
+
description: Force deletion even if agent has active dependencies
|
|
502
|
+
schema:
|
|
503
|
+
type: boolean
|
|
504
|
+
default: false
|
|
505
|
+
- name: retention_days
|
|
506
|
+
in: query
|
|
507
|
+
description: Days to retain agent data after deletion
|
|
508
|
+
schema:
|
|
509
|
+
type: integer
|
|
510
|
+
minimum: 0
|
|
511
|
+
maximum: 365
|
|
512
|
+
default: 30
|
|
513
|
+
responses:
|
|
514
|
+
'204':
|
|
515
|
+
description: Agent deleted successfully
|
|
516
|
+
'400':
|
|
517
|
+
$ref: '#/components/responses/BadRequest'
|
|
518
|
+
'401':
|
|
519
|
+
$ref: '#/components/responses/Unauthorized'
|
|
520
|
+
'403':
|
|
521
|
+
$ref: '#/components/responses/Forbidden'
|
|
522
|
+
'404':
|
|
523
|
+
$ref: '#/components/responses/NotFound'
|
|
524
|
+
'409':
|
|
525
|
+
description: Cannot delete agent due to dependencies
|
|
526
|
+
content:
|
|
527
|
+
application/json:
|
|
528
|
+
schema:
|
|
529
|
+
type: object
|
|
530
|
+
properties:
|
|
531
|
+
error:
|
|
532
|
+
type: string
|
|
533
|
+
example: "Cannot delete agent due to active dependencies"
|
|
534
|
+
dependencies:
|
|
535
|
+
type: array
|
|
536
|
+
items:
|
|
537
|
+
type: object
|
|
538
|
+
properties:
|
|
539
|
+
type:
|
|
540
|
+
type: string
|
|
541
|
+
enum: [workflow, orchestration, subscription]
|
|
542
|
+
id:
|
|
543
|
+
type: string
|
|
544
|
+
name:
|
|
545
|
+
type: string
|
|
546
|
+
'500':
|
|
547
|
+
$ref: '#/components/responses/InternalServerError'
|
|
548
|
+
|
|
549
|
+
/agents/{agent_id}/execute:
|
|
550
|
+
parameters:
|
|
551
|
+
- $ref: '#/components/parameters/AgentIdParam'
|
|
552
|
+
|
|
553
|
+
post:
|
|
554
|
+
tags: [Agents]
|
|
555
|
+
summary: Execute agent operation
|
|
556
|
+
description: |
|
|
557
|
+
Execute a specific operation on an agent with comprehensive input validation
|
|
558
|
+
and execution tracking.
|
|
559
|
+
|
|
560
|
+
Execution Features:
|
|
561
|
+
- **Input schema validation** against agent capabilities
|
|
562
|
+
- **Execution context isolation** for security
|
|
563
|
+
- **Real-time progress tracking** via WebSocket
|
|
564
|
+
- **Result caching** with configurable TTL
|
|
565
|
+
- **Execution history** and audit logging
|
|
566
|
+
- **Resource quotas** and throttling
|
|
567
|
+
operationId: executeAgent
|
|
568
|
+
parameters:
|
|
569
|
+
- name: async
|
|
570
|
+
in: query
|
|
571
|
+
description: Execute asynchronously and return execution ID
|
|
572
|
+
schema:
|
|
573
|
+
type: boolean
|
|
574
|
+
default: false
|
|
575
|
+
- name: timeout
|
|
576
|
+
in: query
|
|
577
|
+
description: Maximum execution time in seconds
|
|
578
|
+
schema:
|
|
579
|
+
type: integer
|
|
580
|
+
minimum: 1
|
|
581
|
+
maximum: 3600
|
|
582
|
+
default: 300
|
|
583
|
+
- name: priority
|
|
584
|
+
in: query
|
|
585
|
+
description: Execution priority (higher numbers = higher priority)
|
|
586
|
+
schema:
|
|
587
|
+
type: integer
|
|
588
|
+
minimum: 1
|
|
589
|
+
maximum: 10
|
|
590
|
+
default: 5
|
|
591
|
+
requestBody:
|
|
592
|
+
required: true
|
|
593
|
+
content:
|
|
594
|
+
application/json:
|
|
595
|
+
schema:
|
|
596
|
+
$ref: '#/components/schemas/ExecutionRequest'
|
|
597
|
+
examples:
|
|
598
|
+
data_processing:
|
|
599
|
+
summary: Data processing execution
|
|
600
|
+
value:
|
|
601
|
+
operation: "process_data"
|
|
602
|
+
input:
|
|
603
|
+
data_source: "s3://bucket/data.json"
|
|
604
|
+
transformation: "normalize"
|
|
605
|
+
output_format: "parquet"
|
|
606
|
+
context:
|
|
607
|
+
user_id: "user-123"
|
|
608
|
+
organization_id: "org-456"
|
|
609
|
+
workflow_orchestration:
|
|
610
|
+
summary: Workflow orchestration execution
|
|
611
|
+
value:
|
|
612
|
+
operation: "execute_workflow"
|
|
613
|
+
input:
|
|
614
|
+
workflow_id: "wf-789"
|
|
615
|
+
parameters:
|
|
616
|
+
input_data: {"key": "value"}
|
|
617
|
+
parallel_tasks: 3
|
|
618
|
+
context:
|
|
619
|
+
trigger: "api"
|
|
620
|
+
correlation_id: "corr-999"
|
|
621
|
+
responses:
|
|
622
|
+
'200':
|
|
623
|
+
description: Execution completed successfully (synchronous)
|
|
624
|
+
content:
|
|
625
|
+
application/json:
|
|
626
|
+
schema:
|
|
627
|
+
$ref: '#/components/schemas/ExecutionResult'
|
|
628
|
+
'202':
|
|
629
|
+
description: Execution started (asynchronous)
|
|
630
|
+
content:
|
|
631
|
+
application/json:
|
|
632
|
+
schema:
|
|
633
|
+
$ref: '#/components/schemas/AsyncExecutionResponse'
|
|
634
|
+
links:
|
|
635
|
+
GetExecutionStatus:
|
|
636
|
+
operationId: getExecutionStatus
|
|
637
|
+
parameters:
|
|
638
|
+
agent_id: '$request.path.agent_id'
|
|
639
|
+
execution_id: '$response.body#/execution_id'
|
|
640
|
+
'400':
|
|
641
|
+
$ref: '#/components/responses/BadRequest'
|
|
642
|
+
'401':
|
|
643
|
+
$ref: '#/components/responses/Unauthorized'
|
|
644
|
+
'403':
|
|
645
|
+
$ref: '#/components/responses/Forbidden'
|
|
646
|
+
'404':
|
|
647
|
+
$ref: '#/components/responses/NotFound'
|
|
648
|
+
'422':
|
|
649
|
+
description: Execution validation failed
|
|
650
|
+
content:
|
|
651
|
+
application/json:
|
|
652
|
+
schema:
|
|
653
|
+
$ref: '#/components/schemas/ExecutionValidationError'
|
|
654
|
+
'429':
|
|
655
|
+
$ref: '#/components/responses/TooManyRequests'
|
|
656
|
+
'500':
|
|
657
|
+
$ref: '#/components/responses/InternalServerError'
|
|
658
|
+
|
|
659
|
+
/agents/{agent_id}/executions/{execution_id}:
|
|
660
|
+
parameters:
|
|
661
|
+
- $ref: '#/components/parameters/AgentIdParam'
|
|
662
|
+
- $ref: '#/components/parameters/ExecutionIdParam'
|
|
663
|
+
|
|
664
|
+
get:
|
|
665
|
+
tags: [Agents]
|
|
666
|
+
summary: Get execution status
|
|
667
|
+
description: |
|
|
668
|
+
Retrieve the status and results of an asynchronous execution.
|
|
669
|
+
|
|
670
|
+
Provides:
|
|
671
|
+
- **Real-time status** (pending, running, completed, failed)
|
|
672
|
+
- **Progress indicators** with percentage completion
|
|
673
|
+
- **Intermediate results** for long-running operations
|
|
674
|
+
- **Resource usage metrics** (CPU, memory, duration)
|
|
675
|
+
- **Error details** with stack traces and context
|
|
676
|
+
operationId: getExecutionStatus
|
|
677
|
+
responses:
|
|
678
|
+
'200':
|
|
679
|
+
description: Execution status retrieved successfully
|
|
680
|
+
content:
|
|
681
|
+
application/json:
|
|
682
|
+
schema:
|
|
683
|
+
$ref: '#/components/schemas/ExecutionStatus'
|
|
684
|
+
'404':
|
|
685
|
+
$ref: '#/components/responses/NotFound'
|
|
686
|
+
'401':
|
|
687
|
+
$ref: '#/components/responses/Unauthorized'
|
|
688
|
+
'403':
|
|
689
|
+
$ref: '#/components/responses/Forbidden'
|
|
690
|
+
'500':
|
|
691
|
+
$ref: '#/components/responses/InternalServerError'
|
|
692
|
+
|
|
693
|
+
/specifications:
|
|
694
|
+
get:
|
|
695
|
+
tags: [Specifications]
|
|
696
|
+
summary: List OpenAPI specifications
|
|
697
|
+
description: |
|
|
698
|
+
Retrieve all OpenAPI specifications with metadata and validation status.
|
|
699
|
+
|
|
700
|
+
Features:
|
|
701
|
+
- **Version history** tracking with semantic versioning
|
|
702
|
+
- **Validation status** against OpenAPI 3.1 schema
|
|
703
|
+
- **Dependency mapping** between specifications
|
|
704
|
+
- **Usage analytics** and adoption metrics
|
|
705
|
+
operationId: listSpecifications
|
|
706
|
+
parameters:
|
|
707
|
+
- $ref: '#/components/parameters/PageParam'
|
|
708
|
+
- $ref: '#/components/parameters/LimitParam'
|
|
709
|
+
- name: version
|
|
710
|
+
in: query
|
|
711
|
+
description: Filter by OpenAPI version
|
|
712
|
+
schema:
|
|
713
|
+
type: string
|
|
714
|
+
enum: ["3.0.0", "3.0.1", "3.0.2", "3.0.3", "3.1.0"]
|
|
715
|
+
- name: status
|
|
716
|
+
in: query
|
|
717
|
+
description: Filter by validation status
|
|
718
|
+
schema:
|
|
719
|
+
type: string
|
|
720
|
+
enum: [valid, invalid, warning, unknown]
|
|
721
|
+
responses:
|
|
722
|
+
'200':
|
|
723
|
+
description: Specifications retrieved successfully
|
|
724
|
+
content:
|
|
725
|
+
application/json:
|
|
726
|
+
schema:
|
|
727
|
+
$ref: '#/components/schemas/SpecificationListResponse'
|
|
728
|
+
'400':
|
|
729
|
+
$ref: '#/components/responses/BadRequest'
|
|
730
|
+
'401':
|
|
731
|
+
$ref: '#/components/responses/Unauthorized'
|
|
732
|
+
'500':
|
|
733
|
+
$ref: '#/components/responses/InternalServerError'
|
|
734
|
+
|
|
735
|
+
/specifications/{spec_id}:
|
|
736
|
+
parameters:
|
|
737
|
+
- $ref: '#/components/parameters/SpecIdParam'
|
|
738
|
+
|
|
739
|
+
get:
|
|
740
|
+
tags: [Specifications]
|
|
741
|
+
summary: Get specification
|
|
742
|
+
description: Retrieve a specific OpenAPI specification with full content and metadata
|
|
743
|
+
operationId: getSpecification
|
|
744
|
+
parameters:
|
|
745
|
+
- name: format
|
|
746
|
+
in: query
|
|
747
|
+
description: Response format
|
|
748
|
+
schema:
|
|
749
|
+
type: string
|
|
750
|
+
enum: [json, yaml]
|
|
751
|
+
default: json
|
|
752
|
+
responses:
|
|
753
|
+
'200':
|
|
754
|
+
description: Specification retrieved successfully
|
|
755
|
+
content:
|
|
756
|
+
application/json:
|
|
757
|
+
schema:
|
|
758
|
+
$ref: '#/components/schemas/OpenAPISpecification'
|
|
759
|
+
application/yaml:
|
|
760
|
+
schema:
|
|
761
|
+
$ref: '#/components/schemas/OpenAPISpecification'
|
|
762
|
+
'404':
|
|
763
|
+
$ref: '#/components/responses/NotFound'
|
|
764
|
+
'401':
|
|
765
|
+
$ref: '#/components/responses/Unauthorized'
|
|
766
|
+
'500':
|
|
767
|
+
$ref: '#/components/responses/InternalServerError'
|
|
768
|
+
|
|
769
|
+
# OpenAPI 3.1 Webhooks Feature
|
|
770
|
+
webhooks:
|
|
771
|
+
agentCreated:
|
|
772
|
+
post:
|
|
773
|
+
summary: Agent created notification
|
|
774
|
+
description: Triggered when a new agent is successfully created
|
|
775
|
+
requestBody:
|
|
776
|
+
content:
|
|
777
|
+
application/json:
|
|
778
|
+
schema:
|
|
779
|
+
$ref: '#/components/schemas/AgentCreatedEvent'
|
|
780
|
+
responses:
|
|
781
|
+
'200':
|
|
782
|
+
description: Webhook received successfully
|
|
783
|
+
|
|
784
|
+
agentStatusChanged:
|
|
785
|
+
post:
|
|
786
|
+
summary: Agent status change notification
|
|
787
|
+
description: Triggered when an agent's status changes
|
|
788
|
+
requestBody:
|
|
789
|
+
content:
|
|
790
|
+
application/json:
|
|
791
|
+
schema:
|
|
792
|
+
$ref: '#/components/schemas/AgentStatusEvent'
|
|
793
|
+
responses:
|
|
794
|
+
'200':
|
|
795
|
+
description: Webhook received successfully
|
|
796
|
+
|
|
797
|
+
executionCompleted:
|
|
798
|
+
post:
|
|
799
|
+
summary: Execution completed notification
|
|
800
|
+
description: Triggered when an agent execution completes
|
|
801
|
+
requestBody:
|
|
802
|
+
content:
|
|
803
|
+
application/json:
|
|
804
|
+
schema:
|
|
805
|
+
$ref: '#/components/schemas/ExecutionCompletedEvent'
|
|
806
|
+
responses:
|
|
807
|
+
'200':
|
|
808
|
+
description: Webhook received successfully
|
|
809
|
+
|
|
810
|
+
components:
|
|
811
|
+
schemas:
|
|
812
|
+
# Base Agent Schema with Discriminator (OpenAPI 3.1 feature)
|
|
813
|
+
Agent:
|
|
814
|
+
type: object
|
|
815
|
+
discriminator:
|
|
816
|
+
propertyName: type
|
|
817
|
+
mapping:
|
|
818
|
+
worker: '#/components/schemas/WorkerAgent'
|
|
819
|
+
orchestrator: '#/components/schemas/OrchestratorAgent'
|
|
820
|
+
critic: '#/components/schemas/CriticAgent'
|
|
821
|
+
judge: '#/components/schemas/JudgeAgent'
|
|
822
|
+
monitor: '#/components/schemas/MonitorAgent'
|
|
823
|
+
governor: '#/components/schemas/GovernorAgent'
|
|
824
|
+
properties:
|
|
825
|
+
id:
|
|
826
|
+
type: string
|
|
827
|
+
pattern: '^[a-z0-9-]+$'
|
|
828
|
+
minLength: 3
|
|
829
|
+
maxLength: 63
|
|
830
|
+
example: "agent-001"
|
|
831
|
+
description: Unique agent identifier following DNS naming conventions
|
|
832
|
+
type:
|
|
833
|
+
$ref: '#/components/schemas/AgentType'
|
|
834
|
+
name:
|
|
835
|
+
type: string
|
|
836
|
+
minLength: 1
|
|
837
|
+
maxLength: 255
|
|
838
|
+
example: "Data Processing Agent"
|
|
839
|
+
description: Human-readable agent name
|
|
840
|
+
description:
|
|
841
|
+
type: string
|
|
842
|
+
maxLength: 1000
|
|
843
|
+
example: "Processes incoming data streams with validation and transformation"
|
|
844
|
+
version:
|
|
845
|
+
type: string
|
|
846
|
+
pattern: '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'
|
|
847
|
+
example: "1.2.3"
|
|
848
|
+
description: Semantic version following SemVer specification
|
|
849
|
+
status:
|
|
850
|
+
$ref: '#/components/schemas/AgentStatus'
|
|
851
|
+
capabilities:
|
|
852
|
+
type: array
|
|
853
|
+
items:
|
|
854
|
+
type: string
|
|
855
|
+
pattern: '^[a-z0-9-]+$'
|
|
856
|
+
minItems: 1
|
|
857
|
+
maxItems: 50
|
|
858
|
+
uniqueItems: true
|
|
859
|
+
example: ["data-processing", "validation", "transformation"]
|
|
860
|
+
description: List of capabilities this agent provides
|
|
861
|
+
configuration:
|
|
862
|
+
type: object
|
|
863
|
+
additionalProperties: true
|
|
864
|
+
description: Agent-specific configuration parameters
|
|
865
|
+
metadata:
|
|
866
|
+
$ref: '#/components/schemas/AgentMetadata'
|
|
867
|
+
created_at:
|
|
868
|
+
type: string
|
|
869
|
+
format: date-time
|
|
870
|
+
example: "2025-01-15T10:30:00Z"
|
|
871
|
+
description: Agent creation timestamp in ISO 8601 format
|
|
872
|
+
updated_at:
|
|
873
|
+
type: string
|
|
874
|
+
format: date-time
|
|
875
|
+
example: "2025-01-15T14:30:00Z"
|
|
876
|
+
description: Last update timestamp in ISO 8601 format
|
|
877
|
+
metrics:
|
|
878
|
+
$ref: '#/components/schemas/AgentMetrics'
|
|
879
|
+
required:
|
|
880
|
+
- id
|
|
881
|
+
- type
|
|
882
|
+
- name
|
|
883
|
+
- version
|
|
884
|
+
- status
|
|
885
|
+
- capabilities
|
|
886
|
+
- created_at
|
|
887
|
+
- updated_at
|
|
888
|
+
|
|
889
|
+
# Specialized Agent Types (Polymorphic with discriminator)
|
|
890
|
+
WorkerAgent:
|
|
891
|
+
allOf:
|
|
892
|
+
- $ref: '#/components/schemas/Agent'
|
|
893
|
+
- type: object
|
|
894
|
+
properties:
|
|
895
|
+
type:
|
|
896
|
+
type: string
|
|
897
|
+
const: worker
|
|
898
|
+
configuration:
|
|
899
|
+
type: object
|
|
900
|
+
properties:
|
|
901
|
+
max_concurrent_tasks:
|
|
902
|
+
type: integer
|
|
903
|
+
minimum: 1
|
|
904
|
+
maximum: 100
|
|
905
|
+
default: 10
|
|
906
|
+
timeout_seconds:
|
|
907
|
+
type: integer
|
|
908
|
+
minimum: 1
|
|
909
|
+
maximum: 3600
|
|
910
|
+
default: 300
|
|
911
|
+
retry_attempts:
|
|
912
|
+
type: integer
|
|
913
|
+
minimum: 0
|
|
914
|
+
maximum: 10
|
|
915
|
+
default: 3
|
|
916
|
+
additionalProperties: true
|
|
917
|
+
specialization:
|
|
918
|
+
type: string
|
|
919
|
+
enum: [data-processing, api-integration, file-handling, validation]
|
|
920
|
+
description: Worker specialization type
|
|
921
|
+
required:
|
|
922
|
+
- specialization
|
|
923
|
+
|
|
924
|
+
OrchestratorAgent:
|
|
925
|
+
allOf:
|
|
926
|
+
- $ref: '#/components/schemas/Agent'
|
|
927
|
+
- type: object
|
|
928
|
+
properties:
|
|
929
|
+
type:
|
|
930
|
+
type: string
|
|
931
|
+
const: orchestrator
|
|
932
|
+
configuration:
|
|
933
|
+
type: object
|
|
934
|
+
properties:
|
|
935
|
+
max_concurrent_workflows:
|
|
936
|
+
type: integer
|
|
937
|
+
minimum: 1
|
|
938
|
+
maximum: 50
|
|
939
|
+
default: 5
|
|
940
|
+
workflow_timeout_minutes:
|
|
941
|
+
type: integer
|
|
942
|
+
minimum: 1
|
|
943
|
+
maximum: 1440
|
|
944
|
+
default: 60
|
|
945
|
+
enable_parallel_execution:
|
|
946
|
+
type: boolean
|
|
947
|
+
default: true
|
|
948
|
+
additionalProperties: true
|
|
949
|
+
managed_agents:
|
|
950
|
+
type: array
|
|
951
|
+
items:
|
|
952
|
+
type: string
|
|
953
|
+
pattern: '^[a-z0-9-]+$'
|
|
954
|
+
description: List of agent IDs this orchestrator manages
|
|
955
|
+
|
|
956
|
+
CriticAgent:
|
|
957
|
+
allOf:
|
|
958
|
+
- $ref: '#/components/schemas/Agent'
|
|
959
|
+
- type: object
|
|
960
|
+
properties:
|
|
961
|
+
type:
|
|
962
|
+
type: string
|
|
963
|
+
const: critic
|
|
964
|
+
configuration:
|
|
965
|
+
type: object
|
|
966
|
+
properties:
|
|
967
|
+
quality_threshold:
|
|
968
|
+
type: number
|
|
969
|
+
minimum: 0
|
|
970
|
+
maximum: 100
|
|
971
|
+
default: 80
|
|
972
|
+
automated_fixes:
|
|
973
|
+
type: boolean
|
|
974
|
+
default: false
|
|
975
|
+
review_categories:
|
|
976
|
+
type: array
|
|
977
|
+
items:
|
|
978
|
+
type: string
|
|
979
|
+
enum: [code-quality, security, performance, compliance]
|
|
980
|
+
additionalProperties: true
|
|
981
|
+
|
|
982
|
+
JudgeAgent:
|
|
983
|
+
allOf:
|
|
984
|
+
- $ref: '#/components/schemas/Agent'
|
|
985
|
+
- type: object
|
|
986
|
+
properties:
|
|
987
|
+
type:
|
|
988
|
+
type: string
|
|
989
|
+
const: judge
|
|
990
|
+
configuration:
|
|
991
|
+
type: object
|
|
992
|
+
properties:
|
|
993
|
+
decision_model:
|
|
994
|
+
type: string
|
|
995
|
+
enum: [consensus, majority, weighted, ai-assisted]
|
|
996
|
+
default: majority
|
|
997
|
+
confidence_threshold:
|
|
998
|
+
type: number
|
|
999
|
+
minimum: 0
|
|
1000
|
+
maximum: 1
|
|
1001
|
+
default: 0.8
|
|
1002
|
+
additionalProperties: true
|
|
1003
|
+
|
|
1004
|
+
MonitorAgent:
|
|
1005
|
+
allOf:
|
|
1006
|
+
- $ref: '#/components/schemas/Agent'
|
|
1007
|
+
- type: object
|
|
1008
|
+
properties:
|
|
1009
|
+
type:
|
|
1010
|
+
type: string
|
|
1011
|
+
const: monitor
|
|
1012
|
+
configuration:
|
|
1013
|
+
type: object
|
|
1014
|
+
properties:
|
|
1015
|
+
monitoring_interval_seconds:
|
|
1016
|
+
type: integer
|
|
1017
|
+
minimum: 1
|
|
1018
|
+
maximum: 3600
|
|
1019
|
+
default: 60
|
|
1020
|
+
alert_thresholds:
|
|
1021
|
+
type: object
|
|
1022
|
+
properties:
|
|
1023
|
+
cpu_percent:
|
|
1024
|
+
type: number
|
|
1025
|
+
minimum: 0
|
|
1026
|
+
maximum: 100
|
|
1027
|
+
default: 80
|
|
1028
|
+
memory_percent:
|
|
1029
|
+
type: number
|
|
1030
|
+
minimum: 0
|
|
1031
|
+
maximum: 100
|
|
1032
|
+
default: 80
|
|
1033
|
+
error_rate_percent:
|
|
1034
|
+
type: number
|
|
1035
|
+
minimum: 0
|
|
1036
|
+
maximum: 100
|
|
1037
|
+
default: 5
|
|
1038
|
+
additionalProperties: true
|
|
1039
|
+
|
|
1040
|
+
GovernorAgent:
|
|
1041
|
+
allOf:
|
|
1042
|
+
- $ref: '#/components/schemas/Agent'
|
|
1043
|
+
- type: object
|
|
1044
|
+
properties:
|
|
1045
|
+
type:
|
|
1046
|
+
type: string
|
|
1047
|
+
const: governor
|
|
1048
|
+
configuration:
|
|
1049
|
+
type: object
|
|
1050
|
+
properties:
|
|
1051
|
+
policy_enforcement_level:
|
|
1052
|
+
type: string
|
|
1053
|
+
enum: [strict, moderate, permissive]
|
|
1054
|
+
default: strict
|
|
1055
|
+
compliance_frameworks:
|
|
1056
|
+
type: array
|
|
1057
|
+
items:
|
|
1058
|
+
type: string
|
|
1059
|
+
enum: [ISO42001, NIST-AI-RMF, EU-AI-ACT, SOX, HIPAA]
|
|
1060
|
+
additionalProperties: true
|
|
1061
|
+
|
|
1062
|
+
AgentType:
|
|
1063
|
+
type: string
|
|
1064
|
+
enum: [worker, orchestrator, critic, judge, monitor, governor]
|
|
1065
|
+
description: |
|
|
1066
|
+
Agent type classification:
|
|
1067
|
+
- **worker**: Task execution agents
|
|
1068
|
+
- **orchestrator**: Workflow coordination agents
|
|
1069
|
+
- **critic**: Quality control and review agents
|
|
1070
|
+
- **judge**: Decision-making agents
|
|
1071
|
+
- **monitor**: System observation agents
|
|
1072
|
+
- **governor**: Policy enforcement agents
|
|
1073
|
+
|
|
1074
|
+
AgentStatus:
|
|
1075
|
+
type: string
|
|
1076
|
+
enum: [active, inactive, error, deploying, maintenance, deprecated]
|
|
1077
|
+
description: |
|
|
1078
|
+
Current agent status:
|
|
1079
|
+
- **active**: Agent is running and available
|
|
1080
|
+
- **inactive**: Agent is stopped but can be started
|
|
1081
|
+
- **error**: Agent has encountered an error
|
|
1082
|
+
- **deploying**: Agent is being deployed
|
|
1083
|
+
- **maintenance**: Agent is under maintenance
|
|
1084
|
+
- **deprecated**: Agent is deprecated and should not be used
|
|
1085
|
+
|
|
1086
|
+
AgentMetadata:
|
|
1087
|
+
type: object
|
|
1088
|
+
properties:
|
|
1089
|
+
author:
|
|
1090
|
+
type: string
|
|
1091
|
+
maxLength: 255
|
|
1092
|
+
example: "John Doe <john@example.com>"
|
|
1093
|
+
organization:
|
|
1094
|
+
type: string
|
|
1095
|
+
maxLength: 255
|
|
1096
|
+
example: "Acme Corporation"
|
|
1097
|
+
tags:
|
|
1098
|
+
type: array
|
|
1099
|
+
items:
|
|
1100
|
+
type: string
|
|
1101
|
+
pattern: '^[a-z0-9-]+$'
|
|
1102
|
+
maxItems: 20
|
|
1103
|
+
uniqueItems: true
|
|
1104
|
+
example: ["ml", "data", "production"]
|
|
1105
|
+
documentation_url:
|
|
1106
|
+
type: string
|
|
1107
|
+
format: uri
|
|
1108
|
+
example: "https://docs.example.com/agents/data-processor"
|
|
1109
|
+
source_repository:
|
|
1110
|
+
type: string
|
|
1111
|
+
format: uri
|
|
1112
|
+
example: "https://github.com/example/data-processor-agent"
|
|
1113
|
+
license:
|
|
1114
|
+
type: string
|
|
1115
|
+
example: "MIT"
|
|
1116
|
+
cost_per_execution:
|
|
1117
|
+
type: number
|
|
1118
|
+
minimum: 0
|
|
1119
|
+
description: Cost in USD per execution
|
|
1120
|
+
example: 0.001
|
|
1121
|
+
additionalProperties: true
|
|
1122
|
+
|
|
1123
|
+
AgentMetrics:
|
|
1124
|
+
type: object
|
|
1125
|
+
properties:
|
|
1126
|
+
total_executions:
|
|
1127
|
+
type: integer
|
|
1128
|
+
minimum: 0
|
|
1129
|
+
example: 12543
|
|
1130
|
+
successful_executions:
|
|
1131
|
+
type: integer
|
|
1132
|
+
minimum: 0
|
|
1133
|
+
example: 12123
|
|
1134
|
+
failed_executions:
|
|
1135
|
+
type: integer
|
|
1136
|
+
minimum: 0
|
|
1137
|
+
example: 420
|
|
1138
|
+
average_execution_time_ms:
|
|
1139
|
+
type: number
|
|
1140
|
+
minimum: 0
|
|
1141
|
+
example: 1250.5
|
|
1142
|
+
last_execution_at:
|
|
1143
|
+
type: string
|
|
1144
|
+
format: date-time
|
|
1145
|
+
example: "2025-01-15T14:25:00Z"
|
|
1146
|
+
success_rate_percent:
|
|
1147
|
+
type: number
|
|
1148
|
+
minimum: 0
|
|
1149
|
+
maximum: 100
|
|
1150
|
+
example: 96.65
|
|
1151
|
+
cpu_usage_percent:
|
|
1152
|
+
type: number
|
|
1153
|
+
minimum: 0
|
|
1154
|
+
maximum: 100
|
|
1155
|
+
example: 23.5
|
|
1156
|
+
memory_usage_mb:
|
|
1157
|
+
type: number
|
|
1158
|
+
minimum: 0
|
|
1159
|
+
example: 512.8
|
|
1160
|
+
additionalProperties: false
|
|
1161
|
+
|
|
1162
|
+
# Request/Response Schemas
|
|
1163
|
+
CreateAgentRequest:
|
|
1164
|
+
type: object
|
|
1165
|
+
discriminator:
|
|
1166
|
+
propertyName: type
|
|
1167
|
+
mapping:
|
|
1168
|
+
worker: '#/components/schemas/CreateWorkerAgentRequest'
|
|
1169
|
+
orchestrator: '#/components/schemas/CreateOrchestratorAgentRequest'
|
|
1170
|
+
critic: '#/components/schemas/CreateCriticAgentRequest'
|
|
1171
|
+
judge: '#/components/schemas/CreateJudgeAgentRequest'
|
|
1172
|
+
monitor: '#/components/schemas/CreateMonitorAgentRequest'
|
|
1173
|
+
governor: '#/components/schemas/CreateGovernorAgentRequest'
|
|
1174
|
+
properties:
|
|
1175
|
+
type:
|
|
1176
|
+
$ref: '#/components/schemas/AgentType'
|
|
1177
|
+
name:
|
|
1178
|
+
type: string
|
|
1179
|
+
minLength: 1
|
|
1180
|
+
maxLength: 255
|
|
1181
|
+
description:
|
|
1182
|
+
type: string
|
|
1183
|
+
maxLength: 1000
|
|
1184
|
+
version:
|
|
1185
|
+
type: string
|
|
1186
|
+
pattern: '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'
|
|
1187
|
+
default: "1.0.0"
|
|
1188
|
+
capabilities:
|
|
1189
|
+
type: array
|
|
1190
|
+
items:
|
|
1191
|
+
type: string
|
|
1192
|
+
pattern: '^[a-z0-9-]+$'
|
|
1193
|
+
minItems: 1
|
|
1194
|
+
maxItems: 50
|
|
1195
|
+
uniqueItems: true
|
|
1196
|
+
configuration:
|
|
1197
|
+
type: object
|
|
1198
|
+
additionalProperties: true
|
|
1199
|
+
metadata:
|
|
1200
|
+
$ref: '#/components/schemas/AgentMetadata'
|
|
1201
|
+
webhook_url:
|
|
1202
|
+
type: string
|
|
1203
|
+
format: uri
|
|
1204
|
+
description: URL to receive status change notifications
|
|
1205
|
+
required:
|
|
1206
|
+
- type
|
|
1207
|
+
- name
|
|
1208
|
+
- capabilities
|
|
1209
|
+
|
|
1210
|
+
CreateWorkerAgentRequest:
|
|
1211
|
+
allOf:
|
|
1212
|
+
- $ref: '#/components/schemas/CreateAgentRequest'
|
|
1213
|
+
- type: object
|
|
1214
|
+
properties:
|
|
1215
|
+
type:
|
|
1216
|
+
type: string
|
|
1217
|
+
const: worker
|
|
1218
|
+
specialization:
|
|
1219
|
+
type: string
|
|
1220
|
+
enum: [data-processing, api-integration, file-handling, validation]
|
|
1221
|
+
configuration:
|
|
1222
|
+
type: object
|
|
1223
|
+
properties:
|
|
1224
|
+
max_concurrent_tasks:
|
|
1225
|
+
type: integer
|
|
1226
|
+
minimum: 1
|
|
1227
|
+
maximum: 100
|
|
1228
|
+
default: 10
|
|
1229
|
+
timeout_seconds:
|
|
1230
|
+
type: integer
|
|
1231
|
+
minimum: 1
|
|
1232
|
+
maximum: 3600
|
|
1233
|
+
default: 300
|
|
1234
|
+
additionalProperties: true
|
|
1235
|
+
required:
|
|
1236
|
+
- specialization
|
|
1237
|
+
|
|
1238
|
+
CreateOrchestratorAgentRequest:
|
|
1239
|
+
allOf:
|
|
1240
|
+
- $ref: '#/components/schemas/CreateAgentRequest'
|
|
1241
|
+
- type: object
|
|
1242
|
+
properties:
|
|
1243
|
+
type:
|
|
1244
|
+
type: string
|
|
1245
|
+
const: orchestrator
|
|
1246
|
+
configuration:
|
|
1247
|
+
type: object
|
|
1248
|
+
properties:
|
|
1249
|
+
max_concurrent_workflows:
|
|
1250
|
+
type: integer
|
|
1251
|
+
minimum: 1
|
|
1252
|
+
maximum: 50
|
|
1253
|
+
default: 5
|
|
1254
|
+
workflow_timeout_minutes:
|
|
1255
|
+
type: integer
|
|
1256
|
+
minimum: 1
|
|
1257
|
+
maximum: 1440
|
|
1258
|
+
default: 60
|
|
1259
|
+
additionalProperties: true
|
|
1260
|
+
|
|
1261
|
+
CreateCriticAgentRequest:
|
|
1262
|
+
allOf:
|
|
1263
|
+
- $ref: '#/components/schemas/CreateAgentRequest'
|
|
1264
|
+
- type: object
|
|
1265
|
+
properties:
|
|
1266
|
+
type:
|
|
1267
|
+
type: string
|
|
1268
|
+
const: critic
|
|
1269
|
+
configuration:
|
|
1270
|
+
type: object
|
|
1271
|
+
properties:
|
|
1272
|
+
quality_threshold:
|
|
1273
|
+
type: number
|
|
1274
|
+
minimum: 0
|
|
1275
|
+
maximum: 100
|
|
1276
|
+
default: 80
|
|
1277
|
+
automated_fixes:
|
|
1278
|
+
type: boolean
|
|
1279
|
+
default: false
|
|
1280
|
+
additionalProperties: true
|
|
1281
|
+
|
|
1282
|
+
CreateJudgeAgentRequest:
|
|
1283
|
+
allOf:
|
|
1284
|
+
- $ref: '#/components/schemas/CreateAgentRequest'
|
|
1285
|
+
- type: object
|
|
1286
|
+
properties:
|
|
1287
|
+
type:
|
|
1288
|
+
type: string
|
|
1289
|
+
const: judge
|
|
1290
|
+
configuration:
|
|
1291
|
+
type: object
|
|
1292
|
+
properties:
|
|
1293
|
+
decision_model:
|
|
1294
|
+
type: string
|
|
1295
|
+
enum: [consensus, majority, weighted, ai-assisted]
|
|
1296
|
+
default: majority
|
|
1297
|
+
additionalProperties: true
|
|
1298
|
+
|
|
1299
|
+
CreateMonitorAgentRequest:
|
|
1300
|
+
allOf:
|
|
1301
|
+
- $ref: '#/components/schemas/CreateAgentRequest'
|
|
1302
|
+
- type: object
|
|
1303
|
+
properties:
|
|
1304
|
+
type:
|
|
1305
|
+
type: string
|
|
1306
|
+
const: monitor
|
|
1307
|
+
configuration:
|
|
1308
|
+
type: object
|
|
1309
|
+
properties:
|
|
1310
|
+
monitoring_interval_seconds:
|
|
1311
|
+
type: integer
|
|
1312
|
+
minimum: 1
|
|
1313
|
+
maximum: 3600
|
|
1314
|
+
default: 60
|
|
1315
|
+
additionalProperties: true
|
|
1316
|
+
|
|
1317
|
+
CreateGovernorAgentRequest:
|
|
1318
|
+
allOf:
|
|
1319
|
+
- $ref: '#/components/schemas/CreateAgentRequest'
|
|
1320
|
+
- type: object
|
|
1321
|
+
properties:
|
|
1322
|
+
type:
|
|
1323
|
+
type: string
|
|
1324
|
+
const: governor
|
|
1325
|
+
configuration:
|
|
1326
|
+
type: object
|
|
1327
|
+
properties:
|
|
1328
|
+
policy_enforcement_level:
|
|
1329
|
+
type: string
|
|
1330
|
+
enum: [strict, moderate, permissive]
|
|
1331
|
+
default: strict
|
|
1332
|
+
additionalProperties: true
|
|
1333
|
+
|
|
1334
|
+
UpdateAgentRequest:
|
|
1335
|
+
type: object
|
|
1336
|
+
properties:
|
|
1337
|
+
name:
|
|
1338
|
+
type: string
|
|
1339
|
+
minLength: 1
|
|
1340
|
+
maxLength: 255
|
|
1341
|
+
description:
|
|
1342
|
+
type: string
|
|
1343
|
+
maxLength: 1000
|
|
1344
|
+
version:
|
|
1345
|
+
type: string
|
|
1346
|
+
pattern: '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'
|
|
1347
|
+
capabilities:
|
|
1348
|
+
type: array
|
|
1349
|
+
items:
|
|
1350
|
+
type: string
|
|
1351
|
+
pattern: '^[a-z0-9-]+$'
|
|
1352
|
+
minItems: 1
|
|
1353
|
+
maxItems: 50
|
|
1354
|
+
uniqueItems: true
|
|
1355
|
+
configuration:
|
|
1356
|
+
type: object
|
|
1357
|
+
additionalProperties: true
|
|
1358
|
+
metadata:
|
|
1359
|
+
$ref: '#/components/schemas/AgentMetadata'
|
|
1360
|
+
expected_version:
|
|
1361
|
+
type: string
|
|
1362
|
+
description: Expected current version for optimistic locking
|
|
1363
|
+
minProperties: 1
|
|
1364
|
+
|
|
1365
|
+
AgentListResponse:
|
|
1366
|
+
type: object
|
|
1367
|
+
properties:
|
|
1368
|
+
agents:
|
|
1369
|
+
type: array
|
|
1370
|
+
items:
|
|
1371
|
+
$ref: '#/components/schemas/Agent'
|
|
1372
|
+
pagination:
|
|
1373
|
+
$ref: '#/components/schemas/PaginationInfo'
|
|
1374
|
+
filters:
|
|
1375
|
+
type: object
|
|
1376
|
+
description: Applied filters for this query
|
|
1377
|
+
additionalProperties: true
|
|
1378
|
+
required:
|
|
1379
|
+
- agents
|
|
1380
|
+
- pagination
|
|
1381
|
+
|
|
1382
|
+
PaginationInfo:
|
|
1383
|
+
type: object
|
|
1384
|
+
properties:
|
|
1385
|
+
page:
|
|
1386
|
+
type: integer
|
|
1387
|
+
minimum: 1
|
|
1388
|
+
example: 1
|
|
1389
|
+
limit:
|
|
1390
|
+
type: integer
|
|
1391
|
+
minimum: 1
|
|
1392
|
+
maximum: 100
|
|
1393
|
+
example: 20
|
|
1394
|
+
total:
|
|
1395
|
+
type: integer
|
|
1396
|
+
minimum: 0
|
|
1397
|
+
example: 157
|
|
1398
|
+
has_next:
|
|
1399
|
+
type: boolean
|
|
1400
|
+
example: true
|
|
1401
|
+
has_previous:
|
|
1402
|
+
type: boolean
|
|
1403
|
+
example: false
|
|
1404
|
+
required:
|
|
1405
|
+
- page
|
|
1406
|
+
- limit
|
|
1407
|
+
- total
|
|
1408
|
+
- has_next
|
|
1409
|
+
- has_previous
|
|
1410
|
+
|
|
1411
|
+
# Execution Schemas
|
|
1412
|
+
ExecutionRequest:
|
|
1413
|
+
type: object
|
|
1414
|
+
properties:
|
|
1415
|
+
operation:
|
|
1416
|
+
type: string
|
|
1417
|
+
minLength: 1
|
|
1418
|
+
maxLength: 255
|
|
1419
|
+
example: "process_data"
|
|
1420
|
+
description: Name of the operation to execute
|
|
1421
|
+
input:
|
|
1422
|
+
type: object
|
|
1423
|
+
additionalProperties: true
|
|
1424
|
+
description: Input parameters for the operation
|
|
1425
|
+
context:
|
|
1426
|
+
type: object
|
|
1427
|
+
properties:
|
|
1428
|
+
user_id:
|
|
1429
|
+
type: string
|
|
1430
|
+
example: "user-123"
|
|
1431
|
+
organization_id:
|
|
1432
|
+
type: string
|
|
1433
|
+
example: "org-456"
|
|
1434
|
+
correlation_id:
|
|
1435
|
+
type: string
|
|
1436
|
+
example: "corr-789"
|
|
1437
|
+
trace_id:
|
|
1438
|
+
type: string
|
|
1439
|
+
example: "trace-abc"
|
|
1440
|
+
additionalProperties: true
|
|
1441
|
+
description: Execution context and metadata
|
|
1442
|
+
options:
|
|
1443
|
+
type: object
|
|
1444
|
+
properties:
|
|
1445
|
+
cache_result:
|
|
1446
|
+
type: boolean
|
|
1447
|
+
default: true
|
|
1448
|
+
cache_ttl_seconds:
|
|
1449
|
+
type: integer
|
|
1450
|
+
minimum: 1
|
|
1451
|
+
maximum: 86400
|
|
1452
|
+
default: 3600
|
|
1453
|
+
notify_on_completion:
|
|
1454
|
+
type: boolean
|
|
1455
|
+
default: false
|
|
1456
|
+
retry_on_failure:
|
|
1457
|
+
type: boolean
|
|
1458
|
+
default: true
|
|
1459
|
+
additionalProperties: true
|
|
1460
|
+
description: Execution options and preferences
|
|
1461
|
+
required:
|
|
1462
|
+
- operation
|
|
1463
|
+
- input
|
|
1464
|
+
|
|
1465
|
+
ExecutionResult:
|
|
1466
|
+
type: object
|
|
1467
|
+
properties:
|
|
1468
|
+
execution_id:
|
|
1469
|
+
type: string
|
|
1470
|
+
example: "exec-123"
|
|
1471
|
+
status:
|
|
1472
|
+
type: string
|
|
1473
|
+
enum: [completed, failed]
|
|
1474
|
+
result:
|
|
1475
|
+
type: object
|
|
1476
|
+
additionalProperties: true
|
|
1477
|
+
description: Execution output data
|
|
1478
|
+
error:
|
|
1479
|
+
$ref: '#/components/schemas/ExecutionError'
|
|
1480
|
+
metadata:
|
|
1481
|
+
type: object
|
|
1482
|
+
properties:
|
|
1483
|
+
duration_ms:
|
|
1484
|
+
type: integer
|
|
1485
|
+
minimum: 0
|
|
1486
|
+
example: 1250
|
|
1487
|
+
cpu_time_ms:
|
|
1488
|
+
type: integer
|
|
1489
|
+
minimum: 0
|
|
1490
|
+
example: 950
|
|
1491
|
+
memory_used_mb:
|
|
1492
|
+
type: number
|
|
1493
|
+
minimum: 0
|
|
1494
|
+
example: 128.5
|
|
1495
|
+
cache_hit:
|
|
1496
|
+
type: boolean
|
|
1497
|
+
example: false
|
|
1498
|
+
additionalProperties: true
|
|
1499
|
+
started_at:
|
|
1500
|
+
type: string
|
|
1501
|
+
format: date-time
|
|
1502
|
+
completed_at:
|
|
1503
|
+
type: string
|
|
1504
|
+
format: date-time
|
|
1505
|
+
required:
|
|
1506
|
+
- execution_id
|
|
1507
|
+
- status
|
|
1508
|
+
- started_at
|
|
1509
|
+
|
|
1510
|
+
AsyncExecutionResponse:
|
|
1511
|
+
type: object
|
|
1512
|
+
properties:
|
|
1513
|
+
execution_id:
|
|
1514
|
+
type: string
|
|
1515
|
+
example: "exec-123"
|
|
1516
|
+
status:
|
|
1517
|
+
type: string
|
|
1518
|
+
enum: [pending, running]
|
|
1519
|
+
estimated_duration_seconds:
|
|
1520
|
+
type: integer
|
|
1521
|
+
minimum: 0
|
|
1522
|
+
example: 300
|
|
1523
|
+
progress_url:
|
|
1524
|
+
type: string
|
|
1525
|
+
format: uri
|
|
1526
|
+
example: "https://api.ossa.bluefly.io/v1/agents/agent-001/executions/exec-123"
|
|
1527
|
+
websocket_url:
|
|
1528
|
+
type: string
|
|
1529
|
+
format: uri
|
|
1530
|
+
example: "wss://api.ossa.bluefly.io/v1/agents/agent-001/executions/exec-123/progress"
|
|
1531
|
+
started_at:
|
|
1532
|
+
type: string
|
|
1533
|
+
format: date-time
|
|
1534
|
+
required:
|
|
1535
|
+
- execution_id
|
|
1536
|
+
- status
|
|
1537
|
+
- progress_url
|
|
1538
|
+
- started_at
|
|
1539
|
+
|
|
1540
|
+
ExecutionStatus:
|
|
1541
|
+
type: object
|
|
1542
|
+
properties:
|
|
1543
|
+
execution_id:
|
|
1544
|
+
type: string
|
|
1545
|
+
agent_id:
|
|
1546
|
+
type: string
|
|
1547
|
+
status:
|
|
1548
|
+
type: string
|
|
1549
|
+
enum: [pending, running, completed, failed, cancelled]
|
|
1550
|
+
progress:
|
|
1551
|
+
type: object
|
|
1552
|
+
properties:
|
|
1553
|
+
percentage:
|
|
1554
|
+
type: number
|
|
1555
|
+
minimum: 0
|
|
1556
|
+
maximum: 100
|
|
1557
|
+
current_step:
|
|
1558
|
+
type: string
|
|
1559
|
+
total_steps:
|
|
1560
|
+
type: integer
|
|
1561
|
+
minimum: 1
|
|
1562
|
+
estimated_completion:
|
|
1563
|
+
type: string
|
|
1564
|
+
format: date-time
|
|
1565
|
+
result:
|
|
1566
|
+
type: object
|
|
1567
|
+
additionalProperties: true
|
|
1568
|
+
error:
|
|
1569
|
+
$ref: '#/components/schemas/ExecutionError'
|
|
1570
|
+
logs:
|
|
1571
|
+
type: array
|
|
1572
|
+
items:
|
|
1573
|
+
$ref: '#/components/schemas/ExecutionLogEntry'
|
|
1574
|
+
metadata:
|
|
1575
|
+
type: object
|
|
1576
|
+
additionalProperties: true
|
|
1577
|
+
started_at:
|
|
1578
|
+
type: string
|
|
1579
|
+
format: date-time
|
|
1580
|
+
completed_at:
|
|
1581
|
+
type: string
|
|
1582
|
+
format: date-time
|
|
1583
|
+
required:
|
|
1584
|
+
- execution_id
|
|
1585
|
+
- agent_id
|
|
1586
|
+
- status
|
|
1587
|
+
- started_at
|
|
1588
|
+
|
|
1589
|
+
ExecutionError:
|
|
1590
|
+
type: object
|
|
1591
|
+
properties:
|
|
1592
|
+
code:
|
|
1593
|
+
type: string
|
|
1594
|
+
example: "VALIDATION_FAILED"
|
|
1595
|
+
message:
|
|
1596
|
+
type: string
|
|
1597
|
+
example: "Input validation failed for required field 'data_source'"
|
|
1598
|
+
details:
|
|
1599
|
+
type: object
|
|
1600
|
+
additionalProperties: true
|
|
1601
|
+
stack_trace:
|
|
1602
|
+
type: string
|
|
1603
|
+
description: Stack trace for debugging (only in development mode)
|
|
1604
|
+
correlation_id:
|
|
1605
|
+
type: string
|
|
1606
|
+
example: "corr-789"
|
|
1607
|
+
required:
|
|
1608
|
+
- code
|
|
1609
|
+
- message
|
|
1610
|
+
|
|
1611
|
+
ExecutionLogEntry:
|
|
1612
|
+
type: object
|
|
1613
|
+
properties:
|
|
1614
|
+
timestamp:
|
|
1615
|
+
type: string
|
|
1616
|
+
format: date-time
|
|
1617
|
+
level:
|
|
1618
|
+
type: string
|
|
1619
|
+
enum: [debug, info, warn, error]
|
|
1620
|
+
message:
|
|
1621
|
+
type: string
|
|
1622
|
+
data:
|
|
1623
|
+
type: object
|
|
1624
|
+
additionalProperties: true
|
|
1625
|
+
required:
|
|
1626
|
+
- timestamp
|
|
1627
|
+
- level
|
|
1628
|
+
- message
|
|
1629
|
+
|
|
1630
|
+
ExecutionValidationError:
|
|
1631
|
+
type: object
|
|
1632
|
+
properties:
|
|
1633
|
+
error:
|
|
1634
|
+
type: string
|
|
1635
|
+
example: "Execution validation failed"
|
|
1636
|
+
validation_errors:
|
|
1637
|
+
type: array
|
|
1638
|
+
items:
|
|
1639
|
+
type: object
|
|
1640
|
+
properties:
|
|
1641
|
+
field:
|
|
1642
|
+
type: string
|
|
1643
|
+
example: "input.data_source"
|
|
1644
|
+
code:
|
|
1645
|
+
type: string
|
|
1646
|
+
example: "REQUIRED"
|
|
1647
|
+
message:
|
|
1648
|
+
type: string
|
|
1649
|
+
example: "Field is required"
|
|
1650
|
+
value:
|
|
1651
|
+
description: The invalid value that was provided
|
|
1652
|
+
operation:
|
|
1653
|
+
type: string
|
|
1654
|
+
example: "process_data"
|
|
1655
|
+
agent_capabilities:
|
|
1656
|
+
type: array
|
|
1657
|
+
items:
|
|
1658
|
+
type: string
|
|
1659
|
+
example: ["data-processing", "validation"]
|
|
1660
|
+
required:
|
|
1661
|
+
- error
|
|
1662
|
+
- validation_errors
|
|
1663
|
+
|
|
1664
|
+
# JSON Patch Operations (OpenAPI 3.1 feature)
|
|
1665
|
+
JsonPatchOperation:
|
|
1666
|
+
type: object
|
|
1667
|
+
properties:
|
|
1668
|
+
op:
|
|
1669
|
+
type: string
|
|
1670
|
+
enum: [add, remove, replace, move, copy, test]
|
|
1671
|
+
path:
|
|
1672
|
+
type: string
|
|
1673
|
+
pattern: '^(/[^/~]*(~[01][^/~]*)*)*$'
|
|
1674
|
+
description: JSON Pointer path
|
|
1675
|
+
value:
|
|
1676
|
+
description: Value for add, replace, and test operations
|
|
1677
|
+
from:
|
|
1678
|
+
type: string
|
|
1679
|
+
pattern: '^(/[^/~]*(~[01][^/~]*)*)*$'
|
|
1680
|
+
description: Source path for move and copy operations
|
|
1681
|
+
required:
|
|
1682
|
+
- op
|
|
1683
|
+
- path
|
|
1684
|
+
if:
|
|
1685
|
+
properties:
|
|
1686
|
+
op:
|
|
1687
|
+
enum: [add, replace, test]
|
|
1688
|
+
then:
|
|
1689
|
+
required:
|
|
1690
|
+
- value
|
|
1691
|
+
else:
|
|
1692
|
+
if:
|
|
1693
|
+
properties:
|
|
1694
|
+
op:
|
|
1695
|
+
enum: [move, copy]
|
|
1696
|
+
then:
|
|
1697
|
+
required:
|
|
1698
|
+
- from
|
|
1699
|
+
|
|
1700
|
+
# OpenAPI Specification Schemas
|
|
1701
|
+
OpenAPISpecification:
|
|
1702
|
+
type: object
|
|
1703
|
+
properties:
|
|
1704
|
+
id:
|
|
1705
|
+
type: string
|
|
1706
|
+
pattern: '^[a-z0-9-]+$'
|
|
1707
|
+
example: "user-api"
|
|
1708
|
+
name:
|
|
1709
|
+
type: string
|
|
1710
|
+
example: "User Management API"
|
|
1711
|
+
description:
|
|
1712
|
+
type: string
|
|
1713
|
+
example: "API for managing user accounts and profiles"
|
|
1714
|
+
content:
|
|
1715
|
+
type: object
|
|
1716
|
+
description: The actual OpenAPI specification content
|
|
1717
|
+
additionalProperties: true
|
|
1718
|
+
validation_status:
|
|
1719
|
+
type: string
|
|
1720
|
+
enum: [valid, invalid, warning, unknown]
|
|
1721
|
+
validation_errors:
|
|
1722
|
+
type: array
|
|
1723
|
+
items:
|
|
1724
|
+
type: object
|
|
1725
|
+
properties:
|
|
1726
|
+
path:
|
|
1727
|
+
type: string
|
|
1728
|
+
message:
|
|
1729
|
+
type: string
|
|
1730
|
+
severity:
|
|
1731
|
+
type: string
|
|
1732
|
+
enum: [error, warning, info]
|
|
1733
|
+
version:
|
|
1734
|
+
type: string
|
|
1735
|
+
example: "3.1.0"
|
|
1736
|
+
created_at:
|
|
1737
|
+
type: string
|
|
1738
|
+
format: date-time
|
|
1739
|
+
updated_at:
|
|
1740
|
+
type: string
|
|
1741
|
+
format: date-time
|
|
1742
|
+
required:
|
|
1743
|
+
- id
|
|
1744
|
+
- name
|
|
1745
|
+
- content
|
|
1746
|
+
- validation_status
|
|
1747
|
+
- version
|
|
1748
|
+
- created_at
|
|
1749
|
+
- updated_at
|
|
1750
|
+
|
|
1751
|
+
SpecificationListResponse:
|
|
1752
|
+
type: object
|
|
1753
|
+
properties:
|
|
1754
|
+
specifications:
|
|
1755
|
+
type: array
|
|
1756
|
+
items:
|
|
1757
|
+
$ref: '#/components/schemas/OpenAPISpecification'
|
|
1758
|
+
pagination:
|
|
1759
|
+
$ref: '#/components/schemas/PaginationInfo'
|
|
1760
|
+
required:
|
|
1761
|
+
- specifications
|
|
1762
|
+
- pagination
|
|
1763
|
+
|
|
1764
|
+
# Event Schemas for Webhooks
|
|
1765
|
+
AgentCreatedEvent:
|
|
1766
|
+
type: object
|
|
1767
|
+
properties:
|
|
1768
|
+
event_type:
|
|
1769
|
+
type: string
|
|
1770
|
+
const: agent.created
|
|
1771
|
+
event_id:
|
|
1772
|
+
type: string
|
|
1773
|
+
format: uuid
|
|
1774
|
+
timestamp:
|
|
1775
|
+
type: string
|
|
1776
|
+
format: date-time
|
|
1777
|
+
agent:
|
|
1778
|
+
$ref: '#/components/schemas/Agent'
|
|
1779
|
+
organization_id:
|
|
1780
|
+
type: string
|
|
1781
|
+
user_id:
|
|
1782
|
+
type: string
|
|
1783
|
+
required:
|
|
1784
|
+
- event_type
|
|
1785
|
+
- event_id
|
|
1786
|
+
- timestamp
|
|
1787
|
+
- agent
|
|
1788
|
+
|
|
1789
|
+
AgentStatusEvent:
|
|
1790
|
+
type: object
|
|
1791
|
+
properties:
|
|
1792
|
+
event_type:
|
|
1793
|
+
type: string
|
|
1794
|
+
const: agent.status_changed
|
|
1795
|
+
event_id:
|
|
1796
|
+
type: string
|
|
1797
|
+
format: uuid
|
|
1798
|
+
timestamp:
|
|
1799
|
+
type: string
|
|
1800
|
+
format: date-time
|
|
1801
|
+
agent_id:
|
|
1802
|
+
type: string
|
|
1803
|
+
previous_status:
|
|
1804
|
+
$ref: '#/components/schemas/AgentStatus'
|
|
1805
|
+
new_status:
|
|
1806
|
+
$ref: '#/components/schemas/AgentStatus'
|
|
1807
|
+
reason:
|
|
1808
|
+
type: string
|
|
1809
|
+
description: Reason for status change
|
|
1810
|
+
organization_id:
|
|
1811
|
+
type: string
|
|
1812
|
+
user_id:
|
|
1813
|
+
type: string
|
|
1814
|
+
required:
|
|
1815
|
+
- event_type
|
|
1816
|
+
- event_id
|
|
1817
|
+
- timestamp
|
|
1818
|
+
- agent_id
|
|
1819
|
+
- previous_status
|
|
1820
|
+
- new_status
|
|
1821
|
+
|
|
1822
|
+
ExecutionCompletedEvent:
|
|
1823
|
+
type: object
|
|
1824
|
+
properties:
|
|
1825
|
+
event_type:
|
|
1826
|
+
type: string
|
|
1827
|
+
const: execution.completed
|
|
1828
|
+
event_id:
|
|
1829
|
+
type: string
|
|
1830
|
+
format: uuid
|
|
1831
|
+
timestamp:
|
|
1832
|
+
type: string
|
|
1833
|
+
format: date-time
|
|
1834
|
+
execution_id:
|
|
1835
|
+
type: string
|
|
1836
|
+
agent_id:
|
|
1837
|
+
type: string
|
|
1838
|
+
status:
|
|
1839
|
+
type: string
|
|
1840
|
+
enum: [completed, failed]
|
|
1841
|
+
duration_ms:
|
|
1842
|
+
type: integer
|
|
1843
|
+
minimum: 0
|
|
1844
|
+
result:
|
|
1845
|
+
type: object
|
|
1846
|
+
additionalProperties: true
|
|
1847
|
+
error:
|
|
1848
|
+
$ref: '#/components/schemas/ExecutionError'
|
|
1849
|
+
organization_id:
|
|
1850
|
+
type: string
|
|
1851
|
+
user_id:
|
|
1852
|
+
type: string
|
|
1853
|
+
required:
|
|
1854
|
+
- event_type
|
|
1855
|
+
- event_id
|
|
1856
|
+
- timestamp
|
|
1857
|
+
- execution_id
|
|
1858
|
+
- agent_id
|
|
1859
|
+
- status
|
|
1860
|
+
- duration_ms
|
|
1861
|
+
|
|
1862
|
+
# Error Schemas
|
|
1863
|
+
ErrorResponse:
|
|
1864
|
+
type: object
|
|
1865
|
+
properties:
|
|
1866
|
+
error:
|
|
1867
|
+
type: string
|
|
1868
|
+
description: Error type/code
|
|
1869
|
+
message:
|
|
1870
|
+
type: string
|
|
1871
|
+
description: Human-readable error message
|
|
1872
|
+
details:
|
|
1873
|
+
type: object
|
|
1874
|
+
additionalProperties: true
|
|
1875
|
+
description: Additional error details
|
|
1876
|
+
correlation_id:
|
|
1877
|
+
type: string
|
|
1878
|
+
description: Unique identifier for this error instance
|
|
1879
|
+
timestamp:
|
|
1880
|
+
type: string
|
|
1881
|
+
format: date-time
|
|
1882
|
+
path:
|
|
1883
|
+
type: string
|
|
1884
|
+
description: API path where error occurred
|
|
1885
|
+
required:
|
|
1886
|
+
- error
|
|
1887
|
+
- message
|
|
1888
|
+
- correlation_id
|
|
1889
|
+
- timestamp
|
|
1890
|
+
|
|
1891
|
+
ValidationError:
|
|
1892
|
+
allOf:
|
|
1893
|
+
- $ref: '#/components/schemas/ErrorResponse'
|
|
1894
|
+
- type: object
|
|
1895
|
+
properties:
|
|
1896
|
+
validation_errors:
|
|
1897
|
+
type: array
|
|
1898
|
+
items:
|
|
1899
|
+
type: object
|
|
1900
|
+
properties:
|
|
1901
|
+
field:
|
|
1902
|
+
type: string
|
|
1903
|
+
description: Field that failed validation
|
|
1904
|
+
code:
|
|
1905
|
+
type: string
|
|
1906
|
+
description: Validation error code
|
|
1907
|
+
message:
|
|
1908
|
+
type: string
|
|
1909
|
+
description: Field-specific error message
|
|
1910
|
+
value:
|
|
1911
|
+
description: The invalid value
|
|
1912
|
+
required:
|
|
1913
|
+
- field
|
|
1914
|
+
- code
|
|
1915
|
+
- message
|
|
1916
|
+
|
|
1917
|
+
ConflictError:
|
|
1918
|
+
allOf:
|
|
1919
|
+
- $ref: '#/components/schemas/ErrorResponse'
|
|
1920
|
+
- type: object
|
|
1921
|
+
properties:
|
|
1922
|
+
conflicting_resource:
|
|
1923
|
+
type: object
|
|
1924
|
+
properties:
|
|
1925
|
+
type:
|
|
1926
|
+
type: string
|
|
1927
|
+
example: "agent"
|
|
1928
|
+
id:
|
|
1929
|
+
type: string
|
|
1930
|
+
example: "agent-001"
|
|
1931
|
+
name:
|
|
1932
|
+
type: string
|
|
1933
|
+
example: "Existing Agent"
|
|
1934
|
+
|
|
1935
|
+
PatchError:
|
|
1936
|
+
allOf:
|
|
1937
|
+
- $ref: '#/components/schemas/ErrorResponse'
|
|
1938
|
+
- type: object
|
|
1939
|
+
properties:
|
|
1940
|
+
failed_operations:
|
|
1941
|
+
type: array
|
|
1942
|
+
items:
|
|
1943
|
+
type: object
|
|
1944
|
+
properties:
|
|
1945
|
+
operation_index:
|
|
1946
|
+
type: integer
|
|
1947
|
+
minimum: 0
|
|
1948
|
+
operation:
|
|
1949
|
+
$ref: '#/components/schemas/JsonPatchOperation'
|
|
1950
|
+
error:
|
|
1951
|
+
type: string
|
|
1952
|
+
|
|
1953
|
+
# Reusable Examples
|
|
1954
|
+
examples:
|
|
1955
|
+
WorkerAgentExample:
|
|
1956
|
+
summary: Example worker agent
|
|
1957
|
+
value:
|
|
1958
|
+
id: "worker-001"
|
|
1959
|
+
type: "worker"
|
|
1960
|
+
name: "Data Processing Worker"
|
|
1961
|
+
description: "Processes incoming data streams with validation and transformation"
|
|
1962
|
+
version: "1.2.3"
|
|
1963
|
+
status: "active"
|
|
1964
|
+
capabilities: ["data-processing", "validation", "transformation"]
|
|
1965
|
+
configuration:
|
|
1966
|
+
max_concurrent_tasks: 10
|
|
1967
|
+
timeout_seconds: 300
|
|
1968
|
+
retry_attempts: 3
|
|
1969
|
+
specialization: "data-processing"
|
|
1970
|
+
metadata:
|
|
1971
|
+
author: "John Doe <john@example.com>"
|
|
1972
|
+
organization: "Acme Corporation"
|
|
1973
|
+
tags: ["ml", "data", "production"]
|
|
1974
|
+
license: "MIT"
|
|
1975
|
+
created_at: "2025-01-15T10:30:00Z"
|
|
1976
|
+
updated_at: "2025-01-15T14:30:00Z"
|
|
1977
|
+
metrics:
|
|
1978
|
+
total_executions: 12543
|
|
1979
|
+
successful_executions: 12123
|
|
1980
|
+
failed_executions: 420
|
|
1981
|
+
success_rate_percent: 96.65
|
|
1982
|
+
average_execution_time_ms: 1250.5
|
|
1983
|
+
|
|
1984
|
+
OrchestratorAgentExample:
|
|
1985
|
+
summary: Example orchestrator agent
|
|
1986
|
+
value:
|
|
1987
|
+
id: "orch-001"
|
|
1988
|
+
type: "orchestrator"
|
|
1989
|
+
name: "Workflow Orchestrator"
|
|
1990
|
+
description: "Manages complex multi-step workflows with parallel execution"
|
|
1991
|
+
version: "2.1.0"
|
|
1992
|
+
status: "active"
|
|
1993
|
+
capabilities: ["orchestration", "workflow-management", "monitoring"]
|
|
1994
|
+
configuration:
|
|
1995
|
+
max_concurrent_workflows: 5
|
|
1996
|
+
workflow_timeout_minutes: 60
|
|
1997
|
+
enable_parallel_execution: true
|
|
1998
|
+
managed_agents: ["worker-001", "worker-002", "critic-001"]
|
|
1999
|
+
metadata:
|
|
2000
|
+
author: "Jane Smith <jane@example.com>"
|
|
2001
|
+
organization: "Acme Corporation"
|
|
2002
|
+
tags: ["orchestration", "workflow", "production"]
|
|
2003
|
+
license: "MIT"
|
|
2004
|
+
created_at: "2025-01-15T09:00:00Z"
|
|
2005
|
+
updated_at: "2025-01-15T15:00:00Z"
|
|
2006
|
+
metrics:
|
|
2007
|
+
total_executions: 3421
|
|
2008
|
+
successful_executions: 3398
|
|
2009
|
+
failed_executions: 23
|
|
2010
|
+
success_rate_percent: 99.33
|
|
2011
|
+
average_execution_time_ms: 5420.8
|
|
2012
|
+
|
|
2013
|
+
# Reusable Parameters
|
|
2014
|
+
parameters:
|
|
2015
|
+
AgentIdParam:
|
|
2016
|
+
name: agent_id
|
|
2017
|
+
in: path
|
|
2018
|
+
required: true
|
|
2019
|
+
description: Unique identifier for the agent
|
|
2020
|
+
schema:
|
|
2021
|
+
type: string
|
|
2022
|
+
pattern: '^[a-z0-9-]+$'
|
|
2023
|
+
minLength: 3
|
|
2024
|
+
maxLength: 63
|
|
2025
|
+
example: "agent-001"
|
|
2026
|
+
|
|
2027
|
+
ExecutionIdParam:
|
|
2028
|
+
name: execution_id
|
|
2029
|
+
in: path
|
|
2030
|
+
required: true
|
|
2031
|
+
description: Unique identifier for the execution
|
|
2032
|
+
schema:
|
|
2033
|
+
type: string
|
|
2034
|
+
pattern: '^exec-[a-z0-9-]+$'
|
|
2035
|
+
example: "exec-123"
|
|
2036
|
+
|
|
2037
|
+
SpecIdParam:
|
|
2038
|
+
name: spec_id
|
|
2039
|
+
in: path
|
|
2040
|
+
required: true
|
|
2041
|
+
description: Unique identifier for the specification
|
|
2042
|
+
schema:
|
|
2043
|
+
type: string
|
|
2044
|
+
pattern: '^[a-z0-9-]+$'
|
|
2045
|
+
example: "user-api"
|
|
2046
|
+
|
|
2047
|
+
PageParam:
|
|
2048
|
+
name: page
|
|
2049
|
+
in: query
|
|
2050
|
+
description: Page number for pagination (1-based)
|
|
2051
|
+
schema:
|
|
2052
|
+
type: integer
|
|
2053
|
+
minimum: 1
|
|
2054
|
+
default: 1
|
|
2055
|
+
example: 1
|
|
2056
|
+
|
|
2057
|
+
LimitParam:
|
|
2058
|
+
name: limit
|
|
2059
|
+
in: query
|
|
2060
|
+
description: Number of items per page
|
|
2061
|
+
schema:
|
|
2062
|
+
type: integer
|
|
2063
|
+
minimum: 1
|
|
2064
|
+
maximum: 100
|
|
2065
|
+
default: 20
|
|
2066
|
+
example: 20
|
|
2067
|
+
|
|
2068
|
+
SortParam:
|
|
2069
|
+
name: sort
|
|
2070
|
+
in: query
|
|
2071
|
+
description: Sort order for results
|
|
2072
|
+
schema:
|
|
2073
|
+
type: string
|
|
2074
|
+
enum: [created_at, updated_at, name, status, type]
|
|
2075
|
+
default: created_at
|
|
2076
|
+
example: "name"
|
|
2077
|
+
|
|
2078
|
+
# Reusable Responses
|
|
2079
|
+
responses:
|
|
2080
|
+
BadRequest:
|
|
2081
|
+
description: Bad request - invalid input parameters
|
|
2082
|
+
content:
|
|
2083
|
+
application/json:
|
|
2084
|
+
schema:
|
|
2085
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
2086
|
+
example:
|
|
2087
|
+
error: "BAD_REQUEST"
|
|
2088
|
+
message: "Invalid input parameters provided"
|
|
2089
|
+
correlation_id: "corr-123"
|
|
2090
|
+
timestamp: "2025-01-15T14:30:00Z"
|
|
2091
|
+
path: "/v1/agents"
|
|
2092
|
+
|
|
2093
|
+
Unauthorized:
|
|
2094
|
+
description: Unauthorized - authentication required
|
|
2095
|
+
content:
|
|
2096
|
+
application/json:
|
|
2097
|
+
schema:
|
|
2098
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
2099
|
+
example:
|
|
2100
|
+
error: "UNAUTHORIZED"
|
|
2101
|
+
message: "Authentication credentials are required"
|
|
2102
|
+
correlation_id: "corr-124"
|
|
2103
|
+
timestamp: "2025-01-15T14:30:00Z"
|
|
2104
|
+
|
|
2105
|
+
Forbidden:
|
|
2106
|
+
description: Forbidden - insufficient permissions
|
|
2107
|
+
content:
|
|
2108
|
+
application/json:
|
|
2109
|
+
schema:
|
|
2110
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
2111
|
+
example:
|
|
2112
|
+
error: "FORBIDDEN"
|
|
2113
|
+
message: "Insufficient permissions to perform this operation"
|
|
2114
|
+
correlation_id: "corr-125"
|
|
2115
|
+
timestamp: "2025-01-15T14:30:00Z"
|
|
2116
|
+
|
|
2117
|
+
NotFound:
|
|
2118
|
+
description: Resource not found
|
|
2119
|
+
content:
|
|
2120
|
+
application/json:
|
|
2121
|
+
schema:
|
|
2122
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
2123
|
+
example:
|
|
2124
|
+
error: "NOT_FOUND"
|
|
2125
|
+
message: "The requested resource was not found"
|
|
2126
|
+
correlation_id: "corr-126"
|
|
2127
|
+
timestamp: "2025-01-15T14:30:00Z"
|
|
2128
|
+
|
|
2129
|
+
ValidationError:
|
|
2130
|
+
description: Validation failed
|
|
2131
|
+
content:
|
|
2132
|
+
application/json:
|
|
2133
|
+
schema:
|
|
2134
|
+
$ref: '#/components/schemas/ValidationError'
|
|
2135
|
+
|
|
2136
|
+
TooManyRequests:
|
|
2137
|
+
description: Too many requests - rate limit exceeded
|
|
2138
|
+
content:
|
|
2139
|
+
application/json:
|
|
2140
|
+
schema:
|
|
2141
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
2142
|
+
example:
|
|
2143
|
+
error: "TOO_MANY_REQUESTS"
|
|
2144
|
+
message: "Rate limit exceeded. Please try again later."
|
|
2145
|
+
correlation_id: "corr-127"
|
|
2146
|
+
timestamp: "2025-01-15T14:30:00Z"
|
|
2147
|
+
headers:
|
|
2148
|
+
X-RateLimit-Limit:
|
|
2149
|
+
schema:
|
|
2150
|
+
type: integer
|
|
2151
|
+
description: The rate limit ceiling for that given request
|
|
2152
|
+
X-RateLimit-Remaining:
|
|
2153
|
+
schema:
|
|
2154
|
+
type: integer
|
|
2155
|
+
description: The number of requests left for the time window
|
|
2156
|
+
X-RateLimit-Reset:
|
|
2157
|
+
schema:
|
|
2158
|
+
type: integer
|
|
2159
|
+
description: The time at which the rate limit resets (Unix timestamp)
|
|
2160
|
+
|
|
2161
|
+
InternalServerError:
|
|
2162
|
+
description: Internal server error
|
|
2163
|
+
content:
|
|
2164
|
+
application/json:
|
|
2165
|
+
schema:
|
|
2166
|
+
$ref: '#/components/schemas/ErrorResponse'
|
|
2167
|
+
example:
|
|
2168
|
+
error: "INTERNAL_SERVER_ERROR"
|
|
2169
|
+
message: "An unexpected error occurred. Please try again later."
|
|
2170
|
+
correlation_id: "corr-128"
|
|
2171
|
+
timestamp: "2025-01-15T14:30:00Z"
|
|
2172
|
+
|
|
2173
|
+
# Security Schemes (OpenAPI 3.1 OAuth 2.1 support)
|
|
2174
|
+
securitySchemes:
|
|
2175
|
+
OAuth2:
|
|
2176
|
+
type: oauth2
|
|
2177
|
+
description: |
|
|
2178
|
+
OAuth 2.1 with PKCE for secure authentication.
|
|
2179
|
+
|
|
2180
|
+
Supported flows:
|
|
2181
|
+
- **Authorization Code with PKCE**: For web and mobile applications
|
|
2182
|
+
- **Client Credentials**: For service-to-service communication
|
|
2183
|
+
|
|
2184
|
+
Required scopes:
|
|
2185
|
+
- `agents:read`: Read access to agents
|
|
2186
|
+
- `agents:write`: Create and update agents
|
|
2187
|
+
- `agents:delete`: Delete agents
|
|
2188
|
+
- `agents:execute`: Execute agent operations
|
|
2189
|
+
- `specifications:read`: Read access to specifications
|
|
2190
|
+
- `specifications:write`: Create and update specifications
|
|
2191
|
+
- `admin`: Full administrative access
|
|
2192
|
+
flows:
|
|
2193
|
+
authorizationCode:
|
|
2194
|
+
authorizationUrl: https://auth.ossa.bluefly.io/oauth/authorize
|
|
2195
|
+
tokenUrl: https://auth.ossa.bluefly.io/oauth/token
|
|
2196
|
+
refreshUrl: https://auth.ossa.bluefly.io/oauth/refresh
|
|
2197
|
+
scopes:
|
|
2198
|
+
agents:read: Read access to agents
|
|
2199
|
+
agents:write: Create and update agents
|
|
2200
|
+
agents:delete: Delete agents
|
|
2201
|
+
agents:execute: Execute agent operations
|
|
2202
|
+
specifications:read: Read access to specifications
|
|
2203
|
+
specifications:write: Create and update specifications
|
|
2204
|
+
admin: Full administrative access
|
|
2205
|
+
clientCredentials:
|
|
2206
|
+
tokenUrl: https://auth.ossa.bluefly.io/oauth/token
|
|
2207
|
+
scopes:
|
|
2208
|
+
agents:read: Read access to agents
|
|
2209
|
+
agents:write: Create and update agents
|
|
2210
|
+
agents:delete: Delete agents
|
|
2211
|
+
agents:execute: Execute agent operations
|
|
2212
|
+
specifications:read: Read access to specifications
|
|
2213
|
+
specifications:write: Create and update specifications
|
|
2214
|
+
admin: Full administrative access
|
|
2215
|
+
|
|
2216
|
+
ApiKey:
|
|
2217
|
+
type: apiKey
|
|
2218
|
+
in: header
|
|
2219
|
+
name: X-API-Key
|
|
2220
|
+
description: |
|
|
2221
|
+
API key authentication for service-to-service communication.
|
|
2222
|
+
|
|
2223
|
+
Include your API key in the `X-API-Key` header:
|
|
2224
|
+
```
|
|
2225
|
+
X-API-Key: ossa_ak_1234567890abcdef
|
|
2226
|
+
```
|
|
2227
|
+
|
|
2228
|
+
API keys can be managed in the OSSA dashboard and have configurable
|
|
2229
|
+
permissions and rate limits.
|
|
2230
|
+
|
|
2231
|
+
BearerAuth:
|
|
2232
|
+
type: http
|
|
2233
|
+
scheme: bearer
|
|
2234
|
+
bearerFormat: JWT
|
|
2235
|
+
description: |
|
|
2236
|
+
JWT Bearer token authentication.
|
|
2237
|
+
|
|
2238
|
+
Include your JWT token in the Authorization header:
|
|
2239
|
+
```
|
|
2240
|
+
Authorization: Bearer <your-jwt-token>
|
|
2241
|
+
```
|
|
2242
|
+
|
|
2243
|
+
JWT tokens are obtained through the OAuth 2.1 flow and contain
|
|
2244
|
+
user identity and scope information.
|
|
2245
|
+
|
|
2246
|
+
# Global Security Requirements
|
|
2247
|
+
security:
|
|
2248
|
+
- OAuth2: [agents:read]
|
|
2249
|
+
- ApiKey: []
|
|
2250
|
+
- BearerAuth: []
|