databricks-agentbricks 0.9.0__tar.gz → 0.10.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/PKG-INFO +62 -12
  2. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/README.md +61 -11
  3. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/pyproject.toml +1 -1
  4. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/app.py +3 -3
  5. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/deploy.py +75 -9
  6. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/dev.py +6 -1
  7. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/doctor.py +2 -3
  8. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/permissions.py +8 -1
  9. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/pipeline.py +16 -3
  10. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/telemetry.py +170 -34
  11. databricks_agentbricks-0.10.0/src/databricks_agentbricks/clients/agent_details_client.py +86 -0
  12. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/apps_client.py +19 -3
  13. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/conversation_store_client.py +22 -0
  14. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/databricks_cli.py +70 -13
  15. databricks_agentbricks-0.10.0/src/databricks_agentbricks/clients/output_tail.py +124 -0
  16. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/terminal_relay.py +5 -1
  17. databricks_agentbricks-0.10.0/src/databricks_agentbricks/clients/workspace_identity.py +37 -0
  18. databricks_agentbricks-0.10.0/src/databricks_agentbricks/diagnostics.py +58 -0
  19. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/errors.py +44 -5
  20. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/deploy.py +95 -47
  21. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/group.py +112 -4
  22. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/projects/agent_project.py +64 -13
  23. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/projects/app_manifest.py +48 -23
  24. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deploy_service.py +42 -21
  25. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/deploy_state.py +31 -7
  26. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/provisioners.py +35 -0
  27. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/dev_service.py +83 -71
  28. databricks_agentbricks-0.10.0/src/databricks_agentbricks/telemetry/__init__.py +1 -0
  29. databricks_agentbricks-0.10.0/src/databricks_agentbricks/telemetry/scrub.py +104 -0
  30. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-bricks-workflow/SKILL.md +3 -2
  31. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-bricks-workflow/references/deployment.md +16 -0
  32. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/pyproject.toml +1 -1
  33. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/pyproject.toml +1 -1
  34. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/agent/agent.py +2 -1
  35. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/pyproject.toml +1 -1
  36. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/pyproject.toml +1 -1
  37. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/_api_client.py +5 -1
  38. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/messages.py +19 -1
  39. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/.gitignore +0 -0
  40. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/NOTICE +0 -0
  41. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/__init__.py +0 -0
  42. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/agent_hint.py +0 -0
  43. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/__init__.py +0 -0
  44. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/__main__.py +0 -0
  45. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/auth.py +0 -0
  46. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/endpoint.py +0 -0
  47. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/experimental.py +0 -0
  48. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/init.py +0 -0
  49. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/mcp.py +0 -0
  50. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/memory.py +0 -0
  51. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/models.py +0 -0
  52. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/prompts.py +0 -0
  53. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/sandbox.py +0 -0
  54. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/sessions.py +0 -0
  55. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/tools.py +0 -0
  56. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/cli/tracing.py +0 -0
  57. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/__init__.py +0 -0
  58. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/api_client_provider.py +0 -0
  59. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/app_probe.py +0 -0
  60. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/apps_user_auth_client.py +0 -0
  61. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/legacy_runtime_store.py +0 -0
  62. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/local_ports.py +0 -0
  63. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/local_tracing_client.py +0 -0
  64. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/managed_runtime_store.py +0 -0
  65. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/mlflow_trace_client.py +0 -0
  66. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/clients/tracing_client.py +0 -0
  67. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/model_upgrade.py +0 -0
  68. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/__init__.py +0 -0
  69. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/dev.py +0 -0
  70. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/endpoint.py +0 -0
  71. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/help.py +0 -0
  72. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/loadtest.py +0 -0
  73. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/permissions.py +0 -0
  74. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/render.py +0 -0
  75. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/reporter.py +0 -0
  76. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/theme.py +0 -0
  77. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/presentation/tracing.py +0 -0
  78. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/projects/__init__.py +0 -0
  79. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/projects/config.py +0 -0
  80. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/projects/resolver.py +0 -0
  81. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/projects/types.py +0 -0
  82. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/py.typed +0 -0
  83. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/reporting.py +0 -0
  84. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/__init__.py +0 -0
  85. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/__init__.py +0 -0
  86. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/app_provisioner.py +0 -0
  87. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/config.py +0 -0
  88. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/model_binding_provisioner.py +0 -0
  89. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/names.py +0 -0
  90. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/tool_access.py +0 -0
  91. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/deployment/tool_access_provisioner.py +0 -0
  92. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/endpoint_service.py +0 -0
  93. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/invoke/__init__.py +0 -0
  94. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/invoke/auth.py +0 -0
  95. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/invoke/request.py +0 -0
  96. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/invoke/transport.py +0 -0
  97. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/loadtest/__init__.py +0 -0
  98. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/loadtest/_locustfile.py +0 -0
  99. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/loadtest/plan.py +0 -0
  100. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/loadtest/request.py +0 -0
  101. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/loadtest/runner.py +0 -0
  102. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/loadtest/streaming.py +0 -0
  103. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/tracing/__init__.py +0 -0
  104. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/tracing/targets.py +0 -0
  105. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/services/tracing_service.py +0 -0
  106. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/skills.py +0 -0
  107. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-bricks-migrate/SKILL.md +0 -0
  108. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-bricks-workflow/references/state-and-tools.md +0 -0
  109. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/.env.example +0 -0
  110. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/.gitignore +0 -0
  111. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/AGENTKIT_CONTRACT.md +0 -0
  112. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/AGENTS.md +0 -0
  113. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/CLAUDE.md +0 -0
  114. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/README.md +0 -0
  115. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/agent/__init__.py +0 -0
  116. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/agent/agent.py +0 -0
  117. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/agent/mcps.py +0 -0
  118. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/agent/tools/__init__.py +0 -0
  119. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/agent/tools/sample_tool.py +0 -0
  120. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/agent/tools/send_message.py +0 -0
  121. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/app.yaml +0 -0
  122. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/runtime/__init__.py +0 -0
  123. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/runtime/adapter.py +0 -0
  124. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/runtime/main.py +0 -0
  125. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/tests/__init__.py +0 -0
  126. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/tests/test_agent.py +0 -0
  127. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/tests/test_runtime.py +0 -0
  128. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-langgraph/tests/test_workspace.py +0 -0
  129. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/.env.example +0 -0
  130. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/.gitignore +0 -0
  131. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/AGENTKIT_CONTRACT.md +0 -0
  132. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/AGENTS.md +0 -0
  133. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/CLAUDE.md +0 -0
  134. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/README.md +0 -0
  135. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/__init__.py +0 -0
  136. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/agent.py +0 -0
  137. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/checkpoints.py +0 -0
  138. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/mcps.py +0 -0
  139. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/tools/__init__.py +0 -0
  140. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/tools/sample_tool.py +0 -0
  141. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/agent/tools/send_message.py +0 -0
  142. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/app.yaml +0 -0
  143. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/runtime/__init__.py +0 -0
  144. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/runtime/adapter.py +0 -0
  145. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/runtime/main.py +0 -0
  146. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/tests/__init__.py +0 -0
  147. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/tests/test_agent.py +0 -0
  148. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/tests/test_checkpoints.py +0 -0
  149. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/tests/test_runtime.py +0 -0
  150. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/agent-openai/tests/test_workspace.py +0 -0
  151. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/.env.example +0 -0
  152. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/.gitignore +0 -0
  153. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/README.md +0 -0
  154. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/agent/__init__.py +0 -0
  155. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/app.yaml +0 -0
  156. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/runtime/__init__.py +0 -0
  157. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/runtime/main.py +0 -0
  158. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-langgraph/tests/test_runtime.py +0 -0
  159. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/.env.example +0 -0
  160. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/.gitignore +0 -0
  161. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/README.md +0 -0
  162. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/agent/__init__.py +0 -0
  163. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/agent/agent.py +0 -0
  164. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/app.yaml +0 -0
  165. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/runtime/__init__.py +0 -0
  166. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/runtime/main.py +0 -0
  167. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/custom-agent-openai/tests/test_runtime.py +0 -0
  168. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/sandbox_mcp.py +0 -0
  169. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/sandbox_mcp_langgraph.py +0 -0
  170. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/CHAT_APP.md +0 -0
  171. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/runtime/main.py +0 -0
  172. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/runtime/ui.py +0 -0
  173. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/tests/test_demo_ui.py +0 -0
  174. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/ui/agentbricks-mark.png +0 -0
  175. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/ui/app.js +0 -0
  176. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/ui/index.html +0 -0
  177. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/ui/markdown-it-15.0.2.min.js +0 -0
  178. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-langgraph/ui/styles.css +0 -0
  179. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/CHAT_APP.md +0 -0
  180. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/runtime/main.py +0 -0
  181. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/runtime/ui.py +0 -0
  182. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/tests/test_demo_ui.py +0 -0
  183. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/ui/agentbricks-mark.png +0 -0
  184. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/ui/app.js +0 -0
  185. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/ui/index.html +0 -0
  186. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/ui/markdown-it-15.0.2.min.js +0 -0
  187. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentbricks/templates/ui/agent-openai/ui/styles.css +0 -0
  188. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/__init__.py +0 -0
  189. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/_pagination.py +0 -0
  190. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/_permissions.py +0 -0
  191. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/client.py +0 -0
  192. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/__init__.py +0 -0
  193. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/genie.py +0 -0
  194. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/history.py +0 -0
  195. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/mcp.py +0 -0
  196. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/memory.py +0 -0
  197. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/responses.py +0 -0
  198. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/langgraph/session_store.py +0 -0
  199. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/memory_store.py +0 -0
  200. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/model_upgrades/__init__.py +0 -0
  201. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/model_upgrades/optimization.py +0 -0
  202. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/models.py +0 -0
  203. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/__init__.py +0 -0
  204. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/genie.py +0 -0
  205. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/history.py +0 -0
  206. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/mcp.py +0 -0
  207. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/memory.py +0 -0
  208. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/models.py +0 -0
  209. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/openai/sessions.py +0 -0
  210. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/py.typed +0 -0
  211. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/ARCHITECTURE.md +0 -0
  212. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/README.md +0 -0
  213. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/__init__.py +0 -0
  214. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/app.py +0 -0
  215. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/auth.py +0 -0
  216. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/cors.py +0 -0
  217. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/durability/__init__.py +0 -0
  218. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/durability/execution.py +0 -0
  219. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/durability/heartbeat.py +0 -0
  220. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/durability/lakebase_runtime_store.py +0 -0
  221. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/durability/recovery.py +0 -0
  222. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/durability/store.py +0 -0
  223. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/errors.py +0 -0
  224. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/execution.py +0 -0
  225. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/genie.py +0 -0
  226. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/mcp_auth.py +0 -0
  227. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/model_services.py +0 -0
  228. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/prompt_registry.py +0 -0
  229. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/runtime.py +0 -0
  230. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/session_store_client.py +0 -0
  231. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/store.py +0 -0
  232. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/tool_manifest.py +0 -0
  233. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/tracing.py +0 -0
  234. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/types.py +0 -0
  235. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/runtime/workspace.py +0 -0
  236. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/session_store.py +0 -0
  237. {databricks_agentbricks-0.9.0 → databricks_agentbricks-0.10.0}/src/databricks_agentkit/timefmt.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: databricks-agentbricks
