The Vadalog AI Agent is a streaming conversational interface that can autonomously plan and execute data workflows — generating Vadalog programs, running concepts, inspecting results, and iterating based on outcomes.

Chat

Send a message to the agent and receive a streaming NDJSON response. The agent maintains conversation history within a session, so follow-up messages have full context. HTTP Request:
Path Parameters: Request Body: Example:
Response (NDJSON stream): The response is a stream of newline-delimited JSON objects. Each line has a type and data field:
Render thinking chunks live (e.g. a collapsible “thinking…” panel) so users see progress. Without it the UI looks frozen while the agent works, then dumps the whole answer at once. Handle unknown type values by ignoring them — new event types may be added over time.
Example stream:
Read-only vs. tool-authorizing clients. Sent as shown above, the agent runs its tools autonomously and streams the result. If you include a mode field in the request body, the agent instead pauses and emits authorization_request events for tools that need approval — your client must then reply (with approved_calls / authorized_tools) to continue. For a simple question-and-answer client, omit mode.
On the free tier the agent is capped (default 150 messages/month). Over the cap the endpoint returns HTTP 402 with a JSON body { "code": "AGENT_MESSAGE_LIMIT_REACHED", "used", "limit", "resets_at" } instead of a stream. Handle it as a distinct “limit reached” state.

Reset Session

Clear the conversation history for a session. HTTP Request:
Path Parameters: Request Body: Example:
Session ManagementSessions are maintained server-side and keyed by username + session ID. Use different session_id values to run parallel conversations. Sessions are automatically evicted (LRU) when the server reaches capacity.