holmesgpt 0.12.3a1__tar.gz → 0.12.5__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.

Potentially problematic release.


This version of holmesgpt might be problematic. Click here for more details.

Files changed (204) hide show
  1. holmesgpt-0.12.5/PKG-INFO +258 -0
  2. holmesgpt-0.12.5/README.md +196 -0
  3. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/__init__.py +1 -1
  4. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/config.py +75 -33
  5. holmesgpt-0.12.5/holmes/core/config.py +5 -0
  6. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/conversations.py +17 -2
  7. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/investigation.py +1 -0
  8. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/llm.py +1 -2
  9. holmesgpt-0.12.5/holmes/core/prompt.py +67 -0
  10. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/supabase_dal.py +49 -13
  11. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/tool_calling_llm.py +26 -1
  12. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/tools.py +2 -1
  13. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/tools_utils/tool_executor.py +1 -0
  14. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/toolset_manager.py +10 -3
  15. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/tracing.py +78 -11
  16. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/interactive.py +110 -20
  17. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/main.py +13 -18
  18. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/destinations/slack/plugin.py +19 -9
  19. holmesgpt-0.12.5/holmes/plugins/prompts/_ai_safety.jinja2 +43 -0
  20. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/_fetch_logs.jinja2 +11 -1
  21. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/_general_instructions.jinja2 +8 -37
  22. holmesgpt-0.12.5/holmes/plugins/prompts/_permission_errors.jinja2 +6 -0
  23. holmesgpt-0.12.5/holmes/plugins/prompts/_runbook_instructions.jinja2 +21 -0
  24. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/_toolsets_instructions.jinja2 +22 -14
  25. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/generic_ask.jinja2 +6 -0
  26. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/generic_ask_conversation.jinja2 +1 -0
  27. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/generic_ask_for_issue_conversation.jinja2 +1 -0
  28. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/generic_investigation.jinja2 +1 -0
  29. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/kubernetes_workload_ask.jinja2 +2 -2
  30. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/__init__.py +20 -4
  31. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/__init__.py +7 -9
  32. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/aks-node-health.yaml +0 -8
  33. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/argocd.yaml +4 -1
  34. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/apis/azure_sql_api.py +1 -1
  35. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/apis/connection_failure_api.py +2 -0
  36. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/confluence.yaml +1 -1
  37. holmesgpt-0.12.5/holmes/plugins/toolsets/datadog/datadog_metrics_instructions.jinja2 +76 -0
  38. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/datadog/toolset_datadog_metrics.py +150 -6
  39. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/kubernetes.yaml +13 -7
  40. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/prometheus/prometheus.py +2 -6
  41. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/prometheus/prometheus_instructions.jinja2 +2 -2
  42. holmesgpt-0.12.5/holmes/plugins/toolsets/runbook/runbook_fetcher.py +137 -0
  43. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/service_discovery.py +1 -1
  44. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/slab.yaml +1 -1
  45. holmesgpt-0.12.5/holmes/utils/colors.py +7 -0
  46. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/console/consts.py +5 -0
  47. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/console/result.py +2 -1
  48. holmesgpt-0.12.5/holmes/utils/keygen_utils.py +6 -0
  49. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/version.py +2 -2
  50. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/pyproject.toml +20 -10
  51. holmesgpt-0.12.3a1/PKG-INFO +0 -400
  52. holmesgpt-0.12.3a1/README.md +0 -339
  53. holmesgpt-0.12.3a1/holmes/core/prompt.py +0 -42
  54. holmesgpt-0.12.3a1/holmes/plugins/prompts/_runbook_instructions.jinja2 +0 -13
  55. holmesgpt-0.12.3a1/holmes/plugins/toolsets/datadog/datadog_metrics_instructions.jinja2 +0 -26
  56. holmesgpt-0.12.3a1/holmes/plugins/toolsets/runbook/runbook_fetcher.py +0 -78
  57. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/LICENSE.txt +0 -0
  58. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/.git_archival.json +0 -0
  59. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/clients/robusta_client.py +0 -0
  60. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/common/env_vars.py +0 -0
  61. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/common/openshift.py +0 -0
  62. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/__init__.py +0 -0
  63. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/investigation_structured_output.py +0 -0
  64. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/issue.py +0 -0
  65. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/models.py +0 -0
  66. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/openai_formatting.py +0 -0
  67. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/performance_timing.py +0 -0
  68. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/resource_instruction.py +0 -0
  69. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/runbooks.py +0 -0
  70. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/safeguards.py +0 -0
  71. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/tools_utils/__init__.py +0 -0
  72. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/core/tools_utils/toolset_utils.py +0 -0
  73. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/__init__.py +0 -0
  74. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/destinations/__init__.py +0 -0
  75. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/destinations/slack/__init__.py +0 -0
  76. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/interfaces.py +0 -0
  77. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/__init__.py +0 -0
  78. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/_current_date_time.jinja2 +0 -0
  79. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/_default_log_prompt.jinja2 +0 -0
  80. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/_global_instructions.jinja2 +0 -0
  81. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/generic_post_processing.jinja2 +0 -0
  82. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/generic_ticket.jinja2 +0 -0
  83. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/investigation_output_format.jinja2 +0 -0
  84. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/prompts/kubernetes_workload_chat.jinja2 +0 -0
  85. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/README.md +0 -0
  86. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/catalog.json +0 -0
  87. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/jira.yaml +0 -0
  88. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/kube-prometheus-stack.yaml +0 -0
  89. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/networking/dns_troubleshooting_instructions.md +0 -0
  90. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/runbooks/upgrade/upgrade_troubleshooting_instructions.md +0 -0
  91. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/github/__init__.py +0 -0
  92. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/jira/__init__.py +0 -0
  93. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/opsgenie/__init__.py +0 -0
  94. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/pagerduty/__init__.py +0 -0
  95. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/prometheus/__init__.py +0 -0
  96. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/prometheus/models.py +0 -0
  97. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/sources/prometheus/plugin.py +0 -0
  98. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/aks.yaml +0 -0
  99. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/atlas_mongodb/instructions.jinja2 +0 -0
  100. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/atlas_mongodb/mongodb_atlas.py +0 -0
  101. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/aws.yaml +0 -0
  102. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/__init__.py +0 -0
  103. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/apis/alert_monitoring_api.py +0 -0
  104. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/apis/connection_monitoring_api.py +0 -0
  105. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/apis/storage_analysis_api.py +0 -0
  106. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/azure_base_toolset.py +0 -0
  107. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/azure_sql_instructions.jinja2 +0 -0
  108. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/azure_sql_toolset.py +0 -0
  109. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/install.md +0 -0
  110. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/__init__.py +0 -0
  111. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/analyze_connection_failures.py +0 -0
  112. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_connections.py +0 -0
  113. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_health_status.py +0 -0
  114. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_performance.py +0 -0
  115. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_storage.py +0 -0
  116. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/get_active_alerts.py +0 -0
  117. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/get_slow_queries.py +0 -0
  118. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/get_top_cpu_queries.py +0 -0
  119. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/get_top_data_io_queries.py +0 -0
  120. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/tools/get_top_log_io_queries.py +0 -0
  121. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/azure_sql/utils.py +0 -0
  122. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/__init__.py +0 -0
  123. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/bash_instructions.jinja2 +0 -0
  124. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/bash_toolset.py +0 -0
  125. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/common/bash.py +0 -0
  126. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/common/config.py +0 -0
  127. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/common/stringify.py +0 -0
  128. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/common/validators.py +0 -0
  129. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/grep/__init__.py +0 -0
  130. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/__init__.py +0 -0
  131. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/constants.py +0 -0
  132. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/kubectl_describe.py +0 -0
  133. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/kubectl_events.py +0 -0
  134. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/kubectl_get.py +0 -0
  135. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/kubectl_logs.py +0 -0
  136. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/kubectl_run.py +0 -0
  137. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/kubectl/kubectl_top.py +0 -0
  138. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/bash/parse_command.py +0 -0
  139. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/consts.py +0 -0
  140. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/coralogix/api.py +0 -0
  141. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/coralogix/toolset_coralogix_logs.py +0 -0
  142. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/coralogix/utils.py +0 -0
  143. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/datadog/datadog_api.py +0 -0
  144. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/datadog/datadog_traces_formatter.py +0 -0
  145. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/datadog/instructions_datadog_traces.jinja2 +0 -0
  146. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/datadog/toolset_datadog_logs.py +0 -0
  147. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/datadog/toolset_datadog_traces.py +0 -0
  148. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/docker.yaml +0 -0
  149. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/git.py +0 -0
  150. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/__init__.py +0 -0
  151. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/base_grafana_toolset.py +0 -0
  152. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/common.py +0 -0
  153. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/grafana_api.py +0 -0
  154. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/loki_api.py +0 -0
  155. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/tempo_api.py +0 -0
  156. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/toolset_grafana.py +0 -0
  157. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/toolset_grafana_loki.py +0 -0
  158. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.jinja2 +0 -0
  159. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.py +0 -0
  160. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/grafana/trace_parser.py +0 -0
  161. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/helm.yaml +0 -0
  162. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/internet/internet.py +0 -0
  163. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/internet/notion.py +0 -0
  164. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/kafka.py +0 -0
  165. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/kubernetes_logs.py +0 -0
  166. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/kubernetes_logs.yaml +0 -0
  167. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/logging_utils/__init__.py +0 -0
  168. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/logging_utils/logging_api.py +0 -0
  169. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/logging_utils/types.py +0 -0
  170. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/mcp/toolset_mcp.py +0 -0
  171. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/newrelic.py +0 -0
  172. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/opensearch/__init__.py +0 -0
  173. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/opensearch/opensearch.py +0 -0
  174. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/opensearch/opensearch_logs.py +0 -0
  175. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/opensearch/opensearch_traces.py +0 -0
  176. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/opensearch/opensearch_traces_instructions.jinja2 +0 -0
  177. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/opensearch/opensearch_utils.py +0 -0
  178. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/rabbitmq/api.py +0 -0
  179. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/rabbitmq/rabbitmq_instructions.jinja2 +0 -0
  180. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/rabbitmq/toolset_rabbitmq.py +0 -0
  181. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/robusta/__init__.py +0 -0
  182. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/robusta/robusta.py +0 -0
  183. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/robusta/robusta_instructions.jinja2 +0 -0
  184. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/runbook/__init__.py +0 -0
  185. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/servicenow/install.md +0 -0
  186. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/servicenow/instructions.jinja2 +0 -0
  187. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/servicenow/servicenow.py +0 -0
  188. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/toolsets/utils.py +0 -0
  189. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/plugins/utils.py +0 -0
  190. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/__init__.py +0 -0
  191. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/cache.py +0 -0
  192. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/cert_utils.py +0 -0
  193. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/console/logging.py +0 -0
  194. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/default_toolset_installation_guide.jinja2 +0 -0
  195. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/definitions.py +0 -0
  196. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/env.py +0 -0
  197. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/file_utils.py +0 -0
  198. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/global_instructions.py +0 -0
  199. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/holmes_status.py +0 -0
  200. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/holmes_sync_toolsets.py +0 -0
  201. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/markdown_utils.py +0 -0
  202. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/pydantic_utils.py +0 -0
  203. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/robusta.py +0 -0
  204. {holmesgpt-0.12.3a1 → holmesgpt-0.12.5}/holmes/utils/tags.py +0 -0
