Documentation Index
Fetch the complete documentation index at: https://docs.rkat.ai/llms.txt
Use this file to discover all available pages before exploring further.
Version
Primary handles
MeerkatClientowns the runtime process and transport.Sessionis a live multi-turn handle.DeferredSessionis a created session that has not run its first turn yet.LiveChannelis the session-bound wrapper for thelive/*RPC surface.Mobis a first-class mob control handle.
Session result and metadata types
RunResult
Returned by session.turn(), deferred.start_turn(), and available as events.result after streaming.
Fields:
session_id: strtext: strturns: inttool_calls: intusage: Usagesession_ref: str | Nonestructured_output: Any | Noneschema_warnings: list[SchemaWarning] | Noneskill_diagnostics: SkillRuntimeDiagnostics | None
SessionSummary
Returned by client.list_sessions(...).
session_id: strsession_ref: str | Nonecreated_at: intupdated_at: intmessage_count: inttotal_tokens: intlabels: dict[str, str]is_active: bool
SessionDetails
Returned by client.read_session(session_id).
session_id: strsession_ref: str | Nonecreated_at: intupdated_at: intmessage_count: intlabels: dict[str, str]is_active: boolmodel: strprovider: strlast_assistant_text: str | None
SessionInfo
Base shared metadata type for session identity/timestamps/state.
Config API contract
get_config, set_config, and patch_config return ConfigEnvelope:
config: dict[str, Any]generation: intrealm_id: str | Noneinstance_id: str | Nonebackend: str | Noneresolved_paths: dict[str, str] | None
Models and schedules
Models catalog
contract_version: {"major": int, "minor": int, "patch": int}providers: list[ProviderCatalog]
Schedule wrappers
Public methods:create_schedule(request)get_schedule(schedule_id)list_schedules(labels=None, limit=None, offset=None)update_schedule(request)pause_schedule(schedule_id)resume_schedule(schedule_id)delete_schedule(schedule_id)list_schedule_occurrences(schedule_id, include_terminal=None)list_schedule_tools()call_schedule_tool({"name": "...", "arguments": ...})
ScheduleListResultScheduleOccurrencesResultScheduleToolsResult
Session runtime input helpers
inject_context
send_external_event
ExternalEventOutcome (runtime admission outcome payload).
Additional client wrappers
The Python SDK also exposes:- realm helpers:
list_realms(),get_realm(...) - auth helpers:
list_auth_profiles(...),get_auth_profile(...),create_auth_profile(...),delete_auth_profile(...),auth_login_*,auth_provision_api_key(...),auth_status(...),auth_logout(...) - blob/skill/MCP helpers:
get_blob(...),list_skills(),mcp_add(...),mcp_remove(...),mcp_reload(...) - comms helpers:
session.send(...),session.peers() - typed ingress helper:
send_peer_response_terminal(...)
Mob profile and events surfaces
Mob event history
MobEventsResult.
Realm profile CRUD
MobProfile,MobProfileToolsStoredMobProfileDeletedMobProfile
Streaming
EventStream is returned by session.stream(...) and client.create_session_streaming(...).
- synchronous constructor style (
session.stream(...)returns stream object) - request is sent on
async withentry events.resultis available after iterationBackgroundJobCompleted.terminal_statuscarries background job completion semantics;legacy_statusis only the optional wirestatusdisplay mirror
Live channels
RealtimeChannel and the old realtime convenience helpers are no longer public
SDK handles. The current helper is LiveChannel.session(client, session_id, ...),
which binds a session id and stores the channel_id returned by live/open.
MeerkatClient helper names mirror the RPC methods:
live_open(session_id, turning_mode=None)live_status(channel_id)live_close(channel_id)live_send_input_text(channel_id, text)live_send_input_audio(channel_id, data_base64, sample_rate_hz, channels)live_send_input_image(channel_id, mime, data_base64)live_send_input_video_frame(channel_id, codec, data_base64, timestamp_ms)live_commit_input(channel_id, response_modality=None)live_interrupt(channel_id)live_truncate(channel_id, item_id, content_index, audio_played_ms)live_refresh(channel_id)
Capability and error model
Capabilities:MeerkatError.