Skip to content
On this page

AIAgent

God node · 2481 connections · /root/.hermes/hermes-agent/run_agent.py

Community: [/Community_1 Community 1]

Connections by Relation

calls

  • main() EXTRACTED

contains

  • run_agent.py EXTRACTED

method

  • ._build_api_kwargs() EXTRACTED
  • ._interruptible_streaming_api_call() EXTRACTED
  • ._build_system_prompt() EXTRACTED
  • ._build_assistant_message() EXTRACTED
  • ._strip_think_blocks() EXTRACTED
  • ._anthropic_prompt_cache_policy() EXTRACTED
  • ._try_activate_fallback() EXTRACTED
  • ._vprint() EXTRACTED
  • ._execute_tool_calls() EXTRACTED
  • ._apply_client_headers_for_base_url() EXTRACTED
  • ._flush_messages_to_session_db() EXTRACTED
  • ._extract_reasoning() EXTRACTED
  • ._try_recover_primary_transport() EXTRACTED
  • ._try_strip_image_parts_from_tool_messages() EXTRACTED
  • ._copy_reasoning_content_for_api() EXTRACTED
  • ._check_compression_model_feasibility() EXTRACTED
  • ._save_session_log() EXTRACTED
  • ._anthropic_preserve_dots() EXTRACTED
  • ._spawn_background_review() EXTRACTED
  • ._recover_with_credential_pool() EXTRACTED

rationale_for

  • AI Agent with tool calling capabilities. This class manages the conversatio EXTRACTED

uses

  • SessionDB INFERRED
  • GatewayRunner INFERRED
  • FailoverReason INFERRED
  • HermesCLI INFERRED
  • APIServerAdapter INFERRED
  • ContextCompressor INFERRED
  • IterationBudget INFERRED
  • ToolGuardrailDecision INFERRED
  • SessionManager INFERRED
  • ResponseStore INFERRED
  • DelegateEvent INFERRED
  • SessionState INFERRED
  • Gateway runner - entry point for messaging platform integrations. This module p INFERRED
  • Return a normalized gateway platform value for enums or raw strings. INFERRED
  • Return True for transient network errors safe to log + swallow. The crash c INFERRED
  • Loop-level safety net for transient network errors. Installed once during : INFERRED
  • Best-effort secret redaction before text can leave the gateway. INFERRED
  • Map raw provider/API errors to a short user-safe Telegram reply. INFERRED
  • True when text is infrastructure/provider failure, not normal content. Two INFERRED
  • Sanitize final gateway replies before sending them to high-noise chats. Tel INFERRED

Part of the graphify knowledge wiki. See index to navigate.