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.
$ npx -y skills add xorbitsai/xagent --agent claude-code
Run the curl in your terminal, the rest in Claude Code.
Repo: xorbitsai/xagent
What's inside

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.
❤️ Like Xagent? Give it a star to support the development!
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).
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
Browser sign-in requires local browser storage and the Web Locks API for safe
cross-tab session coordination. The bundled HTTP Compose endpoint is a
local-development reference. Production deployments must terminate TLS and use
a browser that supports Web Locks; localhost, 127.0.0.1, and ::1 remain
secure-context forms for local development.
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>
| Use Xagent as... | For... | What you get |
|---|---|---|
| A personal agent | One-off tasks, research, writing, files, and data exploration | Chat-style execution with tools, files, models, and real-time progress |
| A team workforce | Reusable agents, shared knowledge, repeated operations, and handoffs | Agents with roles, tools, models, knowledge bases, templates, live preview, and publishing |
| An enterprise agent platform | Private data, production use cases, and internal systems | Self-hosting, private cloud and on-prem deployment, Xinference integration, monitoring, and multi-user control |
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.
Workflow builders are useful when the process is fixed.
But real knowledge work is messy:
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.
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:
Give it a goal. Watch it plan, call tools, execute steps, and deliver results.

For your own daily work:
| Agent | Examples |
|---|---|
| Research Agent | Research a market, summarize papers, compare products |
| Writing Agent | Draft posts, emails, memos, launch copy |
| Document Agent | Summarize files, extract structured data, translate documents |
| Data Agent | Analyze CSVs, explain trends, generate reports |
| Creative Agent | Generate PPTs, posters, campaign ideas, design briefs |
For repeated work across a team:
| Workforce | What it does |
|---|---|
| Support Workforce | Answers customer questions from knowledge bases and docs |
| Marketing Workforce | Creates launch plans, landing copy, and campaign assets |
| Data Workforce | Runs analysis, explains metrics, investigates anomalies |
| Ops Workforce | Handles invoices, receipts, internal requests, and policy FAQs |
| Security Workforce | Analyzes suspicious emails and phishing attempts |
For production environments:
| System | What it connects |
|---|---|
| Internal Knowledge Assistant | Company docs, policies, FAQs, and internal knowledge bases |
| BI / Analytics Agent | Databases, reports, dashboards, and SQL tools |
| Customer Support Agent | Product docs, tickets, and troubleshooting workflows |
| Private Agent Platform | Self-hosted models, private cloud, and on-prem infrastructure |
Start with a task. No workflow setup required.
Xagent plans at runtime instead of following static graphs.
Turn repeated work into agents your team can reuse.
Compose specialized agents for complex outcomes.
Connect agents to the systems they need.
Operate agents like real systems.
Xagent can start as a personal agent, but it is built to grow into production environments.
| Enterprise need | Xagent capability |
|---|---|
| Private deployment | Local, private cloud, and on-prem deployment |
| Model control | API-based models and self-hosted models via Xinference |
| Data grounding | Knowledge bases, RAG, files, and internal systems |
| Operational visibility | Task lifecycle, execution state, token usage, and progress tracking |
| Team usage | Multi-user support and published agents |
| Safer execution | Optional sandboxed execution when enabled |
| Integration | APIs, MCP tools, internal services, and external systems |
You control your models, data, and infrastructure.
| Workflow builders | Xagent |
|---|---|
| You draw the flow | You describe the outcome |
| Static branches | Runtime planning |
| Manual tool wiring | Tool and model selection during execution |
| Breaks when requirements change | Adapts as the task evolves |
| Good for fixed processes | Better for ambiguous, knowledge-heavy work |
| Automation as diagrams | Automation as agentic execution |
Workflow builders automate known processes.
Xagent handles work where the path is discovered during execution.
Watch Xagent move from goal to plan to execution to deliverable in real time.

Xagent separates agent work into layers:
| Layer | Responsibility |
|---|---|
| User layer | Tasks, agents, templates, and widgets |
| Agent definition | Roles, instructions, constraints, tools, models, and knowledge |
| Planning engine | Runtime decomposition, planning, reflection, and iteration |
| Execution runtime | Task state, tool calls, progress tracking, and artifacts |
| Tool layer | Files, APIs, MCP tools, knowledge bases, and internal systems |
| Model layer | API-based models and self-hosted models via Xinference |
| Control layer | Users, monitoring, token usage, deployment, and sandboxing |
This architecture lets Xagent support both personal usage and enterprise-grade agent systems.
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.
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.
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.
Yes. Xagent supports API-based model providers and self-hosted models via Xinference.
Xagent is released under the Xagent Source License. See the LICENSE file for details.
Xagent is actively developed and rapidly evolving.

