Independent AI Agent with Persistent First-Person Memory and Multi-User Interaction
pip install myxagent==0.4.13 Copy PIP instructions
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.
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.
xagent The interactive launcher will guide you through creating and managing your agents.
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.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
None of the files in this release were uploaded with provenance metadata.
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.




