src.logging.agent_events module#

Lightweight agent event logging for Marcus.

This module provides basic event logging functionality without any dependencies on visualization libraries like NetworkX. It’s designed to be fast and safe for use in the core Marcus operations.

src.logging.agent_events.log_agent_event(event_type, event_data)[source]#

Log an agent event for later visualization.

This is a lightweight version that doesn’t trigger NetworkX imports.

Parameters:
  • event_type (str) – Type of event (e.g., “task_request”, “worker_registration”)

  • event_data (Dict[str, Any]) – Event details as a dictionary

Return type:

None

src.logging.agent_events.log_conversation_event(event_type, event_data)[source]#

Alias for log_agent_event for backward compatibility.

Return type:

None

Parameters: