Xagent

July 17, 2026 · View on GitHub

Xagent Banner

Discord Telegram Twitter

Documentation GitHub Release PyPI Docker Pulls


Xagent

Start with a personal agent. Scale into an AI workforce.

Xagent helps individuals complete real tasks, teams publish reusable agents, and enterprises run agent systems with their own tools, models, knowledge, and infrastructure — without brittle workflows.

Describe the outcome. Not the workflow.

One task

Personal Agent

Reusable Agent

Team Workforce

Enterprise Agent Platform

For personal work, team automation, and enterprise AI systems.

Join Telegram | Discord

❤️ Like Xagent? Give it a star to support the development!


Quick Start

Run on your machine

The published package bundles the web UI — no Docker or Node required (Python 3.11+):

uv tool install xagent-ai   # or: pip install xagent-ai  (use a virtualenv)
xagent                      # then open http://127.0.0.1:8000

Or in one line:

curl -fsSL https://get.xagent.co | sh

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

Coming from OpenClaw or Hermes? xagent migrate imports your agent, skills, and schedules (see xagent migrate --help).

Run with Docker (teams / self-hosting)

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

On first startup, Xagent redirects to /setup to create the first administrator account. Forgot the admin password? Reset it:

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

One platform, three ways to use it

Use Xagent as...For...What you get
A personal agentOne-off tasks, research, writing, files, and data explorationChat-style execution with tools, files, models, and real-time progress
A team workforceReusable agents, shared knowledge, repeated operations, and handoffsAgents with roles, tools, models, knowledge bases, templates, live preview, and publishing
An enterprise agent platformPrivate data, production use cases, and internal systemsSelf-hosting, private cloud and on-prem deployment, Xinference integration, monitoring, and multi-user control

What is Xagent?

Xagent is an agent platform for personal work, reusable team agents, and enterprise AI systems.

For individuals, it works like a powerful personal agent: describe a task, attach files, use tools, and get results.

For teams, it turns repeated work into reusable agents: define roles, connect tools and knowledge, test with live preview, then save and publish.

For enterprises, it provides the control needed to run agents with your own models, data, infrastructure, and internal systems.

Xagent is not a chatbot wrapper. Xagent is not a static workflow builder. Xagent is a runtime for agentic work.


Why not workflow builders?

Workflow builders are useful when the process is fixed.

But real knowledge work is messy:

  • Requirements change
  • Inputs are incomplete
  • The next step depends on what the agent discovers
  • Tools need to be selected at runtime
  • The output may be a report, a file, a decision, or an action

Traditional workflow builders ask you to design every branch before the work begins.

Xagent plans while the work happens.

Real work does not look like a perfect flowchart. Real work looks like a team.


How Xagent works

Give Xagent a goal:

Analyze three competitors, summarize their positioning, and draft a launch plan.

Xagent can turn it into coordinated work:

Planner Agent
  ├─ Research Agent: gathers market and product signals
  ├─ Data Agent: structures competitors and trends
  ├─ Analyst Agent: identifies strategic opportunities
  ├─ Writer Agent: drafts the narrative
  └─ Operator Agent: prepares the final deliverables

During execution, Xagent can:

  • Plan the task dynamically
  • Break work into executable steps
  • Select tools and models
  • Use files, APIs, knowledge bases, and internal systems
  • Track progress in real time
  • Evaluate and iterate
  • Deliver final artifacts

See Xagent work

Give it a goal. Watch it plan, call tools, execute steps, and deliver results.

Xagent Demo


What you can build

Personal agents

For your own daily work:

AgentExamples
Research AgentResearch a market, summarize papers, compare products
Writing AgentDraft posts, emails, memos, launch copy
Document AgentSummarize files, extract structured data, translate documents
Data AgentAnalyze CSVs, explain trends, generate reports
Creative AgentGenerate PPTs, posters, campaign ideas, design briefs

Team workforces

For repeated work across a team:

WorkforceWhat it does
Support WorkforceAnswers customer questions from knowledge bases and docs
Marketing WorkforceCreates launch plans, landing copy, and campaign assets
Data WorkforceRuns analysis, explains metrics, investigates anomalies
Ops WorkforceHandles invoices, receipts, internal requests, and policy FAQs
Security WorkforceAnalyzes suspicious emails and phishing attempts

Enterprise agent systems

For production environments:

SystemWhat it connects
Internal Knowledge AssistantCompany docs, policies, FAQs, and internal knowledge bases
BI / Analytics AgentDatabases, reports, dashboards, and SQL tools
Customer Support AgentProduct docs, tickets, and troubleshooting workflows
Private Agent PlatformSelf-hosted models, private cloud, and on-prem infrastructure