Follow our progress:
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
This project is licensed under the Xagent Source License - see the LICENSE file for details.
.codespellrc
.dockerignore
.github/
scripts/
docker-pull-retry.sh
workflows/
ci-real-rag.yml
ci.yml
deepdoc-cache.yml
docker-publish.yml
install-script.yml
nightly-build.yml
pypi-publish.yml
sandbox-publish.yml
test-migrations.yml
.gitignore
.pre-commit-config.yaml
AGENTS.md
alembic.ini
assets/
github_readme_banner.jpg
task_demo.jpg
task.gif
xagent_stay_ahead.gif
CLAUDE.md
docker/
docker-compose.yml
.dockerignore
.dockerignore.frontend
docker-compose.sandbox.boxlite.yml
docker-compose.sandbox.docker.yml
Dockerfile.backend
Dockerfile.frontend
Dockerfile.sandbox
entrypoint.sh
nginx.conf
publish.sh
README.md
sandbox-requirements.txt
docs/
branch-protection.md
example.env
frontend/
.env.local.example
.gitignore
components.json
eslint.config.mjs
next.config.mjs
package-lock.json
package.json
postcss.config.cjs
postcss.config.js
public/
byteplus.png
claude.svg
dashscope.png
deepseek.svg
elevenlabs.svg
file.svg
gemini.svg
globe.svg
google-drive.svg
home_build_your_own_agents.png
home_chat_with_agents.webp
home_create_a_presentation.webp
icons/
channels/
feishu.svg
kimi.svg
minimax.svg
next.svg
openai.svg
openrouter.jpg
vercel.svg
videos/
Documentation.mp4
Tutorial.mp4
volcengine.png
widget.js
window.svg
xagent_logo.png
xagent_white_logo.png
zhipu.svg
README.md
src/
app/
admin-mcp/
page.tsx
agent/
[id]/
page-client.tsx
page.tsx
api-keys/
page.tsx
auth/
oidc/
callback/
page.tsx
build/
[id]/
page-client.tsx
page.tsx
new/
page.tsx
page-default-extension.test.tsx
page-extension.test.tsx
page.test.tsx
page.tsx
channels/
page.tsx
conversation-logs/
page.tsx
files/
page.tsx
forgot-password/
page.tsx
globals.css
kb/
page.tsx
layout.test.tsx
layout.tsx
login/
layout.tsx
page.tsx
memory/
page.tsx
models/
page.tsx
monitoring/
page.tsx
page.test.tsx
page.tsx
register/
layout.tsx
page.tsx
reset-password/
page.tsx
settings/
page.test.tsx
page.tsx
setup/
page.tsx
share/
[token]/
page-client.tsx
page.tsx
skill-hub/
[name]/
page-client.tsx
page.tsx
new/
page.tsx
page.tsx
task/
[id]/
page-client.tsx
page.tsx
page.tsx
templates/
page.test.tsx
page.tsx
tools/
page.tsx
users/
page.tsx
websocket-test/
page.tsx
widget/
chat/
[token]/
page-client.test.tsx
page-client.tsx
page.tsx
workforces/
[id]/
page-client.tsx
page.tsx
run/
page-client.tsx
page.tsx
new/
page.tsx
page.tsx
workforce-ui-state.ts
workforces-routes.test.tsx
components/
agent-input.tsx
auth/
auth-form-card.tsx
auth-guard.test.tsx
auth-guard.tsx
auth-page-shell.tsx
build/
agent-builder-admin-mcp.test.tsx
agent-builder-agent-category.test.tsx
agent-builder-chat.test.tsx
agent-builder-chat.tsx
agent-builder-kb-share.test.tsx
agent-builder-logo.test.tsx
agent-builder-preview.test.tsx
agent-builder-publish-errors.test.tsx
agent-builder-triggers.test.tsx
agent-builder.tsx
agent-delete-dialog.test.tsx
agent-delete-dialog.tsx
agent-flow-view.test.tsx
agent-flow-view.tsx
agent-ssh-bindings.test.tsx
agent-ssh-bindings.tsx
agent-triggers-dialog.test.tsx
agent-triggers-dialog.tsx
agent-triggers-schedule-fields.test.tsx
agent-triggers-schedule-fields.tsx
build-file-preview-sheet.test.tsx
build-file-preview-sheet.tsx
deploy-agent-dialog.test.tsx
deploy-agent-dialog.tsx
chat/
AgentCard.tsx
chat-input-public-file-access.test.tsx
ChatInput.test.tsx
ChatInput.tsx
ChatMessage.process-view.test.tsx
ChatMessage.test.tsx
ChatMessage.tsx
ChatStartScreen.test.tsx
ChatStartScreen.tsx
clarification-form.test.tsx
clarification-form.tsx
CompactionNotice.tsx
ContextUsageRing.tsx
FileChip.tsx
FileMentionDropdown.tsx
TemplateQuickAccess.test.tsx
TemplateQuickAccess.tsx
TokenUsageDisplay.test.tsx
TokenUsageDisplay.tsx
trace-event-processing.test.ts
TraceEventRenderer.test.tsx
TraceEventRenderer.tsx
user-message-content.test.tsx
user-message-content.tsx
collapsible-section.tsx
config-dialog.tsx
deployment/
deployment-config-error-alert.test.tsx
deployment-config-error-alert.tsx
example/
api-example.tsx
execution-mode-selector.tsx
file/
docx-preview-renderer.tsx
excel-preview-renderer.tsx
file-attachment.tsx
file-preview-action-buttons.tsx
file-preview-content.test.tsx
file-preview-content.tsx
file-preview-dialog.tsx
file-type-icon.test.tsx
file-type-icon.tsx
file-upload.tsx
file-viewer.test.tsx
file-viewer.tsx
inline-file-preview-utils.test.ts
inline-file-preview-utils.ts
inline-file-preview.test.tsx
inline-file-preview.tsx
pptx-preview-renderer.test.tsx
pptx-preview-renderer.tsx
standalone-file-preview-dialog.tsx
task-file-manager.tsx
kb/
cloud-connect-dialog.tsx
knowledge-base-creation-dialog.test.tsx
knowledge-base-creation-dialog.tsx
knowledge-base-detail-helpers.test.ts
knowledge-base-detail-helpers.ts
knowledge-base-detail.component.test.tsx
knowledge-base-detail.tsx
knowledge-base-detail.web-ingest.test.tsx
knowledge-base-document-list.tsx
layout/
application-shell.tsx
center-panel.tsx
layout-content.tsx
mobile-header.tsx
resizable-split-layout.test.tsx
resizable-split-layout.tsx
resizable-three-column-layout.tsx
sidebar.test.tsx
sidebar.tsx
three-column-layout.tsx
log/
log-event.tsx
messages-preview.tsx
test-data.ts
mcp/
connect-mcp-dialog.test.tsx
connect-mcp-dialog.tsx
connector-runtime-i18n.test.tsx
custom-api-form.tsx
custom-mcp-form.test.tsx
custom-mcp-form.tsx
official-mcp-settings-dialog.tsx
runtime-inputs-form.test.tsx
runtime-inputs-form.tsx
types.ts
model-info-display.tsx
pages/
admin-mcp.test.tsx
admin-mcp.tsx
api-keys.test.tsx
api-keys.tsx
conversation-logs.test.tsx
conversation-logs.tsx
files.test.tsx
files.tsx
forgot-password.tsx
knowledge-base.test.tsx
knowledge-base.tsx
login.test.tsx
login.tsx
memory.tsx
model-display-capabilities.test.ts
model-display-capabilities.ts
model-management-dialog.tsx
models.tsx
monitoring.tsx
oidc-callback.test.tsx
oidc-callback.tsx
personal-api-keys-panel.test.tsx
personal-api-keys-panel.tsx
register.tsx
reset-password.tsx
setup.tsx
user-management.tsx
preview-sheet.tsx
replay/
replay-controls.tsx
settings/
default-models.tsx
skill-hub/
badges.tsx
markdown-editor.tsx
task/
task-error-controller.tsx
task-conversation-panel.test.tsx
task-conversation-panel.tsx
templates/
library-template-card.test.tsx
library-template-card.tsx
template-card-utils.ts
ui/
__tests__/
markdown-renderer.test.tsx
alert-dialog.tsx
alert.tsx
badge.tsx
button.tsx
card.tsx
collapsible.tsx
confirm-dialog.tsx
date-time-picker.tsx
dialog.tsx
feature-empty-state.tsx
input.tsx
json-syntax-highlighter.tsx
label.tsx
markdown-renderer.tsx
multi-select.tsx
page-header.tsx
popover.tsx
progress.tsx
radio-group.tsx
scroll-area.test.tsx
scroll-area.tsx
search-input.tsx
segmented-tabs.tsx
select-radix.tsx
select.tsx
separator.tsx
sheet.tsx
slider.tsx
sonner.tsx
stepper.tsx
switch.tsx
table.tsx
tabs.tsx
textarea.tsx
tooltip.tsx
voice-input-controller.test.tsx
voice-input-controller.tsx
welcome-modal.tsx
widget/
public-agent-chat-page.test.tsx
public-agent-chat-page.tsx
session-agent-chat-page.integration.test.tsx
session-agent-chat-page.test.tsx
session-agent-chat-page.tsx
use-widget-session.test.tsx
... 1600 moreShowing a partial view of a very large repo.
FAQ
xagent is a Claude Code plugin with 8 hand-picked skills for automation work, indexed on Flowy. Install it with the command on its page. It includes agent-builder, evidence-based-rag, html-deck-editorial. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.