Install your provider’s client
Install and authenticate the client on the computer where you run OneSpace. Codex and Claude have their own clients. The remaining providers use OpenCode. Set up keys and sign in through the corresponding client.
Codex and Claude Code
Codex
npm install -g @openai/codex
codex loginSign in through the browser. Then choose Codex in OneSpace. Official documentation · Codex
Claude Code
macOS, Linux and WSL
curl -fsSL https://claude.ai/install.sh | bash
Windows PowerShell
irm https://claude.ai/install.ps1 | iex
Run claude, finish signing in and choose Claude in OneSpace. Official documentation · Claude Code
OpenCode Go and cloud providers
Install OpenCode 1.x to follow these steps.
npm install -g opencode-ai@1
opencode
Create a key in the provider’s official portal. In OpenCode, enter /connect, choose that provider and enter the key. For OpenCode Go, use the Go plan on your OpenCode account.
- OpenCode Go ·
opencode-go - OpenRouter ·
openrouter - Google Gemini ·
google - Mistral ·
mistral - Groq ·
groq - Ollama Cloud ·
ollama-cloud
For Ollama Cloud, also follow OpenCode’s steps to pull model information with ollama pull. OpenCode · Ollama Cloud
Check which models are available with opencode models ID. Then select the provider and one of those models in OneSpace. OpenCode 1.x · Official documentation
Local Ollama and self-hosted servers
Ollama
Install and open Ollama, choose a model that supports the tools you need and download it with ollama pull MODEL. In OpenCode, configure the ollama provider with http://localhost:11434/v1 and the model ID you downloaded. Download Ollama · Configure Ollama in OpenCode
Self-hosted
Start an OpenAI-compatible server such as LM Studio. In opencode.json, add the selfhosted provider alongside your existing entries. Use the URL and model ID from your server.
{
"provider": {
"selfhosted": {
"npm": "@ai-sdk/openai-compatible",
"name": "LM Studio",
"options": { "baseURL": "http://localhost:1234/v1" },
"models": { "my-model": { "name": "My model" } }
}
}
}
If your server requires a key, configure it in OpenCode. Check the catalogue with opencode models selfhosted and select Self-hosted in OneSpace. LM Studio · Custom provider in OpenCode
Add an agent
- Press Add agent.
- Choose a provider, name and working folder.
- Select the model and, if needed, an available effort level.
- Save the configuration. No task is sent unless you explicitly enable starting on save.
Send your first task
Describe what you want to achieve in the Task field. Press Send task or Ctrl+Enter. Enter inserts a new line.
The conversation shows the client’s messages and actions. You can expand command output and copy individual messages.
Organise and resume
Drag the dividers to resize your panels or use their keyboard controls. Balance panels restores the layout.
Hiding a panel keeps it available. Closing archives it; reopening restores its history without resending the task. Errors and interruptions do not trigger automatic retries.