Skip to main content

ModusResource

Bases: object Chat with Modus — your org-wide assistant with full context and tools. client.modus.chat(”…”, model=”claude-sonnet-5”) client.modus.conversations.list(kind=”modus”) client.modus.get_context(“What tables describe churn?”)

chat()

Send a message to Modus and get the complete reply.
  • Parameters:
    • message – The message to send.
    • model – Model id, e.g. "claude-sonnet-5".
    • thread_id – Continue an existing conversation; omit to start new.

chat_stream()

Stream a Modus reply token by token.

get_context()

Return composed full-environment context for an intent, without running chat.

AsyncModusResource

Bases: object Async native Modus chat.

chat()

Send a message to Modus and get the complete reply. See the sync chat for argument details.

chat_stream()

Stream a Modus reply token by token. See the sync chat_stream for argument details.

get_context()

Return composed full-environment context for an intent. See the sync get_context for argument details.