Skip to main content

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:
ToolDescription
viewRead any file in your workspace (text or visual mode for PDFs)
bashExecute shell commands in a sandboxed environment
pythonRun Python code for data analysis
create_directoryCreate new folders in your workspace
read_whiteboardRead the session’s shared notes
write_whiteboardUpdate 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:
  1. Review the diff in the workspace panel
  2. Commit changes you want to keep
  3. Discard changes you don’t
No AI edits go directly to the committed state — you always have a chance to review first.

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