Skip to main content

Module router

Module router 

Source
Expand description

§Slash Command Router

Deterministic input router for the Bob Agent Framework.

All /-prefixed inputs are parsed as slash commands and executed without LLM inference — zero latency, deterministic results. Everything else is treated as natural language for the LLM pipeline.

§Supported Commands

CommandDescription
/helpShow available commands
/toolsList all registered tools
/tool.describe NAMEShow full schema for a specific tool
/tape.search QUERYSearch conversation history
/tape.infoShow tape statistics
/anchorsList all anchors in the tape
/handoff [NAME]Create a context-window reset point
/quitExit the session
/COMMANDExecute as shell command (fallback)

Enums§

RouteResult
Result of routing a user input string.
SlashCommand
Recognized slash commands.

Functions§

help_text
Render the help text for all available slash commands.
route
Route raw user input into either a slash command or natural language.