@bluefly/openstandardagents 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +137 -0
- package/DEMO.md +212 -0
- package/README.md +77 -17
- package/dist/adapters/drupal/generator.d.ts +149 -0
- package/dist/adapters/drupal/generator.d.ts.map +1 -0
- package/dist/adapters/drupal/generator.js +1760 -0
- package/dist/adapters/drupal/generator.js.map +1 -0
- package/dist/adapters/drupal/index.d.ts +2 -0
- package/dist/adapters/drupal/index.d.ts.map +1 -1
- package/dist/adapters/drupal/index.js +3 -0
- package/dist/adapters/drupal/index.js.map +1 -1
- package/dist/adapters/npm/adapter.js +2 -2
- package/dist/adapters/npm/converter.js +3 -3
- package/dist/cli/banner.d.ts +21 -0
- package/dist/cli/banner.d.ts.map +1 -0
- package/dist/cli/banner.js +128 -0
- package/dist/cli/banner.js.map +1 -0
- package/dist/cli/commands/dev.command.d.ts +20 -0
- package/dist/cli/commands/dev.command.d.ts.map +1 -0
- package/dist/cli/commands/dev.command.js +78 -0
- package/dist/cli/commands/dev.command.js.map +1 -0
- package/dist/cli/commands/estimate.command.d.ts +12 -0
- package/dist/cli/commands/estimate.command.d.ts.map +1 -0
- package/dist/cli/commands/estimate.command.js +226 -0
- package/dist/cli/commands/estimate.command.js.map +1 -0
- package/dist/cli/commands/export-enhanced.command.d.ts +7 -0
- package/dist/cli/commands/export-enhanced.command.d.ts.map +1 -0
- package/dist/cli/commands/{export-v2.command.js → export-enhanced.command.js} +3 -3
- package/dist/cli/commands/export-enhanced.command.js.map +1 -0
- package/dist/cli/commands/export.command.d.ts.map +1 -1
- package/dist/cli/commands/export.command.js +82 -4
- package/dist/cli/commands/export.command.js.map +1 -1
- package/dist/cli/commands/init.command.d.ts.map +1 -1
- package/dist/cli/commands/init.command.js +2 -0
- package/dist/cli/commands/init.command.js.map +1 -1
- package/dist/cli/commands/test.command.d.ts +1 -0
- package/dist/cli/commands/test.command.d.ts.map +1 -1
- package/dist/cli/commands/test.command.js +172 -105
- package/dist/cli/commands/test.command.js.map +1 -1
- package/dist/cli/commands/types/wizard-config.types.d.ts +59 -0
- package/dist/cli/commands/types/wizard-config.types.d.ts.map +1 -0
- package/dist/cli/commands/types/wizard-config.types.js +34 -0
- package/dist/cli/commands/types/wizard-config.types.js.map +1 -0
- package/dist/cli/commands/upgrade.command.d.ts +9 -0
- package/dist/cli/commands/upgrade.command.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.command.js +167 -0
- package/dist/cli/commands/upgrade.command.js.map +1 -0
- package/dist/cli/commands/wizard-api-first.command.d.ts +18 -0
- package/dist/cli/commands/wizard-api-first.command.d.ts.map +1 -0
- package/dist/cli/commands/wizard-api-first.command.js +854 -0
- package/dist/cli/commands/wizard-api-first.command.js.map +1 -0
- package/dist/cli/commands/wizard-interactive.command.d.ts +25 -0
- package/dist/cli/commands/wizard-interactive.command.d.ts.map +1 -0
- package/dist/cli/commands/wizard-interactive.command.js +1875 -0
- package/dist/cli/commands/wizard-interactive.command.js.map +1 -0
- package/dist/cli/commands/workspace.command.js +1 -1
- package/dist/cli/commands/workspace.command.js.map +1 -1
- package/dist/cli/index.js +9 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/schema-driven/index.d.ts +27 -0
- package/dist/cli/schema-driven/index.d.ts.map +1 -0
- package/dist/cli/schema-driven/index.js +34 -0
- package/dist/cli/schema-driven/index.js.map +1 -0
- package/dist/cli/schema-driven/schema-loader.d.ts +115 -0
- package/dist/cli/schema-driven/schema-loader.d.ts.map +1 -0
- package/dist/cli/schema-driven/schema-loader.js +270 -0
- package/dist/cli/schema-driven/schema-loader.js.map +1 -0
- package/dist/cli/schema-driven/ui-generator.d.ts +88 -0
- package/dist/cli/schema-driven/ui-generator.d.ts.map +1 -0
- package/dist/cli/schema-driven/ui-generator.js +326 -0
- package/dist/cli/schema-driven/ui-generator.js.map +1 -0
- package/dist/cli/wizard/interactive-wizard.d.ts +26 -0
- package/dist/cli/wizard/interactive-wizard.d.ts.map +1 -0
- package/dist/cli/wizard/interactive-wizard.js +296 -0
- package/dist/cli/wizard/interactive-wizard.js.map +1 -0
- package/dist/cli/wizard/template-catalog.d.ts +32 -0
- package/dist/cli/wizard/template-catalog.d.ts.map +1 -0
- package/dist/cli/wizard/template-catalog.js +99 -0
- package/dist/cli/wizard/template-catalog.js.map +1 -0
- package/dist/cli/wizard/use-cases.d.ts +37 -0
- package/dist/cli/wizard/use-cases.d.ts.map +1 -0
- package/dist/cli/wizard/use-cases.js +157 -0
- package/dist/cli/wizard/use-cases.js.map +1 -0
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +2 -0
- package/dist/di-container.js.map +1 -1
- package/dist/package.json +33 -11
- package/dist/runtime/agent-runner.d.ts +46 -0
- package/dist/runtime/agent-runner.d.ts.map +1 -0
- package/dist/runtime/agent-runner.js +346 -0
- package/dist/runtime/agent-runner.js.map +1 -0
- package/dist/sdks/kagent/crd-generator.d.ts +4 -0
- package/dist/sdks/kagent/crd-generator.d.ts.map +1 -1
- package/dist/sdks/kagent/crd-generator.js +83 -2
- package/dist/sdks/kagent/crd-generator.js.map +1 -1
- package/dist/sdks/kagent/k8s-resources-generator.d.ts +73 -0
- package/dist/sdks/kagent/k8s-resources-generator.d.ts.map +1 -0
- package/dist/sdks/kagent/k8s-resources-generator.js +286 -0
- package/dist/sdks/kagent/k8s-resources-generator.js.map +1 -0
- package/dist/sdks/kagent/types.d.ts +79 -0
- package/dist/sdks/kagent/types.d.ts.map +1 -1
- package/dist/sdks/shared/validation.d.ts +2 -2
- package/dist/services/cost-estimation/optimization-patterns.d.ts +23 -0
- package/dist/services/cost-estimation/optimization-patterns.d.ts.map +1 -0
- package/dist/services/cost-estimation/optimization-patterns.js +147 -0
- package/dist/services/cost-estimation/optimization-patterns.js.map +1 -0
- package/dist/services/cost-estimation/pricing.d.ts +29 -0
- package/dist/services/cost-estimation/pricing.d.ts.map +1 -0
- package/dist/services/cost-estimation/pricing.js +225 -0
- package/dist/services/cost-estimation/pricing.js.map +1 -0
- package/dist/services/cost-estimation/scenario-estimator.d.ts +59 -0
- package/dist/services/cost-estimation/scenario-estimator.d.ts.map +1 -0
- package/dist/services/cost-estimation/scenario-estimator.js +145 -0
- package/dist/services/cost-estimation/scenario-estimator.js.map +1 -0
- package/dist/services/cost-estimation/token-counter.service.d.ts +51 -0
- package/dist/services/cost-estimation/token-counter.service.d.ts.map +1 -0
- package/dist/services/cost-estimation/token-counter.service.js +125 -0
- package/dist/services/cost-estimation/token-counter.service.js.map +1 -0
- package/dist/services/dev-server/dev-server.service.d.ts +121 -0
- package/dist/services/dev-server/dev-server.service.d.ts.map +1 -0
- package/dist/services/dev-server/dev-server.service.js +290 -0
- package/dist/services/dev-server/dev-server.service.js.map +1 -0
- package/dist/services/dev-server/file-watcher.d.ts +101 -0
- package/dist/services/dev-server/file-watcher.d.ts.map +1 -0
- package/dist/services/dev-server/file-watcher.js +190 -0
- package/dist/services/dev-server/file-watcher.js.map +1 -0
- package/dist/services/dev-server/live-validator.d.ts +157 -0
- package/dist/services/dev-server/live-validator.d.ts.map +1 -0
- package/dist/services/dev-server/live-validator.js +301 -0
- package/dist/services/dev-server/live-validator.js.map +1 -0
- package/dist/services/dev-server/websocket-server.d.ts +137 -0
- package/dist/services/dev-server/websocket-server.d.ts.map +1 -0
- package/dist/services/dev-server/websocket-server.js +229 -0
- package/dist/services/dev-server/websocket-server.js.map +1 -0
- package/dist/services/export/anthropic/anthropic-exporter.d.ts +70 -0
- package/dist/services/export/anthropic/anthropic-exporter.d.ts.map +1 -0
- package/dist/services/export/anthropic/anthropic-exporter.js +576 -0
- package/dist/services/export/anthropic/anthropic-exporter.js.map +1 -0
- package/dist/services/export/anthropic/api-generator.d.ts +39 -0
- package/dist/services/export/anthropic/api-generator.d.ts.map +1 -0
- package/dist/services/export/anthropic/api-generator.js +395 -0
- package/dist/services/export/anthropic/api-generator.js.map +1 -0
- package/dist/services/export/anthropic/index.d.ts +18 -0
- package/dist/services/export/anthropic/index.d.ts.map +1 -0
- package/dist/services/export/anthropic/index.js +16 -0
- package/dist/services/export/anthropic/index.js.map +1 -0
- package/dist/services/export/anthropic/tools-generator.d.ts +35 -0
- package/dist/services/export/anthropic/tools-generator.d.ts.map +1 -0
- package/dist/services/export/anthropic/tools-generator.js +260 -0
- package/dist/services/export/anthropic/tools-generator.js.map +1 -0
- package/dist/services/export/langchain/api-generator.d.ts +17 -0
- package/dist/services/export/langchain/api-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/api-generator.js +375 -0
- package/dist/services/export/langchain/api-generator.js.map +1 -0
- package/dist/services/export/langchain/callbacks-generator.d.ts +63 -0
- package/dist/services/export/langchain/callbacks-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/callbacks-generator.js +408 -0
- package/dist/services/export/langchain/callbacks-generator.js.map +1 -0
- package/dist/services/export/langchain/error-handling-generator.d.ts +76 -0
- package/dist/services/export/langchain/error-handling-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/error-handling-generator.js +522 -0
- package/dist/services/export/langchain/error-handling-generator.js.map +1 -0
- package/dist/services/export/langchain/index.d.ts +17 -0
- package/dist/services/export/langchain/index.d.ts.map +1 -0
- package/dist/services/export/langchain/index.js +13 -0
- package/dist/services/export/langchain/index.js.map +1 -0
- package/dist/services/export/langchain/langchain-exporter.d.ts +174 -0
- package/dist/services/export/langchain/langchain-exporter.d.ts.map +1 -0
- package/dist/services/export/langchain/langchain-exporter.js +953 -0
- package/dist/services/export/langchain/langchain-exporter.js.map +1 -0
- package/dist/services/export/langchain/langgraph-generator.d.ts +86 -0
- package/dist/services/export/langchain/langgraph-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/langgraph-generator.js +473 -0
- package/dist/services/export/langchain/langgraph-generator.js.map +1 -0
- package/dist/services/export/langchain/langserve-generator.d.ts +95 -0
- package/dist/services/export/langchain/langserve-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/langserve-generator.js +807 -0
- package/dist/services/export/langchain/langserve-generator.js.map +1 -0
- package/dist/services/export/langchain/memory-generator.d.ts +71 -0
- package/dist/services/export/langchain/memory-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/memory-generator.js +1182 -0
- package/dist/services/export/langchain/memory-generator.js.map +1 -0
- package/dist/services/export/langchain/openapi-generator.d.ts +20 -0
- package/dist/services/export/langchain/openapi-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/openapi-generator.js +364 -0
- package/dist/services/export/langchain/openapi-generator.js.map +1 -0
- package/dist/services/export/langchain/plan-execute-generator.d.ts +60 -0
- package/dist/services/export/langchain/plan-execute-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/plan-execute-generator.js +679 -0
- package/dist/services/export/langchain/plan-execute-generator.js.map +1 -0
- package/dist/services/export/langchain/streaming-generator.d.ts +66 -0
- package/dist/services/export/langchain/streaming-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/streaming-generator.js +749 -0
- package/dist/services/export/langchain/streaming-generator.js.map +1 -0
- package/dist/services/export/langchain/tools-generator.d.ts +67 -0
- package/dist/services/export/langchain/tools-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/tools-generator.js +543 -0
- package/dist/services/export/langchain/tools-generator.js.map +1 -0
- package/dist/services/export/npm/express-generator.d.ts +23 -0
- package/dist/services/export/npm/express-generator.d.ts.map +1 -0
- package/dist/services/export/npm/express-generator.js +296 -0
- package/dist/services/export/npm/express-generator.js.map +1 -0
- package/dist/services/export/npm/index.d.ts +13 -0
- package/dist/services/export/npm/index.d.ts.map +1 -0
- package/dist/services/export/npm/index.js +11 -0
- package/dist/services/export/npm/index.js.map +1 -0
- package/dist/services/export/npm/npm-exporter.d.ts +142 -0
- package/dist/services/export/npm/npm-exporter.d.ts.map +1 -0
- package/dist/services/export/npm/npm-exporter.js +480 -0
- package/dist/services/export/npm/npm-exporter.js.map +1 -0
- package/dist/services/export/npm/openapi-generator.d.ts +19 -0
- package/dist/services/export/npm/openapi-generator.d.ts.map +1 -0
- package/dist/services/export/npm/openapi-generator.js +428 -0
- package/dist/services/export/npm/openapi-generator.js.map +1 -0
- package/dist/services/export/npm/package-json-generator.d.ts +31 -0
- package/dist/services/export/npm/package-json-generator.d.ts.map +1 -0
- package/dist/services/export/npm/package-json-generator.js +153 -0
- package/dist/services/export/npm/package-json-generator.js.map +1 -0
- package/dist/services/export/npm/typescript-generator.d.ts +69 -0
- package/dist/services/export/npm/typescript-generator.d.ts.map +1 -0
- package/dist/services/export/npm/typescript-generator.js +437 -0
- package/dist/services/export/npm/typescript-generator.js.map +1 -0
- package/dist/services/export/testing/index.d.ts +8 -0
- package/dist/services/export/testing/index.d.ts.map +1 -0
- package/dist/services/export/testing/index.js +7 -0
- package/dist/services/export/testing/index.js.map +1 -0
- package/dist/services/export/testing/test-generator.d.ts +178 -0
- package/dist/services/export/testing/test-generator.d.ts.map +1 -0
- package/dist/services/export/testing/test-generator.js +2542 -0
- package/dist/services/export/testing/test-generator.js.map +1 -0
- package/dist/services/test-runner/mock-llm.service.d.ts +77 -0
- package/dist/services/test-runner/mock-llm.service.d.ts.map +1 -0
- package/dist/services/test-runner/mock-llm.service.js +173 -0
- package/dist/services/test-runner/mock-llm.service.js.map +1 -0
- package/dist/services/test-runner/scenarios.d.ts +36 -0
- package/dist/services/test-runner/scenarios.d.ts.map +1 -0
- package/dist/services/test-runner/scenarios.js +196 -0
- package/dist/services/test-runner/scenarios.js.map +1 -0
- package/dist/services/test-runner/test-runner.service.d.ts +19 -1
- package/dist/services/test-runner/test-runner.service.d.ts.map +1 -1
- package/dist/services/test-runner/test-runner.service.js +72 -6
- package/dist/services/test-runner/test-runner.service.js.map +1 -1
- package/dist/services/validation/best-practices-validator.d.ts +84 -0
- package/dist/services/validation/best-practices-validator.d.ts.map +1 -0
- package/dist/services/validation/best-practices-validator.js +499 -0
- package/dist/services/validation/best-practices-validator.js.map +1 -0
- package/dist/services/validation/cost-estimator.d.ts +69 -0
- package/dist/services/validation/cost-estimator.d.ts.map +1 -0
- package/dist/services/validation/cost-estimator.js +221 -0
- package/dist/services/validation/cost-estimator.js.map +1 -0
- package/dist/services/validation/enhanced-validator.d.ts +78 -0
- package/dist/services/validation/enhanced-validator.d.ts.map +1 -0
- package/dist/services/validation/enhanced-validator.js +212 -0
- package/dist/services/validation/enhanced-validator.js.map +1 -0
- package/dist/services/validation/index.d.ts +13 -0
- package/dist/services/validation/index.d.ts.map +1 -0
- package/dist/services/validation/index.js +9 -0
- package/dist/services/validation/index.js.map +1 -0
- package/dist/services/validation/security-validator.d.ts +81 -0
- package/dist/services/validation/security-validator.d.ts.map +1 -0
- package/dist/services/validation/security-validator.js +328 -0
- package/dist/services/validation/security-validator.js.map +1 -0
- package/dist/services/wizard/prompts.d.ts +71 -0
- package/dist/services/wizard/prompts.d.ts.map +1 -0
- package/dist/services/wizard/prompts.js +322 -0
- package/dist/services/wizard/prompts.js.map +1 -0
- package/dist/services/wizard/wizard.service.d.ts +60 -0
- package/dist/services/wizard/wizard.service.d.ts.map +1 -0
- package/dist/services/wizard/wizard.service.js +261 -0
- package/dist/services/wizard/wizard.service.js.map +1 -0
- package/dist/types/personality.zod.d.ts +23 -23
- package/dist/utils/version.d.ts +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/version-management/core/version-manager.test.js.map +1 -1
- package/dist/version.d.ts +62 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +73 -0
- package/dist/version.js.map +1 -0
- package/examples/a2a/agent-handoff.ossa.yaml +1 -1
- package/examples/a2a/service-discovery.ossa.yaml +1 -1
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agents/01-customer-support-bot/.env.example +32 -0
- package/examples/agents/01-customer-support-bot/Dockerfile +30 -0
- package/examples/agents/01-customer-support-bot/README.md +295 -0
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +172 -0
- package/examples/agents/01-customer-support-bot/docker-compose.yml +55 -0
- package/examples/agents/01-customer-support-bot/openapi.yaml +238 -0
- package/examples/agents/01-customer-support-bot/package.json +48 -0
- package/examples/agents/02-code-review-agent/README.md +72 -0
- package/examples/agents/02-code-review-agent/agent.ossa.yaml +239 -0
- package/examples/agents/02-code-review-agent/docker-compose.yml +22 -0
- package/examples/agents/02-code-review-agent/openapi.yaml +150 -0
- package/examples/agents/03-data-analysis-agent/README.md +51 -0
- package/examples/agents/03-data-analysis-agent/agent.ossa.yaml +97 -0
- package/examples/agents/03-data-analysis-agent/openapi.yaml +74 -0
- package/examples/agents/04-content-moderator/README.md +55 -0
- package/examples/agents/04-content-moderator/agent.ossa.yaml +131 -0
- package/examples/agents/04-content-moderator/openapi.yaml +50 -0
- package/examples/agents/05-sales-assistant/README.md +37 -0
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +146 -0
- package/examples/agents/05-sales-assistant/openapi.yaml +59 -0
- package/examples/agents/06-devops-agent/README.md +39 -0
- package/examples/agents/06-devops-agent/agent.ossa.yaml +141 -0
- package/examples/agents/06-devops-agent/openapi.yaml +51 -0
- package/examples/agents/07-research-assistant/README.md +31 -0
- package/examples/agents/07-research-assistant/agent.ossa.yaml +119 -0
- package/examples/agents/07-research-assistant/openapi.yaml +56 -0
- package/examples/agents/08-email-triage-agent/README.md +33 -0
- package/examples/agents/08-email-triage-agent/agent.ossa.yaml +133 -0
- package/examples/agents/08-email-triage-agent/openapi.yaml +41 -0
- package/examples/agents/09-security-scanner/README.md +49 -0
- package/examples/agents/09-security-scanner/agent.ossa.yaml +174 -0
- package/examples/agents/09-security-scanner/openapi.yaml +46 -0
- package/examples/agents/10-meeting-assistant/README.md +53 -0
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +211 -0
- package/examples/agents/10-meeting-assistant/docker-compose.yml +27 -0
- package/examples/agents/10-meeting-assistant/openapi.yaml +131 -0
- package/examples/agents/COMPLETION_REPORT.txt +272 -0
- package/examples/agents/INDEX.md +296 -0
- package/examples/agents/README.md +452 -0
- package/examples/agents/SUMMARY.md +362 -0
- package/examples/agents/TEST_RESULTS.md +458 -0
- package/examples/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +1 -1
- package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +1 -1
- package/examples/build-once-use-everywhere/agent.ossa.yaml +1 -1
- package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
- package/examples/claude-code/ossa-validator.ossa.yaml +1 -1
- package/examples/common_npm/agent-router.ossa.yaml +2 -2
- package/examples/contracts/data-consumer.ossa.yaml +1 -1
- package/examples/contracts/data-producer-v2.ossa.yaml +1 -1
- package/examples/contracts/data-producer.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/QUICKSTART.md +439 -0
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +1 -1
- package/examples/drupal/content-moderator.ossa.yaml +107 -0
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +2 -2
- package/examples/economics/marketplace-agent.ossa.json +1 -1
- package/examples/export/langchain/production-agent-with-memory/README.md +373 -0
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +97 -0
- package/examples/export/langchain/production-agent-with-streaming/README.md +617 -0
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +100 -0
- package/examples/export/langchain/production-agent-with-streaming/client-example.py +263 -0
- package/examples/export/langchain/production-agent-with-tools/README.md +296 -0
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +216 -0
- package/examples/export/langchain-export-example.ts +246 -0
- package/examples/export/langserve-export-example.ts +246 -0
- package/examples/export/test-generation-example.ts +457 -0
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/genetics/breeding-agent.ossa.json +1 -1
- package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +1 -1
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +2 -2
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/lifecycle/mentoring-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/mcp/database-mcp.ossa.yaml +1 -1
- package/examples/mcp/filesystem-mcp.ossa.yaml +1 -1
- package/examples/messaging/dependency-healer.ossa.yaml +1 -1
- package/examples/messaging/incident-responder.ossa.yaml +1 -1
- package/examples/messaging/routing-rules.ossa.yaml +1 -1
- package/examples/messaging/security-scanner.ossa.yaml +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/migrations/langchain/01-python-react-agent-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/02-typescript-conversational-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/03-sequential-chain-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/04-config-based-after.ossa.yaml +1 -1
- package/examples/migrations/swarm-to-ossa/after-handoffs.ossa.yaml +6 -6
- package/examples/migrations/swarm-to-ossa/after-triage-agent.ossa.yaml +3 -3
- package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
- package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
- package/examples/multi-agent-research-workflow.ossa.yaml +133 -0
- package/examples/multi-platform/single-manifest/agent.ossa.yaml +1 -1
- package/examples/npm-export-example.ts +150 -0
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +1 -1
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +1 -1
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +1 -1
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +1 -1
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +1 -1
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +1 -1
- package/examples/ossa-templates/08-content-writer.ossa.yaml +1 -1
- package/examples/ossa-templates/09-test-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +1 -1
- package/examples/ossa-templates/11-react-performance-expert.ossa.yaml +1 -1
- package/examples/ossa-templates/12-typescript-type-safety-expert.ossa.yaml +1 -1
- package/examples/ossa-templates/13-accessibility-champion.ossa.yaml +1 -1
- package/examples/ossa-templates/14-security-hardening-agent.ossa.yaml +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/production-ready/01-customer-support-bot/.env.example +32 -0
- package/examples/production-ready/01-customer-support-bot/Dockerfile +30 -0
- package/examples/production-ready/01-customer-support-bot/README.md +295 -0
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +172 -0
- package/examples/production-ready/01-customer-support-bot/docker-compose.yml +55 -0
- package/examples/production-ready/01-customer-support-bot/openapi.yaml +238 -0
- package/examples/production-ready/01-customer-support-bot/package.json +48 -0
- package/examples/production-ready/02-code-review-agent/README.md +72 -0
- package/examples/production-ready/02-code-review-agent/agent.ossa.yaml +239 -0
- package/examples/production-ready/02-code-review-agent/docker-compose.yml +22 -0
- package/examples/production-ready/02-code-review-agent/openapi.yaml +150 -0
- package/examples/production-ready/03-data-analysis-agent/README.md +51 -0
- package/examples/production-ready/03-data-analysis-agent/agent.ossa.yaml +97 -0
- package/examples/production-ready/03-data-analysis-agent/openapi.yaml +74 -0
- package/examples/production-ready/04-content-moderator/README.md +55 -0
- package/examples/production-ready/04-content-moderator/agent.ossa.yaml +131 -0
- package/examples/production-ready/04-content-moderator/openapi.yaml +50 -0
- package/examples/production-ready/05-sales-assistant/README.md +37 -0
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +146 -0
- package/examples/production-ready/05-sales-assistant/openapi.yaml +59 -0
- package/examples/production-ready/06-devops-agent/README.md +39 -0
- package/examples/production-ready/06-devops-agent/agent.ossa.yaml +141 -0
- package/examples/production-ready/06-devops-agent/openapi.yaml +51 -0
- package/examples/production-ready/07-research-assistant/README.md +31 -0
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +119 -0
- package/examples/production-ready/07-research-assistant/openapi.yaml +56 -0
- package/examples/production-ready/08-email-triage-agent/README.md +33 -0
- package/examples/production-ready/08-email-triage-agent/agent.ossa.yaml +133 -0
- package/examples/production-ready/08-email-triage-agent/openapi.yaml +41 -0
- package/examples/production-ready/09-security-scanner/README.md +49 -0
- package/examples/production-ready/09-security-scanner/agent.ossa.yaml +174 -0
- package/examples/production-ready/09-security-scanner/openapi.yaml +46 -0
- package/examples/production-ready/10-meeting-assistant/README.md +53 -0
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +211 -0
- package/examples/production-ready/10-meeting-assistant/docker-compose.yml +27 -0
- package/examples/production-ready/10-meeting-assistant/openapi.yaml +131 -0
- package/examples/production-ready/COMPLETION_REPORT.txt +272 -0
- package/examples/production-ready/INDEX.md +296 -0
- package/examples/production-ready/README.md +452 -0
- package/examples/production-ready/SUMMARY.md +362 -0
- package/examples/production-ready/TEST_RESULTS.md +458 -0
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +1 -1
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +1 -1
- package/examples/registry/agents/code-reviewer/agent.yaml +1 -1
- package/examples/registry/agents/security-scanner/agent.yaml +1 -1
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +1 -1
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +1 -1
- package/examples/showcase/code-assistant.ossa.yaml +1 -1
- package/examples/showcase/code-reviewer.ossa.yaml +1 -1
- package/examples/showcase/compliance-validator.ossa.yaml +1 -1
- package/examples/showcase/content-writer.ossa.yaml +1 -1
- package/examples/showcase/data-transformer.ossa.yaml +1 -1
- package/examples/showcase/doc-generator.ossa.yaml +1 -1
- package/examples/showcase/security-scanner.ossa.yaml +1 -1
- package/examples/showcase/test-generator.ossa.yaml +1 -1
- package/examples/showcase/workflow-orchestrator.ossa.yaml +1 -1
- package/examples/skills-example.ossa.yaml +140 -0
- package/examples/swarm/pso-optimizer.ossa.json +1 -1
- package/examples/tasks/batch-email-sender.yaml +1 -1
- package/examples/tasks/data-transform.yaml +1 -1
- package/examples/tasks/publish-content.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +1 -1
- package/examples/v0.3.6-features/genetics-breeding-advanced.ossa.yaml +1 -1
- package/examples/v0.3.6-features/genetics-breeding-simple.ossa.yaml +1 -1
- package/examples/v0.3.6-features/genetics-fitness-scoring.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/openapi/cli/openapi.yaml +221 -5
- package/package.json +31 -9
- package/dist/cli/commands/export-v2.command.d.ts +0 -7
- package/dist/cli/commands/export-v2.command.d.ts.map +0 -1
- package/dist/cli/commands/export-v2.command.js.map +0 -1
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
# Production-Ready OSSA Agent Examples
|
|
2
|
+
|
|
3
|
+
This directory contains 10 complete, production-ready agent examples built with OSSA v0.3.6. Each example includes:
|
|
4
|
+
|
|
5
|
+
- OSSA manifest (`agent.ossa.yaml`)
|
|
6
|
+
- OpenAPI specification
|
|
7
|
+
- Docker deployment configuration
|
|
8
|
+
- Complete documentation
|
|
9
|
+
- Working exports to target platforms
|
|
10
|
+
|
|
11
|
+
## Examples Overview
|
|
12
|
+
|
|
13
|
+
| # | Agent | Platform | Export | Use Case | Port |
|
|
14
|
+
|---|-------|----------|--------|----------|------|
|
|
15
|
+
| 01 | [Customer Support Bot](./01-customer-support-bot/) | LangChain + OpenAI | LangChain (Python/TS) | Customer service automation | 8080 |
|
|
16
|
+
| 02 | [Code Review Agent](./02-code-review-agent/) | Anthropic | Anthropic SDK | Automated code review | 8081 |
|
|
17
|
+
| 03 | [Data Analysis Agent](./03-data-analysis-agent/) | npm package | npm | Data analysis & visualization | 8082 |
|
|
18
|
+
| 04 | [Content Moderator](./04-content-moderator/) | OpenAI Assistant | OpenAI Assistant | Content moderation | 8083 |
|
|
19
|
+
| 05 | [Sales Assistant](./05-sales-assistant/) | LangChain + GPT-4 | LangChain (Python/TS) | Sales & CRM automation | 8084 |
|
|
20
|
+
| 06 | [DevOps Agent](./06-devops-agent/) | Anthropic | Anthropic SDK | Infrastructure management | 8085 |
|
|
21
|
+
| 07 | [Research Assistant](./07-research-assistant/) | LangChain + Claude | LangChain (Python/TS) | Academic research | 8086 |
|
|
22
|
+
| 08 | [Email Triage Agent](./08-email-triage-agent/) | npm package | npm | Email automation | 8087 |
|
|
23
|
+
| 09 | [Security Scanner](./09-security-scanner/) | Anthropic | Anthropic SDK | Security analysis | 8088 |
|
|
24
|
+
| 10 | [Meeting Assistant](./10-meeting-assistant/) | LangChain + GPT-4o | LangChain (Python/TS) | Meeting automation | 8089 |
|
|
25
|
+
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
### Prerequisites
|
|
29
|
+
|
|
30
|
+
- Docker and Docker Compose
|
|
31
|
+
- Node.js 18+
|
|
32
|
+
- Python 3.9+ (for LangChain exports)
|
|
33
|
+
- API keys for:
|
|
34
|
+
- OpenAI (`OPENAI_API_KEY`)
|
|
35
|
+
- Anthropic (`ANTHROPIC_API_KEY`)
|
|
36
|
+
- GitHub/GitLab (for some examples)
|
|
37
|
+
|
|
38
|
+
### Running an Example
|
|
39
|
+
|
|
40
|
+
Each example is self-contained and can be run independently:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Navigate to example directory
|
|
44
|
+
cd 01-customer-support-bot
|
|
45
|
+
|
|
46
|
+
# Set required environment variables
|
|
47
|
+
export OPENAI_API_KEY=sk-...
|
|
48
|
+
|
|
49
|
+
# Start with Docker Compose
|
|
50
|
+
docker-compose up -d
|
|
51
|
+
|
|
52
|
+
# View logs
|
|
53
|
+
docker-compose logs -f
|
|
54
|
+
|
|
55
|
+
# Test the API
|
|
56
|
+
curl http://localhost:8080/v1/health
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Exporting Agents
|
|
60
|
+
|
|
61
|
+
All examples can be exported to their target platforms using the OSSA CLI:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
# Export to LangChain (Python)
|
|
65
|
+
ossa export 01-customer-support-bot/agent.ossa.yaml \
|
|
66
|
+
--platform langchain \
|
|
67
|
+
--output customer_support.py
|
|
68
|
+
|
|
69
|
+
# Export to Anthropic SDK (TypeScript)
|
|
70
|
+
ossa export 02-code-review-agent/agent.ossa.yaml \
|
|
71
|
+
--platform anthropic \
|
|
72
|
+
--output code-review.ts
|
|
73
|
+
|
|
74
|
+
# Export to npm package
|
|
75
|
+
ossa export 03-data-analysis-agent/agent.ossa.yaml \
|
|
76
|
+
--platform npm \
|
|
77
|
+
--output dist/
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Features by Agent
|
|
81
|
+
|
|
82
|
+
### 01. Customer Support Bot
|
|
83
|
+
**Platform:** LangChain + OpenAI
|
|
84
|
+
- Multi-turn conversations with memory
|
|
85
|
+
- Documentation search
|
|
86
|
+
- Automated ticket creation
|
|
87
|
+
- Email notifications
|
|
88
|
+
- PII redaction
|
|
89
|
+
- Redis-backed persistence
|
|
90
|
+
|
|
91
|
+
**Key Tools:**
|
|
92
|
+
- `search_docs` - Search knowledge base
|
|
93
|
+
- `create_ticket` - Create support tickets
|
|
94
|
+
- `send_email` - Send follow-up emails
|
|
95
|
+
|
|
96
|
+
**Export:** LangChain Python/TypeScript
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
### 02. Code Review Agent
|
|
101
|
+
**Platform:** Anthropic Claude
|
|
102
|
+
- Static code analysis
|
|
103
|
+
- Security vulnerability detection
|
|
104
|
+
- Performance suggestions
|
|
105
|
+
- GitHub/GitLab integration
|
|
106
|
+
- Extended thinking for deep analysis
|
|
107
|
+
|
|
108
|
+
**Key Tools:**
|
|
109
|
+
- `read_file` - Read source files
|
|
110
|
+
- `analyze_code` - Static analysis
|
|
111
|
+
- `suggest_fix` - Generate fixes
|
|
112
|
+
|
|
113
|
+
**Export:** Anthropic SDK (TypeScript)
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
### 03. Data Analysis Agent
|
|
118
|
+
**Platform:** npm package
|
|
119
|
+
- Load data from multiple sources
|
|
120
|
+
- Statistical analysis
|
|
121
|
+
- Data visualization
|
|
122
|
+
- Trend detection
|
|
123
|
+
- Predictive modeling
|
|
124
|
+
|
|
125
|
+
**Key Tools:**
|
|
126
|
+
- `load_data` - Load datasets
|
|
127
|
+
- `analyze_data` - Statistical analysis
|
|
128
|
+
- `visualize_data` - Create charts
|
|
129
|
+
|
|
130
|
+
**Export:** npm package
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
### 04. Content Moderator
|
|
135
|
+
**Platform:** OpenAI Assistant
|
|
136
|
+
- Content policy violation detection
|
|
137
|
+
- Hate speech detection
|
|
138
|
+
- Automated flagging
|
|
139
|
+
- Human escalation
|
|
140
|
+
- Decision audit trail
|
|
141
|
+
|
|
142
|
+
**Key Tools:**
|
|
143
|
+
- `check_content` - Analyze content
|
|
144
|
+
- `flag_violation` - Flag violations
|
|
145
|
+
- `escalate_issue` - Escalate to humans
|
|
146
|
+
|
|
147
|
+
**Export:** OpenAI Assistant API
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
### 05. Sales Assistant
|
|
152
|
+
**Platform:** LangChain + GPT-4
|
|
153
|
+
- Lead management
|
|
154
|
+
- CRM integration
|
|
155
|
+
- Automated follow-ups
|
|
156
|
+
- Meeting scheduling
|
|
157
|
+
- Entity memory for personalization
|
|
158
|
+
|
|
159
|
+
**Key Tools:**
|
|
160
|
+
- `search_crm` - Search CRM
|
|
161
|
+
- `create_lead` - Create leads
|
|
162
|
+
- `send_followup` - Send follow-ups
|
|
163
|
+
- `schedule_meeting` - Schedule meetings
|
|
164
|
+
|
|
165
|
+
**Export:** LangChain Python/TypeScript
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
### 06. DevOps Agent
|
|
170
|
+
**Platform:** Anthropic Claude
|
|
171
|
+
- System health monitoring
|
|
172
|
+
- Automated deployments
|
|
173
|
+
- Rollback management
|
|
174
|
+
- Service scaling
|
|
175
|
+
- Log analysis
|
|
176
|
+
|
|
177
|
+
**Key Tools:**
|
|
178
|
+
- `check_status` - Health checks
|
|
179
|
+
- `deploy_service` - Deploy services
|
|
180
|
+
- `rollback_deployment` - Rollback
|
|
181
|
+
- `scale_service` - Scale instances
|
|
182
|
+
|
|
183
|
+
**Export:** Anthropic SDK (TypeScript)
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
### 07. Research Assistant
|
|
188
|
+
**Platform:** LangChain + Claude
|
|
189
|
+
- Academic paper search
|
|
190
|
+
- Paper summarization
|
|
191
|
+
- Citation generation
|
|
192
|
+
- Study comparison
|
|
193
|
+
- Summary memory for long sessions
|
|
194
|
+
|
|
195
|
+
**Key Tools:**
|
|
196
|
+
- `search_papers` - Search literature
|
|
197
|
+
- `summarize_paper` - Summarize papers
|
|
198
|
+
- `generate_citations` - Generate citations
|
|
199
|
+
|
|
200
|
+
**Export:** LangChain Python/TypeScript
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
### 08. Email Triage Agent
|
|
205
|
+
**Platform:** npm package
|
|
206
|
+
- Email categorization
|
|
207
|
+
- Priority detection
|
|
208
|
+
- Automated responses
|
|
209
|
+
- Smart routing
|
|
210
|
+
- PII protection
|
|
211
|
+
|
|
212
|
+
**Key Tools:**
|
|
213
|
+
- `read_email` - Read emails
|
|
214
|
+
- `categorize_email` - Categorize
|
|
215
|
+
- `draft_response` - Draft responses
|
|
216
|
+
- `route_email` - Route emails
|
|
217
|
+
|
|
218
|
+
**Export:** npm package
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
### 09. Security Scanner
|
|
223
|
+
**Platform:** Anthropic Claude
|
|
224
|
+
- SAST scanning
|
|
225
|
+
- Dependency analysis
|
|
226
|
+
- Secret detection
|
|
227
|
+
- SARIF report generation
|
|
228
|
+
- GitHub/GitLab integration
|
|
229
|
+
|
|
230
|
+
**Key Tools:**
|
|
231
|
+
- `scan_code` - Scan repositories
|
|
232
|
+
- `find_vulnerabilities` - Find vulnerabilities
|
|
233
|
+
- `generate_report` - Generate reports
|
|
234
|
+
|
|
235
|
+
**Export:** Anthropic SDK (TypeScript)
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
### 10. Meeting Assistant
|
|
240
|
+
**Platform:** LangChain + GPT-4o
|
|
241
|
+
- Meeting transcription
|
|
242
|
+
- Summary generation
|
|
243
|
+
- Action item extraction
|
|
244
|
+
- Meeting minutes
|
|
245
|
+
- Zoom/Google Meet integration
|
|
246
|
+
|
|
247
|
+
**Key Tools:**
|
|
248
|
+
- `transcribe_audio` - Transcribe audio
|
|
249
|
+
- `summarize_meeting` - Summarize
|
|
250
|
+
- `extract_action_items` - Extract actions
|
|
251
|
+
- `generate_minutes` - Create minutes
|
|
252
|
+
|
|
253
|
+
**Export:** LangChain Python/TypeScript
|
|
254
|
+
|
|
255
|
+
## Common Features
|
|
256
|
+
|
|
257
|
+
All examples include:
|
|
258
|
+
|
|
259
|
+
- **Production-ready configuration**
|
|
260
|
+
- Docker deployment
|
|
261
|
+
- Health checks
|
|
262
|
+
- Logging and metrics
|
|
263
|
+
- OpenTelemetry tracing
|
|
264
|
+
|
|
265
|
+
- **Safety and security**
|
|
266
|
+
- Input validation
|
|
267
|
+
- Output filtering
|
|
268
|
+
- PII protection
|
|
269
|
+
- Rate limiting
|
|
270
|
+
|
|
271
|
+
- **Observability**
|
|
272
|
+
- Structured JSON logging
|
|
273
|
+
- Prometheus metrics
|
|
274
|
+
- Distributed tracing
|
|
275
|
+
- Error reporting
|
|
276
|
+
|
|
277
|
+
- **OpenAPI specifications**
|
|
278
|
+
- Complete API documentation
|
|
279
|
+
- Type-safe contracts
|
|
280
|
+
- Auto-generated clients
|
|
281
|
+
|
|
282
|
+
## Validation
|
|
283
|
+
|
|
284
|
+
All OSSA manifests are validated against the v0.3.6 schema:
|
|
285
|
+
|
|
286
|
+
```bash
|
|
287
|
+
# Validate all examples
|
|
288
|
+
ossa validate-all production-ready/**/*.ossa.yaml
|
|
289
|
+
|
|
290
|
+
# Validate single example
|
|
291
|
+
ossa validate 01-customer-support-bot/agent.ossa.yaml
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
## Deployment
|
|
295
|
+
|
|
296
|
+
### Docker Compose (Development)
|
|
297
|
+
|
|
298
|
+
Each example includes a `docker-compose.yml` for local development:
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
cd 01-customer-support-bot
|
|
302
|
+
docker-compose up -d
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
### Kubernetes (Production)
|
|
306
|
+
|
|
307
|
+
Generate Kubernetes manifests from OSSA:
|
|
308
|
+
|
|
309
|
+
```bash
|
|
310
|
+
ossa export 01-customer-support-bot/agent.ossa.yaml \
|
|
311
|
+
--platform kubernetes \
|
|
312
|
+
--output k8s/
|
|
313
|
+
|
|
314
|
+
kubectl apply -f k8s/
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
### Serverless
|
|
318
|
+
|
|
319
|
+
Deploy to serverless platforms:
|
|
320
|
+
|
|
321
|
+
```bash
|
|
322
|
+
# AWS Lambda
|
|
323
|
+
ossa export agent.ossa.yaml --platform lambda --output dist/
|
|
324
|
+
|
|
325
|
+
# Vercel
|
|
326
|
+
ossa export agent.ossa.yaml --platform vercel --output dist/
|
|
327
|
+
|
|
328
|
+
# Google Cloud Functions
|
|
329
|
+
ossa export agent.ossa.yaml --platform gcp-functions --output dist/
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
## Testing
|
|
333
|
+
|
|
334
|
+
Each example includes tests:
|
|
335
|
+
|
|
336
|
+
```bash
|
|
337
|
+
# Run unit tests
|
|
338
|
+
npm test
|
|
339
|
+
|
|
340
|
+
# Run integration tests
|
|
341
|
+
npm run test:integration
|
|
342
|
+
|
|
343
|
+
# Test API endpoints
|
|
344
|
+
npm run test:api
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
## Monitoring
|
|
348
|
+
|
|
349
|
+
All agents expose metrics at `/metrics`:
|
|
350
|
+
|
|
351
|
+
```bash
|
|
352
|
+
curl http://localhost:8080/metrics
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
Common metrics:
|
|
356
|
+
- `requests_total` - Total requests handled
|
|
357
|
+
- `request_duration_seconds` - Request duration
|
|
358
|
+
- `errors_total` - Total errors
|
|
359
|
+
- `llm_tokens_used` - LLM tokens consumed
|
|
360
|
+
|
|
361
|
+
## Cost Optimization
|
|
362
|
+
|
|
363
|
+
Monitor LLM costs:
|
|
364
|
+
|
|
365
|
+
```bash
|
|
366
|
+
# View token usage
|
|
367
|
+
curl http://localhost:8080/v1/metrics/tokens
|
|
368
|
+
|
|
369
|
+
# Set budget limits (in agent.ossa.yaml)
|
|
370
|
+
observability:
|
|
371
|
+
cost_tracking:
|
|
372
|
+
enabled: true
|
|
373
|
+
budget_limit_usd: 100
|
|
374
|
+
alert_threshold: 80
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
## Architecture Patterns
|
|
378
|
+
|
|
379
|
+
### Memory Types Used
|
|
380
|
+
|
|
381
|
+
- **Conversation Buffer** (01, 10) - Recent conversation history
|
|
382
|
+
- **Entity Memory** (05) - Track entities across conversations
|
|
383
|
+
- **Summary Memory** (07) - Summarize long conversations
|
|
384
|
+
|
|
385
|
+
### Tool Patterns
|
|
386
|
+
|
|
387
|
+
- **HTTP Tools** - External API calls
|
|
388
|
+
- **Function Tools** - Custom business logic
|
|
389
|
+
- **LLM Tools** - Nested LLM calls
|
|
390
|
+
- **Vector Search** - Semantic search
|
|
391
|
+
|
|
392
|
+
### Safety Patterns
|
|
393
|
+
|
|
394
|
+
- **Input Validation** - Schema validation, sanitization
|
|
395
|
+
- **Output Filtering** - Tone check, PII redaction
|
|
396
|
+
- **Approval Workflows** - Human-in-the-loop for critical actions
|
|
397
|
+
- **Guardrails** - Rate limits, confidence thresholds
|
|
398
|
+
|
|
399
|
+
## Troubleshooting
|
|
400
|
+
|
|
401
|
+
### Common Issues
|
|
402
|
+
|
|
403
|
+
**Agent not responding:**
|
|
404
|
+
```bash
|
|
405
|
+
# Check logs
|
|
406
|
+
docker-compose logs -f
|
|
407
|
+
|
|
408
|
+
# Check health
|
|
409
|
+
curl http://localhost:8080/v1/health
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
**High latency:**
|
|
413
|
+
```bash
|
|
414
|
+
# Check metrics
|
|
415
|
+
curl http://localhost:8080/metrics | grep duration
|
|
416
|
+
|
|
417
|
+
# Enable debug logging
|
|
418
|
+
export LOG_LEVEL=debug
|
|
419
|
+
docker-compose restart
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
**Memory issues:**
|
|
423
|
+
```bash
|
|
424
|
+
# Check memory usage
|
|
425
|
+
docker stats
|
|
426
|
+
|
|
427
|
+
# Clear cache (if using Redis)
|
|
428
|
+
redis-cli FLUSHDB
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
## Contributing
|
|
432
|
+
|
|
433
|
+
To add a new example:
|
|
434
|
+
|
|
435
|
+
1. Create directory: `11-your-agent/`
|
|
436
|
+
2. Add OSSA manifest: `agent.ossa.yaml`
|
|
437
|
+
3. Add OpenAPI spec: `openapi.yaml`
|
|
438
|
+
4. Add Docker files: `Dockerfile`, `docker-compose.yml`
|
|
439
|
+
5. Add README: `README.md`
|
|
440
|
+
6. Validate: `ossa validate agent.ossa.yaml`
|
|
441
|
+
7. Test: Ensure all endpoints work
|
|
442
|
+
8. Update this README with your example
|
|
443
|
+
|
|
444
|
+
## License
|
|
445
|
+
|
|
446
|
+
Apache-2.0
|
|
447
|
+
|
|
448
|
+
## Support
|
|
449
|
+
|
|
450
|
+
- Documentation: https://openstandardagents.org
|
|
451
|
+
- Issues: https://github.com/org/repo/issues
|
|
452
|
+
- Discord: https://discord.gg/ossa
|