Core capabilities

1. Instant personal execution

Start with a task. No workflow setup required.

  • One-off tasks
  • File-based work
  • Chat-style assistants
  • Tool-enabled execution
  • Real-time progress tracking

2. Dynamic planning

Xagent plans at runtime instead of following static graphs.

  • Automatic task decomposition
  • Plan → Execute → Reflect loops
  • Conditional execution
  • Multi-step reasoning

3. Reusable agents

Turn repeated work into agents your team can reuse.

  • Role definition
  • Tool access
  • Knowledge integration
  • Model configuration
  • Live preview
  • Save and publish

4. AI workforce patterns

Compose specialized agents for complex outcomes.

  • Planner agents
  • Research agents
  • Data agents
  • Writing agents
  • Domain agents
  • Operator agents

5. Tools, models, and knowledge

Connect agents to the systems they need.

  • OpenAI, Claude, Zhipu, DeepSeek, and other model providers
  • Self-hosted models via Xinference
  • Knowledge bases and RAG
  • Files and documents
  • APIs and internal systems
  • MCP tools and integrations

6. Observability and control

Operate agents like real systems.

  • Task lifecycle tracking
  • Execution state management
  • Real-time step details
  • Tool call visibility
  • Token usage monitoring
  • Multi-user support

Enterprise-ready by design

Xagent can start as a personal agent, but it is built to grow into production environments.

Enterprise needXagent capability
Private deploymentLocal, private cloud, and on-prem deployment
Model controlAPI-based models and self-hosted models via Xinference
Data groundingKnowledge bases, RAG, files, and internal systems
Operational visibilityTask lifecycle, execution state, token usage, and progress tracking
Team usageMulti-user support and published agents
Safer executionOptional sandboxed execution when enabled
IntegrationAPIs, MCP tools, internal services, and external systems

You control your models, data, and infrastructure.


Xagent vs workflow builders

Workflow buildersXagent
You draw the flowYou describe the outcome
Static branchesRuntime planning
Manual tool wiringTool and model selection during execution
Breaks when requirements changeAdapts as the task evolves
Good for fixed processesBetter for ambiguous, knowledge-heavy work
Automation as diagramsAutomation as agentic execution

Workflow builders automate known processes.

Xagent handles work where the path is discovered during execution.


Xagent in action

Watch Xagent move from goal to plan to execution to deliverable in real time.

Xagent in Action


Architecture overview

Xagent separates agent work into layers:

LayerResponsibility
User layerTasks, agents, templates, and widgets
Agent definitionRoles, instructions, constraints, tools, models, and knowledge
Planning engineRuntime decomposition, planning, reflection, and iteration
Execution runtimeTask state, tool calls, progress tracking, and artifacts
Tool layerFiles, APIs, MCP tools, knowledge bases, and internal systems
Model layerAPI-based models and self-hosted models via Xinference
Control layerUsers, monitoring, token usage, deployment, and sandboxing

This architecture lets Xagent support both personal usage and enterprise-grade agent systems.


FAQ

Is Xagent a personal AI assistant?

Yes. You can use Xagent for one-off personal tasks like research, writing, file analysis, summaries, and data exploration.

But Xagent does not stop there. You can turn repeated work into reusable agents and publish them for your team.

How is Xagent different from a workflow builder?

Workflow builders require you to predefine the path.

Xagent plans dynamically at runtime. You describe the outcome, and Xagent decides the steps, tools, and execution path.

Can Xagent be used in enterprise environments?

Yes. Xagent supports self-hosted deployment, private cloud, on-prem infrastructure, multi-user usage, observability, knowledge bases, internal systems, and self-hosted models via Xinference.

Can I use my own models?

Yes. Xagent supports API-based model providers and self-hosted models via Xinference.

What license does Xagent use?

Xagent is released under the Xagent Source License. See the LICENSE file for details.


Stay Ahead

Xagent is actively developed and rapidly evolving.

Stay Ahead

Follow our progress:

  • ⭐ Star us on GitHub to stay updated
  • 🐛 Report issues and request features
  • 💬 Join our community discussions

Community & Contact

Documentation - Full documentation and guides

GitHub Issues - Report bugs or propose features

Discord - Share your tasks or agents and connect with the community

Telegram - Join our Telegram group for discussions

X (Twitter) - Follow for updates and share your work


License

This project is licensed under the Xagent Source License - see the LICENSE file for details.