Overview
Every project in Raycaster Doc comes with AI chat — a conversational interface where you can ask questions about your documents, generate content, and run code. Chat sessions are scoped to a project and have full access to your workspace files.Starting a Chat
Open the chat panel from the right side of the IDE. Each new conversation creates a session that:- Has access to all documents in your workspace
- Can read, create, and edit files in your staging workspace
- Streams responses in real time
- Generates a title automatically after your first message
Attaching Files
Use @mentions in the chat composer to reference specific documents. The AI will receive the full content of mentioned files and can work with them directly. You can also drag and drop files into the chat composer to upload and attach them in one step.AI Tools
The chat agent has access to several tools:| Tool | Description |
|---|---|
| view | Read any file in your workspace (text or visual mode for PDFs) |
| bash | Execute shell commands in a sandboxed environment |
| python | Run Python code for data analysis |
| create_directory | Create new folders in your workspace |
| read_whiteboard | Read the session’s shared notes |
| write_whiteboard | Update shared notes with plans or progress |
How Edits Work
When the AI creates or modifies files, those changes are staged in your workspace — just like manual edits. You can:- Review the diff in the workspace panel
- Commit changes you want to keep
- Discard changes you don’t
Citations
When the AI references specific documents in its responses, inline citation badges appear. Hover over a citation to see a preview of the referenced content.Session Management
- Archive — Hide completed conversations from the active list
- Delete — Permanently remove a session and all its messages
- Interrupt — Stop the AI mid-response if needed
