SPEC-008 — Deployment
Scope
Deployment cobre empacotamento, CI/CD, Kubernetes/OKE, Docker, secrets, Authentication OCI, health checks, rollback and Operations of the Components.
Components Deployáveis
| Componente |
Artefato |
| Agent Gateway |
Docker image + Kubernetes Deployment |
| Channel Gateway |
Docker image + Kubernetes Deployment |
| AI Gateway |
Docker image + Kubernetes Deployment |
| MCP Gateway |
Docker image + Kubernetes Deployment |
| Agent Backend |
Docker image + Kubernetes Deployment |
| MCP Server |
Docker image + Kubernetes Deployment |
| Evaluator API |
Docker image + Kubernetes Deployment |
| Evaluator Batch |
Kubernetes CronJob |
| Frontend Demo |
Docker image Optional |
Pipeline
Stages
Kubernetes Deployment
Service
OCI Authentication
| Ambiente |
Modo |
| Local |
config_file |
| Local with endpoint OpenAI-Compatible |
API key |
| OCI Compute |
instance_principal |
| OKE |
workload_identity or resource_principal |
| Tests |
mock |
Variáveis
Secrets
| Secret |
Uso |
LANGFUSE_PUBLIC_KEY |
Langfuse |
LANGFUSE_SECRET_KEY |
Langfuse |
OCI_GENAI_API_KEY |
OCI OpenAI-Compatible |
ADB_PASSWORD |
Autonomous Database |
MCP_BACKEND_TOKEN |
Integrações MCP |
OTEL_AUTH_TOKEN |
Exportador OTEL, if aplicável |
Health Checks
| Endpoint |
Uso |
/health |
Process vivo. |
/ready |
ready for traffic. |
/version |
Version of build. |
/debug/env |
Ambiente without segredos, when enabled. |
Rollback
Itens considerados:
- tag of the imagem;
- Version of the pacote Python;
- Version of the schemas;
- Version of the YAMLs;
- migrations;
- datasets of eval;
- contracts;
- dashboards.
Smoke Tests
Certification Stage
A pipeline executa:
- health checks;
- Contract GatewayRequest;
- Routing;
- MCP invoke;
- LLM mock/real conforme ambiente;
- guardrails;
- judges;
- Memory/checkpoint;
- relatório JSON/HTML.
Requirements No Funcionais
| Categoria |
Requirement |
| Availability |
Components deployáveis expõem /health and /ready. |
| Escalabilidade |
Apps stateless escalam horizontalmente. State conversational fica em repositórios external. |
| Security |
Segredos are fornecidos por secret store or Kubernetes Secrets. |
| Observability |
Logs, Metrics and traces usam correlation por request_id, trace_id, session_id, tenant_id and agent_id. |
| Auditabilidade |
Decisions of rota, guardrail, judge, MCP and LLM are rastreáveis. |
| Portabilidade |
Execution suportada em local, Docker Compose and Kubernetes/OKE. |
| Configuration |
Comportamento variável is controlado por .env and YAML versionado. |
Acceptance criteria
Glossário
| Termo |
Definição |
| Agent Platform |
Plataforma composta por runtime, gateways, evaluator, templates, contracts and Components operational. |
| Agent Framework |
Biblioteca/core reutilizável with contracts, guardrails, judges, Memory, telemetria, providers and utilitários. |
| Agent Runtime |
Motor of Execution of Agents based on LangGraph, State, Session, Memory, checkpoints, Routing and ciclo of vida. |
| Agent Gateway |
Aplicação deployável of Input, Routing and orquestração between backends/Agents. |
| Channel Gateway |
Aplicação or módulo of normalização of payloads of canais for GatewayRequest. |
| AI Gateway |
Aplicação of Governance, Routing and abstração of Calls LLM/embedding. |
| MCP Gateway |
Aplicação of Governance and Routing of tools MCP. |
| Evaluator |
layer of Evaluation online/offline, regressão and Certification. |
| Business Context |
Conjunto of chaves canônicas of negócio: customer_key, contract_key, interaction_key, account_key, resource_key and session_key. |