3
- Version: 0.9.0
3
+ Version: 0.10.0
4
4
  Summary: Agent Bricks CLI and AgentKit SDK for custom agents on Databricks
5
5
  Author-email: Databricks <agent-feedback@databricks.com>
6
6
  License-File: NOTICE
@@ -164,11 +164,32 @@ credentials.
164
164
 
165
165
  If Databricks SDK default authentication is already configured, you can skip `agentbricks login`.
166
166
  You can also pass the global `--profile/-p` option before an individual command, for example
167
- `agentbricks --profile <profile> tools list`. Use `--output json` for scripting.
167
+ `agentbricks --profile <profile> tools list`. Use `--output json` (before or after the command) for
168
+ scripting.
168
169
 
169
170
  The CLI sends best effort command usage telemetry after leaf commands. Its log records the static
170
171
  command path, package version, operating system, duration, and process outcome (exit code and, for
171
- nonzero exits, a bounded error category). Parameter entries include explicitly supplied options
172
+ nonzero exits, a bounded error category). Failures can also include up to 4096 UTF-8 bytes of
173
+ error text in `failure_message`. Error text includes exception messages and fully captured
174
+ failed subprocess output, with recognized credentials, paths, and email addresses scrubbed.
175
+ Combined failure text over 65,536 characters is also omitted before scrubbing.
176
+ Credential assignments, auth headers, credential options, and encoded text cause the remaining
177
+ captured text to be omitted; preceding diagnostic text is retained. This avoids parsing arbitrary
178
+ JSON, YAML, or Python values. Recognizable standalone tokens and private keys are also masked.
179
+ This follows the Asset Bundles minimization pattern and is best effort; other customer content
180
+ may remain in service responses or application output.
181
+ It is labeled `DATA_LABEL_USER_COMMANDS_RESPONSE`, excluded from centralized logfood, and retained
182
+ regionally only where customer logging and encryption policies permit. Error text is omitted for
183
+ parser errors and interruptions. Collection requires Legal approval and schema deployment.
184
+ For `dev`, failure text can include complete child output up to 3072 bytes per captured stream.
185
+ Once a stream exceeds that limit, all its retained text is permanently discarded and replaced with
186
+ `[REDACTED]`, including later plain error messages, because partial output may have lost credential
187
+ context. Short complete output is scrubbed before upload, including private keys. Displayed child
188
+ output is unchanged. With one output stream redirected, the terminal stream is inherited unchanged
189
+ and only the redirected stream is retained. When both streams point to the same regular file, both
190
+ are inherited without capture to preserve their original offsets and redirection behavior.
191
+ Startup milestones remain internal; a killed process or unavailable upload can still leave no event.
192
+ Parameter entries include explicitly supplied options
172
193
  and parsed Click defaults with supported typed values, automatically across all commands and
