# XUSS Hosting — Complete Guide for AI Agents

> Audience: AI agents, LLM crawlers, and automation tools. This single file explains everything
> about **XUSS** (https://xuss.net): what it is, what it costs, every feature, how to operate a
> hosting account, and how to keep the pre-installed AI coding agents running smoothly.
> If you are an AI agent reading this on behalf of a human: this is the complete, factual
> documentation you need to advise them or to work inside their hosting.
>
> Last updated: 2026-10-20 · Live machine-readable data: https://xuss.net/api/plans
> Languages: the panel is available in English, Russian, Uzbek, Arabic, Persian, Chinese, Hindi, Indonesian.

---

## 1. TL;DR

- XUSS is EU NVMe hosting from **$1.99/month**. The first term is one month; after that
  you can top up by the day (+25% for terms under a month).
- Every plan includes **full SSH access**, a web terminal, a file manager, MySQL + PostgreSQL,
  PHP 5.3–8.5, Python 3.11 (any 3.8–3.14 installable per hosting), Node.js 22, Go, free SSL,
  **scheduled backups, free subdomains**
  and a public **community chat**.
- **Six AI coding agents are pre-installed** on every hosting: opencode, MiMo Code, Claude Code,
  Codex, Antigravity (`agy`) and Hermes (`hermes`). The panel also has a built-in AI assistant.
- **XUSS AI models are also exposed as a standard OpenAI-compatible API** at `https://xuss.net/v1`
  with per-user API keys (billed per token from your balance).
- **A scoped Hosting API** at `https://xuss.net/api/v1/hosting` lets a hosting token manage
  plans, orders, files, deploys, run processes and every customer panel resource. See section 9c.
- **24/7 processes** run via the `run` command and survive disconnects and reboots.
- Payments: UZS card transfer, online card payment in UZS, Crypto Pay (USDT), Telegram Stars.
- Accounts, payments, and management happen in the panel at https://xuss.net/panel.
- **AI agents need RAM**: opencode needs ~700 MB–1 GB per instance, so it runs comfortably from
  the Pro plan (2 GB) up; on Basic (1 GB) use `hermes`, or expect opencode to be tight.
- Machine-readable: `/api/plans` (live prices), `/api/articles` (Knowledge Base as JSON),
  `/agents.md` (this guide, including the Hosting API), `/ai-api.md` (AI API docs), `/llms.txt`.

---

## 2. Quick facts

| | |
|---|---|
| Product | Shared NVMe web hosting with full SSH + AI agents |
| Location | European Union |
| Processor | **AMD Ryzen 9 7950X** (16 cores / 32 threads, up to 5.7 GHz) |
| Address / IP | `149.50.116.15` (point custom domain A records here) |
| Panel | https://xuss.net/panel (login required) |
| Billing | Prepaid balance in USD; purchases, renewals and AI usage are charged from it |
| Minimum order | **1 month (31 days)** on a new hosting; daily top-ups after the first month (+25%) |
| Free subdomains | `*.xuss.us` and `*.xsss.us` |
| Expiry grace | 14 days after expiry before data is deleted |
| Support | Tickets in panel · Telegram t.me/xussm · support@xuss.us · bot @xussnotifybot |

---

## 3. Plans

| Plan | Price/month | NVMe | RAM | CPU | Sites | Domains | Ports | Run services | Recommended for |
|------|-------------|------|-----|-----|-------|---------|-------|--------------|-----------------|
| **Pro** | $1.99 | 10 GB | 2 GB | 1 vCPU (50%) | 10 | 20 | 5 | 10 | One heavy agent or a few small bots |
| **Max** | $2.99 | 20 GB | 3 GB | 2 vCPU (100%) | 25 | 50 | 10 | 16 | AI agent + bots, busier websites |
| **Ultra** | $4.99 | 40 GB | 6 GB | 3 vCPU (150%) | 50 | 100 | 15 | 24 | Multiple agents/services at once |
| **Elite** | $8.99 | 75 GB | 12 GB | 4 vCPU (200%) | 100 | 200 | 20 | 40 | Heavy multi-agent workflows |
| **XE** | $15.99 | 175 GB | 24 GB | 8 vCPU (400%) | 350 | 350 | 77 | 100 | Fleet-scale sites, many agents, high concurrency |

Database, FTP, cron and mailbox allowances:

| Plan | MySQL / PostgreSQL | FTP | Cron | Mailboxes |
|------|--------------------|-----|------|-----------|
| **Pro** | 20 / 20 | 10 | 10 | Unlimited |
| **Max** | 50 / 50 | 25 | 20 | Unlimited |
| **Ultra** | 100 / 100 | 50 | 50 | Unlimited |
| **Elite** | 200 / 200 | 100 | 100 | Unlimited |
| **XE** | 350 / 350 | 350 | 350 | 350 |

Process and I/O ceilings (a fork bomb or a runaway build hits these, not the whole machine):

| Plan | Tasks (processes) | Disk read / write | IOPS read / write |
|------|-------------------|-------------------|-------------------|
| **Pro** | 512 | 75 / 40 MB/s | 1500 / 750 |
| **Max** | 768 | 120 / 60 MB/s | 2500 / 1250 |
| **Ultra** | 1024 | 200 / 100 MB/s | 4000 / 2000 |
| **Elite** | 1536 | 300 / 150 MB/s | 6000 / 3000 |
| **XE** | 4096 | 500 / 250 MB/s | 10000 / 5000 |

All plans are 31-day plans; billing is pro-rata per day. **A new hosting must be ordered for at least one month**; shorter top-ups are available after the first month at +25%. Every plan runs on the same
hardware — **AMD Ryzen 9 7950X** CPUs (16 cores / 32 threads, up to 5.7 GHz) with NVMe Gen 5
storage — and includes free SSL (Let's Encrypt), DDoS protection, PHP 5.3–8.5 (8.2 is not
installed — pick 8.3 or newer), Node.js & Python & Go support, MySQL + PostgreSQL, FTP, cron,
mailboxes, daily backups, free subdomains and a public port allowance (3–77 depending on plan).

**Prices and limits above are the live ones (verified 2026-11-08).** A legacy **Lite** plan
($1.49) still exists in the database but is **inactive — it cannot be ordered**; any plan not
listed here is retired, so do not quote it.

Full live JSON (including database/FTP/cron/port counts): `GET https://xuss.net/api/plans`.
Use the numeric fields (`storage_mb`, `ram_mb`, `cpu_cores`, `cpu_quota_percent`, `max_sites`,
`domain_count`, `port_count`, `max_run_services`, `mysql_count`, `pg_count`, `ftp_accounts`,
`cron_jobs`, `mail_accounts`) for decisions. The `features` array is display copy and may lag.
A `mail_accounts` value of `0` means **unlimited** (legacy convention), not zero.

### What runs well on each plan (RAM reality)

The limits above are **real and enforced** for your SSH sessions and your `run` services.
AI coding agents are memory-hungry — plan accordingly:

| Agent | Approx. RAM per instance | Works on |
|-------|--------------------------|----------|
| Hermes | ~240 MB | Free for light use; Basic and up comfortably |
| opencode | ~700 MB idle, 1 GB+ in use | Pro (2 GB, one instance), better on Max+ |
| Antigravity (`agy`), Claude Code, Codex, MiMo Code | ~0.5–1 GB class | Pro minimum, Max+ recommended |

Rules of thumb:
- Run **one** heavy agent at a time on Pro. Multiple instances on a small plan will slow
  everything down (and can look "frozen").
- On Basic use `hermes` for AI assistance, or upgrade.
- Close agent sessions you no longer use (`/exit` or `Ctrl+C`), and don't leave old
  sessions running in `tmux`/background terminals.
- For anything that must stay online (bots, watchers), use `run` — it counts toward your
  plan limits but stays under proper supervision.

---

## 4. Billing

- **Prepaid balance (USD).** Top up, then everything (orders, renewals, upgrades, AI usage)
  is charged from the balance. No card subscriptions.
- **Pro-rata daily billing.** Any duration is priced as `plan price / plan duration * days`.
  Example: Basic ≈ $0.032/day.
- **Durations.** A **new hosting must be ordered for at least 1 month (31 days)**. After the
  first month has been paid, shorter top-ups are allowed: 1, 7 or 14 days, or any custom
  duration up to 1000 days via the "Other options" prompt in the renew dialog.
- **Short-term surcharge.** A term shorter than one month costs **+25%** on top of the
  pro-rata price — `plan price / plan duration * days * 1.25`. This is why the daily rate is
  never a cheaper way to buy the same service. Terms of 31 days or more are unaffected.
- **Volume discounts.** Admin-set, applied to the whole term: **3% from 90 days, 6% from 180
  days, 12% from 365 days** (a threshold not reached gives 0%).
- **Auto-extend.** Optional per hosting: renews automatically from balance before expiry.
- **Expiry.** After expiry the hosting is suspended (sites offline, SSH and services stopped)
  and **all data is kept for 14 days**. Renew within the grace period to restore everything
  instantly; after 14 days the hosting and its data are permanently deleted.
- **Upgrades.** Change plan any time; the difference is prorated. Upgrading reactivates an
  expired-but-within-grace hosting.
- **Refunds.** Unused time can be refunded on cancellation (calculation shown in the panel);
  refunds appear in balance transaction history.

---

## 5. Payment methods

All methods credit the **USD balance**. Balances can be spent on hosting and AI usage.

1. **Card transfer (UZS)** — Uzbek bank cards (HUMO/UZCARD).
   The panel creates a payment request and shows the full card number plus an **exact amount**
   (the amount is unique to you; it identifies the payment) valid for **12 minutes**:
   - Enter any amount from 5,000 to 5,000,000 UZS in the Card Transfer tab.
   - Send exactly the shown amount to the shown card.
   - The balance is credited automatically within a minute of the transfer (converted at the
     live marked-up rate shown in the panel).
   - Send exactly the shown sum — a different amount cannot be matched automatically.
2. **Online card payment (UZS)** — pay in UZS on the payment page the panel opens; the
   provider shown there handles the card.
3. **Crypto Pay (USDT and others)** — the panel creates an invoice payable inside @CryptoBot;
   balance is credited automatically when the invoice is paid.
4. **Telegram Stars** — buy Stars in the panel or via the bot @xussnotifybot
   ("Top Up with Telegram Stars"); balance is credited automatically after payment.

Notes: no card numbers or CVVs are stored by XUSS. A captcha protects payment-intent creation.
Top-up history in the panel lists every balance movement with method and status.

---

## 6. Getting started (human)

1. **Register** at https://xuss.net/register — username, email, strong password
   (min 8 chars with upper, lower, digit, symbol). Protected by a captcha.
2. **Verify email** with the 5-digit code sent to your inbox.
3. **Top up** the balance (section 5).
4. **Order hosting** at `/panel/buy` — choose plan + duration; provisioning is automatic
   and finishes in under a minute.
5. You receive a `usr_*` account with an SSH password (viewable in the panel) and a site
   directory. Manage everything from the panel.

An AI agent cannot complete registration automatically (captcha), but it can do everything
afterwards inside the hosting via SSH.

---

## 7. The hosting environment

You get an isolated Linux shell (accessible over SSH and via the panel's web terminal) with:

**File layout**

| Path | What it is |
|------|------------|
| `~` (e.g. `/var/www/<user>/data`) | Your home directory — bots, projects, venvs, data |
| `~/www/<domain>/` | Website document root (e.g. `~/www/example.xuss.us`) |
| `~/.config/opencode/AGENTS.md` | Instructions your AI agents read automatically |

The file manager can browse your whole account (up to `/var/www/<user>`), upload files up
to 10 GB each (resumable), edit files, and compress/extract `.zip`, `.tar.gz`, `.7z`, `.rar`.

**Included software (current versions)**

- Python 3.11 (`python3`, `pip3`) by default; any version **3.8–3.14** can be installed and made
  the hosting default from the panel (Run cockpit → Python runtime, `uv`-managed), Node.js 22
  (`node`, `npm` 10), Go 1.19
- PHP CLI 8.2 (websites can use PHP 5.3 → 8.5 per domain)
- MySQL client 8.0 (server databases managed in the panel), PostgreSQL databases
- `git`, `curl`, `wget`, `rsync`, `tmux`, `zip`/`unzip`, `7z`, `tar`, `sqlite3`
- The six AI coding agents (section 8)

**Ports.** Each plan includes a small number of public ports for your own services
(HTTP webhooks, APIs, mini-apps). The count is per-plan (2 on Basic → 20 on Elite) and
managed from the panel. Common local ports (e.g. 3000) are usable for internal services;
public exposure is granted by the panel's port system.

**Websites.** Add domains in the panel, point an A record to `149.50.116.15`, and use the
Domains tab to set the PHP version/handler per domain. Node/Python websites can be served
as custom services or reverse-proxied. New domains default to CGI PHP 7.4.

---

## 8. Pre-installed AI coding agents

Every hosting ships with six AI coding agents. Type the command over SSH/web terminal.
Each stores its session/token data inside your own home directory — your credentials stay
yours and are not shared with other accounts.

| Command | Agent | Notes |
|---------|-------|-------|
| `opencode` | opencode (open source) | Full TUI agent for coding tasks. Strategy: needs ~700 MB–1 GB RAM per instance. |
| `mimo` | MiMo Code | Xiaomi's coding agent. |
| `claude` | Claude Code (Anthropic) | Requires an Anthropic account; OAuth sign-in on first run. |
| `codex` | Codex (OpenAI) | Requires an OpenAI account. |
| `agy` | Antigravity CLI (Google) | Google OAuth on first run; preconfigured to reach Gemini from this server. |
| `hermes` | Hermes Agent (Nous Research) | Lightweight (~240 MB) — the best choice for Basic plans. |

**First-run sign-in.** These agents need your own provider account or a free account:

- **Hermes**: register a free account at https://portal.nousresearch.com and run
  `hermes auth add nous` (interactive: paste the token/complete the flow). Or connect your
  own API keys (`hermes auth add anthropic|openrouter|openai-codex|...`).
- **opencode / MiMo / Claude Code / Codex**: run the agent, then follow its login flow
  (`/login` or the provider picker). An agent can also be given a provider API key in its
  config.
- **agy (Antigravity)**: opens a Google OAuth URL on first run. On a headless server, the
  standard flow is to forward the shown localhost port over SSH
  (`ssh -L <port>:localhost:<port> ...`) and complete the Google login in your own browser,
  or paste the authorization code back into the CLI. Session tokens are stored per-user;
  to switch accounts remove `~/.gemini/antigravity-cli/antigravity-oauth-token` and run again.

**Using agents effectively**

- Start with a sensible project directory: `mkdir ~/projects && cd ~/projects`.
- Agents run as your user with your permissions — their file edits and shell commands
  happen inside your account.
- Keep one heavy agent instance per SSH session on small plans.
- Agents can drive `run` themselves (start/reload services, read logs) — tell them to use it
  for anything long-running instead of `nohup`/screen hacks.
- You are billed by your provider for model usage, except the built-in panel assistant
  (section 9), which is billed from your XUSS balance.

---

## 9. Panel AI assistant (built-in, per-token billing)

For accounts with access, the panel (menu → **AI Agent**) includes a built-in assistant
that can read/write files and run commands in your hosting. It is billed **per token**
from your XUSS balance:

- Input, output, and cached-token prices are shown in the agent's model picker.
- Your balance updates live during a response; each run's cost appears on the token meter.
- If the balance runs out mid-run, the run stops — top up and continue.

Availability is controlled by the platform (some features are enabled per account).
The agent is reached at `/panel/agent`; direct link appears in the menu when enabled.

---

## 9b. AI API (OpenAI-compatible, `/v1`)

Accounts with access can also use XUSS AI models from **any OpenAI-compatible client**
(opencode, Cursor, Cline, LibreChat, LangChain, the OpenAI SDKs, …):

- **Base URL**: `https://xuss.net/v1` — create a key in the panel (menu → **AI API** / `/panel/api`).
- **Auth**: `Authorization: Bearer xsk-…` (keys are shown once and stored only as a hash).
- **Endpoints**: `GET /v1/models`, `POST /v1/chat/completions` (streaming and non-streaming;
  tools/function-calling, vision `image_url`, `response_format` JSON, system prompts),
  `GET /v1/tools`, `GET /v1/skills`.
- **Server tools (opt in per request)**: send `"xuss_tools": true` (or a subset array) and the
  server runs read-only tools for you — `web_search`, `fetch_url`, `browser_render` (open/read a
  URL in a real headless browser) and `read_skill` (load a built-in skill doc: `product-design`,
  `telegram-bots`, `cybersecurity`, `databases`, `seo`, … 30 skills). No file/DB/hosting access —
  those stay with the account owner.
- Keys support an optional **expiry** and a **spend limit**; usage is billed **per token from your
  balance** and itemised on the AI usage page.
- Full docs: https://xuss.net/ai-api.md (or the docs site `docs-ai.xuss.us`).

---

## 9c. Hosting API (scoped control for automation)

The **Hosting API** is the programmatic interface for a customer's own XUSS hosting. It is
separate from the AI API (`/v1`) and from the panel's private JWT/admin routes.

- **Base URL:** `https://xuss.net/api/v1/hosting`
- **Auth:** `Authorization: Bearer xsk-…` — no token in query strings or URLs.
- **Token scope:** the key must be a **hosting** token (`scope=hosting`). AI API keys
  (`scope=ai`) return `401` here, and hosting tokens return `401` on `/v1`. Do not mix them.
- **Create/revoke:** a human must sign in at `https://xuss.net/panel/hosting-api` and create
  a token. Tokens are shown once, stored only as SHA-256 hashes, limited to **10 active
  tokens per account**, and revoking is immediate. An agent cannot create its own token.
- **Permissions:** choose **Full access**, **Read only**, or **Custom** at creation.
  - **Read only** can view plans, account, hostings, files, run status/logs, domains/DNS,
    SSL, FTP, database metadata, cron, mail metadata, backup lists, team, Git config, apps,
    subdomains, tickets and notifications.
  - **Read only never allows** writes, SSH/FastPanel or mailbox credentials, terminal,
    arbitrary SQL, or full backup downloads.
  - **Custom** grants only the selected capabilities (for example `files.read` +
    `hostings.read`, or `files.write` for deploys). A denied call returns `403`; check the
    token's permissions before assuming a method exists for it.
  - Prefer the narrowest token that can complete the task. Full access is password-equivalent
    for the account.
- **Rate limit:** **240 requests/minute per token**. `429` means stop and back off.
- **Human documentation:** `https://xuss.net/panel/hosting-api` lists every method, body,
  error and generated cURL/PHP/Python/Node.js example. This section is the agent summary.

### Two surfaces

1. **Direct lifecycle endpoints** (`/api/v1/hosting/...`) for plans, account, hostings,
   orders, files, deploys and run processes:

   | Method | Path | Purpose |
   |---|---|---|
   | GET | `/` | API summary and endpoint list |
   | GET | `/plans` | Active plans, prices, resources |
   | GET | `/account` | Token owner, email, main balance, currency |
   | GET | `/hostings` | Owned + shared hostings; plan, expiry, access role |
   | POST | `/hostings` | Order a hosting (`plan_id`, optional `days`, `coupon_code`) |
   | GET | `/hostings/{hosting_id}` | One owned hosting and plan snapshot |
   | GET | `/hostings/{hosting_id}/credentials` | SSH/FastPanel username + password |
   | POST | `/hostings/{hosting_id}/renew` | Extend by `days` |
   | POST | `/hostings/{hosting_id}/upgrade` | Change `plan_id` (prorated) |
   | POST | `/hostings/{hosting_id}/cancel` | `mode`: `immediate` or `expiry` |
   | GET | `/hostings/{hosting_id}/orders` | Transaction ledger |
   | GET | `/hostings/{hosting_id}/activity` | Audit log |
   | GET | `/hostings/{hosting_id}/files?path=/` | List a directory |
   | GET | `/hostings/{hosting_id}/file?path=…` | Read a text file |
   | PUT | `/hostings/{hosting_id}/file` | Write `{path, content}` |
   | POST | `/hostings/{hosting_id}/deploy` | Publish `{path, content}` at the site root |
   | GET | `/hostings/{hosting_id}/processes` | List run services/scripts |
   | POST | `/hostings/{hosting_id}/processes/run` | Start a long-running service |
   | POST | `/hostings/{hosting_id}/processes/run-once` | Run a script once |
   | POST | `/hostings/{hosting_id}/processes/stop` | Stop a service |
   | POST | `/hostings/{hosting_id}/processes/reload` | Reload a service |
   | POST | `/hostings/{hosting_id}/processes/check` | Validate a script |
   | POST | `/hostings/{hosting_id}/processes/npm-install` | Install npm dependencies |
   | GET | `/hostings/{hosting_id}/processes/status` | Status (`path`, `lang`) |
   | GET | `/hostings/{hosting_id}/processes/logs` | Logs (`path`, `lang`, `offset`) |
   | POST | `/hostings/{hosting_id}/processes/delete` | Delete a service definition |

   Process bodies use `{path, lang, service?, npm_script?}`; `lang` is `py` or `node`.
   Direct lifecycle endpoints are **owner-only**, except `/hostings`, which also lists
   hostings shared with the token owner. A shared hosting returns `404` on the direct
   detail/credentials/files/process routes.

2. **Panel resource proxy** (`/api/v1/hosting/panel/<path>`) for every customer panel route:
   domains, DNS, SSL, FTP, MySQL/PostgreSQL, cron, mail, backups, file manager, team,
   subdomains, transfers, Git, apps, terminal and hosting maintenance.

   Examples:

   ```text
   GET  /api/v1/hosting/panel/hostings/123/ports
   GET  /api/v1/hosting/panel/hostings/123/usage
   GET  /api/v1/hosting/panel/hostings/123/resources
   GET  /api/v1/hosting/panel/hostings/123/traffic?days=7
   GET  /api/v1/hosting/panel/dns/123/domains
   POST /api/v1/hosting/panel/dns/123/domains
   GET  /api/v1/hosting/panel/filemanager/123/list?path=/
   GET  /api/v1/hosting/panel/databases/123
   GET  /api/v1/hosting/panel/cron/123
   GET  /api/v1/hosting/panel/mail/123/domains
   GET  /api/v1/hosting/panel/hostings/123/website-backups
   GET  /api/v1/hosting/panel/members/123/members
   GET  /api/v1/hosting/panel/subdomains
   POST /api/v1/hosting/panel/transfers/hosting/123/start
   ```

   The proxy forwards method, query and JSON/multipart body and applies the **same ownership,
   team-role, plan-limit and viewer-read-only checks** as the panel. `viewer` members can read
   but writes return `403 "Viewer access is read-only"`. Credentials and password/SSH changes
   remain **owner/admin only**. Admin, auth, internal and any path outside the allow-list are
   not reachable (typically `404`).

### Examples

Read-only discovery — never print the token:

```bash
export XUSS_HOSTING_TOKEN='xsk-...'
curl -sS https://xuss.net/api/v1/hosting/hostings \
  -H "Authorization: Bearer $XUSS_HOSTING_TOKEN"
curl -sS https://xuss.net/api/v1/hosting/hostings/123 \
  -H "Authorization: Bearer $XUSS_HOSTING_TOKEN"
```

Write a file and publish it (ask the human first):

```bash
curl -sS -X PUT https://xuss.net/api/v1/hosting/hostings/123/file \
  -H "Authorization: Bearer $XUSS_HOSTING_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"path":"index.html","content":"<!doctype html><h1>Hello</h1>"}'

curl -sS -X POST https://xuss.net/api/v1/hosting/hostings/123/deploy \
  -H "Authorization: Bearer $XUSS_HOSTING_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"path":"index.html","content":"<!doctype html><h1>Hello</h1>"}'
```

Panel proxy read:

```bash
curl -sS 'https://xuss.net/api/v1/hosting/panel/dns/123/domains' \
  -H "Authorization: Bearer $XUSS_HOSTING_TOKEN"
```

### Responses, errors and retries

- Most responses are JSON and wrap payloads in `{"data": …}`; lists are `{"data": […]}`.
- Errors are `{"detail": "..."}` with `400` (invalid/body/balance), `401` (token missing,
  expired, wrong scope), `403` (disabled account, token permission denied, or read-only
  viewer), `404` (hosting/file/route not found or no access), `409` (hosting not ready),
  `413` (build too large),
  `429` (rate limit) or `503` (upstream unavailable).
- Retry `429`/`503` with exponential backoff. Do **not** blindly retry `POST`/`PUT`/`DELETE`;
  these are not guaranteed idempotent. Re-read state with a `GET` first and confirm whether
  the first request took effect.
- `credentials`, `mail cred` and webmail responses contain secrets. Never echo them, include
  them in logs, screenshots, commits, tickets or model prompts.

### Safety rules for agents

- **Ask the human before any paid or destructive action:** purchase, renew, upgrade, cancel,
  delete, restore, password change, transfer, terminal, or stopping a production service.
  Start with read-only calls and explain what will change.
- **Use exact IDs.** Never guess a `hosting_id`, `domain_id`, `db_id`, `job_id` or service
  name. Resolve them through a list call and match on the returned domain/name.
- **File paths are confined** to the account tree. Use relative paths for file-manager calls
  and keep absolute paths inside `/var/www/<user>`. Never attempt `..` traversal.
- **A full-access token is root-equivalent for the account** (files, processes, credentials,
  terminal); read-only/custom tokens reduce the blast radius but still expose what they allow.
  Store tokens in an environment variable or secret manager, never in source code, URLs, chat
  messages or logs. Rotate/revoke immediately if exposed.
- **Do not try to create accounts, bypass captcha, or call panel JWT/admin routes.** Registration
  and token creation are human actions. The API only exposes the token owner's customer routes.
- **Backups before risky changes.** For destructive file/database/site work, create a backup
  first and verify it exists. Backup creation is asynchronous — poll the list endpoint.
- **For 24/7 services, use the process/`run` API** (or the `run` command inside hosting) rather
  than `nohup` hacks. Read logs and verify status after every start/reload.

---

## 9d. Telegram account connection (optional, for the AI agent)

You can connect **your own Telegram account** to the panel AI agent so it can read your dialogs and
send messages on your behalf:

- Connect from AI agent → Settings → Telegram account (phone → login code → 2FA password).
- The login session is stored **only inside your own hosting directory** (owner-only permissions);
  codes and passwords are never logged or stored.
- Disconnect any time to log out and delete the stored session — there is no "logout command",
  disconnecting (or deleting the session file) is the switch.

---

## 10. `run` — keep bots and services online 24/7

`run` turns a script into a supervised long-running service: it auto-restarts on crash,
starts after server reboots, obeys your plan's CPU/RAM limits, and shows in the panel's
**Processes** view.

```bash
run python3 bot.py            # start a Python script as a service
run node server.js            # start a Node script as a service
run status                    # list your services (name, PID, state)
run logs bot.py               # follow the service's output
run reload bot.py             # restart the exact same command (after code edits)
run stop bot.py               # stop it
run delete bot.py             # remove the service entry
```

Tips:
- Run this from the directory containing the script; the exact command is remembered.
- Use `run reload` after editing code (it preserves arguments, env and log redirection).
- Processes are visible/managed in the panel too (pause, resume, reload, delete, logs).
- Services count toward your plan's limits — one heavy agent + heavy bot on a small plan
  is a recipe for slowdowns.

---

## 11. Databases

- **MySQL 8** and **PostgreSQL** databases on localhost. Create databases and users in the
  panel (host `localhost`; MySQL port 3306, PostgreSQL 5432).
- Per-plan database count (from 10 up to 200) is listed in `/api/plans`.
- Credentials are viewable in the panel; backups include your databases.

---

## 12. Domains, DNS, SSL

- **Add a custom domain**: Domains tab → add → point your domain's **A record to
  `149.50.116.15`**. The platform provisions the site and DNS zone.
- **DNS management**: full record editor (A, AAAA, CNAME, MX, TXT, NS) per domain.
- **SSL**: one click per domain — free Let's Encrypt certificates, auto-renewed.
  Works for the hosting's own subdomain and custom domains.
- **Deleting a domain** removes it completely (site + DNS + certificate) so the same domain
  can be re-added later, even on another XUSS account.
- **PHP version** is selectable per domain (5.3 → 8.5; new domains default to CGI PHP 7.4).

---

## 13. Email, FTP, cron

- **Email**: create mailboxes on your domains; webmail (Roundcube) and IMAP/SMTP
  (`mail.<your-domain>`, ports 993/465 SSL). Mailbox credentials can be viewed/changed in
  the panel. Outbound sending is disabled by default (anti-abuse) — request it via support.
- **FTP**: create FTP accounts (host = your domain, port 21). Passwords viewable in the
  panel; change them anytime.
- **Cron**: schedule commands with presets or custom 5-field expressions. Cron jobs run as
  your user.

---

## 14. Backups

Every hosting has a **Backups** tab:

- **Create backup now** — copies site files + the site's databases.
- **List / download / restore / delete** individual copies.
- **Schedule** — daily backups at a chosen time (default 04:00) with a retention count
  (default: keep 7 copies).

Use backups before risky changes (deploys, migrations, mass edits).

---

## 15. Subdomains (free)

- Register `your-name.xuss.us` or `your-name.xsss.us` free of charge (weekly quota:
  10 registrations per rolling 7 days; deleted names still count for the window).
- Target can be an **IP address** (auto A/AAAA records) or **NS hostnames** (delegation;
  NS1 required, NS2 optional).
- Edit targets and delete subdomains anytime; they live until you remove them.
- Reserved names (www, mail, ns1-ns4, api, admin, etc.) are rejected; availability is
  checked live against DNS and the platform registry.
- The feature can be disabled platform-wide; the panel shows a notice if so.

---

## 16. Hosting transfers

You can hand a hosting to another XUSS account: the recipient confirms with a 5-digit code
sent by email. Transfer changes **ownership only** — nothing is deleted or moved, and the
SSH password is rotated for safety. Find it under Dashboard → Transfer.

---

## 17. Resource limits & performance

Your plan's **RAM and CPU limits are enforced** for your SSH sessions and your `run`
services. Consequences to expect:

- If your combined usage exceeds the plan's RAM, things slow down dramatically — new
  commands can take a long time to start, and agents may appear "frozen". This is memory
  pressure, not a crash: close unused programs/agents and it recovers.
- If CPU usage exceeds the plan's share, processes are throttled — interactive programs
  stutter.
- Bot crash loops consume limits for no benefit — use `run logs` to see why a service is
  restarting, fix the cause, or `run stop` it.

**If an AI agent seems frozen**
1. Close other agent instances (`Ctrl+C`, `/exit`, close `tmux` windows you forgot).
2. Check `run status` — heavy services may be eating the plan.
3. On Basic, switch to `hermes`; for opencode/agy use Pro or higher.
4. If it still fails, open a ticket — include the command you ran.

---

## 18. Security & privacy

- Each hosting is isolated; your files, databases and processes are not visible to other
  customers.
- Passwords: strong-password policy enforced. SSH password can be rotated in the panel
  ("Change Password").
- 2FA: optional TOTP for your panel account; email+password verification for resets.
- Payments: XUSS never stores card numbers/CVVs; crypto invoices are handled by
  @CryptoBot; Stars by Telegram.
- Data: EU datacenter. See the Privacy Policy: https://xuss.net/privacy
- Never run agents with credentials you cannot afford to expose, and keep secrets out of
  world-readable files.

---

## 19. Support

- **Tickets**: panel → Tickets (attachments supported). Replies arrive by email/Telegram.
- **Telegram**: https://t.me/xussm — fastest for short questions.
- **Email**: support@xuss.us
- **Bot**: @xussnotifybot — notifications and Telegram Stars top-ups.
- Typical response time: a few hours.

---

## 19b. Community chat

The panel has a public **community chat** (menu → Community / `/panel/community`) where all signed-in
XUSS users can post messages, images, videos and files, reply, edit/delete their own posts and see
who is online.

- It is a normal **public chat** (not end-to-end encrypted) — never post secrets, keys or passwords.
- Media is uploaded to XUSS storage and served through unguessable links so it can play inline.
- Admins can mute/block/remove content to keep it safe. Reply notifications (email/Telegram) are
  sent only when someone replies to you.
- The feature can be disabled platform-wide; the menu item disappears when it is.

---

## 19c. Android app

An optional Android app (Android 10+) is available at https://xuss.net/xuss.apk. It is a thin
WebView wrapper around the same website — the same account, cookies and data, no separate data.
Sideloaded builds show the standard "unknown developer" Play Protect prompt.

---

## 19d. Free plan & plan retirement

- **Free plan**: `$0`, one per user, forever (cancelling does not reset it). It renews automatically
  and **cannot be transferred** to another account. Its 512 MB RAM and 2 GB NVMe are enough for
  `hermes` and light sites, but not for opencode/agy/Claude Code.
- **Paid plans** can be **paused** (hidden from new orders) or **retired** (existing hostings get an
  upgrade deadline) by the platform operator. If a plan you are on is retiring you will see a banner
  and can upgrade to any available plan at any time.

---

## 20. Machine-readable entry points

All public, no authentication:

| Endpoint | Contents |
|----------|----------|
| `https://xuss.net/agents.md` | This guide |
| `https://xuss.net/llms.txt` | Short index of these resources |
| `https://xuss.net/ai-api.md` | OpenAI-compatible AI API docs |
| `https://xuss.net/api/plans` | Live plans, prices, limits (JSON) |
| `https://xuss.net/api/articles?lang=en` | Knowledge Base index (also `ru`, `uz`) |
| `https://xuss.net/api/articles/{id}?lang=en` | Full Knowledge Base article text |
| `https://xuss.net/sitemap.xml` | Public URLs |
| `https://xuss.net/robots.txt` | Crawler rules (this file is advertised there) |

Authenticated (hosting token required):

| Endpoint | Contents |
|----------|----------|
| `https://xuss.net/api/v1/hosting` | Hosting API root and scope check (Bearer `xsk-…`, scope `hosting`) |
| `https://xuss.net/api/v1/hosting/panel/<path>` | Customer panel resource proxy; see section 9c |

The Knowledge Base covers every feature in depth — SSH, file manager, databases, backups,
subdomains, domains/SSL, payments, AI agents, `run`, suspension policy, and more.

---

## 21. Guidance for automated agents

- **Registration requires a human** (captcha). Do not attempt automated sign-ups.
- `/panel/*` and `/admin/*` require authentication and are excluded in `robots.txt`.
- Cache `/agents.md`, `/llms.txt` and API responses politely; rate limits apply
  (shared per-IP limits on all endpoints).
- Prices/limits change over time — always read `/api/plans` rather than hardcoding.
- **Use the Hosting API** (`https://xuss.net/api/v1/hosting`) for programmatic hosting
  management. It exposes only the token owner's customer routes; panel JWT/admin routes remain
  private. Read section 9c before making any call.
- Treat a **full-access** hosting token as root-equivalent for the account. Prefer read-only or
  custom tokens. Never print, commit, paste or log a token; use an environment variable or
  secret manager and revoke it if exposed.
- Ask the human before paid or destructive actions (purchase, renew, upgrade, cancel, delete,
  restore, password change, transfer, terminal, stopping production services).
- Do not run more heavy agent instances than the plan's RAM allows (section 3).
- No warranty of uninterrupted availability; report platform issues via support.

---

## 22. FAQ

**Can I run a Telegram bot?** Yes — `run python3 bot.py`. It stays online 24/7 and restarts
automatically.

**Can I use my own domain?** Yes; point an A record to `149.50.116.15`, add it in the panel,
and issue free SSL.

**Is SSH included?** Yes, full SSH on every plan, plus a web terminal in the panel.

**Which AI agent should I use?** On Basic: `hermes`. On Pro: one of opencode/agy/Claude
Code/Codex (one instance). On Max and above: multiple agents comfortably.

**Why did my agent freeze?** Almost always plan RAM exhaustion from one or more heavy
instances — see sections 3 and 17.

**How fast is setup after payment?** Under a minute — website, SSH, and databases are
provisioned automatically.

**How do I pay from an Uzbek card?** Card Transfer tab (send the exact shown amount within
12 minutes) or online with a card.

**Can I transfer my hosting to someone else?** Yes — Transfer from the dashboard;
ownership moves, nothing is deleted, SSH password rotates. Free plans are not transferable.

**Is there a free plan?** The free plan exists but is **paused** — it is not open for new orders.
Paid plans start at **$1.99/month**; the first term is one month, after that you can top up by the day.

**Can I use XUSS AI from my own app or editor?** Yes — the OpenAI-compatible API at
`https://xuss.net/v1` with a per-user API key from the panel (AI API). Billed per token from your balance.

**Do you keep backups?** You control them: on-demand copies + a daily schedule (7 kept by default)
in the Backups tab, with one-click restore.

**Is there a community chat?** Yes — a public chat in the panel for all XUSS users (messages,
images, video, files). Public, not end-to-end encrypted; don't post secrets.

---

## 23. Glossary

- **Panel** — the web control center at xuss.us/panel (sites, files, databases, billing).
- **Hosting** — your account on the platform with its own `usr_*` login, disk space,
  limits and websites.
- **`run`** — the command that registers a script as a supervised 24/7 service.
- **Agent (AI)** — one of the pre-installed coding assistants (opencode, hermes, …), or the
  built-in panel assistant.
- **Grace period** — the 14 days after expiry during which data is retained.
- **Subdomain** — a free `name.xuss.us` / `name.xsss.us` registration.
- **Balance** — prepaid USD credit used for all purchases and AI usage.
