AI Agent
Connect the agent to an LLM, and enable the Research panel.
The viewer, model nodes, classifiers and workflows work without an LLM. Only the agent (planning, chat, code generation) needs one. TissueLab Cloud comes with the agent ready to use.
LLM connection
Set in app/service/.env.local, or in the app's AI model preferences:
| Variable | Purpose |
|---|---|
OPENAI_API_KEY | Enables the agent. Any non-empty value works for servers that do not check keys. |
OPENAI_BASE_URL | An OpenAI-compatible server (vLLM, Ollama, LM Studio, llama.cpp, LiteLLM…). Leave unset for OpenAI. |
LLM_MODEL | Model name on that server |
Example for a local model:
OPENAI_API_KEY=local
OPENAI_BASE_URL=http://localhost:11434/v1
LLM_MODEL=qwen3:32bResearch panel
The Research panel runs model-written code in an isolated container, so it needs Docker. Everything else works without it.
brew install --cask docker-desktop
open -a DockerOn Linux, install Docker Engine.
Check that Docker is ready; the output must show both a Client and a Server section:
docker version- Restart TissueLab if Docker was installed while it was open.
- The first run prepares its environment and can take several minutes.