From 8e414e4e26d3067017c0793315569849a5e65385 Mon Sep 17 00:00:00 2001 From: "cristiano.hoshikawa" Date: Mon, 3 Aug 2026 08:57:02 -0300 Subject: [PATCH] New features: Route Stickness, Handoff, Clarification, Read-Only/Transactional, Long Term Memory --- .env | 69 +- .env.example | 14 +- .idea/workspace.xml | 163 +- ...ong_Term_Memory_Implementation_Guide_EN.md | 520 ++ .../MANUAL_AGENT_PLATFORM_GATEWAYS.md | 272 ++ ..._Desenvolvedor_AI_Agent_Framework_OCI.docx | Bin 79118 -> 74675 bytes ...ntegracao_MCP_Servers_Agent_Framework.docx | Bin 44346 -> 40617 bytes Documentacao/Manual_Long_Term_Memory_PT.md | 520 ++ Documentacao/README_MCP.md | 4 + .../README_ROUTE_STICKINESS_SEMANTICA.md | 244 + .../README_SEMANTIC_ROUTE_STICKINESS.md | 86 + Documentacao/README_TOOL_POLICIES.md | 90 + ...EASE_NOTES_MCP_PARAMETER_EXTRACTION_FIX.md | 25 + ...OTES_ROUTE_STICKINESS_TRANSACTION_SHIFT.md | 21 + Documentacao/RELEASE_NOTES_TOOL_POLICIES.md | 36 + ...ckiness_Semantica_Agent_Framework_OCI.docx | Bin 0 -> 39104 bytes Documentacao/TEST_RESULTS_ROUTE_STICKINESS.md | 35 + .../VALIDACAO_TRANSACIONAL_BACKEND_MCP.md | 27 + README.md | 288 +- README_en.md | 288 +- .../templates/agent_template_backend/.env | 207 + .../agent_template_backend/Dockerfile | 6 + .../agent_template_backend/README.md | 4213 +++++++++++++++++ .../README_ENTERPRISE_TEMPLATE.md | 54 + .../agent_template_backend/app/__init__.py | 0 .../app/__pycache__/__init__.cpython-313.pyc | Bin 0 -> 185 bytes .../app/__pycache__/main.cpython-313.pyc | Bin 0 -> 32264 bytes ...mcp_gateway_client_factory.cpython-313.pyc | Bin 0 -> 993 bytes .../app/__pycache__/state.cpython-313.pyc | Bin 0 -> 2493 bytes .../app/agents/README.md | 15 + .../__pycache__/billing_agent.cpython-313.pyc | Bin 0 -> 5256 bytes .../__pycache__/orders_agent.cpython-313.pyc | Bin 0 -> 5164 bytes .../__pycache__/product_agent.cpython-313.pyc | Bin 0 -> 5280 bytes .../__pycache__/prompting.cpython-313.pyc | Bin 0 -> 1182 bytes .../__pycache__/runtime.cpython-313.pyc | Bin 0 -> 384 bytes .../__pycache__/support_agent.cpython-313.pyc | Bin 0 -> 5176 bytes .../app/agents/billing_agent.py | 129 + .../app/agents/orders_agent.py | 129 + .../app/agents/product_agent.py | 129 + .../app/agents/prompting.py | 15 + .../app/agents/runtime.py | 7 + .../app/agents/support_agent.py | 129 + .../app/examples/__init__.py | 1 + .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 216 bytes .../__pycache__/grl_examples.cpython-313.pyc | Bin 0 -> 1798 bytes .../__pycache__/ic_examples.cpython-313.pyc | Bin 0 -> 1754 bytes .../__pycache__/mcp_examples.cpython-313.pyc | Bin 0 -> 1896 bytes .../__pycache__/noc_examples.cpython-313.pyc | Bin 0 -> 1843 bytes .../observer_examples.cpython-313.pyc | Bin 0 -> 1352 bytes .../app/examples/grl_examples.py | 37 + .../app/examples/ic_examples.py | 34 + .../app/examples/mcp_examples.py | 43 + .../app/examples/noc_examples.py | 37 + .../app/examples/observer_examples.py | 28 + .../agent_template_backend/app/main.py | 552 +++ .../app/mcp_gateway_client_factory.py | 16 + .../app/observability/__init__.py | 0 .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 199 bytes .../telemetry_observer.cpython-313.pyc | Bin 0 -> 4810 bytes .../app/observability/telemetry_observer.py | 84 + .../agent_template_backend/app/state.py | 53 + .../__pycache__/agent_graph.cpython-313.pyc | Bin 0 -> 54189 bytes .../app/workflows/agent_graph.py | 887 ++++ .../agent_template_backend/config/agents.yaml | 33 + .../agents/retail_orders/guardrails.yaml | 8 + .../config/agents/retail_orders/judges.yaml | 7 + .../agents/retail_orders/prompt_policy.yaml | 6 + .../agents/telecom_contas/guardrails.yaml | 8 + .../config/agents/telecom_contas/judges.yaml | 20 + .../agents/telecom_contas/prompt_policy.yaml | 6 + .../config/guardrails.yaml | 12 + .../config/identity.yaml | 55 + .../agent_template_backend/config/judges.yaml | 18 + .../config/mcp_parameter_mapping.yaml | 92 + .../config/mcp_servers.docker.yaml | 12 + .../config/mcp_servers.yaml | 30 + .../config/prompt_policy.yaml | 19 + .../config/routing.yaml | 128 + .../config/tool_policies.yaml | 21 + .../agent_template_backend/config/tools.yaml | 101 + .../data/agent_framework.db | Bin 0 -> 32477184 bytes ...AO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md | 95 + .../docs/COMO_USAR_IC_NOC_GRL_NO_TEMPLATE.md | 45 + .../CONVERSATION_SUMMARY_MEMORY_BACKEND.md | 48 + .../docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md | 14 + .../docs/FRAMEWORK_CHANNEL_INPUT_MODE.md | 84 + .../docs/GUARDRAILS_PARALLELOS_OBSERVER_IC.md | 127 + ...EMENTACAO_IC_NOC_GRL_SEM_REMOVER_LOGICA.md | 42 + .../LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md | 5 + .../docs/TESTE_LONG_TERM_MEMORY.md | 82 + .../docs/VALIDACAO_BACKEND_IC_NOC_GRL.md | 62 + .../docs/VALIDACAO_TEMPLATE_ENTERPRISE.txt | 3 + .../agent_template_backend/llm_profiles.yaml | 80 + .../agent_template_backend/requirements.txt | 23 + .../scripts/test_long_term_memory.py | 29 + .../templates/agent_template_backend/.env | 195 + .../agent_template_backend/Dockerfile | 6 + .../agent_template_backend/README.md | 4213 +++++++++++++++++ .../README_ENTERPRISE_TEMPLATE.md | 54 + .../agent_template_backend/app/__init__.py | 0 .../app/agents/README.md | 15 + .../app/agents/billing_agent.py | 129 + .../app/agents/orders_agent.py | 129 + .../app/agents/product_agent.py | 129 + .../app/agents/prompting.py | 15 + .../app/agents/runtime.py | 7 + .../app/agents/support_agent.py | 129 + .../app/examples/__init__.py | 1 + .../app/examples/grl_examples.py | 37 + .../app/examples/ic_examples.py | 34 + .../app/examples/mcp_examples.py | 43 + .../app/examples/noc_examples.py | 37 + .../app/examples/observer_examples.py | 28 + .../agent_template_backend/app/main.py | 532 +++ .../app/mcp_gateway_client_factory.py | 16 + .../app/observability/__init__.py | 0 .../app/observability/telemetry_observer.py | 84 + .../agent_template_backend/app/state.py | 51 + .../app/workflows/agent_graph.py | 816 ++++ .../agent_template_backend/config/agents.yaml | 33 + .../agents/retail_orders/guardrails.yaml | 8 + .../config/agents/retail_orders/judges.yaml | 7 + .../agents/retail_orders/prompt_policy.yaml | 6 + .../agents/telecom_contas/guardrails.yaml | 8 + .../config/agents/telecom_contas/judges.yaml | 20 + .../agents/telecom_contas/prompt_policy.yaml | 6 + .../config/guardrails.yaml | 12 + .../config/identity.yaml | 55 + .../agent_template_backend/config/judges.yaml | 18 + .../config/mcp_parameter_mapping.yaml | 92 + .../config/mcp_servers.docker.yaml | 12 + .../config/mcp_servers.yaml | 30 + .../config/prompt_policy.yaml | 19 + .../config/routing.yaml | 128 + .../config/tool_policies.yaml | 21 + .../agent_template_backend/config/tools.yaml | 101 + ...AO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md | 95 + .../docs/COMO_USAR_IC_NOC_GRL_NO_TEMPLATE.md | 45 + .../CONVERSATION_SUMMARY_MEMORY_BACKEND.md | 48 + .../docs/FRAMEWORK_CHANNEL_INPUT_MODE.md | 84 + .../docs/GUARDRAILS_PARALLELOS_OBSERVER_IC.md | 127 + ...EMENTACAO_IC_NOC_GRL_SEM_REMOVER_LOGICA.md | 42 + .../LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md | 5 + .../docs/VALIDACAO_BACKEND_IC_NOC_GRL.md | 62 + .../docs/VALIDACAO_TEMPLATE_ENTERPRISE.txt | 3 + .../agent_template_backend/llm_profiles.yaml | 74 + .../agent_template_backend/requirements.txt | 23 + .../scripts/test_long_term_memory.py | 29 + .../agent_template_backend_day_zero/.env | 192 + .../Dockerfile | 6 + .../README_DAY_ZERO.md | 89 + .../app/__init__.py | 0 .../app/agents/README_DESENVOLVEDOR.md | 12 + .../app/agents/billing_agent.py | 129 + .../app/agents/orders_agent.py | 129 + .../app/agents/product_agent.py | 129 + .../app/agents/prompting.py | 15 + .../app/agents/runtime.py | 7 + .../app/agents/support_agent.py | 129 + .../app/main.py | 532 +++ .../app/mcp_gateway_client_factory.py | 16 + .../app/observability/__init__.py | 0 .../app/observability/telemetry_observer.py | 84 + .../app/state.py | 51 + .../app/workflows/agent_graph.py | 816 ++++ .../config/agents.yaml | 38 + .../agents/retail_orders/guardrails.yaml | 8 + .../config/agents/retail_orders/judges.yaml | 7 + .../agents/retail_orders/prompt_policy.yaml | 6 + .../agents/telecom_contas/guardrails.yaml | 8 + .../config/agents/telecom_contas/judges.yaml | 20 + .../agents/telecom_contas/prompt_policy.yaml | 6 + .../config/guardrails.yaml | 8 + .../config/identity.yaml | 55 + .../config/judges.yaml | 18 + .../config/mcp_parameter_mapping.yaml | 92 + .../config/mcp_servers.docker.yaml | 12 + .../config/mcp_servers.yaml | 30 + .../config/prompt_policy.yaml | 19 + .../config/routing.yaml | 128 + .../config/tool_policies.yaml | 21 + .../config/tools.yaml | 101 + ...AO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md | 95 + .../CONVERSATION_SUMMARY_MEMORY_BACKEND.md | 48 + .../docs/DAY_ZERO_COMO_USAR.md | 60 + .../docs/FRAMEWORK_CHANNEL_INPUT_MODE.md | 84 + .../LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md | 5 + .../requirements.txt | 23 + .../scripts/test_long_term_memory.py | 29 + .../template_retail_orders_support/README.md | 15 + .../example_usage.py | 19 + .../orders_agent.py | 17 + .../routing.yaml | 50 + .../support_agent.py | 17 + .../README.md | 15 + .../example_usage.py | 21 + .../routing.yaml | 53 + .../ROUTE_STICKINESS_HANDOFF_TRANSACOES_PT.md | 290 ++ ...OUTE_STICKINESS_HANDOFF_TRANSACTIONS_EN.md | 289 ++ .../templates/agent_template_backend/.env | 207 + .../agent_template_backend/Dockerfile | 6 + .../agent_template_backend/README.md | 4213 +++++++++++++++++ .../README_ENTERPRISE_TEMPLATE.md | 54 + .../agent_template_backend/app/__init__.py | 0 .../app/agents/README.md | 15 + .../app/agents/billing_agent.py | 129 + .../app/agents/orders_agent.py | 129 + .../app/agents/product_agent.py | 129 + .../app/agents/prompting.py | 15 + .../app/agents/runtime.py | 7 + .../app/agents/support_agent.py | 129 + .../app/examples/__init__.py | 1 + .../app/examples/grl_examples.py | 37 + .../app/examples/ic_examples.py | 34 + .../app/examples/mcp_examples.py | 43 + .../app/examples/noc_examples.py | 37 + .../app/examples/observer_examples.py | 28 + .../agent_template_backend/app/main.py | 532 +++ .../app/mcp_gateway_client_factory.py | 16 + .../app/observability/__init__.py | 0 .../app/observability/telemetry_observer.py | 84 + .../agent_template_backend/app/state.py | 51 + .../app/workflows/agent_graph.py | 816 ++++ .../agent_template_backend/config/agents.yaml | 33 + .../agents/retail_orders/guardrails.yaml | 8 + .../config/agents/retail_orders/judges.yaml | 7 + .../agents/retail_orders/prompt_policy.yaml | 6 + .../agents/telecom_contas/guardrails.yaml | 8 + .../config/agents/telecom_contas/judges.yaml | 20 + .../agents/telecom_contas/prompt_policy.yaml | 6 + .../config/guardrails.yaml | 12 + .../config/identity.yaml | 55 + .../agent_template_backend/config/judges.yaml | 18 + .../config/mcp_parameter_mapping.yaml | 92 + .../config/mcp_servers.docker.yaml | 12 + .../config/mcp_servers.yaml | 30 + .../config/prompt_policy.yaml | 19 + .../config/routing.yaml | 128 + .../config/tool_policies.yaml | 21 + .../agent_template_backend/config/tools.yaml | 101 + ...AO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md | 95 + .../docs/COMO_USAR_IC_NOC_GRL_NO_TEMPLATE.md | 45 + .../CONVERSATION_SUMMARY_MEMORY_BACKEND.md | 48 + .../docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md | 14 + .../docs/FRAMEWORK_CHANNEL_INPUT_MODE.md | 84 + .../docs/GUARDRAILS_PARALLELOS_OBSERVER_IC.md | 127 + ...EMENTACAO_IC_NOC_GRL_SEM_REMOVER_LOGICA.md | 42 + .../LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md | 5 + .../docs/VALIDACAO_BACKEND_IC_NOC_GRL.md | 62 + .../docs/VALIDACAO_TEMPLATE_ENTERPRISE.txt | 3 + .../agent_template_backend/llm_profiles.yaml | 80 + .../agent_template_backend/requirements.txt | 23 + .../scripts/test_long_term_memory.py | 29 + .../agent_template_backend_day_zero/.env | 202 + .../Dockerfile | 6 + .../README_DAY_ZERO.md | 89 + .../app/__init__.py | 0 .../app/agents/README_DESENVOLVEDOR.md | 12 + .../app/agents/billing_agent.py | 129 + .../app/agents/orders_agent.py | 129 + .../app/agents/product_agent.py | 129 + .../app/agents/prompting.py | 15 + .../app/agents/runtime.py | 7 + .../app/agents/support_agent.py | 129 + .../app/main.py | 532 +++ .../app/mcp_gateway_client_factory.py | 16 + .../app/observability/__init__.py | 0 .../app/observability/telemetry_observer.py | 84 + .../app/state.py | 51 + .../app/workflows/agent_graph.py | 816 ++++ .../config/agents.yaml | 38 + .../agents/retail_orders/guardrails.yaml | 8 + .../config/agents/retail_orders/judges.yaml | 7 + .../agents/retail_orders/prompt_policy.yaml | 6 + .../agents/telecom_contas/guardrails.yaml | 8 + .../config/agents/telecom_contas/judges.yaml | 20 + .../agents/telecom_contas/prompt_policy.yaml | 6 + .../config/guardrails.yaml | 8 + .../config/identity.yaml | 55 + .../config/judges.yaml | 18 + .../config/mcp_parameter_mapping.yaml | 92 + .../config/mcp_servers.docker.yaml | 12 + .../config/mcp_servers.yaml | 30 + .../config/prompt_policy.yaml | 19 + .../config/routing.yaml | 128 + .../config/tool_policies.yaml | 21 + .../config/tools.yaml | 101 + ...AO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md | 95 + .../CONVERSATION_SUMMARY_MEMORY_BACKEND.md | 48 + .../docs/DAY_ZERO_COMO_USAR.md | 60 + .../docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md | 13 + .../docs/FRAMEWORK_CHANNEL_INPUT_MODE.md | 84 + .../LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md | 5 + .../llm_profiles.yaml | 80 + .../requirements.txt | 23 + .../scripts/test_long_term_memory.py | 29 + .../template_retail_orders_support/README.md | 15 + .../example_usage.py | 19 + .../orders_agent.py | 17 + .../routing.yaml | 50 + .../support_agent.py | 17 + .../README.md | 15 + .../example_usage.py | 21 + .../routing.yaml | 53 + deploy/oke/.dockerignore | 10 + deploy/oke/README_OKE_DEPLOYMENT.md | 476 ++ .../oke/dockerfiles/Dockerfile.agent-frontend | 4 + .../oke/dockerfiles/Dockerfile.agent-gateway | 23 + .../Dockerfile.agent-template-backend | 23 + .../dockerfiles/Dockerfile.channel-gateway | 21 + deploy/oke/dockerfiles/Dockerfile.mcp-gateway | 22 + deploy/oke/examples/oke.env.example | 25 + deploy/oke/k8s/base/00-namespace.yaml | 4 + deploy/oke/k8s/base/01-configmap.yaml | 91 + deploy/oke/k8s/base/02-secret-template.yaml | 17 + .../k8s/base/03-agent-template-backend.yaml | 72 + deploy/oke/k8s/base/04-agent-gateway.yaml | 57 + deploy/oke/k8s/base/05-channel-gateway.yaml | 49 + deploy/oke/k8s/base/06-mcp-gateway.yaml | 62 + deploy/oke/k8s/base/07-frontend.yaml | 47 + deploy/oke/k8s/base/kustomization.yaml | 11 + deploy/oke/nginx/default.conf | 16 + deploy/oke/scripts/build_images.sh | 35 + deploy/oke/scripts/create_runtime_secret.sh | 29 + deploy/oke/scripts/deploy_oke.sh | 75 + deploy/oke/scripts/push_images.sh | 23 + deploy/oke/scripts/status.sh | 6 + ...README_AGENT_FRAMEWORK_PACKAGE_REGISTRY.md | 430 ++ .../scripts/build_agent_framework.sh | 14 + .../scripts/create_github_release_package.sh | 28 + .../scripts/install_from_azure_artifacts.sh | 12 + .../scripts/publish_azure_artifacts_local.sh | 33 + docs/JUDGES_TRANSACTIONAL_SAMPLING_FIX.md | 33 + ...ERFORMANCE_OPTIMIZATIONS_MCP_JUDGES_RAG.md | 14 + libs/agent_framework/config/llm_profiles.yaml | 11 + .../config/mcp_parameter_mapping.yaml | 45 +- libs/agent_framework/config/tools.yaml | 4 +- libs/agent_framework/docs/MCP_CACHE.md | 3 + .../docs/MCP_PARAMETER_EXTRACTION.md | 36 + .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 253 bytes .../gateway_policy_context.cpython-313.pyc | Bin 0 -> 1433 bytes .../__pycache__/observer.cpython-313.pyc | Bin 0 -> 13256 bytes ...untime_mcp_gateway_adapter.cpython-313.pyc | Bin 0 -> 2130 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 489 bytes .../composite_publisher.cpython-313.pyc | Bin 0 -> 2444 bytes .../__pycache__/event_builder.cpython-313.pyc | Bin 0 -> 1202 bytes .../__pycache__/factory.cpython-313.pyc | Bin 0 -> 3664 bytes .../__pycache__/publisher.cpython-313.pyc | Bin 0 -> 1814 bytes .../tim_payload_mapper.cpython-313.pyc | Bin 0 -> 8393 bytes .../__pycache__/tim_sequence.cpython-313.pyc | Bin 0 -> 15277 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 456 bytes .../__pycache__/kafka.cpython-313.pyc | Bin 0 -> 1754 bytes .../__pycache__/langfuse.cpython-313.pyc | Bin 0 -> 22279 bytes .../__pycache__/oci_streaming.cpython-313.pyc | Bin 0 -> 1511 bytes .../__pycache__/pubsub.cpython-313.pyc | Bin 0 -> 7382 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 345 bytes .../usage_repository.cpython-313.pyc | Bin 0 -> 15628 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 155 bytes .../cache/__pycache__/cache.cpython-313.pyc | Bin 0 -> 16465 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 158 bytes .../__pycache__/adapters.cpython-313.pyc | Bin 0 -> 4114 bytes .../channels/__pycache__/base.cpython-313.pyc | Bin 0 -> 1738 bytes .../__pycache__/gateway.cpython-313.pyc | Bin 0 -> 5713 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 865 bytes .../checkpoint_repository.cpython-313.pyc | Bin 0 -> 27072 bytes .../langgraph_saver.cpython-313.pyc | Bin 0 -> 11186 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 182 bytes .../agent_registry.cpython-313.pyc | Bin 0 -> 6889 bytes .../__pycache__/settings.cpython-313.pyc | Bin 0 -> 12092 bytes .../src/agent_framework/config/settings.py | 12 + .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 156 bytes .../__pycache__/oci_streaming.cpython-313.pyc | Bin 0 -> 3260 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 274 bytes .../mcp_gateway_client.cpython-313.pyc | Bin 0 -> 3300 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 662 bytes .../__pycache__/client.cpython-313.pyc | Bin 0 -> 4552 bytes .../__pycache__/config.cpython-313.pyc | Bin 0 -> 4987 bytes .../__pycache__/models.cpython-313.pyc | Bin 0 -> 4480 bytes .../__pycache__/router.cpython-313.pyc | Bin 0 -> 14761 bytes .../__pycache__/session_store.cpython-313.pyc | Bin 0 -> 3471 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 1443 bytes .../__pycache__/base.cpython-313.pyc | Bin 0 -> 1317 bytes .../__pycache__/config_loader.cpython-313.pyc | Bin 0 -> 6891 bytes .../__pycache__/custom_rails.cpython-313.pyc | Bin 0 -> 4338 bytes .../__pycache__/executor.cpython-313.pyc | Bin 0 -> 295 bytes .../framework_llm_client.cpython-313.pyc | Bin 0 -> 16000 bytes .../langgraph_adapters.cpython-313.pyc | Bin 0 -> 3763 bytes .../__pycache__/llm_rails.cpython-313.pyc | Bin 0 -> 6584 bytes .../output_supervisor.cpython-313.pyc | Bin 0 -> 16045 bytes .../parallel_executor.cpython-313.pyc | Bin 0 -> 19853 bytes .../__pycache__/pipeline.cpython-313.pyc | Bin 0 -> 10831 bytes .../__pycache__/rail_action.cpython-313.pyc | Bin 0 -> 596 bytes .../__pycache__/rail_decision.cpython-313.pyc | Bin 0 -> 1547 bytes .../__pycache__/rail_result.cpython-313.pyc | Bin 0 -> 946 bytes .../__pycache__/rails.cpython-313.pyc | Bin 0 -> 29583 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 2927 bytes .../__pycache__/_compat.cpython-313.pyc | Bin 0 -> 2387 bytes .../__pycache__/config.cpython-313.pyc | Bin 0 -> 7579 bytes .../contestation_validation.cpython-313.pyc | Bin 0 -> 21084 bytes .../__pycache__/contracts.cpython-313.pyc | Bin 0 -> 6831 bytes .../__pycache__/input_size.cpython-313.pyc | Bin 0 -> 3488 bytes .../__pycache__/llm_adapter.cpython-313.pyc | Bin 0 -> 3723 bytes .../__pycache__/llm_client.cpython-313.pyc | Bin 0 -> 12872 bytes .../__pycache__/llm_rails.cpython-313.pyc | Bin 0 -> 8823 bytes .../output_sanitization.cpython-313.pyc | Bin 0 -> 12202 bytes .../__pycache__/pipeline.cpython-313.pyc | Bin 0 -> 12593 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 415 bytes .../__pycache__/_context.cpython-313.pyc | Bin 0 -> 6803 bytes .../ausencia_oferta_proativa.cpython-313.pyc | Bin 0 -> 10682 bytes .../__pycache__/dlex_in.cpython-313.pyc | Bin 0 -> 1246 bytes .../__pycache__/dlex_out.cpython-313.pyc | Bin 0 -> 1533 bytes .../__pycache__/fallback.cpython-313.pyc | Bin 0 -> 14612 bytes .../__pycache__/out_of_scope.cpython-313.pyc | Bin 0 -> 17572 bytes .../prompts/__pycache__/pinj.cpython-313.pyc | Bin 0 -> 9764 bytes .../__pycache__/ragsec.cpython-313.pyc | Bin 0 -> 1047 bytes .../__pycache__/revprec.cpython-313.pyc | Bin 0 -> 10328 bytes .../__pycache__/safe_out.cpython-313.pyc | Bin 0 -> 984 bytes .../prompts/__pycache__/tox.cpython-313.pyc | Bin 0 -> 571 bytes .../toxicidade_output.cpython-313.pyc | Bin 0 -> 865 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 581 bytes .../supervision_template.cpython-313.pyc | Bin 0 -> 2160 bytes .../__pycache__/tts_rules.cpython-313.pyc | Bin 0 -> 1115 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 1609 bytes .../rails/__pycache__/alcada.cpython-313.pyc | Bin 0 -> 4932 bytes .../rails/__pycache__/anatel.cpython-313.pyc | Bin 0 -> 9259 bytes .../__pycache__/confirmation.cpython-313.pyc | Bin 0 -> 10949 bytes .../rails/__pycache__/dlex_in.cpython-313.pyc | Bin 0 -> 3221 bytes .../__pycache__/dlex_out.cpython-313.pyc | Bin 0 -> 3273 bytes .../rails/__pycache__/ragsec.cpython-313.pyc | Bin 0 -> 5355 bytes .../rails/__pycache__/revprec.cpython-313.pyc | Bin 0 -> 5363 bytes .../rails/__pycache__/tox.cpython-313.pyc | Bin 0 -> 8178 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 5685 bytes .../correspondencia_item.cpython-313.pyc | Bin 0 -> 9012 bytes .../__pycache__/groundedness.cpython-313.pyc | Bin 0 -> 8512 bytes .../intencao_cancelar.cpython-313.pyc | Bin 0 -> 9170 bytes .../quantidade_coerente.cpython-313.pyc | Bin 0 -> 8954 bytes .../servico_correto.cpython-313.pyc | Bin 0 -> 8662 bytes .../verbalizacao_prematura.cpython-313.pyc | Bin 0 -> 8497 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 479 bytes .../rules/__pycache__/alcada.cpython-313.pyc | Bin 0 -> 1823 bytes .../__pycache__/oos_blocklist.cpython-313.pyc | Bin 0 -> 3002 bytes .../__pycache__/pinj_patterns.cpython-313.pyc | Bin 0 -> 3664 bytes .../__pycache__/tox_blocklist.cpython-313.pyc | Bin 0 -> 1448 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 376 bytes .../__pycache__/mcp_mapper.cpython-313.pyc | Bin 0 -> 4660 bytes .../__pycache__/models.cpython-313.pyc | Bin 0 -> 3112 bytes .../__pycache__/resolver.cpython-313.pyc | Bin 0 -> 4681 bytes .../agent_framework/identity/mcp_mapper.py | 17 +- .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 560 bytes .../judges/__pycache__/judge.cpython-313.pyc | Bin 0 -> 36374 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 167 bytes .../__pycache__/_compat.cpython-313.pyc | Bin 0 -> 2207 bytes .../__pycache__/llm_client.cpython-313.pyc | Bin 0 -> 6044 bytes .../__pycache__/models.cpython-313.pyc | Bin 0 -> 880 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 175 bytes .../prompts/__pycache__/aluc.cpython-313.pyc | Bin 0 -> 6390 bytes .../prompts/__pycache__/csi.cpython-313.pyc | Bin 0 -> 1259 bytes .../__pycache__/fallback.cpython-313.pyc | Bin 0 -> 7946 bytes .../prompts/__pycache__/rqlt.cpython-313.pyc | Bin 0 -> 1097 bytes .../prompts/__pycache__/vctn.cpython-313.pyc | Bin 0 -> 568 bytes .../src/agent_framework/judges/judge.py | 65 +- .../llm/__pycache__/__init__.cpython-313.pyc | Bin 0 -> 153 bytes .../llm/__pycache__/base.cpython-313.pyc | Bin 0 -> 761 bytes .../profile_resolver.cpython-313.pyc | Bin 0 -> 9221 bytes .../llm/__pycache__/providers.cpython-313.pyc | Bin 0 -> 33718 bytes .../src/agent_framework/mcp/__init__.py | 1 + .../mcp/__pycache__/__init__.cpython-313.pyc | Bin 0 -> 441 bytes .../mcp/__pycache__/client.cpython-313.pyc | Bin 0 -> 18394 bytes .../mcp/__pycache__/models.cpython-313.pyc | Bin 0 -> 2050 bytes .../mcp/__pycache__/registry.cpython-313.pyc | Bin 0 -> 4664 bytes .../__pycache__/tool_policy.cpython-313.pyc | Bin 0 -> 3860 bytes .../__pycache__/tool_router.cpython-313.pyc | Bin 0 -> 13784 bytes .../src/agent_framework/mcp/models.py | 1 + .../src/agent_framework/mcp/registry.py | 1 + .../src/agent_framework/mcp/tool_policy.py | 57 + .../src/agent_framework/mcp/tool_router.py | 67 + .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 1103 bytes .../long_term_extractor.cpython-313.pyc | Bin 0 -> 2455 bytes .../long_term_memory.cpython-313.pyc | Bin 0 -> 6781 bytes .../long_term_models.cpython-313.pyc | Bin 0 -> 1690 bytes .../long_term_store.cpython-313.pyc | Bin 0 -> 29128 bytes .../message_history.cpython-313.pyc | Bin 0 -> 8327 bytes .../summary_memory.cpython-313.pyc | Bin 0 -> 12478 bytes .../__pycache__/summary_store.cpython-313.pyc | Bin 0 -> 9488 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 182 bytes .../__pycache__/identity.cpython-313.pyc | Bin 0 -> 3407 bytes .../__pycache__/session.cpython-313.pyc | Bin 0 -> 2676 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 1336 bytes .../__pycache__/context.cpython-313.pyc | Bin 0 -> 7328 bytes .../control_events.cpython-313.pyc | Bin 0 -> 2016 bytes .../__pycache__/decorators.cpython-313.pyc | Bin 0 -> 1727 bytes .../__pycache__/event_bus.cpython-313.pyc | Bin 0 -> 3574 bytes .../__pycache__/grl_events.cpython-313.pyc | Bin 0 -> 437 bytes .../guardrail_events.cpython-313.pyc | Bin 0 -> 1992 bytes .../__pycache__/ic_events.cpython-313.pyc | Bin 0 -> 567 bytes .../informational_events.cpython-313.pyc | Bin 0 -> 407 bytes .../__pycache__/judge_events.cpython-313.pyc | Bin 0 -> 1352 bytes .../langfuse_enterprise.cpython-313.pyc | Bin 0 -> 3716 bytes .../langgraph_telemetry.cpython-313.pyc | Bin 0 -> 4905 bytes .../__pycache__/llm_advisors.cpython-313.pyc | Bin 0 -> 2879 bytes .../__pycache__/noc_contract.cpython-313.pyc | Bin 0 -> 5016 bytes .../__pycache__/noc_events.cpython-313.pyc | Bin 0 -> 548 bytes .../__pycache__/noc_otel.cpython-313.pyc | Bin 0 -> 6263 bytes .../__pycache__/observer.cpython-313.pyc | Bin 0 -> 5570 bytes .../__pycache__/otel.cpython-313.pyc | Bin 0 -> 3353 bytes .../streaming_events.cpython-313.pyc | Bin 0 -> 1776 bytes .../streaming_exporter.cpython-313.pyc | Bin 0 -> 1295 bytes .../__pycache__/telemetry.cpython-313.pyc | Bin 0 -> 50530 bytes .../tim_backoffice_contract.cpython-313.pyc | Bin 0 -> 1736 bytes .../__pycache__/token_cost.cpython-313.pyc | Bin 0 -> 8538 bytes .../workflow_events.cpython-313.pyc | Bin 0 -> 3271 bytes .../oci/__pycache__/__init__.cpython-313.pyc | Bin 0 -> 153 bytes .../oci/__pycache__/auth.cpython-313.pyc | Bin 0 -> 3185 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 187 bytes .../__pycache__/mongodb_store.cpython-313.pyc | Bin 0 -> 7621 bytes .../__pycache__/oracle_store.cpython-313.pyc | Bin 0 -> 44897 bytes .../__pycache__/sqlite_store.cpython-313.pyc | Bin 0 -> 14986 bytes .../rag/__pycache__/__init__.cpython-313.pyc | Bin 0 -> 651 bytes .../embedding_provider.cpython-313.pyc | Bin 0 -> 6468 bytes .../__pycache__/graph_store.cpython-313.pyc | Bin 0 -> 5469 bytes .../rag/__pycache__/ingest.cpython-313.pyc | Bin 0 -> 12522 bytes .../__pycache__/rag_service.cpython-313.pyc | Bin 0 -> 9991 bytes .../__pycache__/vector_store.cpython-313.pyc | Bin 0 -> 18597 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 162 bytes .../session_repository.cpython-313.pyc | Bin 0 -> 8531 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 393 bytes .../__pycache__/config_loader.cpython-313.pyc | Bin 0 -> 2264 bytes .../__pycache__/continuity.cpython-313.pyc | Bin 0 -> 13206 bytes .../enterprise_router.cpython-313.pyc | Bin 0 -> 14250 bytes .../__pycache__/models.cpython-313.pyc | Bin 0 -> 2414 bytes .../src/agent_framework/routing/continuity.py | 268 ++ .../routing/enterprise_router.py | 53 +- .../src/agent_framework/routing/models.py | 2 +- .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 316 bytes .../__pycache__/agent_runtime.cpython-313.pyc | Bin 0 -> 82290 bytes .../agent_framework/runtime/agent_runtime.py | 586 ++- .../sse/__pycache__/__init__.cpython-313.pyc | Bin 0 -> 153 bytes .../sse/__pycache__/events.cpython-313.pyc | Bin 0 -> 9529 bytes .../__pycache__/__init__.cpython-313.pyc | Bin 0 -> 160 bytes .../router_supervisor.cpython-313.pyc | Bin 0 -> 353 bytes .../__pycache__/supervisor.cpython-313.pyc | Bin 0 -> 4630 bytes mcp/servers/retail_mcp_server/main.py | 2 +- mcp/servers/retail_mcp_server/main_fastmcp.py | 10 +- specs/SPEC-004-MCP-Gateway.md | 4 + templates/agent_template_backend/.env | 79 +- templates/agent_template_backend/README.md | 4 + .../app/__pycache__/__init__.cpython-313.pyc | Bin 177 -> 185 bytes .../app/__pycache__/main.cpython-313.pyc | Bin 31074 -> 32264 bytes ...mcp_gateway_client_factory.cpython-313.pyc | Bin 1025 -> 993 bytes .../app/__pycache__/state.cpython-313.pyc | Bin 1909 -> 2493 bytes .../__pycache__/billing_agent.cpython-313.pyc | Bin 4012 -> 5256 bytes .../__pycache__/orders_agent.cpython-313.pyc | Bin 3920 -> 5164 bytes .../__pycache__/product_agent.cpython-313.pyc | Bin 4036 -> 5280 bytes .../__pycache__/prompting.cpython-313.pyc | Bin 1174 -> 1182 bytes .../__pycache__/runtime.cpython-313.pyc | Bin 376 -> 384 bytes .../__pycache__/support_agent.cpython-313.pyc | Bin 3932 -> 5176 bytes .../app/agents/billing_agent.py | 31 + .../app/agents/orders_agent.py | 31 + .../app/agents/product_agent.py | 31 + .../app/agents/support_agent.py | 31 + .../__pycache__/__init__.cpython-313.pyc | Bin 248 -> 216 bytes .../__pycache__/grl_examples.cpython-313.pyc | Bin 1830 -> 1798 bytes .../__pycache__/ic_examples.cpython-313.pyc | Bin 1786 -> 1754 bytes .../__pycache__/mcp_examples.cpython-313.pyc | Bin 1928 -> 1896 bytes .../__pycache__/noc_examples.cpython-313.pyc | Bin 1875 -> 1843 bytes .../observer_examples.cpython-313.pyc | Bin 1384 -> 1352 bytes templates/agent_template_backend/app/main.py | 20 + .../__pycache__/__init__.cpython-313.pyc | Bin 191 -> 199 bytes .../telemetry_observer.cpython-313.pyc | Bin 4802 -> 4810 bytes templates/agent_template_backend/app/state.py | 15 + .../__pycache__/agent_graph.cpython-313.pyc | Bin 44723 -> 54189 bytes .../app/workflows/agent_graph.py | 182 +- .../agent_template_backend/config/judges.yaml | 30 +- .../config/mcp_parameter_mapping.yaml | 56 +- .../config/routing.yaml | 18 +- .../config/tool_policies.yaml | 21 + .../agent_template_backend/config/tools.yaml | 57 +- .../data/agent_framework.db | Bin 32460800 -> 32477184 bytes .../docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md | 14 + .../docs/TESTE_LONG_TERM_MEMORY.md | 82 + .../agent_template_backend/llm_profiles.yaml | 34 +- .../agent_template_backend_day_zero/.env | 11 + .../Dockerfile | 2 +- .../README_DAY_ZERO.md | 3 + .../app/agents/billing_agent.py | 92 +- .../app/agents/orders_agent.py | 92 +- .../app/agents/product_agent.py | 92 +- .../app/agents/support_agent.py | 92 +- .../app/state.py | 13 + .../app/workflows/agent_graph.py | 105 +- .../config/judges.yaml | 30 +- .../config/mcp_parameter_mapping.yaml | 59 +- .../config/routing.yaml | 18 +- .../config/tool_policies.yaml | 21 + .../config/tools.yaml | 61 +- .../docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md | 13 + .../llm_profiles.yaml | 80 + tests/test_judge_transaction_sampling.py | 60 + .../test_mcp_parameter_extraction_runtime.py | 61 + tests/test_performance_optimizations.py | 50 + ...test_route_stickiness_transaction_shift.py | 14 + tests/test_transactional_tool_flow.py | 90 + tests/unit/test_semantic_route_stickiness.py | 204 + tests/unit/test_tool_policies.py | 84 + 604 files changed, 38978 insertions(+), 402 deletions(-) create mode 100644 Documentacao/Long_Term_Memory_Implementation_Guide_EN.md create mode 100644 Documentacao/MANUAL_AGENT_PLATFORM_GATEWAYS.md create mode 100644 Documentacao/Manual_Long_Term_Memory_PT.md create mode 100644 Documentacao/README_ROUTE_STICKINESS_SEMANTICA.md create mode 100644 Documentacao/README_SEMANTIC_ROUTE_STICKINESS.md create mode 100644 Documentacao/README_TOOL_POLICIES.md create mode 100644 Documentacao/RELEASE_NOTES_MCP_PARAMETER_EXTRACTION_FIX.md create mode 100644 Documentacao/RELEASE_NOTES_ROUTE_STICKINESS_TRANSACTION_SHIFT.md create mode 100644 Documentacao/RELEASE_NOTES_TOOL_POLICIES.md create mode 100644 Documentacao/Route_Stickiness_Semantica_Agent_Framework_OCI.docx create mode 100644 Documentacao/TEST_RESULTS_ROUTE_STICKINESS.md create mode 100644 Documentacao/VALIDACAO_TRANSACIONAL_BACKEND_MCP.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/.env create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/Dockerfile create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/README.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/README_ENTERPRISE_TEMPLATE.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/__init__.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/__pycache__/__init__.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/__pycache__/main.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/__pycache__/mcp_gateway_client_factory.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/__pycache__/state.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/README.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/__pycache__/billing_agent.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/__pycache__/orders_agent.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/__pycache__/product_agent.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/__pycache__/prompting.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/__pycache__/runtime.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/__pycache__/support_agent.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/billing_agent.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/orders_agent.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/product_agent.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/prompting.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/runtime.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/agents/support_agent.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__init__.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__pycache__/__init__.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__pycache__/grl_examples.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__pycache__/ic_examples.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__pycache__/mcp_examples.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__pycache__/noc_examples.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/__pycache__/observer_examples.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/grl_examples.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/ic_examples.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/mcp_examples.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/noc_examples.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/examples/observer_examples.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/main.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/mcp_gateway_client_factory.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/observability/__init__.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/observability/__pycache__/__init__.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/observability/__pycache__/telemetry_observer.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/observability/telemetry_observer.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/state.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/workflows/__pycache__/agent_graph.cpython-313.pyc create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/app/workflows/agent_graph.py create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents/retail_orders/guardrails.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents/retail_orders/judges.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents/retail_orders/prompt_policy.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents/telecom_contas/guardrails.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents/telecom_contas/judges.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/agents/telecom_contas/prompt_policy.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/guardrails.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/identity.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/judges.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/mcp_parameter_mapping.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/mcp_servers.docker.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/mcp_servers.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/prompt_policy.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/routing.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/tool_policies.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/config/tools.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/data/agent_framework.db create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/ATUALIZACAO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/COMO_USAR_IC_NOC_GRL_NO_TEMPLATE.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/CONVERSATION_SUMMARY_MEMORY_BACKEND.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/FRAMEWORK_CHANNEL_INPUT_MODE.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/GUARDRAILS_PARALLELOS_OBSERVER_IC.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/IMPLEMENTACAO_IC_NOC_GRL_SEM_REMOVER_LOGICA.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/TESTE_LONG_TERM_MEMORY.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/VALIDACAO_BACKEND_IC_NOC_GRL.md create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/docs/VALIDACAO_TEMPLATE_ENTERPRISE.txt create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/llm_profiles.yaml create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/requirements.txt create mode 100644 Tuning-Performance/Long_Term_Memory/templates/agent_template_backend/scripts/test_long_term_memory.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/.env create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/Dockerfile create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/README.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/README_ENTERPRISE_TEMPLATE.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/__init__.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/README.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/billing_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/orders_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/product_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/prompting.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/runtime.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/agents/support_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/examples/__init__.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/examples/grl_examples.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/examples/ic_examples.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/examples/mcp_examples.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/examples/noc_examples.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/examples/observer_examples.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/main.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/mcp_gateway_client_factory.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/observability/__init__.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/observability/telemetry_observer.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/state.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/app/workflows/agent_graph.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents/retail_orders/guardrails.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents/retail_orders/judges.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents/retail_orders/prompt_policy.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents/telecom_contas/guardrails.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents/telecom_contas/judges.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/agents/telecom_contas/prompt_policy.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/guardrails.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/identity.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/judges.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/mcp_parameter_mapping.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/mcp_servers.docker.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/mcp_servers.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/prompt_policy.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/routing.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/tool_policies.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/config/tools.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/ATUALIZACAO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/COMO_USAR_IC_NOC_GRL_NO_TEMPLATE.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/CONVERSATION_SUMMARY_MEMORY_BACKEND.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/FRAMEWORK_CHANNEL_INPUT_MODE.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/GUARDRAILS_PARALLELOS_OBSERVER_IC.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/IMPLEMENTACAO_IC_NOC_GRL_SEM_REMOVER_LOGICA.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/VALIDACAO_BACKEND_IC_NOC_GRL.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/docs/VALIDACAO_TEMPLATE_ENTERPRISE.txt create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/llm_profiles.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/requirements.txt create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend/scripts/test_long_term_memory.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/.env create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/Dockerfile create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/README_DAY_ZERO.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/__init__.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/README_DESENVOLVEDOR.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/billing_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/orders_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/product_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/prompting.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/runtime.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/agents/support_agent.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/main.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/mcp_gateway_client_factory.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/observability/__init__.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/observability/telemetry_observer.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/state.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/app/workflows/agent_graph.py create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents/retail_orders/guardrails.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents/retail_orders/judges.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents/retail_orders/prompt_policy.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents/telecom_contas/guardrails.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents/telecom_contas/judges.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/agents/telecom_contas/prompt_policy.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/guardrails.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/identity.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/judges.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/mcp_parameter_mapping.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/mcp_servers.docker.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/mcp_servers.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/prompt_policy.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/routing.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/tool_policies.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/config/tools.yaml create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/docs/ATUALIZACAO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/docs/CONVERSATION_SUMMARY_MEMORY_BACKEND.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/docs/DAY_ZERO_COMO_USAR.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/docs/FRAMEWORK_CHANNEL_INPUT_MODE.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/docs/LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/requirements.txt create mode 100644 Tuning-Performance/Normal/templates/agent_template_backend_day_zero/scripts/test_long_term_memory.py create mode 100644 Tuning-Performance/Normal/templates/shared/template_retail_orders_support/README.md create mode 100644 Tuning-Performance/Normal/templates/shared/template_retail_orders_support/example_usage.py create mode 100644 Tuning-Performance/Normal/templates/shared/template_retail_orders_support/orders_agent.py create mode 100644 Tuning-Performance/Normal/templates/shared/template_retail_orders_support/routing.yaml create mode 100644 Tuning-Performance/Normal/templates/shared/template_retail_orders_support/support_agent.py create mode 100644 Tuning-Performance/Normal/templates/shared/template_telecom_billing_product/README.md create mode 100644 Tuning-Performance/Normal/templates/shared/template_telecom_billing_product/example_usage.py create mode 100644 Tuning-Performance/Normal/templates/shared/template_telecom_billing_product/routing.yaml create mode 100644 Tuning-Performance/Route_Stickness/ROUTE_STICKINESS_HANDOFF_TRANSACOES_PT.md create mode 100644 Tuning-Performance/Route_Stickness/ROUTE_STICKINESS_HANDOFF_TRANSACTIONS_EN.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/.env create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/Dockerfile create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/README.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/README_ENTERPRISE_TEMPLATE.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/__init__.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/README.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/billing_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/orders_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/product_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/prompting.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/runtime.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/agents/support_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/examples/__init__.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/examples/grl_examples.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/examples/ic_examples.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/examples/mcp_examples.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/examples/noc_examples.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/examples/observer_examples.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/main.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/mcp_gateway_client_factory.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/observability/__init__.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/observability/telemetry_observer.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/state.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/app/workflows/agent_graph.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents/retail_orders/guardrails.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents/retail_orders/judges.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents/retail_orders/prompt_policy.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents/telecom_contas/guardrails.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents/telecom_contas/judges.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/agents/telecom_contas/prompt_policy.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/guardrails.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/identity.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/judges.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/mcp_parameter_mapping.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/mcp_servers.docker.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/mcp_servers.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/prompt_policy.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/routing.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/tool_policies.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/config/tools.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/ATUALIZACAO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/COMO_USAR_IC_NOC_GRL_NO_TEMPLATE.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/CONVERSATION_SUMMARY_MEMORY_BACKEND.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/FRAMEWORK_CHANNEL_INPUT_MODE.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/GUARDRAILS_PARALLELOS_OBSERVER_IC.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/IMPLEMENTACAO_IC_NOC_GRL_SEM_REMOVER_LOGICA.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/VALIDACAO_BACKEND_IC_NOC_GRL.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/docs/VALIDACAO_TEMPLATE_ENTERPRISE.txt create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/llm_profiles.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/requirements.txt create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend/scripts/test_long_term_memory.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/.env create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/Dockerfile create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/README_DAY_ZERO.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/__init__.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/README_DESENVOLVEDOR.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/billing_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/orders_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/product_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/prompting.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/runtime.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/agents/support_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/main.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/mcp_gateway_client_factory.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/observability/__init__.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/observability/telemetry_observer.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/state.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/app/workflows/agent_graph.py create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents/retail_orders/guardrails.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents/retail_orders/judges.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents/retail_orders/prompt_policy.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents/telecom_contas/guardrails.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents/telecom_contas/judges.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/agents/telecom_contas/prompt_policy.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/guardrails.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/identity.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/judges.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/mcp_parameter_mapping.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/mcp_servers.docker.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/mcp_servers.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/prompt_policy.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/routing.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/tool_policies.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/config/tools.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/docs/ATUALIZACAO_TEMPLATE_ANALYTICS_OUTPUT_SUPERVISOR.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/docs/CONVERSATION_SUMMARY_MEMORY_BACKEND.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/docs/DAY_ZERO_COMO_USAR.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/docs/FRAMEWORK_CHANNEL_INPUT_MODE.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/docs/LANGFUSE_SINGLE_TRACE_OBSERVER_FIX.md create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/llm_profiles.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/requirements.txt create mode 100644 Tuning-Performance/Route_Stickness/templates/agent_template_backend_day_zero/scripts/test_long_term_memory.py create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_retail_orders_support/README.md create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_retail_orders_support/example_usage.py create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_retail_orders_support/orders_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_retail_orders_support/routing.yaml create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_retail_orders_support/support_agent.py create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_telecom_billing_product/README.md create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_telecom_billing_product/example_usage.py create mode 100644 Tuning-Performance/Route_Stickness/templates/shared/template_telecom_billing_product/routing.yaml create mode 100644 deploy/oke/.dockerignore create mode 100644 deploy/oke/README_OKE_DEPLOYMENT.md create mode 100644 deploy/oke/dockerfiles/Dockerfile.agent-frontend create mode 100644 deploy/oke/dockerfiles/Dockerfile.agent-gateway create mode 100644 deploy/oke/dockerfiles/Dockerfile.agent-template-backend create mode 100644 deploy/oke/dockerfiles/Dockerfile.channel-gateway create mode 100644 deploy/oke/dockerfiles/Dockerfile.mcp-gateway create mode 100644 deploy/oke/examples/oke.env.example create mode 100644 deploy/oke/k8s/base/00-namespace.yaml create mode 100644 deploy/oke/k8s/base/01-configmap.yaml create mode 100644 deploy/oke/k8s/base/02-secret-template.yaml create mode 100644 deploy/oke/k8s/base/03-agent-template-backend.yaml create mode 100644 deploy/oke/k8s/base/04-agent-gateway.yaml create mode 100644 deploy/oke/k8s/base/05-channel-gateway.yaml create mode 100644 deploy/oke/k8s/base/06-mcp-gateway.yaml create mode 100644 deploy/oke/k8s/base/07-frontend.yaml create mode 100644 deploy/oke/k8s/base/kustomization.yaml create mode 100644 deploy/oke/nginx/default.conf create mode 100644 deploy/oke/scripts/build_images.sh create mode 100644 deploy/oke/scripts/create_runtime_secret.sh create mode 100644 deploy/oke/scripts/deploy_oke.sh create mode 100644 deploy/oke/scripts/push_images.sh create mode 100644 deploy/oke/scripts/status.sh create mode 100644 deploy/package-registry/README_AGENT_FRAMEWORK_PACKAGE_REGISTRY.md create mode 100644 deploy/package-registry/scripts/build_agent_framework.sh create mode 100644 deploy/package-registry/scripts/create_github_release_package.sh create mode 100644 deploy/package-registry/scripts/install_from_azure_artifacts.sh create mode 100644 deploy/package-registry/scripts/publish_azure_artifacts_local.sh create mode 100644 docs/JUDGES_TRANSACTIONAL_SAMPLING_FIX.md create mode 100644 docs/PERFORMANCE_OPTIMIZATIONS_MCP_JUDGES_RAG.md create mode 100644 libs/agent_framework/src/agent_framework/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/__pycache__/gateway_policy_context.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/__pycache__/observer.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/__pycache__/runtime_mcp_gateway_adapter.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/composite_publisher.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/event_builder.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/factory.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/publisher.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/tim_payload_mapper.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/__pycache__/tim_sequence.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/providers/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/providers/__pycache__/kafka.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/providers/__pycache__/langfuse.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/providers/__pycache__/oci_streaming.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/analytics/providers/__pycache__/pubsub.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/billing/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/billing/__pycache__/usage_repository.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/cache/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/cache/__pycache__/cache.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/channels/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/channels/__pycache__/adapters.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/channels/__pycache__/base.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/channels/__pycache__/gateway.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/checkpoints/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/checkpoints/__pycache__/checkpoint_repository.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/checkpoints/__pycache__/langgraph_saver.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/config/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/config/__pycache__/agent_registry.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/config/__pycache__/settings.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/events/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/events/__pycache__/oci_streaming.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/gateways/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/gateways/__pycache__/mcp_gateway_client.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/global_supervisor/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/global_supervisor/__pycache__/client.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/global_supervisor/__pycache__/config.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/global_supervisor/__pycache__/models.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/global_supervisor/__pycache__/router.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/global_supervisor/__pycache__/session_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/base.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/config_loader.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/custom_rails.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/executor.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/framework_llm_client.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/langgraph_adapters.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/llm_rails.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/output_supervisor.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/parallel_executor.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/pipeline.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/rail_action.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/rail_decision.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/rail_result.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/__pycache__/rails.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/_compat.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/config.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/contestation_validation.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/contracts.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/input_size.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/llm_adapter.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/llm_client.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/llm_rails.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/output_sanitization.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/__pycache__/pipeline.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/_context.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/ausencia_oferta_proativa.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/dlex_in.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/dlex_out.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/fallback.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/out_of_scope.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/pinj.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/ragsec.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/revprec.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/safe_out.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/tox.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/__pycache__/toxicidade_output.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/shared/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/shared/__pycache__/supervision_template.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/prompts/shared/__pycache__/tts_rules.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/alcada.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/anatel.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/confirmation.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/dlex_in.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/dlex_out.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/ragsec.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/revprec.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/__pycache__/tox.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/correspondencia_item.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/groundedness.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/intencao_cancelar.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/quantidade_coerente.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/servico_correto.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rails/supervision/__pycache__/verbalizacao_prematura.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rules/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rules/__pycache__/alcada.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rules/__pycache__/oos_blocklist.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rules/__pycache__/pinj_patterns.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/guardrails/calibrated/rules/__pycache__/tox_blocklist.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/identity/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/identity/__pycache__/mcp_mapper.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/identity/__pycache__/models.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/identity/__pycache__/resolver.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/__pycache__/judge.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/__pycache__/_compat.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/__pycache__/llm_client.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/__pycache__/models.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/prompts/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/prompts/__pycache__/aluc.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/prompts/__pycache__/csi.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/prompts/__pycache__/fallback.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/prompts/__pycache__/rqlt.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/judges/calibrated/prompts/__pycache__/vctn.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/llm/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/llm/__pycache__/base.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/llm/__pycache__/profile_resolver.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/llm/__pycache__/providers.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/__pycache__/client.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/__pycache__/models.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/__pycache__/registry.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/__pycache__/tool_policy.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/__pycache__/tool_router.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/mcp/tool_policy.py create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/long_term_extractor.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/long_term_memory.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/long_term_models.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/long_term_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/message_history.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/summary_memory.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/memory/__pycache__/summary_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/models/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/models/__pycache__/identity.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/models/__pycache__/session.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/context.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/control_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/decorators.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/event_bus.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/grl_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/guardrail_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/ic_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/informational_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/judge_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/langfuse_enterprise.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/langgraph_telemetry.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/llm_advisors.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/noc_contract.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/noc_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/noc_otel.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/observer.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/otel.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/streaming_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/streaming_exporter.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/telemetry.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/tim_backoffice_contract.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/token_cost.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/observability/__pycache__/workflow_events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/oci/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/oci/__pycache__/auth.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/persistence/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/persistence/__pycache__/mongodb_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/persistence/__pycache__/oracle_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/persistence/__pycache__/sqlite_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/rag/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/rag/__pycache__/embedding_provider.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/rag/__pycache__/graph_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/rag/__pycache__/ingest.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/rag/__pycache__/rag_service.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/rag/__pycache__/vector_store.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/repositories/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/repositories/__pycache__/session_repository.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/routing/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/routing/__pycache__/config_loader.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/routing/__pycache__/continuity.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/routing/__pycache__/enterprise_router.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/routing/__pycache__/models.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/routing/continuity.py create mode 100644 libs/agent_framework/src/agent_framework/runtime/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/runtime/__pycache__/agent_runtime.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/sse/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/sse/__pycache__/events.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/supervisor/__pycache__/__init__.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/supervisor/__pycache__/router_supervisor.cpython-313.pyc create mode 100644 libs/agent_framework/src/agent_framework/supervisor/__pycache__/supervisor.cpython-313.pyc create mode 100644 templates/agent_template_backend/config/tool_policies.yaml create mode 100644 templates/agent_template_backend/docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md create mode 100644 templates/agent_template_backend/docs/TESTE_LONG_TERM_MEMORY.md create mode 100644 templates/agent_template_backend_day_zero/config/tool_policies.yaml create mode 100644 templates/agent_template_backend_day_zero/docs/EXEMPLOS_ROUTE_HANDOFF_TRANSACOES.md create mode 100644 templates/agent_template_backend_day_zero/llm_profiles.yaml create mode 100644 tests/test_judge_transaction_sampling.py create mode 100644 tests/test_mcp_parameter_extraction_runtime.py create mode 100644 tests/test_performance_optimizations.py create mode 100644 tests/test_route_stickiness_transaction_shift.py create mode 100644 tests/test_transactional_tool_flow.py create mode 100644 tests/unit/test_semantic_route_stickiness.py create mode 100644 tests/unit/test_tool_policies.py diff --git a/.env b/.env index 674c89e..116eb7d 100644 --- a/.env +++ b/.env @@ -22,30 +22,31 @@ LLM_TIMEOUT_SECONDS=120 # OCI OpenAI-compatible endpoint OCI_GENAI_BASE_URL=https://inference.generativeai.us-chicago-1.oci.oraclecloud.com/openai/v1 OCI_GENAI_MODEL=openai.gpt-4.1 -OCI_GENAI_API_KEY=sk-ph3FgX6iP3fxAQCXb9IpPIDTadkeeYAWntUWhzcWysIM6zsS +OCI_GENAI_API_KEY=sk-ph3FgX6ph3FgX6ph3FgX6ph3FgX6ph3FgX6ph3FgX6 OCI_GENAI_PROJECT_OCID= +# OCI_AUTH_MODE=config_file|instance_principal|resource_principal +OCI_AUTH_MODE=config_file # OCI SDK / signer / profiles OCI_CONFIG_FILE=~/.oci/config -OCI_PROFILE=LATINOAMERICA-Chicago -OCI_COMPARTMENT_ID=ocid1.compartment.oc1..aaaaaaaaexpiw4a7dio64mkfv2t273s2hgdl6mgfvvyv7tycalnjlvpvfl3q +OCI_PROFILE=DEFAULT +OCI_COMPARTMENT_ID=ocid1.compartment.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa OCI_REGION=us-chicago-1 ############################################################################### # Persistência ############################################################################### # Opções: memory, autonomous, mongodb -SESSION_REPOSITORY_PROVIDER=sqlite -MEMORY_REPOSITORY_PROVIDER=sqlite -CHECKPOINT_REPOSITORY_PROVIDER=sqlite -SQLITE_DB_PATH=./data/agent_framework.db +SESSION_REPOSITORY_PROVIDER=autonomous +MEMORY_REPOSITORY_PROVIDER=autonomous +CHECKPOINT_REPOSITORY_PROVIDER=autonomous # Autonomous Database ADB_USER=admin -ADB_PASSWORD=Moniquinha1972 -ADB_DSN=oradb23ai_high -ADB_WALLET_LOCATION=/mnt/d/Dropbox/ORACLE/LatinoAmerica/Wallet_ORADB23ai -ADB_WALLET_PASSWORD=Moniquinha1972 +ADB_PASSWORD=fjhsdf04954hf +ADB_DSN=oradb23aidev_high +ADB_WALLET_LOCATION=/ORACLE/DEFAULT/Wallet_ORADB23aiDev +ADB_WALLET_PASSWORD=fjhsdf04954hf ADB_TABLE_PREFIX=AGENTFW # MongoDB - também pode representar Autonomous usando API compatível com Mongo, se habilitada no ambiente @@ -70,13 +71,16 @@ RAG_FILE_GLOBS=*.md,*.txt,*.yaml,*.yml,*.json # Observabilidade ############################################################################### ENABLE_LANGFUSE=true -LANGFUSE_TRACE_MODE=compact # Opcional: verbose, compact -LANGFUSE_PUBLIC_KEY=pk-lf-2f9da109-5b0f-4c78-b61d-9598ed787eba -LANGFUSE_SECRET_KEY=sk-lf-a4cb0cdd-f2ea-4468-9911-cebeb91ba944 +LANGFUSE_TRACE_MODE=verbose # Opcional: verbose, compact +LANGFUSE_ROOT_SPAN_NAME=agent.gateway_message +LANGFUSE_LEGACY_IO_FALLBACK=true +LANGFUSE_PUBLIC_KEY=pk-lf-bd9b0c7e-2b8b-4e5b-a382-284a9b4413b3 +LANGFUSE_SECRET_KEY=sk-lf-5f5cc18d-0bb5-424e-b5d0-cb3664d58c20 LANGFUSE_HOST=http://localhost:3005 ENABLE_OTEL=false OTEL_EXPORTER_OTLP_ENDPOINT= OTEL_SERVICE_NAME=ai-agent-template +ENABLE_LANGFUSE_OPENAI_AUTO_INSTRUMENTATION=true ############################################################################### # Analytics / Observer corporativo @@ -121,6 +125,9 @@ PROMPT_POLICY_PATH=./config/prompt_policy.yaml # Gateway de canais ############################################################################### DEFAULT_CHANNEL=web +# embedded = backend may parse simple/native channel payloads. +# external = backend only accepts GatewayRequest normalized by an external Channel Gateway. +FRAMEWORK_CHANNEL_INPUT_MODE=embedded ENABLE_VOICE_ADAPTER=true ENABLE_WHATSAPP_ADAPTER=true ENABLE_TEXT_ADAPTER=true @@ -134,21 +141,33 @@ ROUTING_CONFIG_PATH=./config/routing.yaml # Em produção, costuma ser útil; em desenvolvimento, false evita custo e latência. ENABLE_LLM_ROUTER=true +# Semantic route stickiness (optional). +# Uses a lightweight LLM profile to decide only CONTINUE vs ROUTE. +# There are no regexes or deterministic language rules. +ENABLE_ROUTE_STICKINESS=false +ROUTE_STICKINESS_LLM_PROFILE=route_continuity +ROUTE_STICKINESS_CONFIDENCE_THRESHOLD=0.90 +ROUTE_STICKINESS_HISTORY_TURNS=2 +ROUTE_STICKINESS_MAX_TOKENS=80 +HUMAN_HANDOFF_MESSAGE=Vou encaminhar seu atendimento para uma pessoa. +END_SESSION_MESSAGE=Atendimento encerrado. Obrigado pelo contato. + ############################################################################### # MCP / Tools ############################################################################### ENABLE_MCP_TOOLS=true -MCP_SERVERS_CONFIG_PATH=./agent_template_backend/config/mcp_servers.yaml -TOOLS_CONFIG_PATH=./agent_template_backend/config/tools.yaml +MCP_SERVERS_CONFIG_PATH=./config/mcp_servers.yaml +TOOLS_CONFIG_PATH=./config/tools.yaml +TOOL_POLICIES_PATH=./config/tool_policies.yaml MCP_TOOL_TIMEOUT_SECONDS=30 # router = EnterpriseRouter seleciona um agente; supervisor = pode acionar múltiplos agentes ROUTING_MODE=router # Usage/cost accounting -USAGE_REPOSITORY_PROVIDER=sqlite -IDENTITY_CONFIG_PATH=./agent_template_backend/config/identity.yaml -MCP_PARAMETER_MAPPING_PATH=./agent_template_backend/config/mcp_parameter_mapping.yaml +USAGE_REPOSITORY_PROVIDER=autonomous +IDENTITY_CONFIG_PATH=./config/identity.yaml +MCP_PARAMETER_MAPPING_PATH=./config/mcp_parameter_mapping.yaml # ----------------------------------------------------------------------------- # ConversationSummaryMemory / compressão de contexto conversacional @@ -163,6 +182,18 @@ MEMORY_SUMMARY_USE_LLM=true MEMORY_INJECT_RECENT_MESSAGES=true MEMORY_INJECT_SUMMARY=true +############################################################################### +# MCP Gateway +############################################################################### +# true = framework routes tool calls to the dedicated MCP Gateway. +# false = framework calls MCP servers directly from mcp_servers.yaml. +MCP_GATEWAY_ENABLED=true +MCP_GATEWAY_URL=http://localhost:8300 +MCP_GATEWAY_TIMEOUT_SECONDS=60 +# MCP_GATEWAY_TOKEN= +MCP_GATEWAY_AGENT_ID=telecom_contas +MCP_GATEWAY_TENANT_ID=default + ############################################################################### # LONG-TERM MEMORY ############################################################################### diff --git a/.env.example b/.env.example index 98ad2e4..116eb7d 100644 --- a/.env.example +++ b/.env.example @@ -141,12 +141,24 @@ ROUTING_CONFIG_PATH=./config/routing.yaml # Em produção, costuma ser útil; em desenvolvimento, false evita custo e latência. ENABLE_LLM_ROUTER=true +# Semantic route stickiness (optional). +# Uses a lightweight LLM profile to decide only CONTINUE vs ROUTE. +# There are no regexes or deterministic language rules. +ENABLE_ROUTE_STICKINESS=false +ROUTE_STICKINESS_LLM_PROFILE=route_continuity +ROUTE_STICKINESS_CONFIDENCE_THRESHOLD=0.90 +ROUTE_STICKINESS_HISTORY_TURNS=2 +ROUTE_STICKINESS_MAX_TOKENS=80 +HUMAN_HANDOFF_MESSAGE=Vou encaminhar seu atendimento para uma pessoa. +END_SESSION_MESSAGE=Atendimento encerrado. Obrigado pelo contato. + ############################################################################### # MCP / Tools ############################################################################### ENABLE_MCP_TOOLS=true MCP_SERVERS_CONFIG_PATH=./config/mcp_servers.yaml TOOLS_CONFIG_PATH=./config/tools.yaml +TOOL_POLICIES_PATH=./config/tool_policies.yaml MCP_TOOL_TIMEOUT_SECONDS=30 # router = EnterpriseRouter seleciona um agente; supervisor = pode acionar múltiplos agentes @@ -194,4 +206,4 @@ LONG_TERM_MEMORY_TABLE=agentfw_long_term_memory LONG_TERM_MEMORY_MAX_CONTEXT_ITEMS=20 LONG_TERM_MEMORY_MIN_CONFIDENCE=0.70 LONG_TERM_MEMORY_AUTO_EXTRACT=true -LONG_TERM_MEMORY_INJECT_CONTEXT=true \ No newline at end of file +LONG_TERM_MEMORY_INJECT_CONTEXT=true diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 608fc10..03a129f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,9 +4,7 @@