AraRuntimeClient gives you programmatic access to a running Ara session. Send messages through the full agent loop, execute tools directly in the sandbox, and inspect the agent’s capabilities — all from Python or the CLI.
Setup
ARA_API_KEY— your user API key (Settings > System > API Key in the Ara app)ARA_API_BASE_URL— optional, defaults tohttps://api.ara.so
Send messages: chat()
Send a message through the full agent loop — the same code path as typing in the Ara UI. The agent picks tools, executes them against the sandbox, and returns the response with a trace of everything it did.
| Parameter | Type | Default | Description |
|---|---|---|---|
message | str | required | The message to send |
model | str | "" | Model override (e.g. "openai/gpt-4o") |
conversation_id | str | "" | Continue a specific conversation |
timeout | int | 120 | Request timeout in seconds |
Run tools: execute_tool()
Run any sandbox tool directly — read files, execute commands, list automations, etc. This bypasses the LLM and calls the tool immediately.
read_file, write_file, edit_file, list_dir, exec, search_files, glob, delete_file, web_search, web_fetch, automation_create, automation_list, automation_update, automation_delete.
Inspect state
capabilities()
skills()
tools()
control_actions()
control_call()
Trigger a runtime control action. Requires the app UI to be open (active WebSocket connection).
CLI
Theara runtime CLI wraps the same methods. Requires ARA_API_KEY in environment.
Practical example: verify agent behavior
Usechat() + execute_tool() to test agent behavior without the UI:
