Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 16 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

[![Documentation](https://img.shields.io/badge/docs-docs.xagent.co-blue?style=for-the-badge&logo=gitbook)](https://docs.xagent.co/)
[![GitHub Release](https://img.shields.io/github/v/release/xorbitsai/xagent?logo=github&style=for-the-badge)](https://github.com/xorbitsai/xagent/releases)
[![PyPI](https://img.shields.io/pypi/v/xagent-ai?style=for-the-badge&logo=pypi&logoColor=white)](https://pypi.org/project/xagent-ai/)
[![Docker Pulls](https://img.shields.io/docker/pulls/xprobe/xagent-backend?style=for-the-badge&logo=docker)](https://hub.docker.com/r/xprobe/xagent-backend)

</div>
Expand Down Expand Up @@ -44,41 +45,38 @@ Join [Telegram](https://t.me/+2_-SAVLtuJNkNWFl) | [Discord](https://discord.gg/R

## Quick Start

**Get started in 3 minutes**
### Run on your machine

### 1️⃣ Clone and configure
The published package bundles the web UI — no Docker or Node required (Python 3.11+):

```bash
git clone https://github.com/xorbitsai/xagent.git
cd xagent
cp example.env .env
# Edit .env to configure at least one LLM API key.
uv tool install xagent-ai # or: pip install xagent-ai (use a virtualenv)
xagent # then open http://127.0.0.1:8000
Comment thread
qinxuye marked this conversation as resolved.
```

### 2️⃣ Start with Docker
Or in one line:

```bash
docker compose up -d
curl -fsSL https://get.xagent.co | sh
```

### 3️⃣ Open in browser

```
http://localhost:80
```
Create your admin account at `/setup`; Xagent then guides you to the Models page to connect a provider.

On first startup, Xagent redirects to `/setup`.
### Run with Docker (teams / self-hosting)

Create the first administrator account to complete initialization.
```bash
git clone https://github.com/xorbitsai/xagent.git
cd xagent
cp example.env .env # optional: review settings
docker compose up -d # then open http://localhost:80
```

If the admin password is forgotten, reset it via CLI:
On first startup, Xagent redirects to `/setup` to create the first administrator account. Forgot the admin password? Reset it:

```bash
docker compose exec backend python -m xagent.web.reset_admin_password --username <admin_username>
```

That's it. Xagent is now running.

---

## One platform, three ways to use it
Expand Down
Loading