Workspace
By default, Bub runs in a workspace—which is simply your current directory—and reads files and instructions from there.
Configure AGENTS.md (optional)
Section titled “Configure AGENTS.md (optional)”If you don’t have a project yet and are just getting started with Bub, create a directory first:
mkdir hello-bubcd hello-bubThen create an AGENTS.md file in the workspace root with rules for the project:
You are the Bub agent for this workspace.Read the relevant content before editing files.Keep replies short and specific.From then on, whenever Bub starts a session, it automatically reads AGENTS.md and injects it into the system prompt. After trying the example, feel free to keep tweaking this file and see how the model’s replies change under different rules.
Check available commands
Section titled “Check available commands”Now try listing the built-in commands available in your workspace from the terminal:
bub run ",help"From then on, any input starting with , (comma) skips the model and runs the command or tool directly. Of course, you can change it to any character you like via BUB_COMMAND_PREFIX.