Skip to content

langchain

A room's actions as LangChain tools.

coalitionkit_langchain

A room's actions as LangChain tools, over the room's own MCP server.

RoomToolkit

An open connection to one seat. Use it with async with, then read tools.

call async
call(
    name: str, arguments: dict[str, Any] | None = None
) -> str

Call one room tool for this seat. A refusal comes back as text for the agent to read.

Seat dataclass

One seat in one room. Treat token as a password: keep it away from the model.

take_seat async

take_seat(
    base_url: str, code: str, display_name: str
) -> Seat

Take a seat through the room's short code.