Skip to main content
The Workbench is an interactive command-line interface built directly into the dashboard. Open it at http://localhost:8080 and select workbench in the sidebar to start running commands against your Cache-Pot instance from the browser. Every command executes in-process through the same pipeline as TCP client commands, so it appears in the Profiler and is recorded in the AOF.

Running commands

Type a command in the input box at the bottom of the page and press Enter or click run. The scrollback area above shows your command echoed back, the server’s response, and the time taken in microseconds. Responses are rendered with full RESP type information: Press Ctrl+L to clear the scrollback without losing your history. Example session:

Syntax hints

As you type, a hint strip beneath the input box shows the full command signature. Typing the start of a command name shows matching command names; completing a full command name shows the syntax and a short description. For example, typing VSEARCH shows:

Command history

The Workbench keeps a rolling history of up to 200 commands, saved in your browser’s localStorage so it persists across page reloads and browser sessions.
  • Press to move back through previous commands.
  • Press to move forward, returning to your current draft on the final press.
Use the Workbench to prototype commands before integrating them into your application code. The exact command syntax you confirm here will work identically over a TCP connection.

Running AI commands

The Workbench is the most convenient way to experiment with Cache-Pot’s AI and vector extensions. All AI commands follow standard RESP syntax and respond in the scrollback like any other command:
Vector keys created with VSET appear in the Key Browser as vector type, where you can inspect the vector count and dimension. Use the Workbench for all vector reads and writes.

Blocked commands

A small set of commands are not available in the Workbench because they require persistent connections or streaming behaviour that the browser CLI cannot support. Use the dedicated dashboard pages instead:
Attempting to run a blocked command in the Workbench returns an error message directing you to the appropriate dashboard page. No connection state is affected.