Connect in Settings
- Open Settings in EasyResearch.
- Connect an available service in Providers.
- Select the research assistant’s model and thinking level.
- Optionally assign different models to Search, Experiment, Writing, Figures, or custom Agents.
Settings and the workspace’s Agent cards edit the same global defaults, rather than session-specific overrides.
Configuration files
For custom services or reproducible manual configuration:
| Purpose | Path |
|---|---|
| General settings and Agent defaults | ~/.easyresearch/agent/settings.json |
| Custom providers and models | ~/.easyresearch/agent/models.json |
| Saved API keys and OAuth credentials | ~/.easyresearch/agent/auth.json |
Provider credentials and Agent model defaults are global. Project .easyresearch/settings.json cannot override an Agent’s model or thinking level.
OpenAI-compatible endpoints
Configure a service in ~/.easyresearch/agent/models.json. Replace the example URL and model ID with values supported by your service:
{
"providers": {
"my-openai": {
"baseUrl": "https://api.example.com/v1",
"api": "openai-completions",
"apiKey": "$MY_OPENAI_API_KEY",
"models": [
{
"id": "research-model",
"name": "Research Model",
"reasoning": true,
"input": ["text"],
"contextWindow": 128000,
"maxTokens": 32000
}
]
}
}
}
Supported API types include openai-completions, openai-responses, anthropic-messages, and google-generative-ai.
Set context size, maximum output length, and reasoning support to match the actual model.
Local model services
For example, connect to an Ollama-compatible endpoint after starting the local service and preparing the model:
{
"providers": {
"ollama": {
"baseUrl": "http://localhost:11434/v1",
"api": "openai-completions",
"apiKey": "ollama",
"compat": {
"supportsDeveloperRole": false,
"supportsReasoningEffort": false
},
"models": [{ "id": "qwen2.5-coder:7b" }]
}
}
}
A local service without authentication still needs a placeholder apiKey so its models are considered available. Use the ID of a model installed locally.
Credentials and environment variables
Prefer the provider credential flow in Settings. Manual apiKey and custom header values can reference environment variables in the $MY_API_KEY form.
Built-in providers support their standard variables, for example:
export OPENAI_API_KEY="your-api-key"
easyresearch
Other examples include ANTHROPIC_API_KEY, GEMINI_API_KEY, and OPENROUTER_API_KEY. Start the application with those variables available to its process.
Do not commit plaintext API keys or auth.json to version control.
Assign models to Agents
Models and thinking levels live in easyresearch.agentDefaults inside global settings.json:
{
"easyresearch": {
"agentDefaults": {
"research-assistant": {
"model": "my-openai/research-model",
"thinking": "high"
},
"experiment": {
"model": "ollama/qwen2.5-coder:7b",
"thinking": "off"
}
}
}
}
Prefer the Web dropdowns, which expose only the thinking levels supported by the selected model.
- Specialists and custom Agents without an explicit model inherit the research assistant’s model.
- The assistant uses its model’s highest supported thinking level when no level is set.
- Other Agents inherit the assistant’s effective level, constrained by their own model’s capabilities.
modelandthinkingfields in Agent Markdown frontmatter are ignored.
Applying changes and recovering
Valid configuration changes refresh open Web pages. In the current version, a running Agent keeps its accepted configuration for the whole run and applies pending changes once idle.
For an unavailable model, check the JSON syntax, baseUrl, API type, model ID, and credentials. Configuration errors are shown in the UI; correct the file and use Retry configuration to recover.