Skip to main content
ragrails chat answers with retrieved context from your vector database. Pass a query for a one-shot turn, or run it with no query to start an interactive REPL.

One-shot Chat

Output:

Multi-turn with History File

--history-file persists conversation history across one-shot turns.

Interactive Chat

The REPL keeps session history, can stream answers, and can call built-in tools.

Agentic Tools

Interactive chat can call web_fetch and api_call. Side-effecting API calls are validated and confirmed before execution. Use Agentic Tools for the safety model and boundaries.

Options

Query

Use chat in the query workflow.

Streaming

Understand interactive streaming boundaries.