Agent Zero
Configure Agent Zero to use TensorX models.
Overview
Agent Zero is an open-source agent framework. It uses LiteLLM for model providers and can connect to TensorX as a custom provider.
Prerequisites
Python 3.10+ and Node.js 22+
Docker (recommended for sandboxed execution)
A TensorX API key (sign up here)
Installation
git clone https://github.com/agent0ai/agent-zero.git
cd agent-zero
pip install -r requirements.txtConfiguration
Option 1: Web UI Setup
Start Agent Zero:
Open
http://localhost:50001in your browserGo to Settings and configure:
Chat Model Provider
Other OpenAI compatible
Chat Model Name
An ID returned by GET /v1/models
Chat Model API Key
Your TensorX API key
Chat Model API Base
https://api.tensorx.ai/v1
Set the Utility Model to a TensorX model ID as well
Option 2: Environment Variables
Create a .env file in the Agent Zero root directory:
Model selection
Call GET /v1/models with your TensorX API key and use one of the returned IDs. If the integration depends on a capability or token limit, query GET /v1/model/info before selecting the model. See Models for examples.
Usage
Start the web UI and interact with your agent:
Agent Zero will autonomously:
Break down complex tasks into steps
Create and execute tools
Search the web for information
Write and run code
Self-correct when errors occur
Troubleshooting
Agent Not Responding
Check your API key and base URL in Settings
Verify your TensorX credit balance at app.tensorx.ai
Check the terminal logs for error messages
Tool Execution Errors
Ensure Docker is running if you're using sandboxed execution mode.
See Also
Last updated
Was this helpful?

