Skip to main content

xAgent

Python License

xAgent is a local-first AI agent platform that gives each agent its own identity, memory, workspace, and ongoing life.

An Agent remains the same individual across conversations with one or many people, observations, and private reflection. Its diary is one continuing experience stream, with clear attribution to people and settings; what it remembers and what it chooses to share with a particular audience are separate decisions.

Interact with your agents through the terminal, Web UI, voice, or Weixin, and manage them from a unified interactive launcher.

Features

  • Local-first — Agent data is stored on your own machine.
  • Independent agents — Each agent has its own identity, memory, diary, workspace, skills, tasks, logs, and channel state.
  • Multiple interfaces — Use xAgent from the terminal, Web UI, voice, or Weixin.
  • Unified management — Create, configure, and manage agents from one interactive launcher.
  • External execution — Connect hardware or software devices to the Agent API and call their declared capabilities through one generic tool.

Requirements

  • Python 3.10 or later

Installation

Install with the official script

curl -fsSL https://raw.githubusercontent.com/ZJCODE/xagent/main/install.sh | bash

Install with pip

pip install myxagent

Voice uses the browser’s microphone and speaker or a paired WebSocket voice device. Configure shared voice settings in Agent, then open Voice; no separate Host voice startup is needed. The Agent server does not capture local audio.

Browser voice includes Opus support by default. A startup codec self-test selects Opus for both directions, with a fixed PCM profile available when native browser codecs are unsupported. Current browsers with AudioWorklet support and audio protocol 2 are required.

Getting Started

After installation, launch xAgent with:

xagent

The interactive launcher will guide you through creating and managing your agents.

Updating

Update xAgent without changing how it was installed:

xagent update

Local Data

All xAgent data is stored locally in:

~/.xagent/

Agent-specific data is stored under:

~/.xagent/agents/

Uninstallation

If xAgent was installed with the official installation script:

uv tool uninstall myxagent

If xAgent was installed with pip:

pip uninstall myxagent

Uninstalling the CLI does not delete data stored under:

~/.xagent/

Remove that directory manually only when you no longer need your local agent data.

License

xAgent is released under the MIT License.

Metadata

Release files for myxagent 0.4.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for myxagent 0.4.28
File Size Uploaded Provenance Actions
myxagent-0.4.28.tar.gz 892.5 kB Without provenance Details for myxagent-0.4.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for myxagent 0.4.28
File Interpreter ABI Platform Actions
myxagent-0.4.28-py3-none-any.whl Python 3 none any Details for myxagent-0.4.28-py3-none-any.whl

Total release size: 1.6 MB

Release files / myxagent-0.4.28.tar.gz

Download URL myxagent-0.4.28.tar.gz
Size 892.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f9e45c6429c99034338d725ac36f9a146629ca2631abaae6e72b244a5ebd6f10
BLAKE2b-256 checksum
How to use checksums
f762ff6462466909242e6edb72106cd301419e505adde22039a485fd7a7fdac9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / myxagent-0.4.28-py3-none-any.whl

Download URL myxagent-0.4.28-py3-none-any.whl
Size 705.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45671818d4455d78454f492a00570dbd15797bff7e191e4ef4a33eabdcd7bdeb
BLAKE2b-256 checksum
How to use checksums
c143738eb5c4323d3dd6afdc11cfc2d664120af83d223b1f91b95591d345a59b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for myxagent 0.4.28

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.28 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page