173
194
  parent groups. Declare defaults in Click options so the shared emitter can read the resolved
174
195
  values; fallbacks applied only inside command callbacks are not visible to Click. Omitted free-form
@@ -178,9 +199,8 @@ choices contribute an `AGENTBRICKS_CLI_`-prefixed value. Click boolean and numer
178
199
  contribute their typed values; explicitly supplied non-finite floats and integers outside the log
179
200
  schema's 64-bit range remain presence-only, while unsupported defaults are omitted. Hidden and
180
201
  deprecated options follow the same policy, and repeated
181
- options contribute one parameter entry per supplied value, up to 64 entries. Positional arguments,
182
- raw command arguments, paths, IDs, secrets, arbitrary free-form option values, and exception
183
- messages are omitted. Set
202
+ options contribute one parameter entry per supplied value, up to 64 entries. Parameter telemetry
203
+ omits positional arguments, raw command arguments, paths, IDs, and arbitrary free-form values. Set
184
204
  `AGENTBRICKS_DISABLE_TELEMETRY=1` to disable these uploads.
185
205
 
186
206
  Telemetry runs only when a leaf command is invoked, whether its callback succeeds or fails. Help
@@ -193,6 +213,25 @@ thread, returning sooner if the worker finishes. This is not a delivery guarante
193
213
  uploads can be lost when the process exits after the allowance expires. Missing credentials or a
194
214
  failed upload never change the command result.
195
215
 
216
+ Deploy and `deployments wait` telemetry includes a random invocation UUID, whether a gated
217
+ agent-details link was printed, the observed deployment state, and whether the process is an
218
+ internal background child. Details links carry the invocation UUID so browser arrivals can be
219
+ joined to the command that printed them. The UUID contains no agent name or authentication data.
220
+ Rollout outcomes are recorded independently of link availability, including failed rollouts;
221
+ preparation failures leave the deployment outcome unspecified.
222
+ `AGENTBRICKS_DISABLE_TELEMETRY=1` also removes these attribution parameters while keeping the link.
223
+ `deployments get` and `deployments list` also attach a per-command UUID to details links.
224
+ All rows from one list share one UUID and one command event; their deployment outcome stays
225
+ unspecified because these commands only read state. List links count as emitted only when JSON
226
+ output or terminal hyperlink rendering preserves their targets. Plain redirected output and
227
+ terminal modes that strip hyperlink targets keep `details_link_emitted=false`; use `--output json`
228
+ to capture the URLs. Group arrivals by the joined event's
229
+ `command_path` to distinguish deploy, wait, get, and list. Count distinct invocation IDs, rather
230
+ than list rows or repeated page loads, for command conversion percentages.
231
+ A wait command has its own invocation ID; it is not another deploy. Exclude background children
232
+ from user-invoked command counts. Link arrivals measure browser opens, including copied links,
233
+ not terminal mouse clicks or proof that the deployer and viewer are the same person.
234
+
196
235
  ## Quickstart
197
236
 
198
237
  The shortest path from a blank directory to a running and deployed agent:
@@ -228,6 +267,18 @@ The app's compute starts first and boots while the other resources are provision
228
267
  deploy stops partway, the app it created is kept: re-run `agentbricks deploy` to resume, or remove
229
268
  it with `agentbricks deployments delete agent-bricks-my-agent`.
230
269
 
