@bluefly/openstandardagents 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +41 -0
- package/.eslintrc.cjs +43 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +39 -0
- package/.github/dependabot.yml +58 -0
- package/.github/workflows/ci.yml +154 -0
- package/.github/workflows/codeql.yml +41 -0
- package/.github/workflows/dependabot-auto-merge.yml +28 -0
- package/.github/workflows/release.yml +103 -0
- package/.prettierignore +7 -0
- package/.prettierrc.json +10 -0
- package/.redocly.yaml +9 -0
- package/.releaserc.json +84 -0
- package/.releaserc.json.disabled +81 -0
- package/CHANGELOG.md +152 -0
- package/CONTRIBUTING.md +249 -0
- package/LICENSE +190 -0
- package/README.md +280 -0
- package/bin/ossa +8 -0
- package/bin/validate-ossa-0.2.2.ts +244 -0
- package/dist/di-container.d.ts +18 -0
- package/dist/di-container.d.ts.map +1 -0
- package/dist/di-container.js +43 -0
- package/dist/di-container.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +17 -0
- package/dist/index.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 +143 -0
- package/dist/repositories/schema.repository.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/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/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/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.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/CHANGELOG.md +176 -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/CHANGELOG.md +403 -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/ossa-0.2.4-dev.schema.json +1696 -0
- package/dist/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
- package/dist/spec/v0.2.5-dev/CHANGELOG.md +171 -0
- package/dist/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +362 -0
- package/dist/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +464 -0
- package/dist/spec/v0.2.5-dev/examples/research-team.ossa.yaml +440 -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/types/index.d.ts +178 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +6 -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/docs/OSSA-COMPLIANT-BADGE.md +248 -0
- package/docs/README.md +31 -0
- package/docs/VERSIONING.md +284 -0
- package/docs/agent-openapi-spec.yml +942 -0
- package/docs/getting-started.md +87 -0
- package/docs/migration/general-agent-schema.yml +255 -0
- package/docs/migration/migration-manifest.json +64 -0
- package/docs/openapi-extensions.md +930 -0
- package/docs/schemas/openapi-extensions.schema.json +486 -0
- package/examples/adk-integration/code-review-workflow.yml +136 -0
- package/examples/adk-integration/customer-support.yml +263 -0
- package/examples/adk-integration/data-pipeline.yml +173 -0
- package/examples/advanced/patterns/compliance-context-production.json +53 -0
- package/examples/advanced/patterns/model-router.ts +274 -0
- package/examples/advanced/patterns/smart-model-routing.ts +248 -0
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +232 -0
- package/examples/agent-manifests/critics/critic-agent.yaml +149 -0
- package/examples/agent-manifests/governors/governor-agent.yaml +128 -0
- package/examples/agent-manifests/integrators/integrator-agent.yaml +103 -0
- package/examples/agent-manifests/judges/judge-agent.yaml +153 -0
- package/examples/agent-manifests/monitors/monitor-agent.yaml +122 -0
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +247 -0
- package/examples/agent-manifests/sample-compliant-agent.yaml +147 -0
- package/examples/agent-manifests/workers/worker-agent.yaml +82 -0
- package/examples/anthropic/claude-assistant.ossa.json +45 -0
- package/examples/architecture/model-configuration/ollama-integration.ts +110 -0
- package/examples/autogen/multi-agent.ossa.json +37 -0
- package/examples/bridge-configurations.yaml +346 -0
- package/examples/bridges/Dockerfile.production +87 -0
- package/examples/bridges/__pycache__/aiflow-bridge-enhanced.cpython-313.pyc +0 -0
- package/examples/bridges/__pycache__/aiflow-phoenix-tracing.cpython-313.pyc +0 -0
- package/examples/bridges/__pycache__/test_aiflow_integration.cpython-313.pyc +0 -0
- package/examples/bridges/aiflow-bridge-enhanced.py +462 -0
- package/examples/bridges/aiflow-bridge-example.yml +310 -0
- package/examples/bridges/aiflow-phoenix-tracing.py +310 -0
- package/examples/bridges/aiflow-registration-api.openapi.yml +439 -0
- package/examples/bridges/k8s/configmap.yaml +121 -0
- package/examples/bridges/k8s/deployment-simple.yaml +34 -0
- package/examples/bridges/k8s/deployment.yaml +275 -0
- package/examples/bridges/k8s/hpa.yaml +126 -0
- package/examples/bridges/k8s/ingress.yaml +155 -0
- package/examples/bridges/kagent-bridge-example.yml +94 -0
- package/examples/bridges/load-tests/Dockerfile +28 -0
- package/examples/bridges/load-tests/k6-load-test.js +302 -0
- package/examples/bridges/load-tests/requirements.txt +20 -0
- package/examples/bridges/loadtest/k6-scenarios.js +270 -0
- package/examples/bridges/phase4/SLO-SLA.yaml +249 -0
- package/examples/bridges/phase4/chaos-tests.yaml +226 -0
- package/examples/bridges/requirements.txt +24 -0
- package/examples/bridges/test_aiflow_integration.py +341 -0
- package/examples/common_npm/agent-router.ossa.yaml +182 -0
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +60 -0
- package/examples/compliance-agent.yml +155 -0
- package/examples/crewai/research-team.ossa.json +36 -0
- package/examples/cursor/code-review-agent.ossa.json +47 -0
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +609 -0
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +68 -0
- package/examples/enterprise/agent.yml +452 -0
- package/examples/extensions/drupal-v1.yml +266 -0
- package/examples/extensions/kagent-v1.yml +167 -0
- package/examples/getting-started/hello-world-complete.ossa.yaml +266 -0
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +376 -0
- package/examples/kagent/README.md +31 -0
- package/examples/kagent/compliance-validator.ossa.yaml +111 -0
- package/examples/kagent/cost-optimizer.ossa.yaml +93 -0
- package/examples/kagent/documentation-agent.ossa.yaml +91 -0
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +269 -0
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +106 -0
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +257 -0
- package/examples/kagent/security-scanner.ossa.yaml +140 -0
- package/examples/langchain/chain-agent.ossa.json +42 -0
- package/examples/langflow/workflow-agent.ossa.json +39 -0
- package/examples/langgraph/state-machine-agent.ossa.json +59 -0
- package/examples/llamaindex/rag-agent.ossa.json +41 -0
- package/examples/migration-guides/from-langchain-to-ossa.yaml +309 -0
- package/examples/minimal/agent.yml +152 -0
- package/examples/minimal/openapi.yaml +95 -0
- package/examples/openai/swarm-agent.ossa.json +59 -0
- package/examples/openapi-extensions/README.md +87 -0
- package/examples/openapi-extensions/minimal-agent-api.openapi.yml +288 -0
- package/examples/openapi-extensions/orchestrator-agent-api.openapi.yml +633 -0
- package/examples/openapi-extensions/worker-agent-api.openapi.yml +533 -0
- package/examples/production/agent.yml +713 -0
- package/examples/production/document-analyzer-openai.yml +134 -0
- package/examples/quickstart/support-agent.ossa.yaml +59 -0
- package/examples/service-registry-usage.ts +423 -0
- package/examples/spec-examples/audit-agent.yml +147 -0
- package/examples/spec-examples/chat-agent.yml +189 -0
- package/examples/spec-examples/compliance-agent.yml +204 -0
- package/examples/spec-examples/data-processing-agent.yml +132 -0
- package/examples/spec-examples/development-agent.yml +138 -0
- package/examples/spec-examples/edge-agent.yml +101 -0
- package/examples/spec-examples/integration-agent.yml +129 -0
- package/examples/spec-examples/monitoring-agent.yml +130 -0
- package/examples/spec-examples/serverless-agent.yml +82 -0
- package/examples/spec-examples/workflow-agent.yml +223 -0
- package/examples/templates/ossa-compliance.yaml +56 -0
- package/examples/typescript/advanced/demo-registry.ts +168 -0
- package/examples/typescript/mcpb-agent-example.ts +358 -0
- package/examples/vercel/edge-agent.ossa.json +43 -0
- package/infrastructure/docker-compose.yml +33 -0
- package/junit.xml +1 -0
- package/openapi/drupal-agent-api.openapi.yaml +348 -0
- package/openapi/gitlab-orchestrator.openapi.yaml +330 -0
- package/openapi/helm-generator.openapi.yaml +389 -0
- package/openapi/ossa-core-api.openapi.yaml +1448 -0
- package/openapi/ossa-registry-api.openapi.yaml +980 -0
- package/openapi/ossa-registry.openapi.yaml +782 -0
- package/openapi/self-evolving-ecosystem.openapi.yaml +1530 -0
- package/openapi/unified-agent-gateway.openapi.yaml +833 -0
- package/ossa-website-swarm-tasks.json +105 -0
- package/package.json +132 -0
- package/release.config.js +64 -0
- package/spec/v0.1.9/agent-autonomous-extensions.json +234 -0
- package/spec/v0.1.9/ecosystem-compliance.json +235 -0
- package/spec/v0.1.9/ossa-v0.1.9.schema.json +695 -0
- package/spec/v0.1.9/ossa-v0.1.9.schema.json.backup +695 -0
- package/spec/v0.1.9/reasoning-compliance.json +654 -0
- package/spec/v0.2.2/kagent-enhancements.json +395 -0
- package/spec/v0.2.2/ossa-0.2.2.schema.json +906 -0
- package/spec/v0.2.2/ossa-0.2.2.yaml +448 -0
- package/spec/v0.2.2/ossa-reasoning-compliance-1.0.schema.json +424 -0
- package/spec/v0.2.3/CHANGELOG.md +176 -0
- package/spec/v0.2.3/README.md +154 -0
- package/spec/v0.2.3/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/spec/v0.2.3/ossa-0.2.3.schema.json +1397 -0
- package/spec/v0.2.3/ossa-0.2.3.yaml +448 -0
- package/spec/v0.2.4-dev/CHANGELOG.md +403 -0
- package/spec/v0.2.4-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.4-dev/ossa-0.2.4-dev.schema.json +1696 -0
- package/spec/v0.2.4-dev/ossa-0.2.4-dev.yaml +581 -0
- package/spec/v0.2.5-dev/CHANGELOG.md +171 -0
- package/spec/v0.2.5-dev/examples/customer-support-graph.ossa.yaml +362 -0
- package/spec/v0.2.5-dev/examples/parallel-processors.ossa.yaml +464 -0
- package/spec/v0.2.5-dev/examples/research-team.ossa.yaml +440 -0
- package/spec/v0.2.5-dev/migrations/v0.2.4-to-v0.2.5.md +317 -0
- package/spec/v0.2.5-dev/ossa-0.2.5-dev.schema.json +1732 -0
- package/spec/v0.2.5-dev/ossa-0.2.5-dev.yaml +409 -0
- package/test-results.xml +1 -0
- package/website/.lighthouserc.js +20 -0
- package/website/.prettierrc +10 -0
- package/website/Dockerfile +17 -0
- package/website/app/about/page.tsx +295 -0
- package/website/app/api/validate/route.ts +88 -0
- package/website/app/blog/[slug]/page.tsx +167 -0
- package/website/app/blog/page.tsx +162 -0
- package/website/app/docs/[[...slug]]/page.tsx +349 -0
- package/website/app/docs/core-concepts/project-structure/page.tsx +349 -0
- package/website/app/ecosystem/page.tsx +375 -0
- package/website/app/examples/page.tsx +123 -0
- package/website/app/globals.css +108 -0
- package/website/app/layout.tsx +106 -0
- package/website/app/page.tsx +409 -0
- package/website/app/playground/page.tsx +507 -0
- package/website/app/robots.ts +19 -0
- package/website/app/rss.xml/route.ts +74 -0
- package/website/app/schema/page.tsx +970 -0
- package/website/app/sitemap.ts +56 -0
- package/website/app/specification/page.tsx +211 -0
- package/website/components/InstallCommand.tsx +96 -0
- package/website/components/Logo.tsx +24 -0
- package/website/components/StructuredData.tsx +65 -0
- package/website/components/docs/DocsSearch.tsx +104 -0
- package/website/components/docs/DocsSidebar.tsx +118 -0
- package/website/components/docs/MarkdownContent.tsx +183 -0
- package/website/components/docs/VersionSelector.tsx +49 -0
- package/website/components/examples/ExamplesViewer.tsx +293 -0
- package/website/components/layout/Footer.tsx +111 -0
- package/website/components/layout/Header.tsx +170 -0
- package/website/components/schema/SchemaExplorer.tsx +213 -0
- package/website/content/blog/OpenAPI-AI-Agents-Standard.md +285 -0
- package/website/content/blog/Why-Formal-Standards-Matter-Now.md +209 -0
- package/website/content/blog/introducing-ossa-framework.md +328 -0
- package/website/content/blog/ossa-production-results.md +279 -0
- package/website/content/blog/welcome-to-ossa.md +43 -0
- package/website/content/blog/why-ai-agents-need-open-standard.md +98 -0
- package/website/content/docs/00-HOME.md +160 -0
- package/website/content/docs/AIFlow-Framework-Integration-with-OSSA.md +107 -0
- package/website/content/docs/OpenAPI-Extensions.md +498 -0
- package/website/content/docs/architecture/execution-flow.md +335 -0
- package/website/content/docs/architecture/multi-agent-systems.md +737 -0
- package/website/content/docs/architecture/overview.md +121 -0
- package/website/content/docs/architecture/stack-integration.md +461 -0
- package/website/content/docs/changelog.md +246 -0
- package/website/content/docs/contributing.md +599 -0
- package/website/content/docs/core-concepts/project-structure.md +348 -0
- package/website/content/docs/ecosystem/framework-support.md +821 -0
- package/website/content/docs/ecosystem/overview.md +366 -0
- package/website/content/docs/examples/Migration-Guides.md +214 -0
- package/website/content/docs/examples.md +71 -0
- package/website/content/docs/for-audiences/Enterprises.md +256 -0
- package/website/content/docs/for-audiences/Students-Researchers.md +122 -0
- package/website/content/docs/for-audiences/architects.md +224 -0
- package/website/content/docs/for-audiences/developers.md +220 -0
- package/website/content/docs/getting-started/5-minute-overview.md +85 -0
- package/website/content/docs/getting-started/Hello-World.md +184 -0
- package/website/content/docs/getting-started/first-agent.md +196 -0
- package/website/content/docs/getting-started/installation.md +155 -0
- package/website/content/docs/getting-started/running-agents.md +107 -0
- package/website/content/docs/integrations/aiflow.md +104 -0
- package/website/content/docs/integrations/drupal.md +105 -0
- package/website/content/docs/migration-guides/00-index.md +76 -0
- package/website/content/docs/migration-guides/README.md +133 -0
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +1750 -0
- package/website/content/docs/migration-guides/crewai-to-ossa.md +274 -0
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +2017 -0
- package/website/content/docs/migration-guides/index.md +133 -0
- package/website/content/docs/migration-guides/langchain-to-ossa.md +1714 -0
- package/website/content/docs/migration-guides/langflow-to-ossa.md +2075 -0
- package/website/content/docs/migration-guides/openai-to-ossa.md +1202 -0
- package/website/content/docs/openapi-extensions/examples.md +550 -0
- package/website/content/docs/openapi-extensions/index.md +495 -0
- package/website/content/docs/openapi-extensions/operation-extensions.md +398 -0
- package/website/content/docs/openapi-extensions/root-extensions.md +364 -0
- package/website/content/docs/pre-release/index.md +175 -0
- package/website/content/docs/quick-reference.md +17 -0
- package/website/content/docs/schema-reference/agent-spec.md +406 -0
- package/website/content/docs/schema-reference/autonomy.md +568 -0
- package/website/content/docs/schema-reference/constraints.md +543 -0
- package/website/content/docs/schema-reference/index.md +176 -0
- package/website/content/docs/schema-reference/llm-config.md +445 -0
- package/website/content/docs/schema-reference/observability.md +654 -0
- package/website/content/docs/schema-reference/ossa-manifest.md +309 -0
- package/website/content/docs/schema-reference/taxonomy.md +509 -0
- package/website/content/docs/schema-reference/tools.md +628 -0
- package/website/content/docs/templates/blog-post.md +43 -0
- package/website/content/docs/use-cases/00-index.md +395 -0
- package/website/content/docs/use-cases/cicd-code-review.md +1236 -0
- package/website/content/docs/use-cases/customer-support.md +1234 -0
- package/website/content/docs/use-cases/enterprise-compliance.md +1208 -0
- package/website/content/docs/use-cases/research-multi-agent.md +1161 -0
- package/website/lib/version.ts +18 -0
- package/website/next.config.js +17 -0
- package/website/next.config.ts +16 -0
- package/website/nginx.conf +32 -0
- package/website/package-lock.json +9145 -0
- package/website/package.json +53 -0
- package/website/postcss.config.js +7 -0
- package/website/postcss.config.mjs +9 -0
- package/website/scripts/sync-version.js +44 -0
- package/website/scripts/sync-wiki.ts +261 -0
- package/website/tailwind.config.js +58 -0
- package/website/tailwind.config.ts +65 -0
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
import { DocsSidebar } from '@/components/docs/DocsSidebar';
|
|
2
|
+
|
|
3
|
+
export default function ProjectStructurePage() {
|
|
4
|
+
return (
|
|
5
|
+
<div className="flex min-h-screen">
|
|
6
|
+
<DocsSidebar />
|
|
7
|
+
<div className="flex-1 flex flex-col">
|
|
8
|
+
<main className="flex-1 container mx-auto max-w-4xl px-4 py-8">
|
|
9
|
+
<article className="prose prose-lg max-w-none">
|
|
10
|
+
<h1>OSSA Project Structure</h1>
|
|
11
|
+
<p className="text-xl text-gray-600">
|
|
12
|
+
Understanding the .agents and .agents-workspace folders, and how OSSA organizes agent projects
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<div className="mt-8">
|
|
16
|
+
<p>Understanding how OSSA organizes your agent projects is essential for effective development. This guide explains the core folders and their purposes.</p>
|
|
17
|
+
|
|
18
|
+
<h2>Directory Structure Overview</h2>
|
|
19
|
+
|
|
20
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
21
|
+
{`my-ossa-project/
|
|
22
|
+
├── .agents/ # Agent definitions (version controlled)
|
|
23
|
+
│ ├── my-agent/
|
|
24
|
+
│ │ ├── manifest.json # Agent configuration
|
|
25
|
+
│ │ ├── prompts/ # Agent prompts
|
|
26
|
+
│ │ └── tools/ # Agent-specific tools
|
|
27
|
+
│ └── another-agent/
|
|
28
|
+
│ └── manifest.json
|
|
29
|
+
├── .agents-workspace/ # Agent runtime workspace (NOT version controlled)
|
|
30
|
+
│ ├── my-agent/
|
|
31
|
+
│ │ ├── context/ # Runtime context
|
|
32
|
+
│ │ ├── memory/ # Agent memory/state
|
|
33
|
+
│ │ └── logs/ # Execution logs
|
|
34
|
+
│ └── another-agent/
|
|
35
|
+
│ └── context/
|
|
36
|
+
├── examples/ # Example agents and workflows
|
|
37
|
+
└── ossa.yaml # Project configuration`}
|
|
38
|
+
</pre>
|
|
39
|
+
|
|
40
|
+
<h2><code>.agents/</code> - Agent Definitions</h2>
|
|
41
|
+
|
|
42
|
+
<p>The <code>.agents/</code> directory contains your <strong>agent definitions</strong>. This folder <strong>should be version controlled</strong> (committed to git).</p>
|
|
43
|
+
|
|
44
|
+
<h3>Purpose</h3>
|
|
45
|
+
|
|
46
|
+
<ul>
|
|
47
|
+
<li><strong>Declarative agent configuration</strong>: Each agent is defined by a <code>manifest.json</code> file</li>
|
|
48
|
+
<li><strong>Source of truth</strong>: The canonical definition of what each agent does</li>
|
|
49
|
+
<li><strong>Shareable</strong>: Can be exported, migrated, and shared across teams</li>
|
|
50
|
+
<li><strong>Platform-agnostic</strong>: Works with any OSSA-compliant runtime</li>
|
|
51
|
+
</ul>
|
|
52
|
+
|
|
53
|
+
<h3>Structure</h3>
|
|
54
|
+
|
|
55
|
+
<p>Each agent gets its own subdirectory within <code>.agents/</code>:</p>
|
|
56
|
+
|
|
57
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
58
|
+
{`.agents/
|
|
59
|
+
└── customer-support-agent/
|
|
60
|
+
├── manifest.json # Required: Agent metadata and configuration
|
|
61
|
+
├── prompts/
|
|
62
|
+
│ ├── system.md # System prompt
|
|
63
|
+
│ ├── context.md # Context instructions
|
|
64
|
+
│ └── examples.md # Few-shot examples
|
|
65
|
+
├── tools/
|
|
66
|
+
│ ├── search.json # Tool definition
|
|
67
|
+
│ └── create-ticket.json # Tool definition
|
|
68
|
+
└── schema/
|
|
69
|
+
└── openapi.yaml # OpenAPI schema if using x-ossa extensions`}
|
|
70
|
+
</pre>
|
|
71
|
+
|
|
72
|
+
<h3>manifest.json</h3>
|
|
73
|
+
|
|
74
|
+
<p>The manifest is the core of each agent. It defines:</p>
|
|
75
|
+
|
|
76
|
+
<ul>
|
|
77
|
+
<li><strong>Agent metadata</strong>: Name, description, version</li>
|
|
78
|
+
<li><strong>Capabilities</strong>: What the agent can do</li>
|
|
79
|
+
<li><strong>Tools</strong>: Which tools the agent has access to</li>
|
|
80
|
+
<li><strong>Configuration</strong>: Runtime settings and parameters</li>
|
|
81
|
+
<li><strong>Taxonomy</strong>: Agent classification (see below)</li>
|
|
82
|
+
</ul>
|
|
83
|
+
|
|
84
|
+
<p>Example manifest:</p>
|
|
85
|
+
|
|
86
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
87
|
+
{`{
|
|
88
|
+
"name": "customer-support-agent",
|
|
89
|
+
"version": "1.0.0",
|
|
90
|
+
"description": "Handles customer support inquiries",
|
|
91
|
+
"taxonomy": {
|
|
92
|
+
"role": "worker",
|
|
93
|
+
"domain": "customer-service",
|
|
94
|
+
"capabilities": ["qa", "ticket-creation", "escalation"]
|
|
95
|
+
},
|
|
96
|
+
"tools": [
|
|
97
|
+
{
|
|
98
|
+
"name": "search_knowledge_base",
|
|
99
|
+
"type": "function",
|
|
100
|
+
"source": "./tools/search.json"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "create_support_ticket",
|
|
104
|
+
"type": "function",
|
|
105
|
+
"source": "./tools/create-ticket.json"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"prompts": {
|
|
109
|
+
"system": "./prompts/system.md",
|
|
110
|
+
"context": "./prompts/context.md"
|
|
111
|
+
}
|
|
112
|
+
}`}
|
|
113
|
+
</pre>
|
|
114
|
+
|
|
115
|
+
<h2><code>.agents-workspace/</code> - Agent Runtime Workspace</h2>
|
|
116
|
+
|
|
117
|
+
<p>The <code>.agents-workspace/</code> directory is where agents <strong>run and store runtime data</strong>. This folder <strong>should NOT be version controlled</strong> (add to <code>.gitignore</code>).</p>
|
|
118
|
+
|
|
119
|
+
<h3>Purpose</h3>
|
|
120
|
+
|
|
121
|
+
<ul>
|
|
122
|
+
<li><strong>Execution environment</strong>: Where agents execute tasks</li>
|
|
123
|
+
<li><strong>State management</strong>: Agent memory, context, and session data</li>
|
|
124
|
+
<li><strong>Logs and telemetry</strong>: Runtime logs, metrics, and debugging info</li>
|
|
125
|
+
<li><strong>Temporary artifacts</strong>: Generated files, cached data, etc.</li>
|
|
126
|
+
</ul>
|
|
127
|
+
|
|
128
|
+
<h3>Structure</h3>
|
|
129
|
+
|
|
130
|
+
<p>Each agent gets a workspace directory that mirrors its <code>.agents/</code> structure:</p>
|
|
131
|
+
|
|
132
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
133
|
+
{`.agents-workspace/
|
|
134
|
+
└── customer-support-agent/
|
|
135
|
+
├── context/
|
|
136
|
+
│ ├── session-abc123.json # Active session context
|
|
137
|
+
│ └── thread-xyz789.json # Conversation thread
|
|
138
|
+
├── memory/
|
|
139
|
+
│ ├── short-term.json # Recent context window
|
|
140
|
+
│ ├── long-term.db # Persistent memory (vector store)
|
|
141
|
+
│ └── preferences.json # Learned user preferences
|
|
142
|
+
├── logs/
|
|
143
|
+
│ ├── 2025-11-18.log # Daily logs
|
|
144
|
+
│ └── metrics.json # Performance metrics
|
|
145
|
+
└── artifacts/
|
|
146
|
+
├── generated-email.txt # Generated content
|
|
147
|
+
└── analysis-report.pdf # Work products`}
|
|
148
|
+
</pre>
|
|
149
|
+
|
|
150
|
+
<h3>Why Separate from <code>.agents/</code>?</h3>
|
|
151
|
+
|
|
152
|
+
<ol>
|
|
153
|
+
<li><strong>Clean version control</strong>: Don't pollute git with runtime data</li>
|
|
154
|
+
<li><strong>Security</strong>: Keep sensitive runtime data (API keys, user data) out of version control</li>
|
|
155
|
+
<li><strong>Performance</strong>: Large runtime files don't slow down git operations</li>
|
|
156
|
+
<li><strong>Reproducibility</strong>: Agent definitions in <code>.agents/</code> can be reproduced anywhere, but runtime state is environment-specific</li>
|
|
157
|
+
</ol>
|
|
158
|
+
|
|
159
|
+
<h3><code>.gitignore</code> Recommendation</h3>
|
|
160
|
+
|
|
161
|
+
<p>Always add <code>.agents-workspace/</code> to your <code>.gitignore</code>:</p>
|
|
162
|
+
|
|
163
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
164
|
+
{`# OSSA runtime workspace (never commit this!)
|
|
165
|
+
.agents-workspace/
|
|
166
|
+
|
|
167
|
+
# Keep agent definitions (DO commit this)
|
|
168
|
+
# .agents/ # <-- NOT ignored, should be committed`}
|
|
169
|
+
</pre>
|
|
170
|
+
|
|
171
|
+
<h2 id="agent-taxonomy">Agent Taxonomy</h2>
|
|
172
|
+
|
|
173
|
+
<p>OSSA uses a <strong>taxonomy system</strong> to classify and organize agents. This helps with:</p>
|
|
174
|
+
|
|
175
|
+
<ul>
|
|
176
|
+
<li><strong>Discovery</strong>: Find agents by role, domain, or capability</li>
|
|
177
|
+
<li><strong>Routing</strong>: Direct tasks to appropriate agents</li>
|
|
178
|
+
<li><strong>Orchestration</strong>: Compose multi-agent workflows</li>
|
|
179
|
+
<li><strong>Governance</strong>: Apply policies based on agent classification</li>
|
|
180
|
+
</ul>
|
|
181
|
+
|
|
182
|
+
<h3>Taxonomy Structure</h3>
|
|
183
|
+
|
|
184
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
185
|
+
{`{
|
|
186
|
+
"taxonomy": {
|
|
187
|
+
"role": "worker | supervisor | coordinator | specialist",
|
|
188
|
+
"domain": "customer-service | data-analysis | content-creation | ...",
|
|
189
|
+
"capabilities": ["capability-1", "capability-2", "..."],
|
|
190
|
+
"tags": ["optional", "custom", "tags"]
|
|
191
|
+
}
|
|
192
|
+
}`}
|
|
193
|
+
</pre>
|
|
194
|
+
|
|
195
|
+
<h3>Taxonomy Fields</h3>
|
|
196
|
+
|
|
197
|
+
<h4><code>role</code> (Required)</h4>
|
|
198
|
+
|
|
199
|
+
<p>The agent's primary role in a system:</p>
|
|
200
|
+
|
|
201
|
+
<ul>
|
|
202
|
+
<li><strong><code>worker</code></strong>: Executes specific tasks (e.g., customer support agent, data fetcher)</li>
|
|
203
|
+
<li><strong><code>supervisor</code></strong>: Manages and coordinates workers (e.g., team lead, orchestrator)</li>
|
|
204
|
+
<li><strong><code>coordinator</code></strong>: Routes tasks between agents (e.g., dispatcher, load balancer)</li>
|
|
205
|
+
<li><strong><code>specialist</code></strong>: Domain expert for complex tasks (e.g., legal advisor, data scientist)</li>
|
|
206
|
+
</ul>
|
|
207
|
+
|
|
208
|
+
<h4><code>domain</code> (Required)</h4>
|
|
209
|
+
|
|
210
|
+
<p>The business/functional domain:</p>
|
|
211
|
+
|
|
212
|
+
<ul>
|
|
213
|
+
<li><code>customer-service</code></li>
|
|
214
|
+
<li><code>data-analysis</code></li>
|
|
215
|
+
<li><code>content-creation</code></li>
|
|
216
|
+
<li><code>software-development</code></li>
|
|
217
|
+
<li><code>compliance</code></li>
|
|
218
|
+
<li><code>sales</code></li>
|
|
219
|
+
<li>(custom domains allowed)</li>
|
|
220
|
+
</ul>
|
|
221
|
+
|
|
222
|
+
<h4><code>capabilities</code> (Optional but Recommended)</h4>
|
|
223
|
+
|
|
224
|
+
<p>Specific capabilities the agent possesses:</p>
|
|
225
|
+
|
|
226
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
227
|
+
{`{
|
|
228
|
+
"capabilities": [
|
|
229
|
+
"natural-language-understanding",
|
|
230
|
+
"ticket-creation",
|
|
231
|
+
"escalation-routing",
|
|
232
|
+
"sentiment-analysis",
|
|
233
|
+
"multi-language-support"
|
|
234
|
+
]
|
|
235
|
+
}`}
|
|
236
|
+
</pre>
|
|
237
|
+
|
|
238
|
+
<h4><code>tags</code> (Optional)</h4>
|
|
239
|
+
|
|
240
|
+
<p>Freeform tags for additional classification:</p>
|
|
241
|
+
|
|
242
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
243
|
+
{`{
|
|
244
|
+
"tags": ["production", "high-priority", "customer-facing", "v2"]
|
|
245
|
+
}`}
|
|
246
|
+
</pre>
|
|
247
|
+
|
|
248
|
+
<h3>Example Taxonomy Usage</h3>
|
|
249
|
+
|
|
250
|
+
<p><strong>Worker Agent (Customer Support)</strong>:</p>
|
|
251
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
252
|
+
{`{
|
|
253
|
+
"taxonomy": {
|
|
254
|
+
"role": "worker",
|
|
255
|
+
"domain": "customer-service",
|
|
256
|
+
"capabilities": ["qa", "ticket-creation", "escalation"],
|
|
257
|
+
"tags": ["tier-1-support", "email-only"]
|
|
258
|
+
}
|
|
259
|
+
}`}
|
|
260
|
+
</pre>
|
|
261
|
+
|
|
262
|
+
<p><strong>Supervisor Agent (Support Team Lead)</strong>:</p>
|
|
263
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
264
|
+
{`{
|
|
265
|
+
"taxonomy": {
|
|
266
|
+
"role": "supervisor",
|
|
267
|
+
"domain": "customer-service",
|
|
268
|
+
"capabilities": ["task-assignment", "quality-review", "escalation-handling"],
|
|
269
|
+
"tags": ["tier-2-support", "manager"]
|
|
270
|
+
}
|
|
271
|
+
}`}
|
|
272
|
+
</pre>
|
|
273
|
+
|
|
274
|
+
<p><strong>Specialist Agent (Data Analyst)</strong>:</p>
|
|
275
|
+
<pre className="bg-gray-900 text-gray-100 p-4 rounded-lg overflow-x-auto">
|
|
276
|
+
{`{
|
|
277
|
+
"taxonomy": {
|
|
278
|
+
"role": "specialist",
|
|
279
|
+
"domain": "data-analysis",
|
|
280
|
+
"capabilities": ["sql-queries", "data-visualization", "statistical-analysis"],
|
|
281
|
+
"tags": ["python", "pandas", "power-bi"]
|
|
282
|
+
}
|
|
283
|
+
}`}
|
|
284
|
+
</pre>
|
|
285
|
+
|
|
286
|
+
<h2>Best Practices</h2>
|
|
287
|
+
|
|
288
|
+
<h3>✅ DO</h3>
|
|
289
|
+
|
|
290
|
+
<ul>
|
|
291
|
+
<li><strong>Commit <code>.agents/</code></strong> to version control (git)</li>
|
|
292
|
+
<li><strong>Ignore <code>.agents-workspace/</code></strong> in <code>.gitignore</code></li>
|
|
293
|
+
<li><strong>Use taxonomy</strong> to classify all agents</li>
|
|
294
|
+
<li><strong>Document agent roles</strong> in manifest descriptions</li>
|
|
295
|
+
<li><strong>Version your manifests</strong> (semver recommended)</li>
|
|
296
|
+
</ul>
|
|
297
|
+
|
|
298
|
+
<h3>❌ DON'T</h3>
|
|
299
|
+
|
|
300
|
+
<ul>
|
|
301
|
+
<li><strong>Don't commit <code>.agents-workspace/</code></strong> (contains runtime data, secrets, logs)</li>
|
|
302
|
+
<li><strong>Don't hardcode secrets</strong> in agent manifests (use environment variables)</li>
|
|
303
|
+
<li><strong>Don't mix runtime state</strong> with agent definitions</li>
|
|
304
|
+
<li><strong>Don't skip taxonomy</strong> (makes discovery and routing harder)</li>
|
|
305
|
+
</ul>
|
|
306
|
+
|
|
307
|
+
<h2>Summary</h2>
|
|
308
|
+
|
|
309
|
+
<table className="min-w-full divide-y divide-gray-300">
|
|
310
|
+
<thead>
|
|
311
|
+
<tr>
|
|
312
|
+
<th className="px-3 py-3.5 text-left text-sm font-semibold">Folder</th>
|
|
313
|
+
<th className="px-3 py-3.5 text-left text-sm font-semibold">Purpose</th>
|
|
314
|
+
<th className="px-3 py-3.5 text-left text-sm font-semibold">Version Control</th>
|
|
315
|
+
<th className="px-3 py-3.5 text-left text-sm font-semibold">Contains</th>
|
|
316
|
+
</tr>
|
|
317
|
+
</thead>
|
|
318
|
+
<tbody className="divide-y divide-gray-200">
|
|
319
|
+
<tr>
|
|
320
|
+
<td className="px-3 py-4 text-sm"><code>.agents/</code></td>
|
|
321
|
+
<td className="px-3 py-4 text-sm">Agent definitions</td>
|
|
322
|
+
<td className="px-3 py-4 text-sm">✅ YES</td>
|
|
323
|
+
<td className="px-3 py-4 text-sm">Manifests, prompts, tool definitions</td>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td className="px-3 py-4 text-sm"><code>.agents-workspace/</code></td>
|
|
327
|
+
<td className="px-3 py-4 text-sm">Agent runtime</td>
|
|
328
|
+
<td className="px-3 py-4 text-sm">❌ NO</td>
|
|
329
|
+
<td className="px-3 py-4 text-sm">Logs, memory, context, artifacts</td>
|
|
330
|
+
</tr>
|
|
331
|
+
</tbody>
|
|
332
|
+
</table>
|
|
333
|
+
|
|
334
|
+
<p className="mt-4"><strong>Key Takeaway</strong>: <code>.agents/</code> defines <strong>what</strong> agents do (commit to git). <code>.agents-workspace/</code> is <strong>where</strong> they work (never commit).</p>
|
|
335
|
+
|
|
336
|
+
<h2>Next Steps</h2>
|
|
337
|
+
|
|
338
|
+
<ul>
|
|
339
|
+
<li><a href="/docs/getting-started/first-agent" className="text-primary hover:underline">Create Your First Agent</a></li>
|
|
340
|
+
<li><a href="/docs/quick-reference" className="text-primary hover:underline">Agent Manifest Reference</a></li>
|
|
341
|
+
<li><a href="/examples" className="text-primary hover:underline">Multi-Agent Examples</a></li>
|
|
342
|
+
</ul>
|
|
343
|
+
</div>
|
|
344
|
+
</article>
|
|
345
|
+
</main>
|
|
346
|
+
</div>
|
|
347
|
+
</div>
|
|
348
|
+
);
|
|
349
|
+
}
|