Files & code
Browse and lightly edit project files, and let the agent find code fast with on-device semantic search.
Dices gives you a quick way to look at and nudge your project’s files without leaving the chat, plus a local semantic index that helps the agent find relevant code fast. It’s a light way to peek and edit — not a full IDE.
The Files viewer
Open the Files viewer from the folder-tree icon in the chat header. It lets you:
- Browse the project file tree.
- Open a file to read it, syntax-highlighted.
- Optionally Edit → Save a file inline, right there in the viewer.
Note: The Files viewer is deliberately lightweight — “a light way to peek and nudge, not a full IDE.” For real editing work, let the agent do it; use the viewer to glance at a file or make a small manual tweak.
Edit a file inline
- Click the folder-tree icon in the chat header to open the Files viewer.
- Navigate the file tree and open the file you want.
- Choose Edit, make your change, and Save.
Semantic codebase search
Dices builds a local embeddings index of your project — on-device, so your code isn’t shipped off to build it. The agent uses this index through a search_codebase tool to find relevant code by meaning, not just exact text, so it locates the right files quickly even in a large project.
You don’t invoke this directly; the agent reaches for search_codebase when it needs to find where something lives. The payoff is faster, more accurate navigation of your codebase during a chat.
Tip: Because the index is semantic, the agent can find “where login is handled” even if no file is literally named
login— it matches on meaning.
@file and @folder mentions
In the composer, you can point the agent at specific things with @file and @folder mentions. Type @ and reference a file or folder to pull it directly into the conversation — a precise way to say “look here” instead of relying on search alone.
For the full list of composer mentions and commands, see the commands documentation.
Related
- Git & worktrees — review the diffs your edits and the agent’s changes produce.
- Agents — the agent that uses
search_codebaseto navigate your code.