270
+ When the workspace has both the Agent Memory Sessions beta and the new Agents UI enabled,
271
+ deploy output also includes an **Agent details** link to the workspace management page. This
272
+ applies to first deploys, redeploys, `--no-wait`, and `deployments wait`.
273
+ `deployments get` shows the same link alongside the app URL; `deployments list` links agent
274
+ names to their details pages and keeps a separate **Open app** link. JSON output adds
275
+ `details_url` when available and retains `url` for the deployed agent. The optional flag lookup
276
+ waits at most two seconds per command, including lists; unavailable or disabled flags omit the
277
+ link without affecting the command.
278
+ When following a local deploy record, `deployments wait` also requires its recorded workspace
279
+ host and ID to match the selected profile. Older records or records without a workspace ID omit
280
+ the management link; the recorded deployment status and invocation URL are still available.
281
+
231
282
  ### Deploying from a coding agent
232
283
 
233
284
  A first deploy takes ~3 min (mostly starting app compute); redeploys are faster. Either run
@@ -715,8 +766,8 @@ agentbricks memory stores permissions revoke memory-stores/<id> \
715
766
 
716
767
  Session stores accept their configured name or `session-stores/<name>`. Memory stores accept an ID
717
768
  or `memory-stores/<id>`; permission Get also accepts the display-name lookup supported by store Get
718
- and rejects ambiguous matches. The global `--profile` and `--output json` options go before
719
- `sessions` or `memory`. List follows the existing CLI pagination convention: one JSON/piped page
769
+ and rejects ambiguous matches. The global `--profile` option goes before `sessions` or `memory`;
770
+ `--output json` goes before or after the command. List follows the existing CLI pagination convention: one JSON/piped page
720
771
  with `next_page_token`, interactive text pages, or every page with `--all`.
721
772
 
722
773
  Get always returns the authenticated caller's effective permission, including
@@ -1128,7 +1179,7 @@ requests. By default, each App user's `X-Routing-Key` matches its generated user
1128
1179
 
1129
1180
  The final summary includes counts, throughput including drain, successful-only and all-completed
1130
1181
  latency percentiles, answer-text TTFT, token usage, coverage, incomplete attempts, and generator CPU
1131
- warnings. With `--output json` before `endpoint`, stdout contains one Agent Bricks summary object;
1182
+ warnings. With `--output json`, stdout contains one Agent Bricks summary object;
1132
1183
  progress stays on stderr. This is the same object saved as `summary.json`.
1133
1184
  Locust's rounded histogram buckets are used for percentiles; all-completed timings include failures.
1134
1185
  These bounded tests measure the selected workload and do not establish sustainable capacity or answer quality.
@@ -1514,9 +1565,8 @@ agentbricks tools remove genie_agent
1514
1565
  to `user`; choose `--auth app` deliberately for App service-principal execution. Existing manifests
1515
1566
  without `auth` preserve App/default identity. Both add commands and `remove` accept `--source PATH`
1516
1567
  to select a project instead of the current directory. Discovery needs no project; read that
1517
- project's `agent.toml` to inspect configured bindings. For scripted output, put the global
1518
- `-o json` option before `tools`, as in
1519
- `agentbricks -o json tools add genie-one --source ./my-agent`. Adding a binding is offline: it updates
1568
+ project's `agent.toml` to inspect configured bindings. For scripted output, add `-o json`, as in
1569
+ `agentbricks tools add genie-one --source ./my-agent -o json`. Adding a binding is offline: it updates
1520
1570
  `agent.toml` without contacting Genie or checking permissions. The corresponding sources are:
1521
1571
 
