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.

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.10

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

Built distribution (wheel)

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

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

Download URL myxagent-0.4.10-py3-none-any.whl
Size 671.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1f3e18ec9895aaf66d000f128cb44b3cabbc7b7d5cdc42d5343d3203f929a50
BLAKE2b-256 checksum
How to use checksums
f285b83384c58d7632a964d75a9d77d1ed4bf935e8902ff8eb59dfbd2fa51095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.13

Security for myxagent 0.4.10

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.10 This release

1 release file 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