@@ -0,0 +1,258 @@
1
+ Metadata-Version: 2.1
2
+ Name: holmesgpt
3
+ Version: 0.12.5
4
+ Summary:
5
+ Author: Natan Yellin
6
+ Author-email: natan@robusta.dev
7
+ Requires-Python: >=3.10,<4.0
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Requires-Dist: aiohttp (>=3.10.2,<4.0.0)
12
+ Requires-Dist: azure-core (>=1.34.0,<2.0.0)
13
+ Requires-Dist: azure-identity (>=1.23.0,<2.0.0)
14
+ Requires-Dist: azure-mgmt-alertsmanagement (>=1.0.0,<2.0.0)
15
+ Requires-Dist: azure-mgmt-monitor (>=7.0.0b1,<8.0.0)
16
+ Requires-Dist: azure-mgmt-resource (>=23.3.0,<24.0.0)
17
+ Requires-Dist: azure-mgmt-sql (>=4.0.0b21,<5.0.0)
18
+ Requires-Dist: azure-monitor-query (>=1.2.0,<2.0.0)
19
+ Requires-Dist: backoff (>=2.2.1,<3.0.0)
20
+ Requires-Dist: boto3 (>=1.34.145,<2.0.0)
21
+ Requires-Dist: bs4 (>=0.0.2,<0.0.3)
22
+ Requires-Dist: cachetools (>=5.5.0,<6.0.0)
23
+ Requires-Dist: certifi (>=2024.7.4,<2025.0.0)
24
+ Requires-Dist: colorlog (>=6.8.2,<7.0.0)
25
+ Requires-Dist: confluent-kafka (>=2.6.1,<3.0.0)
26
+ Requires-Dist: fastapi (>=0.116,<0.117)
27
+ Requires-Dist: google-api-python-client (>=2.156.0,<3.0.0)
28
+ Requires-Dist: humanize (>=4.9.0,<5.0.0)
29
+ Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
30
+ Requires-Dist: kubernetes (>=32.0.1,<33.0.0)
31
+ Requires-Dist: litellm (==1.74.7)
32
+ Requires-Dist: markdown (>=3.6,<4.0)
33
+ Requires-Dist: markdownify (>=1.1.0,<2.0.0)
34
+ Requires-Dist: mcp (==v1.12.2)
35
+ Requires-Dist: openai (>=1.6.1,<2.0.0)
36
+ Requires-Dist: opensearch-py (>=2.8.0,<3.0.0)
37
+ Requires-Dist: prompt-toolkit (>=3.0.51,<4.0.0)
38
+ Requires-Dist: protobuf (>=6.31.1)
39
+ Requires-Dist: pydantic (>=2.7,<3.0)
40
+ Requires-Dist: pydantic-settings (>=2.1.0,<3.0.0)
41
+ Requires-Dist: pydash (>=8.0.1,<9.0.0)
42
+ Requires-Dist: pygments (>=2.18.0,<3.0.0)
43
+ Requires-Dist: pyodbc (>=5.0.1,<6.0.0)
44
+ Requires-Dist: pytest-shared-session-scope (>=0.4.0,<0.5.0)
45
+ Requires-Dist: python-benedict (>=0.33.1,<0.34.0)
46
+ Requires-Dist: python_multipart (>=0.0.18,<0.0.19)
47
+ Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
48
+ Requires-Dist: requests (>=2.32.4,<3.0.0)
49
+ Requires-Dist: rich (>=13.7.1,<14.0.0)
50
+ Requires-Dist: sentry-sdk[fastapi] (>=2.20.0,<3.0.0)
51
+ Requires-Dist: setuptools (==70.0.0)
52
+ Requires-Dist: slack-bolt (>=1.18.1,<2.0.0)
53
+ Requires-Dist: starlette (==0.47.2)
54
+ Requires-Dist: strenum (>=0.4.15,<0.5.0)
55
+ Requires-Dist: supabase (>=2.5,<3.0)
56
+ Requires-Dist: tenacity (>=9.1.2,<10.0.0)
57
+ Requires-Dist: typer (>=0.15.4,<0.16.0)
58
+ Requires-Dist: urllib3 (>=1.26.19,<2.0.0)
59
+ Requires-Dist: uvicorn (>=0.30,<0.31)
60
+ Description-Content-Type: text/markdown
61
+
62
+ <div align="center">
63
+ <h1 align="center">AI Agent for Cloud Troubleshooting and Alert Investigation</h1>
64
+
65
+ HolmesGPT is an AI agent for investigating problems in your cloud, finding the root cause, and suggesting remediations. It has dozens of built-in integrations for cloud providers, observability tools, and on-call systems.
66
+
67
+ HolmesGPT has been submitted to the CNCF as a sandbox project ([view status](https://github.com/cncf/sandbox/issues/392)). You can learn more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
68
+
69
+ <p align="center">
70
+ <a href="#how-it-works"><strong>How it Works</strong></a> |
71
+ <a href="#installation"><strong>Installation</strong></a> |
72
+ <a href="#supported-llm-providers"><strong>LLM Providers</strong></a> |
73
+ <a href="https://www.youtube.com/watch?v=TfQfx65LsDQ"><strong>YouTube Demo</strong></a> |
74
+ <a href="https://deepwiki.com/robusta-dev/holmesgpt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
75
+ </p>
76
+ </div>
77
+
78
+ ![HolmesGPT Investigation Demo](https://robusta-dev.github.io/holmesgpt/assets/HolmesInvestigation.gif)
79
+
80
+ ## How it Works
81
+
82
+ HolmesGPT connects AI models with live observability data and organizational knowledge. It uses an **agentic loop** to analyze data from multiple sources and identify possible root causes.
83
+
84
+ <img width="3114" alt="holmesgpt-architecture-diagram" src="https://github.com/user-attachments/assets/f659707e-1958-4add-9238-8565a5e3713a" />
85
+
86
+ ### 🔗 Data Sources
87
+
88
+ HolmesGPT integrates with popular observability and cloud platforms. The following data sources ("toolsets") are built-in. [Add your own](#customizing-holmesgpt).
89
+
90
+ | Data Source | Status | Notes |
91
+ |-------------|--------|-------|
92
+ | [<img src="images/integration_logos/argocd-icon.png" alt="ArgoCD" width="20" style="vertical-align: middle;"> **ArgoCD**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/argocd/) | ✅ | Get status, history and manifests and more of apps, projects and clusters |
93
+ | [<img src="images/integration_logos/aws_rds_logo.png" alt="AWS RDS" width="20" style="vertical-align: middle;"> **AWS RDS**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/aws/) | ✅ | Fetch events, instances, slow query logs and more |
94
+ | [<img src="images/integration_logos/confluence_logo.png" alt="Confluence" width="20" style="vertical-align: middle;"> **Confluence**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/confluence/) | ✅ | Private runbooks and documentation |
95
+ | [<img src="images/integration_logos/coralogix-icon.png" alt="Coralogix Logs" width="20" style="vertical-align: middle;"> **Coralogix Logs**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/coralogix-logs/) | ✅ | Retrieve logs for any resource |
96
+ | [<img src="images/integration_logos/date_time_icon.png" alt="Datetime" width="20" style="vertical-align: middle;"> **Datetime**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/datetime/) | ✅ | Date and time-related operations |
97
+ | [<img src="images/integration_logos/docker_logo.png" alt="Docker" width="20" style="vertical-align: middle;"> **Docker**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/docker/) | ✅ | Get images, logs, events, history and more |
98
+ | [<img src="images/integration_logos/github_logo.png" alt="GitHub" width="20" style="vertical-align: middle;"> **GitHub**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/github/) | 🟡 Beta | Remediate alerts by opening pull requests with fixes |
99
+ | [<img src="images/integration_logos/datadog_logo.png" alt="DataDog" width="20" style="vertical-align: middle;"> **DataDog**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/datadog/) | 🟡 Beta | Fetches log data from datadog |
100
+ | [<img src="images/integration_logos/grafana_loki-icon.png" alt="Loki" width="20" style="vertical-align: middle;"> **Grafana Loki**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/grafanaloki/) | ✅ | Query logs for Kubernetes resources or any query |
101
+ | [<img src="images/integration_logos/tempo_logo.png" alt="Tempo" width="20" style="vertical-align: middle;"> **Grafana Tempo**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/grafanatempo/) | ✅ | Fetch trace info, debug issues like high latency in application. |
102
+ | [<img src="images/integration_logos/helm_logo.png" alt="Helm" width="20" style="vertical-align: middle;"> **Helm**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/helm/) | ✅ | Release status, chart metadata, and values |
103
+ | [<img src="images/integration_logos/http-icon.png" alt="Internet" width="20" style="vertical-align: middle;"> **Internet**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/internet/) | ✅ | Public runbooks, community docs etc |
104
+ | [<img src="images/integration_logos/kafka_logo.png" alt="Kafka" width="20" style="vertical-align: middle;"> **Kafka**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/kafka/) | ✅ | Fetch metadata, list consumers and topics or find lagging consumer groups |
105
+ | [<img src="images/integration_logos/kubernetes-icon.png" alt="Kubernetes" width="20" style="vertical-align: middle;"> **Kubernetes**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/kubernetes/) | ✅ | Pod logs, K8s events, and resource status (kubectl describe) |
106
+ | [<img src="images/integration_logos/newrelic_logo.png" alt="NewRelic" width="20" style="vertical-align: middle;"> **NewRelic**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/newrelic/) | 🟡 Beta | Investigate alerts, query tracing data |
107
+ | [<img src="images/integration_logos/opensearchserverless-icon.png" alt="OpenSearch" width="20" style="vertical-align: middle;"> **OpenSearch**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/opensearch-status/) | ✅ | Query health, shard, and settings related info of one or more clusters|
108
+ | [<img src="images/integration_logos/prometheus-icon.png" alt="Prometheus" width="20" style="vertical-align: middle;"> **Prometheus**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/prometheus/) | ✅ | Investigate alerts, query metrics and generate PromQL queries |
109
+ | [<img src="images/integration_logos/rabbit_mq_logo.png" alt="RabbitMQ" width="20" style="vertical-align: middle;"> **RabbitMQ**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/rabbitmq/) | ✅ | Info about partitions, memory/disk alerts to troubleshoot split-brain scenarios and more |
110
+ | [<img src="images/integration_logos/robusta_logo.png" alt="Robusta" width="20" style="vertical-align: middle;"> **Robusta**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/robusta/) | ✅ | Multi-cluster monitoring, historical change data, user-configured runbooks, PromQL graphs and more |
111
+ | [<img src="images/integration_logos/slab_logo.png" alt="Slab" width="20" style="vertical-align: middle;"> **Slab**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/slab/) | ✅ | Team knowledge base and runbooks on demand |
112
+
113
+ ### 🚀 End-to-End Automation
114
+
115
+ HolmesGPT can fetch alerts/tickets to investigate from external systems, then write the analysis back to the source or Slack.
116
+
117
+ | Integration | Status | Notes |
118
+ |-------------------------|-----------|-------|
119
+ | Slack | 🟡 Beta | [Demo.](https://www.loom.com/share/afcd81444b1a4adfaa0bbe01c37a4847) Tag HolmesGPT bot in any Slack message |
120
+ | Prometheus/AlertManager | ✅ | Robusta SaaS or HolmesGPT CLI |
121
+ | PagerDuty | ✅ | HolmesGPT CLI only |
122
+ | OpsGenie | ✅ | HolmesGPT CLI only |
123
+ | Jira | ✅ | HolmesGPT CLI only |
124
+ | GitHub | ✅ | HolmesGPT CLI only |
125
+
126
+ ## Installation
127
+
128
+ <a href="https://robusta-dev.github.io/holmesgpt/installation/cli-installation/">
129
+ <img src="images/integration_logos/all-installation-methods.png" alt="All Installation Methods" style="max-width:100%; height:auto;">
130
+ </a>
131
+
132
+ Read the [installation documentation](https://robusta-dev.github.io/holmesgpt/installation/cli-installation/) to learn how to install HolmesGPT.
133
+
134
+ ## Supported LLM Providers
135
+
136
+ <a href="https://robusta-dev.github.io/holmesgpt/ai-providers/">
137
+ <img src="images/integration_logos/all-integration-providers.png" alt="All Integration Providers" style="max-width:100%; height:auto;">
138
+ </a>
139
+
140
+ Read the [LLM Providers documentation](https://robusta-dev.github.io/holmesgpt/ai-providers/) to learn how to set up your LLM API key.
141
+
142
+ ## Using HolmesGPT
143
+
144
+ - In the Robusta SaaS: Go to [platform.robusta.dev](https://platform.robusta.dev/signup/?utm_source=github&utm_medium=holmesgpt-readme&utm_content=ways_to_use_holmesgpt_section) and use Holmes from your browser
145
+ - With HolmesGPT CLI: [setup an LLM API key](https://robusta-dev.github.io/holmesgpt/ai-providers/) and ask Holmes a question 👇
146
+
147
+ ```bash
148
+ holmes ask "what pods are unhealthy and why?"
149
+ ```
150
+
151
+ You can also provide files as context:
152
+ ```bash
153
+ holmes ask "summarize the key points in this document" -f ./mydocument.txt
154
+ ```
155
+
156
+ You can also load the prompt from a file using the `--prompt-file` option:
157
+ ```bash
158
+ holmes ask --prompt-file ~/long-prompt.txt
159
+
160
+ Enter interactive mode to ask follow-up questions:
161
+ ```bash
162
+ holmes ask "what pods are unhealthy and why?" --interactive
163
+ # or
164
+ holmes ask "what pods are unhealthy and why?" -i
165
+ ```
166
+
167
+ Also supported:
168
+
169
+ <details>
170
+ <summary>HolmesGPT CLI: investigate Prometheus alerts</summary>
171
+
172
+ Pull alerts from AlertManager and investigate them with HolmesGPT:
173
+
174
+ ```bash
175
+ holmes investigate alertmanager --alertmanager-url http://localhost:9093
176
+ # if on Mac OS and using the Holmes Docker image👇
177
+ # holmes investigate alertmanager --alertmanager-url http://docker.for.mac.localhost:9093
178
+ ```
179
+
180
+ <b>To investigate alerts in your browser, sign up for a free trial of [Robusta SaaS](https://platform.robusta.dev/signup/?utm_source=github&utm_medium=holmesgpt-readme&utm_content=ways_to_use_holmesgpt_section). </b>
181
+
182
+
183
+ <b>Optional:</b> port-forward to AlertManager before running the command mentioned above (if running Prometheus inside Kubernetes)
184
+
185
+ ```bash
186
+ kubectl port-forward alertmanager-robusta-kube-prometheus-st-alertmanager-0 9093:9093 &
187
+ ```
188
+ </details>
189
+
190
+ <details>
191
+ <summary>HolmesGPT CLI: investigate PagerDuty and OpsGenie alerts</summary>
192
+
193
+ ```bash
194
+ holmes investigate opsgenie --opsgenie-api-key <OPSGENIE_API_KEY>
195
+ holmes investigate pagerduty --pagerduty-api-key <PAGERDUTY_API_KEY>
196
+ # to write the analysis back to the incident as a comment
197
+ holmes investigate pagerduty --pagerduty-api-key <PAGERDUTY_API_KEY> --update
198
+ ```
199
+
200
+ For more details, run `holmes investigate <source> --help`
201
+ </details>
202
+
203
+ ## Customizing HolmesGPT
204
+
205
+ HolmesGPT can investigate many issues out of the box, with no customization or training. Optionally, you can extend Holmes to improve results:
206
+
207
+ **Custom Data Sources**: Add data sources (toolsets) to improve investigations
208
+ - If using Robusta SaaS: See [here](https://robusta-dev.github.io/holmesgpt/data-sources/custom-toolsets/)
209
+ - If using the CLI: Use `-t` flag with [custom toolset files](./examples/custom_toolset.yaml) or add to `~/.holmes/config.yaml`
210
+
211
+ **Custom Runbooks**: Give HolmesGPT instructions for known alerts:
212
+ - If using Robusta SaaS: Use the Robusta UI to add runbooks
213
+ - If using the CLI: Use `-r` flag with [custom runbook files](./examples/custom_runbooks.yaml) or add to `~/.holmes/config.yaml`
214
+
215
+ You can save common settings and API Keys in a config file to avoid passing them from the CLI each time:
216
+
217
+ <details>
218
+ <summary>Reading settings from a config file</summary>
219
+
220
+ You can save common settings and API keys in config file for re-use. Place the config file in <code>~/.holmes/config.yaml`</code> or pass it using the <code> --config</code>
221
+
222
+ You can view an example config file with all available settings [here](config.example.yaml).
223
+ </details>
224
+
225
+ ## 🔐 Data Privacy
226
+
227
+ By design, HolmesGPT has **read-only access** and respects RBAC permissions. It is safe to run in production environments.
228
+
229
+ We do **not** train HolmesGPT on your data. Data sent to Robusta SaaS is private to your account.
230
+
231
+ For extra privacy, [bring an API key](https://robusta-dev.github.io/holmesgpt/ai-providers/) for your own AI model.
232
+
233
+
234
+ ## Evals
235
+
236
+ Because HolmesGPT relies on LLMs, it relies on [a suite of pytest based evaluations](https://robusta-dev.github.io/holmesgpt/development/evals/) to ensure the prompt and HolmesGPT's default set of tools work as expected with LLMs.
237
+
238
+ - [Introduction to HolmesGPT's evals](https://robusta-dev.github.io/holmesgpt/development/evals/).
239
+ - [Write your own evals](https://robusta-dev.github.io/holmesgpt/development/evals/writing/).
240
+ - [Use Braintrust to view analyze results (optional)](https://robusta-dev.github.io/holmesgpt/development/evals/reporting/).
241
+
242
+
243
+ ## License
244
+ Distributed under the MIT License. See [LICENSE.txt](https://github.com/robusta-dev/holmesgpt/blob/master/LICENSE.txt) for more information.
245
+ <!-- Change License -->
246
+
247
+ ## Support
248
+
249
+ If you have any questions, feel free to message us on [robustacommunity.slack.com](https://bit.ly/robusta-slack)
250
+
251
+ ## How to Contribute
252
+
253
+ Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines and instructions.
254
+
255
+ For help, contact us on [Slack](https://bit.ly/robusta-slack) or ask [DeepWiki AI](https://deepwiki.com/robusta-dev/holmesgpt) your questions.
256
+
257
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/robusta-dev/holmesgpt)
258
+
@@ -0,0 +1,196 @@
1
+ <div align="center">
2
+ <h1 align="center">AI Agent for Cloud Troubleshooting and Alert Investigation</h1>
3
+
4
+ HolmesGPT is an AI agent for investigating problems in your cloud, finding the root cause, and suggesting remediations. It has dozens of built-in integrations for cloud providers, observability tools, and on-call systems.
5
+
6
+ HolmesGPT has been submitted to the CNCF as a sandbox project ([view status](https://github.com/cncf/sandbox/issues/392)). You can learn more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
7
+
8
+ <p align="center">
9
+ <a href="#how-it-works"><strong>How it Works</strong></a> |
10
+ <a href="#installation"><strong>Installation</strong></a> |
11
+ <a href="#supported-llm-providers"><strong>LLM Providers</strong></a> |
12
+ <a href="https://www.youtube.com/watch?v=TfQfx65LsDQ"><strong>YouTube Demo</strong></a> |
13
+ <a href="https://deepwiki.com/robusta-dev/holmesgpt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
14
+ </p>
15
+ </div>
16
+
17
+ ![HolmesGPT Investigation Demo](https://robusta-dev.github.io/holmesgpt/assets/HolmesInvestigation.gif)
18
+
19
+ ## How it Works
20
+
21
+ HolmesGPT connects AI models with live observability data and organizational knowledge. It uses an **agentic loop** to analyze data from multiple sources and identify possible root causes.
22
+
23
+ <img width="3114" alt="holmesgpt-architecture-diagram" src="https://github.com/user-attachments/assets/f659707e-1958-4add-9238-8565a5e3713a" />
24
+
25
+ ### 🔗 Data Sources
26
+
27
+ HolmesGPT integrates with popular observability and cloud platforms. The following data sources ("toolsets") are built-in. [Add your own](#customizing-holmesgpt).
28
+
29
+ | Data Source | Status | Notes |
30
+ |-------------|--------|-------|
31
+ | [<img src="images/integration_logos/argocd-icon.png" alt="ArgoCD" width="20" style="vertical-align: middle;"> **ArgoCD**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/argocd/) | ✅ | Get status, history and manifests and more of apps, projects and clusters |
32
+ | [<img src="images/integration_logos/aws_rds_logo.png" alt="AWS RDS" width="20" style="vertical-align: middle;"> **AWS RDS**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/aws/) | ✅ | Fetch events, instances, slow query logs and more |
33
+ | [<img src="images/integration_logos/confluence_logo.png" alt="Confluence" width="20" style="vertical-align: middle;"> **Confluence**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/confluence/) | ✅ | Private runbooks and documentation |
34
+ | [<img src="images/integration_logos/coralogix-icon.png" alt="Coralogix Logs" width="20" style="vertical-align: middle;"> **Coralogix Logs**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/coralogix-logs/) | ✅ | Retrieve logs for any resource |
35
+ | [<img src="images/integration_logos/date_time_icon.png" alt="Datetime" width="20" style="vertical-align: middle;"> **Datetime**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/datetime/) | ✅ | Date and time-related operations |
36
+ | [<img src="images/integration_logos/docker_logo.png" alt="Docker" width="20" style="vertical-align: middle;"> **Docker**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/docker/) | ✅ | Get images, logs, events, history and more |
37
+ | [<img src="images/integration_logos/github_logo.png" alt="GitHub" width="20" style="vertical-align: middle;"> **GitHub**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/github/) | 🟡 Beta | Remediate alerts by opening pull requests with fixes |
38
+ | [<img src="images/integration_logos/datadog_logo.png" alt="DataDog" width="20" style="vertical-align: middle;"> **DataDog**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/datadog/) | 🟡 Beta | Fetches log data from datadog |
39
+ | [<img src="images/integration_logos/grafana_loki-icon.png" alt="Loki" width="20" style="vertical-align: middle;"> **Grafana Loki**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/grafanaloki/) | ✅ | Query logs for Kubernetes resources or any query |
40
+ | [<img src="images/integration_logos/tempo_logo.png" alt="Tempo" width="20" style="vertical-align: middle;"> **Grafana Tempo**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/grafanatempo/) | ✅ | Fetch trace info, debug issues like high latency in application. |
41
+ | [<img src="images/integration_logos/helm_logo.png" alt="Helm" width="20" style="vertical-align: middle;"> **Helm**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/helm/) | ✅ | Release status, chart metadata, and values |
42
+ | [<img src="images/integration_logos/http-icon.png" alt="Internet" width="20" style="vertical-align: middle;"> **Internet**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/internet/) | ✅ | Public runbooks, community docs etc |
43
+ | [<img src="images/integration_logos/kafka_logo.png" alt="Kafka" width="20" style="vertical-align: middle;"> **Kafka**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/kafka/) | ✅ | Fetch metadata, list consumers and topics or find lagging consumer groups |
44
+ | [<img src="images/integration_logos/kubernetes-icon.png" alt="Kubernetes" width="20" style="vertical-align: middle;"> **Kubernetes**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/kubernetes/) | ✅ | Pod logs, K8s events, and resource status (kubectl describe) |
45
+ | [<img src="images/integration_logos/newrelic_logo.png" alt="NewRelic" width="20" style="vertical-align: middle;"> **NewRelic**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/newrelic/) | 🟡 Beta | Investigate alerts, query tracing data |
46
+ | [<img src="images/integration_logos/opensearchserverless-icon.png" alt="OpenSearch" width="20" style="vertical-align: middle;"> **OpenSearch**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/opensearch-status/) | ✅ | Query health, shard, and settings related info of one or more clusters|
47
+ | [<img src="images/integration_logos/prometheus-icon.png" alt="Prometheus" width="20" style="vertical-align: middle;"> **Prometheus**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/prometheus/) | ✅ | Investigate alerts, query metrics and generate PromQL queries |
48
+ | [<img src="images/integration_logos/rabbit_mq_logo.png" alt="RabbitMQ" width="20" style="vertical-align: middle;"> **RabbitMQ**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/rabbitmq/) | ✅ | Info about partitions, memory/disk alerts to troubleshoot split-brain scenarios and more |
49
+ | [<img src="images/integration_logos/robusta_logo.png" alt="Robusta" width="20" style="vertical-align: middle;"> **Robusta**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/robusta/) | ✅ | Multi-cluster monitoring, historical change data, user-configured runbooks, PromQL graphs and more |
50
+ | [<img src="images/integration_logos/slab_logo.png" alt="Slab" width="20" style="vertical-align: middle;"> **Slab**](https://robusta-dev.github.io/holmesgpt/data-sources/builtin-toolsets/slab/) | ✅ | Team knowledge base and runbooks on demand |
51
+
52
+ ### 🚀 End-to-End Automation
53
+
54
+ HolmesGPT can fetch alerts/tickets to investigate from external systems, then write the analysis back to the source or Slack.
55
+
56
+ | Integration | Status | Notes |
57
+ |-------------------------|-----------|-------|
58
+ | Slack | 🟡 Beta | [Demo.](https://www.loom.com/share/afcd81444b1a4adfaa0bbe01c37a4847) Tag HolmesGPT bot in any Slack message |
59
+ | Prometheus/AlertManager | ✅ | Robusta SaaS or HolmesGPT CLI |
60
+ | PagerDuty | ✅ | HolmesGPT CLI only |
61
+ | OpsGenie | ✅ | HolmesGPT CLI only |
62
+ | Jira | ✅ | HolmesGPT CLI only |
63
+ | GitHub | ✅ | HolmesGPT CLI only |
64
+
65
+ ## Installation
66
+
67
+ <a href="https://robusta-dev.github.io/holmesgpt/installation/cli-installation/">
68
+ <img src="images/integration_logos/all-installation-methods.png" alt="All Installation Methods" style="max-width:100%; height:auto;">
69
+ </a>
70
+
71
+ Read the [installation documentation](https://robusta-dev.github.io/holmesgpt/installation/cli-installation/) to learn how to install HolmesGPT.
72
+
73
+ ## Supported LLM Providers
74
+
75
+ <a href="https://robusta-dev.github.io/holmesgpt/ai-providers/">
76
+ <img src="images/integration_logos/all-integration-providers.png" alt="All Integration Providers" style="max-width:100%; height:auto;">
77
+ </a>
78
+
79
+ Read the [LLM Providers documentation](https://robusta-dev.github.io/holmesgpt/ai-providers/) to learn how to set up your LLM API key.
80
+
81
+ ## Using HolmesGPT
82
+
83
+ - In the Robusta SaaS: Go to [platform.robusta.dev](https://platform.robusta.dev/signup/?utm_source=github&utm_medium=holmesgpt-readme&utm_content=ways_to_use_holmesgpt_section) and use Holmes from your browser
84
+ - With HolmesGPT CLI: [setup an LLM API key](https://robusta-dev.github.io/holmesgpt/ai-providers/) and ask Holmes a question 👇
85
+
86
+ ```bash
87
+ holmes ask "what pods are unhealthy and why?"
88
+ ```
89
+
90
+ You can also provide files as context:
91
+ ```bash
92
+ holmes ask "summarize the key points in this document" -f ./mydocument.txt
93
+ ```
94
+
95
+ You can also load the prompt from a file using the `--prompt-file` option:
96
+ ```bash
97
+ holmes ask --prompt-file ~/long-prompt.txt
98
+
99
+ Enter interactive mode to ask follow-up questions:
100
+ ```bash
101
+ holmes ask "what pods are unhealthy and why?" --interactive
102
+ # or
103
+ holmes ask "what pods are unhealthy and why?" -i
104
+ ```
105
+
106
+ Also supported:
107
+
108
+ <details>
109
+ <summary>HolmesGPT CLI: investigate Prometheus alerts</summary>
110
+
111
+ Pull alerts from AlertManager and investigate them with HolmesGPT:
112
+
113
+ ```bash
114
+ holmes investigate alertmanager --alertmanager-url http://localhost:9093
115
+ # if on Mac OS and using the Holmes Docker image👇
116
+ # holmes investigate alertmanager --alertmanager-url http://docker.for.mac.localhost:9093
117
+ ```
118
+
119
+ <b>To investigate alerts in your browser, sign up for a free trial of [Robusta SaaS](https://platform.robusta.dev/signup/?utm_source=github&utm_medium=holmesgpt-readme&utm_content=ways_to_use_holmesgpt_section). </b>
120
+
121
+
122
+ <b>Optional:</b> port-forward to AlertManager before running the command mentioned above (if running Prometheus inside Kubernetes)
123
+
124
+ ```bash
125
+ kubectl port-forward alertmanager-robusta-kube-prometheus-st-alertmanager-0 9093:9093 &
126
+ ```
127
+ </details>
128
+
129
+ <details>
130
+ <summary>HolmesGPT CLI: investigate PagerDuty and OpsGenie alerts</summary>
131
+
132
+ ```bash
133
+ holmes investigate opsgenie --opsgenie-api-key <OPSGENIE_API_KEY>
134
+ holmes investigate pagerduty --pagerduty-api-key <PAGERDUTY_API_KEY>
135
+ # to write the analysis back to the incident as a comment
136
+ holmes investigate pagerduty --pagerduty-api-key <PAGERDUTY_API_KEY> --update
137
+ ```
138
+
139
+ For more details, run `holmes investigate <source> --help`
140
+ </details>
141
+
142
+ ## Customizing HolmesGPT
143
+
144
+ HolmesGPT can investigate many issues out of the box, with no customization or training. Optionally, you can extend Holmes to improve results:
145
+
146
+ **Custom Data Sources**: Add data sources (toolsets) to improve investigations
147
+ - If using Robusta SaaS: See [here](https://robusta-dev.github.io/holmesgpt/data-sources/custom-toolsets/)
148
+ - If using the CLI: Use `-t` flag with [custom toolset files](./examples/custom_toolset.yaml) or add to `~/.holmes/config.yaml`
149
+
150
+ **Custom Runbooks**: Give HolmesGPT instructions for known alerts:
151
+ - If using Robusta SaaS: Use the Robusta UI to add runbooks
152
+ - If using the CLI: Use `-r` flag with [custom runbook files](./examples/custom_runbooks.yaml) or add to `~/.holmes/config.yaml`
153
+
154
+ You can save common settings and API Keys in a config file to avoid passing them from the CLI each time:
155
+
156
+ <details>
157
+ <summary>Reading settings from a config file</summary>
158
+
159
+ You can save common settings and API keys in config file for re-use. Place the config file in <code>~/.holmes/config.yaml`</code> or pass it using the <code> --config</code>
160
+
161
+ You can view an example config file with all available settings [here](config.example.yaml).
162
+ </details>
163
+
164
+ ## 🔐 Data Privacy
165
+
166
+ By design, HolmesGPT has **read-only access** and respects RBAC permissions. It is safe to run in production environments.
167
+
168
+ We do **not** train HolmesGPT on your data. Data sent to Robusta SaaS is private to your account.
169
+
170
+ For extra privacy, [bring an API key](https://robusta-dev.github.io/holmesgpt/ai-providers/) for your own AI model.
171
+
172
+
173
+ ## Evals
174
+
175
+ Because HolmesGPT relies on LLMs, it relies on [a suite of pytest based evaluations](https://robusta-dev.github.io/holmesgpt/development/evals/) to ensure the prompt and HolmesGPT's default set of tools work as expected with LLMs.
176
+
177
+ - [Introduction to HolmesGPT's evals](https://robusta-dev.github.io/holmesgpt/development/evals/).
178
+ - [Write your own evals](https://robusta-dev.github.io/holmesgpt/development/evals/writing/).
179
+ - [Use Braintrust to view analyze results (optional)](https://robusta-dev.github.io/holmesgpt/development/evals/reporting/).
180
+
181
+
182
+ ## License
183
+ Distributed under the MIT License. See [LICENSE.txt](https://github.com/robusta-dev/holmesgpt/blob/master/LICENSE.txt) for more information.
184
+ <!-- Change License -->
185
+
186
+ ## Support
187
+
188
+ If you have any questions, feel free to message us on [robustacommunity.slack.com](https://bit.ly/robusta-slack)
189
+
190
+ ## How to Contribute
191
+
192
+ Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines and instructions.
193
+
194
+ For help, contact us on [Slack](https://bit.ly/robusta-slack) or ask [DeepWiki AI](https://deepwiki.com/robusta-dev/holmesgpt) your questions.
195
+
196
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/robusta-dev/holmesgpt)
@@ -1,5 +1,5 @@
1
1
  # This is patched by github actions during release
2
- __version__ = "0.12.3-alpha.1"
2
+ __version__ = "0.12.5"
3
3
 
4
4
  # Re-export version functions from version module for backward compatibility
5
5
  from .version import (