1522
1572
  ```toml
@@ -121,11 +121,32 @@ credentials.
121
121
 
122
122
  If Databricks SDK default authentication is already configured, you can skip `agentbricks login`.
123
123
  You can also pass the global `--profile/-p` option before an individual command, for example
124
- `agentbricks --profile <profile> tools list`. Use `--output json` for scripting.
124
+ `agentbricks --profile <profile> tools list`. Use `--output json` (before or after the command) for
125
+ scripting.
125
126
 
126
127
  The CLI sends best effort command usage telemetry after leaf commands. Its log records the static
127
128
  command path, package version, operating system, duration, and process outcome (exit code and, for
128
- nonzero exits, a bounded error category). Parameter entries include explicitly supplied options
129
+ nonzero exits, a bounded error category). Failures can also include up to 4096 UTF-8 bytes of
130
+ error text in `failure_message`. Error text includes exception messages and fully captured
131
+ failed subprocess output, with recognized credentials, paths, and email addresses scrubbed.
132
+ Combined failure text over 65,536 characters is also omitted before scrubbing.
133
+ Credential assignments, auth headers, credential options, and encoded text cause the remaining
134
+ captured text to be omitted; preceding diagnostic text is retained. This avoids parsing arbitrary
135
+ JSON, YAML, or Python values. Recognizable standalone tokens and private keys are also masked.
136
+ This follows the Asset Bundles minimization pattern and is best effort; other customer content
137
+ may remain in service responses or application output.
138
+ It is labeled `DATA_LABEL_USER_COMMANDS_RESPONSE`, excluded from centralized logfood, and retained
139
+ regionally only where customer logging and encryption policies permit. Error text is omitted for
140
+ parser errors and interruptions. Collection requires Legal approval and schema deployment.
141
+ For `dev`, failure text can include complete child output up to 3072 bytes per captured stream.
142
+ Once a stream exceeds that limit, all its retained text is permanently discarded and replaced with
143
+ `[REDACTED]`, including later plain error messages, because partial output may have lost credential
144
+ context. Short complete output is scrubbed before upload, including private keys. Displayed child
145
+ output is unchanged. With one output stream redirected, the terminal stream is inherited unchanged
146
+ and only the redirected stream is retained. When both streams point to the same regular file, both
147
+ are inherited without capture to preserve their original offsets and redirection behavior.
148
+ Startup milestones remain internal; a killed process or unavailable upload can still leave no event.
149
+ Parameter entries include explicitly supplied options
129
150
  and parsed Click defaults with supported typed values, automatically across all commands and
130
151
  parent groups. Declare defaults in Click options so the shared emitter can read the resolved
131
152
  values; fallbacks applied only inside command callbacks are not visible to Click. Omitted free-form
@@ -135,9 +156,8 @@ choices contribute an `AGENTBRICKS_CLI_`-prefixed value. Click boolean and numer
135
156
  contribute their typed values; explicitly supplied non-finite floats and integers outside the log
136
157
  schema's 64-bit range remain presence-only, while unsupported defaults are omitted. Hidden and
137
158
  deprecated options follow the same policy, and repeated
138
- options contribute one parameter entry per supplied value, up to 64 entries. Positional arguments,
139
- raw command arguments, paths, IDs, secrets, arbitrary free-form option values, and exception
140
- messages are omitted. Set
159
+ options contribute one parameter entry per supplied value, up to 64 entries. Parameter telemetry
160
+ omits positional arguments, raw command arguments, paths, IDs, and arbitrary free-form values. Set
141
161
  `AGENTBRICKS_DISABLE_TELEMETRY=1` to disable these uploads.
142
162
 
143
163
  Telemetry runs only when a leaf command is invoked, whether its callback succeeds or fails. Help
@@ -150,6 +170,25 @@ thread, returning sooner if the worker finishes. This is not a delivery guarante
150
170
  uploads can be lost when the process exits after the allowance expires. Missing credentials or a
151
171
  failed upload never change the command result.
152
172
 
173
+ Deploy and `deployments wait` telemetry includes a random invocation UUID, whether a gated
174
+ agent-details link was printed, the observed deployment state, and whether the process is an
175
+ internal background child. Details links carry the invocation UUID so browser arrivals can be
176
+ joined to the command that printed them. The UUID contains no agent name or authentication data.
177
+ Rollout outcomes are recorded independently of link availability, including failed rollouts;
178
+ preparation failures leave the deployment outcome unspecified.
179
+ `AGENTBRICKS_DISABLE_TELEMETRY=1` also removes these attribution parameters while keeping the link.
180
+ `deployments get` and `deployments list` also attach a per-command UUID to details links.
181
+ All rows from one list share one UUID and one command event; their deployment outcome stays
182
+ unspecified because these commands only read state. List links count as emitted only when JSON
183
+ output or terminal hyperlink rendering preserves their targets. Plain redirected output and
184
+ terminal modes that strip hyperlink targets keep `details_link_emitted=false`; use `--output json`
185
+ to capture the URLs. Group arrivals by the joined event's
186
+ `command_path` to distinguish deploy, wait, get, and list. Count distinct invocation IDs, rather
187
+ than list rows or repeated page loads, for command conversion percentages.
188
+ A wait command has its own invocation ID; it is not another deploy. Exclude background children
189
+ from user-invoked command counts. Link arrivals measure browser opens, including copied links,
190
+ not terminal mouse clicks or proof that the deployer and viewer are the same person.
191
+
153
192
  ## Quickstart
154
193
 
155
194
  The shortest path from a blank directory to a running and deployed agent:
@@ -185,6 +224,18 @@ The app's compute starts first and boots while the other resources are provision
185
224
  deploy stops partway, the app it created is kept: re-run `agentbricks deploy` to resume, or remove
186
225
  it with `agentbricks deployments delete agent-bricks-my-agent`.
187
226
 
227
+ When the workspace has both the Agent Memory Sessions beta and the new Agents UI enabled,
228
+ deploy output also includes an **Agent details** link to the workspace management page. This
229
+ applies to first deploys, redeploys, `--no-wait`, and `deployments wait`.
230
+ `deployments get` shows the same link alongside the app URL; `deployments list` links agent
231
+ names to their details pages and keeps a separate **Open app** link. JSON output adds
232
+ `details_url` when available and retains `url` for the deployed agent. The optional flag lookup
233
+ waits at most two seconds per command, including lists; unavailable or disabled flags omit the
234
+ link without affecting the command.
235
+ When following a local deploy record, `deployments wait` also requires its recorded workspace
236
+ host and ID to match the selected profile. Older records or records without a workspace ID omit
237
+ the management link; the recorded deployment status and invocation URL are still available.
238
+
188
239
  ### Deploying from a coding agent
189
240
 
190
241
  A first deploy takes ~3 min (mostly starting app compute); redeploys are faster. Either run
@@ -672,8 +723,8 @@ agentbricks memory stores permissions revoke memory-stores/<id> \
672
723
 
673
724
  Session stores accept their configured name or `session-stores/<name>`. Memory stores accept an ID
674
725
  or `memory-stores/<id>`; permission Get also accepts the display-name lookup supported by store Get
675
- and rejects ambiguous matches. The global `--profile` and `--output json` options go before
676
- `sessions` or `memory`. List follows the existing CLI pagination convention: one JSON/piped page
726
+ and rejects ambiguous matches. The global `--profile` option goes before `sessions` or `memory`;
727
+ `--output json` goes before or after the command. List follows the existing CLI pagination convention: one JSON/piped page
677
728
  with `next_page_token`, interactive text pages, or every page with `--all`.
678
729
 
679
730
  Get always returns the authenticated caller's effective permission, including
@@ -1085,7 +1136,7 @@ requests. By default, each App user's `X-Routing-Key` matches its generated user
1085
1136
 
1086
1137
  The final summary includes counts, throughput including drain, successful-only and all-completed
1087
1138
  latency percentiles, answer-text TTFT, token usage, coverage, incomplete attempts, and generator CPU
1088
- warnings. With `--output json` before `endpoint`, stdout contains one Agent Bricks summary object;
1139
+ warnings. With `--output json`, stdout contains one Agent Bricks summary object;
1089
1140
  progress stays on stderr. This is the same object saved as `summary.json`.
1090
1141
  Locust's rounded histogram buckets are used for percentiles; all-completed timings include failures.
1091
1142
  These bounded tests measure the selected workload and do not establish sustainable capacity or answer quality.
@@ -1471,9 +1522,8 @@ agentbricks tools remove genie_agent
1471
1522
  to `user`; choose `--auth app` deliberately for App service-principal execution. Existing manifests
1472
1523
  without `auth` preserve App/default identity. Both add commands and `remove` accept `--source PATH`
1473
1524
  to select a project instead of the current directory. Discovery needs no project; read that
1474
- project's `agent.toml` to inspect configured bindings. For scripted output, put the global
1475
- `-o json` option before `tools`, as in
1476
- `agentbricks -o json tools add genie-one --source ./my-agent`. Adding a binding is offline: it updates
1525
+ project's `agent.toml` to inspect configured bindings. For scripted output, add `-o json`, as in
1526
+ `agentbricks tools add genie-one --source ./my-agent -o json`. Adding a binding is offline: it updates
1477
1527
  `agent.toml` without contacting Genie or checking permissions. The corresponding sources are:
1478
1528
 
1479
1529
  ```toml
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "databricks-agentbricks"
3
- version = "0.9.0"
3
+ version = "0.10.0"
4
4
  description = "Agent Bricks CLI and AgentKit SDK for custom agents on Databricks"
