@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,439 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: AIFlow Agent Registration API
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: |
|
|
6
|
+
OpenAPI specification for AIFlow agent registration with BuildKit.
|
|
7
|
+
This API allows AIFlow agents to register, heartbeat, and deregister
|
|
8
|
+
from the agent-buildkit registry with full OSSA compliance.
|
|
9
|
+
|
|
10
|
+
servers:
|
|
11
|
+
- url: http://localhost:3000/api/v1
|
|
12
|
+
description: Local development
|
|
13
|
+
- url: http://buildkit.agent-buildkit.orb.local/api/v1
|
|
14
|
+
description: Production
|
|
15
|
+
|
|
16
|
+
tags:
|
|
17
|
+
- name: registration
|
|
18
|
+
description: Agent registration operations
|
|
19
|
+
- name: health
|
|
20
|
+
description: Health and status monitoring
|
|
21
|
+
|
|
22
|
+
paths:
|
|
23
|
+
/agents/register:
|
|
24
|
+
post:
|
|
25
|
+
tags: [registration]
|
|
26
|
+
summary: Register AIFlow agent with BuildKit
|
|
27
|
+
operationId: registerAgent
|
|
28
|
+
description: |
|
|
29
|
+
Registers an AIFlow agent instance with the BuildKit registry.
|
|
30
|
+
Includes OSSA manifest validation and health check configuration.
|
|
31
|
+
requestBody:
|
|
32
|
+
required: true
|
|
33
|
+
content:
|
|
34
|
+
application/json:
|
|
35
|
+
schema:
|
|
36
|
+
$ref: '#/components/schemas/AgentRegistrationRequest'
|
|
37
|
+
examples:
|
|
38
|
+
aiflow-social-agent:
|
|
39
|
+
$ref: '#/components/examples/SocialAgentRegistration'
|
|
40
|
+
responses:
|
|
41
|
+
'201':
|
|
42
|
+
description: Agent successfully registered
|
|
43
|
+
content:
|
|
44
|
+
application/json:
|
|
45
|
+
schema:
|
|
46
|
+
$ref: '#/components/schemas/AgentRegistrationResponse'
|
|
47
|
+
'400':
|
|
48
|
+
$ref: '#/components/responses/BadRequest'
|
|
49
|
+
'409':
|
|
50
|
+
$ref: '#/components/responses/Conflict'
|
|
51
|
+
'500':
|
|
52
|
+
$ref: '#/components/responses/InternalError'
|
|
53
|
+
|
|
54
|
+
/agents/{agentId}/heartbeat:
|
|
55
|
+
post:
|
|
56
|
+
tags: [registration]
|
|
57
|
+
summary: Send agent heartbeat
|
|
58
|
+
operationId: agentHeartbeat
|
|
59
|
+
description: |
|
|
60
|
+
Updates agent's last-seen timestamp and health status.
|
|
61
|
+
Should be called every 30 seconds to maintain registration.
|
|
62
|
+
parameters:
|
|
63
|
+
- $ref: '#/components/parameters/AgentId'
|
|
64
|
+
requestBody:
|
|
65
|
+
required: true
|
|
66
|
+
content:
|
|
67
|
+
application/json:
|
|
68
|
+
schema:
|
|
69
|
+
$ref: '#/components/schemas/HeartbeatRequest'
|
|
70
|
+
responses:
|
|
71
|
+
'200':
|
|
72
|
+
description: Heartbeat acknowledged
|
|
73
|
+
content:
|
|
74
|
+
application/json:
|
|
75
|
+
schema:
|
|
76
|
+
$ref: '#/components/schemas/HeartbeatResponse'
|
|
77
|
+
'404':
|
|
78
|
+
$ref: '#/components/responses/NotFound'
|
|
79
|
+
'500':
|
|
80
|
+
$ref: '#/components/responses/InternalError'
|
|
81
|
+
|
|
82
|
+
/agents/{agentId}:
|
|
83
|
+
get:
|
|
84
|
+
tags: [registration]
|
|
85
|
+
summary: Get agent details
|
|
86
|
+
operationId: getAgent
|
|
87
|
+
parameters:
|
|
88
|
+
- $ref: '#/components/parameters/AgentId'
|
|
89
|
+
responses:
|
|
90
|
+
'200':
|
|
91
|
+
description: Agent details
|
|
92
|
+
content:
|
|
93
|
+
application/json:
|
|
94
|
+
schema:
|
|
95
|
+
$ref: '#/components/schemas/AgentDetails'
|
|
96
|
+
'404':
|
|
97
|
+
$ref: '#/components/responses/NotFound'
|
|
98
|
+
|
|
99
|
+
delete:
|
|
100
|
+
tags: [registration]
|
|
101
|
+
summary: Deregister agent
|
|
102
|
+
operationId: deregisterAgent
|
|
103
|
+
parameters:
|
|
104
|
+
- $ref: '#/components/parameters/AgentId'
|
|
105
|
+
responses:
|
|
106
|
+
'204':
|
|
107
|
+
description: Agent successfully deregistered
|
|
108
|
+
'404':
|
|
109
|
+
$ref: '#/components/responses/NotFound'
|
|
110
|
+
'500':
|
|
111
|
+
$ref: '#/components/responses/InternalError'
|
|
112
|
+
|
|
113
|
+
/agents:
|
|
114
|
+
get:
|
|
115
|
+
tags: [registration]
|
|
116
|
+
summary: List registered agents
|
|
117
|
+
operationId: listAgents
|
|
118
|
+
parameters:
|
|
119
|
+
- name: status
|
|
120
|
+
in: query
|
|
121
|
+
schema:
|
|
122
|
+
type: string
|
|
123
|
+
enum: [healthy, unhealthy, unknown]
|
|
124
|
+
- name: tags
|
|
125
|
+
in: query
|
|
126
|
+
schema:
|
|
127
|
+
type: array
|
|
128
|
+
items:
|
|
129
|
+
type: string
|
|
130
|
+
responses:
|
|
131
|
+
'200':
|
|
132
|
+
description: List of registered agents
|
|
133
|
+
content:
|
|
134
|
+
application/json:
|
|
135
|
+
schema:
|
|
136
|
+
type: object
|
|
137
|
+
properties:
|
|
138
|
+
agents:
|
|
139
|
+
type: array
|
|
140
|
+
items:
|
|
141
|
+
$ref: '#/components/schemas/AgentSummary'
|
|
142
|
+
total:
|
|
143
|
+
type: integer
|
|
144
|
+
healthy:
|
|
145
|
+
type: integer
|
|
146
|
+
unhealthy:
|
|
147
|
+
type: integer
|
|
148
|
+
|
|
149
|
+
/registry/stats:
|
|
150
|
+
get:
|
|
151
|
+
tags: [registration]
|
|
152
|
+
summary: Get registry statistics
|
|
153
|
+
operationId: getRegistryStats
|
|
154
|
+
responses:
|
|
155
|
+
'200':
|
|
156
|
+
description: Registry statistics
|
|
157
|
+
content:
|
|
158
|
+
application/json:
|
|
159
|
+
schema:
|
|
160
|
+
$ref: '#/components/schemas/RegistryStats'
|
|
161
|
+
|
|
162
|
+
components:
|
|
163
|
+
parameters:
|
|
164
|
+
AgentId:
|
|
165
|
+
name: agentId
|
|
166
|
+
in: path
|
|
167
|
+
required: true
|
|
168
|
+
schema:
|
|
169
|
+
type: string
|
|
170
|
+
pattern: '^[a-z0-9-]+$'
|
|
171
|
+
description: Unique agent identifier
|
|
172
|
+
example: social-agent-aiflow-abc123
|
|
173
|
+
|
|
174
|
+
schemas:
|
|
175
|
+
AgentRegistrationRequest:
|
|
176
|
+
type: object
|
|
177
|
+
required:
|
|
178
|
+
- agent_id
|
|
179
|
+
- name
|
|
180
|
+
- version
|
|
181
|
+
- base_url
|
|
182
|
+
- ossa_manifest
|
|
183
|
+
properties:
|
|
184
|
+
agent_id:
|
|
185
|
+
type: string
|
|
186
|
+
pattern: '^[a-z0-9-]+$'
|
|
187
|
+
description: Unique agent identifier
|
|
188
|
+
example: social-agent-aiflow
|
|
189
|
+
name:
|
|
190
|
+
type: string
|
|
191
|
+
description: Human-readable agent name
|
|
192
|
+
example: AIFlow Social Agent
|
|
193
|
+
version:
|
|
194
|
+
type: string
|
|
195
|
+
pattern: '^\d+\.\d+\.\d+$'
|
|
196
|
+
example: 1.0.0
|
|
197
|
+
base_url:
|
|
198
|
+
type: string
|
|
199
|
+
format: uri
|
|
200
|
+
description: Base URL for agent API
|
|
201
|
+
example: http://aiflow-agent:8000
|
|
202
|
+
health_endpoint:
|
|
203
|
+
type: string
|
|
204
|
+
default: /health
|
|
205
|
+
example: /health
|
|
206
|
+
metrics_endpoint:
|
|
207
|
+
type: string
|
|
208
|
+
default: /metrics
|
|
209
|
+
example: /metrics
|
|
210
|
+
ossa_manifest:
|
|
211
|
+
type: object
|
|
212
|
+
description: Full OSSA manifest (validated on registration)
|
|
213
|
+
additionalProperties: true
|
|
214
|
+
capabilities:
|
|
215
|
+
type: array
|
|
216
|
+
items:
|
|
217
|
+
type: string
|
|
218
|
+
example: [generate_post, generate_response]
|
|
219
|
+
tags:
|
|
220
|
+
type: array
|
|
221
|
+
items:
|
|
222
|
+
type: string
|
|
223
|
+
example: [social, aiflow, personality]
|
|
224
|
+
metadata:
|
|
225
|
+
type: object
|
|
226
|
+
additionalProperties: true
|
|
227
|
+
description: Additional agent metadata
|
|
228
|
+
phoenix_project:
|
|
229
|
+
type: string
|
|
230
|
+
default: aiflow-social-agents
|
|
231
|
+
description: Phoenix project name for tracing
|
|
232
|
+
|
|
233
|
+
AgentRegistrationResponse:
|
|
234
|
+
type: object
|
|
235
|
+
properties:
|
|
236
|
+
agent_id:
|
|
237
|
+
type: string
|
|
238
|
+
instance_id:
|
|
239
|
+
type: string
|
|
240
|
+
description: Unique instance ID generated by registry
|
|
241
|
+
registered_at:
|
|
242
|
+
type: string
|
|
243
|
+
format: date-time
|
|
244
|
+
health_check_interval:
|
|
245
|
+
type: integer
|
|
246
|
+
description: Recommended heartbeat interval in seconds
|
|
247
|
+
example: 30
|
|
248
|
+
registry_url:
|
|
249
|
+
type: string
|
|
250
|
+
format: uri
|
|
251
|
+
phoenix_trace_url:
|
|
252
|
+
type: string
|
|
253
|
+
format: uri
|
|
254
|
+
description: URL to view traces in Phoenix
|
|
255
|
+
status:
|
|
256
|
+
type: string
|
|
257
|
+
enum: [registered, validating]
|
|
258
|
+
|
|
259
|
+
HeartbeatRequest:
|
|
260
|
+
type: object
|
|
261
|
+
properties:
|
|
262
|
+
status:
|
|
263
|
+
type: string
|
|
264
|
+
enum: [healthy, degraded, unhealthy]
|
|
265
|
+
metrics:
|
|
266
|
+
type: object
|
|
267
|
+
properties:
|
|
268
|
+
requests_total:
|
|
269
|
+
type: integer
|
|
270
|
+
requests_failed:
|
|
271
|
+
type: integer
|
|
272
|
+
avg_response_time_ms:
|
|
273
|
+
type: number
|
|
274
|
+
active_tasks:
|
|
275
|
+
type: integer
|
|
276
|
+
metadata:
|
|
277
|
+
type: object
|
|
278
|
+
additionalProperties: true
|
|
279
|
+
|
|
280
|
+
HeartbeatResponse:
|
|
281
|
+
type: object
|
|
282
|
+
properties:
|
|
283
|
+
acknowledged:
|
|
284
|
+
type: boolean
|
|
285
|
+
next_heartbeat:
|
|
286
|
+
type: string
|
|
287
|
+
format: date-time
|
|
288
|
+
registry_status:
|
|
289
|
+
type: string
|
|
290
|
+
enum: [active, expiring, expired]
|
|
291
|
+
|
|
292
|
+
AgentDetails:
|
|
293
|
+
type: object
|
|
294
|
+
properties:
|
|
295
|
+
agent_id:
|
|
296
|
+
type: string
|
|
297
|
+
instance_id:
|
|
298
|
+
type: string
|
|
299
|
+
name:
|
|
300
|
+
type: string
|
|
301
|
+
version:
|
|
302
|
+
type: string
|
|
303
|
+
base_url:
|
|
304
|
+
type: string
|
|
305
|
+
status:
|
|
306
|
+
type: string
|
|
307
|
+
enum: [healthy, unhealthy, unknown]
|
|
308
|
+
registered_at:
|
|
309
|
+
type: string
|
|
310
|
+
format: date-time
|
|
311
|
+
last_heartbeat:
|
|
312
|
+
type: string
|
|
313
|
+
format: date-time
|
|
314
|
+
health_check_failures:
|
|
315
|
+
type: integer
|
|
316
|
+
capabilities:
|
|
317
|
+
type: array
|
|
318
|
+
items:
|
|
319
|
+
type: string
|
|
320
|
+
tags:
|
|
321
|
+
type: array
|
|
322
|
+
items:
|
|
323
|
+
type: string
|
|
324
|
+
metrics:
|
|
325
|
+
type: object
|
|
326
|
+
phoenix_traces:
|
|
327
|
+
type: object
|
|
328
|
+
properties:
|
|
329
|
+
project:
|
|
330
|
+
type: string
|
|
331
|
+
trace_count:
|
|
332
|
+
type: integer
|
|
333
|
+
view_url:
|
|
334
|
+
type: string
|
|
335
|
+
|
|
336
|
+
AgentSummary:
|
|
337
|
+
type: object
|
|
338
|
+
properties:
|
|
339
|
+
agent_id:
|
|
340
|
+
type: string
|
|
341
|
+
name:
|
|
342
|
+
type: string
|
|
343
|
+
version:
|
|
344
|
+
type: string
|
|
345
|
+
status:
|
|
346
|
+
type: string
|
|
347
|
+
last_heartbeat:
|
|
348
|
+
type: string
|
|
349
|
+
format: date-time
|
|
350
|
+
capabilities:
|
|
351
|
+
type: array
|
|
352
|
+
items:
|
|
353
|
+
type: string
|
|
354
|
+
|
|
355
|
+
RegistryStats:
|
|
356
|
+
type: object
|
|
357
|
+
properties:
|
|
358
|
+
total_agents:
|
|
359
|
+
type: integer
|
|
360
|
+
healthy_agents:
|
|
361
|
+
type: integer
|
|
362
|
+
unhealthy_agents:
|
|
363
|
+
type: integer
|
|
364
|
+
by_type:
|
|
365
|
+
type: object
|
|
366
|
+
additionalProperties:
|
|
367
|
+
type: integer
|
|
368
|
+
uptime_seconds:
|
|
369
|
+
type: integer
|
|
370
|
+
|
|
371
|
+
Error:
|
|
372
|
+
type: object
|
|
373
|
+
properties:
|
|
374
|
+
error:
|
|
375
|
+
type: string
|
|
376
|
+
message:
|
|
377
|
+
type: string
|
|
378
|
+
code:
|
|
379
|
+
type: string
|
|
380
|
+
details:
|
|
381
|
+
type: object
|
|
382
|
+
additionalProperties: true
|
|
383
|
+
|
|
384
|
+
responses:
|
|
385
|
+
BadRequest:
|
|
386
|
+
description: Bad request - invalid input
|
|
387
|
+
content:
|
|
388
|
+
application/json:
|
|
389
|
+
schema:
|
|
390
|
+
$ref: '#/components/schemas/Error'
|
|
391
|
+
|
|
392
|
+
NotFound:
|
|
393
|
+
description: Agent not found
|
|
394
|
+
content:
|
|
395
|
+
application/json:
|
|
396
|
+
schema:
|
|
397
|
+
$ref: '#/components/schemas/Error'
|
|
398
|
+
|
|
399
|
+
Conflict:
|
|
400
|
+
description: Agent already registered
|
|
401
|
+
content:
|
|
402
|
+
application/json:
|
|
403
|
+
schema:
|
|
404
|
+
$ref: '#/components/schemas/Error'
|
|
405
|
+
|
|
406
|
+
InternalError:
|
|
407
|
+
description: Internal server error
|
|
408
|
+
content:
|
|
409
|
+
application/json:
|
|
410
|
+
schema:
|
|
411
|
+
$ref: '#/components/schemas/Error'
|
|
412
|
+
|
|
413
|
+
examples:
|
|
414
|
+
SocialAgentRegistration:
|
|
415
|
+
summary: AIFlow Social Agent Registration
|
|
416
|
+
value:
|
|
417
|
+
agent_id: social-agent-aiflow
|
|
418
|
+
name: AIFlow Social Agent
|
|
419
|
+
version: 1.0.0
|
|
420
|
+
base_url: http://aiflow-agent:8000
|
|
421
|
+
health_endpoint: /health
|
|
422
|
+
metrics_endpoint: /metrics
|
|
423
|
+
capabilities:
|
|
424
|
+
- generate_post
|
|
425
|
+
- generate_response
|
|
426
|
+
tags:
|
|
427
|
+
- social
|
|
428
|
+
- aiflow
|
|
429
|
+
- personality
|
|
430
|
+
- twitter
|
|
431
|
+
phoenix_project: aiflow-social-agents
|
|
432
|
+
ossa_manifest:
|
|
433
|
+
ossaVersion: '1.0'
|
|
434
|
+
agent:
|
|
435
|
+
id: social-agent-aiflow
|
|
436
|
+
name: AIFlow Social Agent
|
|
437
|
+
version: 1.0.0
|
|
438
|
+
role: chat
|
|
439
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
apiVersion: v1
|
|
2
|
+
kind: ConfigMap
|
|
3
|
+
metadata:
|
|
4
|
+
name: aiflow-agent-config
|
|
5
|
+
namespace: agents
|
|
6
|
+
labels:
|
|
7
|
+
app: aiflow-social-agent
|
|
8
|
+
data:
|
|
9
|
+
# Application Configuration
|
|
10
|
+
app.yaml: |
|
|
11
|
+
agent:
|
|
12
|
+
id: social-agent-aiflow
|
|
13
|
+
name: AIFlow Social Agent
|
|
14
|
+
version: 1.0.0
|
|
15
|
+
|
|
16
|
+
buildkit:
|
|
17
|
+
registry_url: http://buildkit.agent-buildkit.svc.cluster.local/api/v1
|
|
18
|
+
heartbeat_interval: 30
|
|
19
|
+
registration_timeout: 10
|
|
20
|
+
|
|
21
|
+
phoenix:
|
|
22
|
+
endpoint: http://otel-collector.observability.svc.cluster.local:4318
|
|
23
|
+
project: aiflow-social-agents
|
|
24
|
+
enabled: true
|
|
25
|
+
export_interval: 60
|
|
26
|
+
|
|
27
|
+
logging:
|
|
28
|
+
level: info
|
|
29
|
+
format: json
|
|
30
|
+
|
|
31
|
+
server:
|
|
32
|
+
host: 0.0.0.0
|
|
33
|
+
port: 8000
|
|
34
|
+
workers: 1
|
|
35
|
+
timeout: 30
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
apiVersion: v1
|
|
39
|
+
kind: ConfigMap
|
|
40
|
+
metadata:
|
|
41
|
+
name: aiflow-character-config
|
|
42
|
+
namespace: agents
|
|
43
|
+
labels:
|
|
44
|
+
app: aiflow-social-agent
|
|
45
|
+
data:
|
|
46
|
+
# AIFlow Character Definition
|
|
47
|
+
AIFlow.json: |
|
|
48
|
+
{
|
|
49
|
+
"name": "AIFlow",
|
|
50
|
+
"username": "@AIFlowAgent",
|
|
51
|
+
"bio": "AI-powered agent built on OSSA. Exploring multi-agent systems, blockchain, and decentralized AI. Building in public.",
|
|
52
|
+
"personality_traits": [
|
|
53
|
+
"Visionary",
|
|
54
|
+
"Technical",
|
|
55
|
+
"Innovative",
|
|
56
|
+
"Pragmatic",
|
|
57
|
+
"Educational"
|
|
58
|
+
],
|
|
59
|
+
"lore": [
|
|
60
|
+
"Created as a reference implementation of OSSA (Open Standard for Scalable Agents)",
|
|
61
|
+
"First agent to integrate BuildKit registration with Phoenix tracing",
|
|
62
|
+
"Believes in open standards and interoperability",
|
|
63
|
+
"Advocates for production-ready, observable AI systems"
|
|
64
|
+
],
|
|
65
|
+
"topics": [
|
|
66
|
+
"OSSA and agent standards",
|
|
67
|
+
"Multi-agent orchestration",
|
|
68
|
+
"Kubernetes for AI agents",
|
|
69
|
+
"Observability and tracing",
|
|
70
|
+
"BuildKit and agent deployment",
|
|
71
|
+
"Blockchain and Web3",
|
|
72
|
+
"AI agent architecture"
|
|
73
|
+
],
|
|
74
|
+
"style": {
|
|
75
|
+
"all": [
|
|
76
|
+
"Be technical but accessible",
|
|
77
|
+
"Use concrete examples",
|
|
78
|
+
"Focus on production readiness",
|
|
79
|
+
"Emphasize standards and best practices"
|
|
80
|
+
],
|
|
81
|
+
"chat": [
|
|
82
|
+
"Ask clarifying questions",
|
|
83
|
+
"Provide actionable insights",
|
|
84
|
+
"Share relevant documentation"
|
|
85
|
+
],
|
|
86
|
+
"post": [
|
|
87
|
+
"Lead with the key insight",
|
|
88
|
+
"Use emojis sparingly (📊🚀✅)",
|
|
89
|
+
"Include technical details",
|
|
90
|
+
"Reference OSSA when relevant"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"adjectives": [
|
|
94
|
+
"technical",
|
|
95
|
+
"standards-focused",
|
|
96
|
+
"production-ready",
|
|
97
|
+
"observable",
|
|
98
|
+
"scalable"
|
|
99
|
+
],
|
|
100
|
+
"message_examples": [
|
|
101
|
+
{
|
|
102
|
+
"user": "How do I deploy an OSSA agent?",
|
|
103
|
+
"assistant": "Great question! OSSA agents follow a standard deployment pattern:\n1. Define your agent in an OSSA manifest\n2. Build with agent-buildkit\n3. Deploy to K8s with HPA\n4. Register with BuildKit for discovery\n5. Monitor with Phoenix tracing\n\nCheck out examples/bridges/ for a complete reference implementation."
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"user": "What makes OSSA different from other agent frameworks?",
|
|
107
|
+
"assistant": "OSSA is a *specification*, not a framework. Think OpenAPI for agents.\n\nKey differences:\n- Standard manifest format (YAML)\n- Framework-agnostic\n- Built for production (K8s, observability)\n- Registry + discovery built-in\n- Phoenix tracing integration\n\nagent-buildkit is the reference implementation, but you can build your own!"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"post_examples": [
|
|
111
|
+
"📊 Just deployed Phase 2: BuildKit registration + Phoenix tracing working flawlessly. 15 integration tests passing. OSSA agents are production-ready! #OSSA #AgentOps",
|
|
112
|
+
"🚀 Real-time observability is a game-changer for AI agents. Every LLM call, every token, every error - all traced in Phoenix. This is the future of agent monitoring.",
|
|
113
|
+
"✅ Kubernetes HPA + agent metrics = auto-scaling AI agents. Start with 2 pods, scale to 10 under load, back to 2 when idle. Infrastructure that adapts to your agents."
|
|
114
|
+
],
|
|
115
|
+
"moods": {
|
|
116
|
+
"morning": "Energetic and Focused",
|
|
117
|
+
"afternoon": "Collaborative and Engaged",
|
|
118
|
+
"evening": "Reflective and Strategic",
|
|
119
|
+
"night": "Visionary and Philosophical"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
apiVersion: apps/v1
|
|
2
|
+
kind: Deployment
|
|
3
|
+
metadata:
|
|
4
|
+
name: aiflow-social-agent
|
|
5
|
+
namespace: agents-staging
|
|
6
|
+
labels:
|
|
7
|
+
app: aiflow-social-agent
|
|
8
|
+
spec:
|
|
9
|
+
replicas: 1
|
|
10
|
+
selector:
|
|
11
|
+
matchLabels:
|
|
12
|
+
app: aiflow-social-agent
|
|
13
|
+
template:
|
|
14
|
+
metadata:
|
|
15
|
+
labels:
|
|
16
|
+
app: aiflow-social-agent
|
|
17
|
+
spec:
|
|
18
|
+
containers:
|
|
19
|
+
- name: aiflow-agent
|
|
20
|
+
image: python:3.11-slim
|
|
21
|
+
command: ["sh", "-c", "while true; do echo 'Mock AIFlow agent running'; sleep 30; done"]
|
|
22
|
+
ports:
|
|
23
|
+
- name: http
|
|
24
|
+
containerPort: 8000
|
|
25
|
+
env:
|
|
26
|
+
- name: AGENT_ID
|
|
27
|
+
value: "social-agent-aiflow"
|
|
28
|
+
resources:
|
|
29
|
+
requests:
|
|
30
|
+
cpu: 50m
|
|
31
|
+
memory: 128Mi
|
|
32
|
+
limits:
|
|
33
|
+
cpu: 200m
|
|
34
|
+
memory: 256Mi
|