Agent Configs
Objective: ask the agent a question and get an answer that cites your own data.
Done when: the Agent tab on a search shows an answer with its sources.
What the Agent Does
A summary reads one set of search results. The agent goes further: it takes your question, runs its own searches over your data (as many as it needs, with different wording each time), reads the results that look most useful, and writes an answer that cites them.
Use it for questions one search can't answer, like "When did I last talk to the landlord about the lease, and what did we agree?", where the answer is spread across several emails.
An agent config picks the chat model the agent uses and how many steps it may take.
Before You Start
- The agent container must be running. It's an add-on, not part of the basic install. See Agent add-on to start it. Until it's installed, the Agent Configs page shows "The agent isn't installed". If it's installed but its container isn't answering, the page shows "The agent isn't responding". You can still save configs, but searches can't use them. The Agent tab and Ask an Agent still appear on the search page without the add-on, so the warning on Agent Configs is the place to check.
- An API key for a chat model provider, or a local model server such as Ollama.
1. Create the Config
- Open Agent Configs in the sidebar and click New Config.
- Fill in the form. The fields are the same as a summary config, plus one:
| Field | What to enter |
|---|---|
| Max Steps Per Run | The most model calls one answer may take, from 1 to 100. Default 10. In each step the model can run several searches. |
- Click Create.
Yew sends the model one short test message when you save, so a wrong key or model name shows an error now.
What It Costs
The agent calls its model once per step, up to Max Steps Per Run, for each question. If it reaches the limit without an answer, it shows "Agent has hit its max step without answer." A higher limit can answer harder questions but costs more per question. With a hosted provider, that's billed to your API key. With a local model, it costs nothing but takes longer.
2. Ask a Question
- Run a search on the Search page.
- Open the Agent tab above the results.
- Pick a config under Agent Model and click Ask an Agent.
The agent shows each step as it works ("Thinking (step 2 of 10)..."), and each search it runs (click View Full Query to see it). Then it writes its Answer: with a Sources list. If you set a citation config on the search, the agent uses it to pick which sources to cite.
The agent never runs on its own. It only runs when you click Ask an Agent. To pre-select a config, set it as your default in Settings.
Asking again on the same search with the same config shows the saved answer instead of running the agent again. Picking a different config under Agent Model and asking starts a new search.
If something goes wrong, the answer reads "Something went wrong while answering your question." See Agent add-on troubleshooting.
Editing and Deleting
Editing and deleting work the same as summary configs: every save sends a new test message, a Base URL can't be removed by clearing the field, and deleting your default clears the default.