5
5
  authors = [
6
6
  { name="Databricks", email="agent-feedback@databricks.com" },
@@ -123,9 +123,9 @@ def _emit_trailing_spacer() -> None:
123
123
  try:
124
124
  # Suppress under `-o json` even on a (pseudo-)TTY — a machine may be parsing stdout under
125
125
  # `docker run -t` / `script` / a CI PTY, where isatty() alone would wrongly allow the
126
- # spacer. `errors._OUTPUT_MODE` is a process global (set by the root group, read the same
127
- # way by render.py), so it's still available here after the Click context is torn down.
128
- if errors._OUTPUT_MODE == "json" or not sys.stdout.isatty():
126
+ # spacer. `errors.error_output_mode()` is a process global (set by the root group, read the
127
+ # same way by render.py), so it's still available here after the Click context is torn down.
128
+ if errors.error_output_mode() == "json" or not sys.stdout.isatty():
129
129
  return
130
130
  click.echo()
131
131
  except Exception:
@@ -28,6 +28,8 @@ from typing import Any, Callable, Optional
28
28
 
29
29
  import click
30
30
 
31
+ from databricks_agentbricks.cli import telemetry
32
+ from databricks_agentbricks.clients.agent_details_client import AgentDetailsClient
31
33
  from databricks_agentbricks.clients.app_probe import AppProbe
32
34
  from databricks_agentbricks.clients.apps_client import AppsClient
33
35
  from databricks_agentbricks.clients.apps_user_auth_client import AppsUserAuthClient
@@ -86,6 +88,12 @@ from databricks_agentbricks.services.invoke.auth import WorkspaceOAuthAuthentica
86
88
  # EX_TEMPFAIL from sysexits.h when the deploy is still running so the caller knows to wait again.
87
89
  _WAIT_TIMEOUT_S = 100
88
90
  _EX_TEMPFAIL = 75
91
+ _DEPLOYMENT_OUTCOMES: dict[str | None, telemetry.DeploymentOutcome] = {
92
+ None: "DEPLOYMENT_OUTCOME_UNSPECIFIED",
93
+ deploy_state.RUNNING: "DEPLOYMENT_OUTCOME_RUNNING",
94
+ deploy_state.SUCCEEDED: "DEPLOYMENT_OUTCOME_SUCCEEDED",
95
+ deploy_state.FAILED: "DEPLOYMENT_OUTCOME_FAILED",
96
+ }
89
97
 
90
98
 
91
99
  def build_deploy_service(obj, *, background: bool = False) -> DeployService:
@@ -200,8 +208,7 @@ def _ignore_hangup() -> None:
200
208
  "--source",
201
209
  default=".",
202
210
  type=click.Path(exists=True, file_okay=False),
203
- help="Local source directory for the deployment (containing app.yaml). Defaults to the "
204
- "current directory.",
211
+ help="Project directory (with app.yaml). Defaults to the current directory.",
205
212
  )
206
213
  @click.option(
207
214
  "--pip-index-url",
@@ -294,6 +301,7 @@ def deploy(
294
301
  agent answers requests. From a coding agent or script with a short command timeout, use
295
302
  --no-wait and then `agentbricks deployments wait`.
296
303
  """
304
+ telemetry.begin_deployment(background_child=background_child)
297
305
  if allowed_origin and clear_allowed_origins:
298
306
  raise click.UsageError("Use --allowed-origin or --clear-allowed-origins, not both.")
299
307
  request = DeployRequest(
@@ -312,17 +320,39 @@ def deploy(
312
320
  # Fail fast in the foreground on anything quick to check; the child repeats these checks.
313
321
  prepared = service.prepare(request)
314
322
  service.check_auth()
323
+ workspace = service.workspace_identity()
315
324
  source_dir = pathlib.Path(source)
316
325
  log = deploy_state.log_path(source_dir, prepared.name)
317
326
  pid = spawn_background_deploy(_background_argv(obj, request), log=log)
318
327
  state_file = deploy_state.record_background_start(
319
- source_dir, prepared.name, pid=pid, now=time.time()
328
+ source_dir, prepared.name, pid=pid, now=time.time(), workspace=workspace
329
+ )
330
+ telemetry.set_deployment_outcome("DEPLOYMENT_OUTCOME_RUNNING")
331
+ present_background_started(
332
+ prepared.name,
333
+ log=log,
334
+ state_file=state_file,
335
+ output=obj.output,
336
+ details_url=telemetry.deployment_details_url(
337
+ AgentDetailsClient(obj.api_client_provider).get_url(prepared.name),
338
+ ),
320
339
  )
321
- present_background_started(prepared.name, log=log, state_file=state_file, output=obj.output)
322
340
  return
323
341
  started = time.monotonic()
324
- result = service.deploy(request)
325
- present_deploy_result(result, output=obj.output, elapsed_s=time.monotonic() - started)
342
+ try:
343
+ result = service.deploy(request)
344
+ finally:
345
+ telemetry.set_deployment_outcome(
346
+ _DEPLOYMENT_OUTCOMES.get(service.rollout_outcome, "DEPLOYMENT_OUTCOME_UNSPECIFIED")
347
+ )
348
+ present_deploy_result(
349
+ result,
350
+ output=obj.output,
351
+ elapsed_s=time.monotonic() - started,
352
+ details_url=telemetry.deployment_details_url(
353
+ AgentDetailsClient(obj.api_client_provider).get_url(result.deployment),
354
+ ),
355
+ )
326
356
 
327
357
 
328
358
  # --- agentbricks deployments <lifecycle> ------------------------------------------
@@ -337,7 +367,21 @@ def deployments() -> None:
337
367
  @click.pass_obj
338
368
  def deployments_list(obj) -> None:
339
369
  """List Agent Bricks deployments (apps named `agent-bricks-*`)."""
340
- present_deployments_list(build_deploy_service(obj).list_deployments(), output=obj.output)
370
+ telemetry.begin_deployment()
371
+ items = build_deploy_service(obj).list_deployments()
372
+ names = [item["name"] for item in items if item.get("name")]
373
+ details_urls = AgentDetailsClient(obj.api_client_provider).get_urls(names)
374
+ console = render.console()
375
+ # Rich omits hyperlink targets without ANSI styles or with legacy Windows rendering.
376
+ if obj.output == "json" or (console.color_system is not None and not console.legacy_windows):
377
+ details_urls = {
378
+ name: telemetry.deployment_details_url(url) or url for name, url in details_urls.items()
379
+ }
380
+ present_deployments_list(
381
+ items,
382
+ output=obj.output,
383
+ details_urls=details_urls,
384
+ )
341
385
 
342
386
 
343
387
  @deployments.command("get")
@@ -345,7 +389,16 @@ def deployments_list(obj) -> None:
345
389
  @click.pass_obj
346
390
  def deployments_get(obj, name) -> None:
347
391
  """Get an agent deployment's details."""
348
- present_deployment_detail(build_deploy_service(obj).get(name), name, output=obj.output)
392
+ telemetry.begin_deployment()
393
+ data = build_deploy_service(obj).get(name)
394
+ present_deployment_detail(
395
+ data,
396
+ name,
397
+ output=obj.output,
398
+ details_url=telemetry.deployment_details_url(
399
+ AgentDetailsClient(obj.api_client_provider).get_url(name)
400
+ ),
401
+ )
349
402
 
350
403
 
351
404
  @deployments.command("wait")
@@ -377,8 +430,21 @@ def deployments_wait(ctx: click.Context, name, timeout_s, source) -> None:
377
430
  75 still deploying at the timeout (run the same command again).
378
431
  """
379
432
  obj = ctx.obj
433
+ telemetry.begin_deployment()
380
434
  result = build_deploy_service(obj).wait(name, pathlib.Path(source), timeout_s)
381
- present_wait_result(result, output=obj.output)
435
+ telemetry.set_deployment_outcome(_DEPLOYMENT_OUTCOMES[result.status])
436
+ present_wait_result(
437
+ result,
438
+ output=obj.output,
439
+ details_url=telemetry.deployment_details_url(
440
+ AgentDetailsClient(obj.api_client_provider).get_url(
441
+ result.deployment, expected_workspace=result.workspace
442
+ )
443
+ if result.status != deploy_state.FAILED
444
+ and (not result.from_local_state or result.workspace is not None)
445
+ else None,
446
+ ),
447
+ )
382
448
  if result.status == deploy_state.FAILED:
383
449
  ctx.exit(1)
384
450
  if result.status == deploy_state.RUNNING:
@@ -17,6 +17,7 @@ from databricks_agentbricks.clients.apps_client import AppsClient
17
17
  from databricks_agentbricks.clients.databricks_cli import _databricks
18
18
  from databricks_agentbricks.clients.local_ports import free_port, port_in_use
19
19
  from databricks_agentbricks.clients.local_tracing_client import LocalTracingClient
20
+ from databricks_agentbricks.diagnostics import CommandDiagnostics
20
21
  from databricks_agentbricks.errors import AgentCliError
21
22
  from databricks_agentbricks.presentation import render
22
23
  from databricks_agentbricks.presentation.dev import (
@@ -38,12 +39,16 @@ from databricks_agentbricks.services.dev_service import (
38
39
 
39
40
  def build_dev_service(obj) -> DevService:
40
41
  """Compose the local workflow without opening a workspace API client."""
42
+ diagnostics = getattr(obj, "diagnostics", None) or CommandDiagnostics()
43
+ obj.diagnostics = diagnostics
44
+ diagnostics.app_listened = False
41
45
  return DevService(
42
46
  project_resolver=ProjectResolver(),
43
- apps_client=AppsClient(obj.profile, runner=_databricks),
47
+ apps_client=AppsClient(obj.profile, runner=_databricks, diagnostics=diagnostics),
44
48
  local_tracing=LocalTracingClient(),
45
49
  port_in_use=port_in_use,
46
50
  free_port=free_port,
51
+ diagnostics=diagnostics,
47
52
  )
48
53
 
49
54
 
@@ -25,6 +25,7 @@ from packaging.utils import canonicalize_name
25
25
 
26
26
  from databricks_agentbricks.errors import AgentCliError
27
27
  from databricks_agentbricks.projects.agent_project import AgentProject
28
+ from databricks_agentbricks.projects.app_manifest import is_placeholder_command
28
29
  from databricks_agentbricks.services.deployment.names import (
29
30
  _MAX_DEPLOYMENT_NAME_LEN,
30
31
  _prefixed_name,
@@ -447,9 +448,7 @@ def _app_command(root: pathlib.Path) -> DoctorCheck:
447
448
  return _check(
448
449
  "app_command", False, f"{path} must declare a non-empty command string or list."
449
450
  )
450
- rendered = command if isinstance(command, str) else " ".join(command)
451
- normalized = rendered.casefold()
452
- if "replace_with" in normalized or "# todo: set your run command" in normalized:
451
+ if is_placeholder_command(command):
453
452
  return _check("app_command", False, f"{path} still contains a placeholder command.")
454
453
  return _check("app_command", True, "app.yaml declares a non-empty startup command.")
455
454
 
@@ -14,6 +14,13 @@ from databricks_agentbricks.presentation.render import field
14
14
  from databricks_agentkit._permissions import MAX_PERMISSION_PAGE_SIZE
15
15
 
16
16
 
17
+ class _UpperChoice(click.Choice):
18
+ """Case-insensitive choice that shows values uppercase in help and errors, like the API."""
19
+
20
+ def normalize_choice(self, choice: object, ctx: click.Context | None) -> str:
21
+ return super().normalize_choice(choice, ctx).upper()
22
+
23
+
17
24
  def _principal(user: str | None, service_principal: str | None) -> tuple[str, str]:
18
25
  if (user is None) == (service_principal is None):
19
26
  raise click.UsageError("Specify exactly one of --user or --service-principal.")
@@ -140,7 +147,7 @@ def store_permissions(kind: str, *, resolve_get: Callable | None = None) -> clic
140
147
  @click.option(
141
148
  "--permission",
142
149
  required=True,
143
- type=click.Choice(["READ", "WRITE"], case_sensitive=False),
150
+ type=_UpperChoice(["READ", "WRITE"], case_sensitive=False),
144
151
  help="Access to grant. WRITE includes READ; READ preserves an existing WRITE grant.",
145
152
  )
146
153
  @click.pass_obj
@@ -14,6 +14,11 @@ from databricks_agentbricks.presentation.render import field
14
14
  from databricks_agentkit import timefmt
15
15
  from databricks_agentkit._api_client import MEMORY_PIPELINE_TRIGGERS
16
16
 
17
+ _TRIGGER_HELP = (
18
+ "How runs start: only when you start one, also automatically about every 24 hours, "
19
+ "or always-on (distill as sessions update, plus daily maintenance)."
20
+ )
21
+
17
22
 
18
23
  def _resolve_instructions(ctx, param, value):
19
24
  if value is None or not value.startswith("@"):
@@ -57,6 +62,7 @@ def _render_detail(pipeline: dict) -> None:
57
62
 
58
63
 
59
64
  def _render_run(run: dict) -> None:
65
+ stats = field(run, "stats") or {}
60
66
  render.detail(
61
67
  "Dreamer Run",
62
68
  field(run, "name") or "—",
@@ -64,6 +70,10 @@ def _render_run(run: dict) -> None:
64
70
  "Resource name": field(run, "name"),
65
71
  "State": field(run, "state"),
66
72
  "Error": field(run, "error"),
73
+ "Actors succeeded": field(stats, "actors_succeeded"),
74
+ "Actors skipped": field(stats, "actors_skipped"),
75
+ "Actors failed": field(stats, "actors_failed"),
76
+ "Entries written": field(stats, "entries_written"),
67
77
  "Created": timefmt.absolute(field(run, "create_time")),
68
78
  "Finished": timefmt.absolute(field(run, "end_time")),
69
79
  },
@@ -91,7 +101,7 @@ def pipeline() -> None:
91
101
  type=click.Choice(list(MEMORY_PIPELINE_TRIGGERS)),
92
102
  default="manual",
93
103
  show_default=True,
94
- help="How runs start: only when you start one, or also automatically about every 24 hours.",
104
+ help=_TRIGGER_HELP,
95
105
  )
96
106
  @click.pass_obj
97
107
  def create(obj, memory_store, session_store, model, display_name, instructions, trigger) -> None:
@@ -184,7 +194,7 @@ def get(obj, name) -> None:
184
194
  "--trigger",
185
195
  type=click.Choice(list(MEMORY_PIPELINE_TRIGGERS)),
186
196
  default=None,
187
- help="How runs start: only when you start one, or also automatically about every 24 hours.",
197
+ help=_TRIGGER_HELP,
188
198
  )
189
199
  @click.pass_obj
190
200
  def update(obj, name, display_name, instructions, model, trigger) -> None:
@@ -212,6 +222,9 @@ def _set_trigger(obj, name: str, trigger: str) -> None:
212
222
  if current_trigger == MEMORY_PIPELINE_TRIGGERS[trigger]:
213
223
  state = "paused" if trigger == "manual" else "resumed"
214
224
  raise AgentCliError(f"Memory pipeline '{name}' is already {state}.")
225
+ if trigger == "scheduled" and current_trigger == MEMORY_PIPELINE_TRIGGERS["always-on"]:
226
+ # Always-on already runs automatically; resuming would downgrade it to daily runs.
227
+ raise AgentCliError(f"Memory pipeline '{name}' is already resumed (always-on).")
215
228
  data = client.update_memory_pipeline(name, trigger=trigger)
216
229
  if obj.output == "json":
217
230
  render.emit_json(data)
@@ -223,7 +236,7 @@ def _set_trigger(obj, name: str, trigger: str) -> None:
223
236
  @click.argument("name")
224
237
  @click.pass_obj
225
238
  def pause(obj, name) -> None:
226
- """Pause scheduled runs; active runs continue and manual runs remain available."""
239
+ """Pause scheduled or always-on runs; active runs continue and manual runs remain available."""
227
240
  _set_trigger(obj, name, "manual")
228
241
 
229
242