For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agent Zero

Build autonomous AI agents powered by TensorX models using Agent Zero β€” the open-source agentic AI framework.


Overview

Agent Zero is an open-source autonomous AI agent framework that can operate on its own computer, create and use tools, learn from experience, and execute complex workflows. Agent Zero uses LiteLLM under the hood, making it easy to 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


Configuration

Option 1: Web UI Setup

  1. Start Agent Zero:

  2. Open http://localhost:50001 in your browser

  3. Go to Settings and configure:

Setting
Value

Chat Model Provider

Other OpenAI compatible

Chat Model Name

z-ai/glm-5.1

Chat Model API Key

Your TensorX API key

Chat Model API Base

https://api.tensorx.ai/v1

  1. Set the same for Utility Model (or use a faster model like minimax/minimax-m2)

Option 2: Environment Variables

Create a .env file in the Agent Zero root directory:


Use Case
Model
Why

Chat model ⭐

z-ai/glm-5.1

Best coding + reasoning performance

Utility model

minimax/minimax-m2

Fast, cheap for background tasks

Complex reasoning

deepseek/deepseek-r1-0528

Deep analysis and planning

Vision tasks

moonshotai/kimi-k2.5

Image understanding, large context

General chat

deepseek/deepseek-chat-v3.1

Balanced performance and cost


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

  1. Check your API key and base URL in Settings

  2. Verify your TensorX credit balance at app.tensorx.ai

  3. 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?