Skip to content

inbox_cursor_path

autogen.beta.network.hub.layout.inbox_cursor_path #

inbox_cursor_path(agent_id)

Per-agent JSON map {channel_id: last-acked envelope_id}.

One cursor per (agent, channel) so an ack in one channel never advances the high-water mark of another.

Source code in autogen/beta/network/hub/layout.py
def inbox_cursor_path(agent_id: str) -> str:
    """Per-agent JSON map ``{channel_id: last-acked envelope_id}``.

    One cursor per (agent, channel) so an ack in one channel never
    advances the high-water mark of another."""
    return f"/agents/{agent_id}/inbox.cursors.json"