First chat
This page starts where Install ends: golem is installed, and its background service is running.
Open golem in a project
This page is about the terminal chat. For the browser, see The web UI.
golem works in the folder you start it in. It can read and search files there, and nowhere else.
cd ~/my-project
golem tuiPick a model
brew install does nothing by itself. The first golem tui sets up in the terminal: its setup window asks where golem should think: on this Mac, with an API key, or later. The first golem asks one question in the terminal (keep golem running?), then the page opens on /welcome, which asks the same thing in steps. If you have exactly one ready model, golem uses it without asking. Type /model to open the model picker at any time, and /setup to see the whole setup.
- Up and Down choose a model, and Enter picks it for this chat.
dalso makes it the default for new chats.- A local model that is not downloaded yet asks once, then downloads with a progress bar. If Ollama is missing, golem offers to install it with Homebrew first.
- A hosted model needs its API key. Type
/login, pick the provider, and paste the key, or Enter on Use it when your shell already has it. golem checks it with the provider before it saves it in the Keychain, and nothing is echoed.
Tools offered during setup
After the model, and only when your config.toml has no [mcp] table, the terminal's setup window offers some tools: Fetch, Context7, and Playwright ticked, GitHub not.
- Space ticks or unticks a server, and Enter adds the ticked ones.
sskips the offer, and Esc goes back to the model. - A server that needs Node or uv installs it first with Homebrew, and each row says what it is doing, then
added · N tools · on demand. Esc stops what has not started. - Ticking GitHub asks for a token. It is not echoed, it is kept in the Keychain and not in a file, and an empty token skips GitHub.
- A server that fails says why, and the others stay added. Pick Paste a new token, Skip, or Show the log.
Every server is added on demand, so none costs a token until a chat turns it on. The Ready step lists the tools when some were added. /mcp manages them any time, and MCP servers has the rest.
Ask a first question
Type a message and press Enter. Shift-Enter starts a new line.
A new chat lists two or three prompts to start with, picked for the folder. In a git repository they are Explain this project, Find TODOs and group them, and What changed in the last few commits?. In an empty folder they are What can you do? and Help me start a new project here. Press Down to pick one, then Enter to put it in the composer, where you can change it before you send it. Up still recalls earlier messages. The list goes away once you type or send.
The empty composer shows one tip, such as /sessions or ? for the keys. Each new chat shows the next one.
What does this project do? Look at the README and the main folders.The answer streams in. While golem works, you see a line for each tool it uses, such as read_file README.md. Press Ctrl-O to see what each tool returned.
A model that thinks before it answers shows one dim line above the answer, such as thought for 12s. Press Ctrl-O to read the thinking under it.
Reading and searching files inside the folder needs no approval, so a question like this one runs straight through.
Answer an approval
Ask for a change:
Add a "Getting help" section to the README.Before golem changes a file, the answer stops and asks. In the terminal it looks like this, with the diff of the change between the question and the keys:
Allow edit_file README.md? @@ -40,3 +40,7 @@ +## Getting help + +Open an issue, or ask in the discussions. asked by built-in default a once · s this session · w always (saves a rule) · e edit · d deny
| Key | What it does |
|---|---|
| a or Enter | Allow this one call |
| s | Allow it, and this tool for the rest of the chat |
| w | Allow it, and write a rule to ~/.golem/config.toml so it never asks again |
| e | Edit the call's arguments first, then allow it once |
| d or Esc | Deny it. The model is told the call was denied, and carries on without it |
The web UI will show the same question as a card. It is the next step of the web UI, so for now answer approvals in the terminal:
Allow edit_file on README.md?
rule: edit_file → ask · built-in default
## Contributing
+
+## Getting help
+
+Open an issue, or ask in the discussions.The line under the question says which rule asked. A command goes through the same question before it runs, and it runs in a sandbox: only inside the folder, and with no network unless you allow it. Tools and permissions explains the rules, and how to stop golem asking for the calls you trust.
Stop, leave, and come back
- Ctrl-C stops the answer. Pressed twice, it quits.
- Closing the terminal does not stop an answer. Run
golem tuiagain in the same folder, and the chat is still there, still streaming. /sessionsswitches between chats, and/newstarts a fresh one./helplists every command, and?on an empty line lists every key.
Next
- How it works, if you skipped it.
- Open the same chat in your browser with
golem. - Models and API keys and Commands, for everything else.
- Something wrong? When something is wrong lists the usual fixes.