@agentprojectcontext/apx

中文文档
1.127.0发布于 2026/10/26MITES Module近 30 天下载 6021

APX — unified CLI + daemon for the Agent Project Context (APC) standard.

原始使用文档
文档目录13 节
  1. Meet your crew.
  2. See your crew in action
  3. What you can do
  4. Why APX?
  5. Quick start
  6. On your phone
  7. APX v2 replaces v1
  8. How V2 works
  9. Documentation and community
  10. Message channels
  11. Runtimes
  12. Where APX started
  13. License

[!WARNING] APX v1 is no longer maintained. APX v2 replaces it: a new desktop app, a phone app and a one-line install for your server, rebuilt from scratch. It brings your v1 projects, agents and chats along. Meet APX v2 → · curl -fsSL https://agentprojectcontext.github.io/apx/install.sh | bash

APX — Meet your crew

Meet your crew.

APX is an open-source Agent OS: your own team of AI agents, running on your machine.
Give them roles, memory and tools. Talk to them, let them work together, and follow what they do.
Research, writing, everyday plans, business operations or code — build a crew around your life and work.

Visit the APX website License: MIT APX v1 downloads on npm Downloads from GitHub releases APX v1 requires Node.js 22+ Join the community

See APX working → · Install v1 · APX v2 · Español · Discord

See your crew in action

Real APX v1 recording: agents working together in a group chat
A real recording of APX v1 running a demo crew. Watch more recorded workflows on the website.

Each agent gets a blobo — its own face — alongside a role, memory, skills and tools. Mention one in a conversation and it can pick up the work or ask another agent for help. The faces make your crew easy to recognize; the recorded workflows show what it actually does.

What you can do

  • Keep a crew for each part of your work. A researcher, a writer, an organizer or a coding agent: choose the roles you need and group them by project.
  • Give work to the team. Start a group chat, mention an agent in a task, and follow its reply. Agents can ask each other for help.
  • Put recurring work on a schedule. Daily briefings, reports and check-ins can run as routines while APX stays running.
  • Reach the same crew from different places. Use the web panel, Telegram, WhatsApp or your phone; your agents keep their roles and access to their tools.
  • See the work as it happens. Conversations show agent actions, and the panel brings chats, tasks, routines and code sessions together.
  • Bring your models and tools. Connect model providers, local Ollama models, skills and MCP servers. For coding work, delegate to Claude Code, Codex or another supported CLI.

APX runs on your machine. Connected cloud models and services receive the data needed for the requests you send them; local operation does not mean every model runs offline.

Why APX?

The reason to try APX is the crew workflow: recognizable agents, roles organized around your projects, shared conversations, delegated work, tasks and routines in one place. A project can be a business, a creative project, a personal workspace or a codebase. You do not need a Git repository to start using APX.

If you already use OpenClaw or another agent app, local execution, markdown files and messaging integrations alone are not a reason to switch. Compare the experience: does APX make your particular team easier to organize, work with and follow? Watch a real workflow and try it with one task that matters to you.

For code projects, agent definitions, skills and shared project context can travel with the repository. Conversations, sessions, credentials and private runtime memory stay outside it.

Quick start

This repository and these installation commands are for APX v1. Requires Node.js 22+ on macOS, Linux or Windows.

npm install -g @agentprojectcontext/apx
apx setup

The setup wizard helps you choose a provider, a model and your channels, starts APX, and prints your panel address. Open http://localhost:7430 in your browser.

Start with one agent and one real task. Add specialists and routines as you need them. Cloud providers require their own access or credentials; local models require a configured local provider.

Prefer the terminal? From a project folder:

apx init
apx agent list
# Replace <agent> with an agent listed above.
apx exec <agent> "Help me plan the next steps for this project"
apx run <agent> --runtime claude-code "Review this project and suggest improvements"
apx run <agent> --runtime codex "Add tests for the parser"

Coding commands require the selected external CLI to be installed and authenticated.

On your phone

The panel fits your phone too. apx panel share gives you a network address; apx panel tailscale on lets you reach it through your tailnet. Open the panel on your phone and add it to your home screen.

There is also a native Android app, with notifications, a floating mascot and Android Auto:

The Android app installs from a file, outside Google Play. On iPhone, use the web panel. USB access lasts while the cable is connected; LAN access stays within your network; Tailscale connects devices on your tailnet.

APX v2 replaces v1

v1 is no longer maintained. APX v2 takes APX further as a standalone application for your crew: install it from its website or the main branch. The v1 commands above install v1, not v2.

APX V2 dark-mode demo: main agent delegates to Scout, creates an interactive launch widget and opens the source page in the browser panel
Real V2 interface running a scripted demo with fictional data: agent-to-agent delegation, an interactive widget and a live browser page. View the light-mode capture.

ExperienceAPX v1 todayDirection of V2
Your main agentA local assistant reached through the panel and channelsA central place to work with the main agent and specialists across personal and project work
ConversationsChats, group conversations and code sessionsA unified inbox organized by project, agent and channel, alongside external coding sessions
Working on the webBrowser tools through integrationsAn embedded desktop browser: watch agents navigate and take over yourself
Following the workAgent actions, tasks and routines in the panelConversations, delegated work, tools, files and apps brought together around the active workspace
DevicesWeb panel, messaging, desktop and Android surfacesDesktop and phone clients connected to the same core, including a core hosted on your own server

These are the direction and current development experience, not a promise that every v1 feature has already reached parity.

How V2 works

flowchart TB
    You[You: desktop, phone or messaging] --> Main[Your main agent]
    Main <--> Crew[Specialists and project crews]
    Main --> Core[One APX core]
    Crew --> Core
    Core <--> Tools[Models, skills and connected tools]
    Core <--> Browser[Desktop browser: watch or take over]
    Core <--> Work[Conversations, tasks, routines and apps]

One core owns the work and history; the app, phone and messaging channels connect to it. Your main agent can work directly or delegate to a specialist. The desktop supplies its browser, where you can see the page and take control. This keeps the crew together as you move between devices.

Follow the website and Discord for V2 progress and release news.

Documentation and community

Technical reference: v1 channels and coding runtimes

Message channels

Activity belongs to APX runtime state, not .apc/. Message storage is local to APX, under ~/.apx/:

JSONL messages include type (user, agent, tool, or system) plus actor_id, so chat views can distinguish Telegram users from APX agents and future subagents.

A channel is the surface a turn arrived on. The canonical list lives in src/core/constants/channels.js; voice is a mode, not a channel.

ChannelWhat it captures
cliapx exec / apx run from the terminal
telegramTelegram bot messages
apiDirect daemon HTTP calls
webThe admin panel's main chat
web_sidebarThe panel's side assistant
web_codeThe panel's coding surface
codeapx code sessions
deckThe tablet/phone dashboard
desktopThe floating voice capsule (always voice mode)
routineScheduled routine runs

Runtimes

RuntimeDescription
claude-codeSpawns Claude Code CLI with the agent's system prompt injected
codexOpenAI Codex CLI via non-interactive codex exec --sandbox workspace-write --skip-git-repo-check
opencodeOpenCode CLI
aiderAider CLI
cursor-agentCursor's headless agent
gemini-cliGoogle Gemini CLI
qwen-codeQwen Code CLI
antigravityAntigravity CLI

Global APX skill installation also writes named helper skills for codex-cli, claude-code, opencode-cli, and openrouter. They are intentionally narrow and should activate only when those tools/providers are explicitly mentioned.

Where APX started

APX began as a way to make APC — Agent Project Context work in practice: portable agent definitions, skills and project instructions in AGENTS.md and .apc/. It grew into an application with its own crew, conversations, tasks, routines, channels and interfaces. APX is the product you use today; APC is part of its origin and project-context foundation.

You do not need to learn the protocol to use APX. If you want the technical background, read the APC specification.

For contributors, start with AGENTS.md. APX v1 has a local daemon, a CLI, a web panel and bridges to external tools. Project context can live in the project folder; runtime state lives under ~/.apx/, outside the repository.

License

MIT

版本与发布记录

@agentprojectcontext/apx 共发布 208 个版本,首次发布于 2026/05/09;过去 12 个月发布了 208 个版本。

版本发布日期距今
1.127.0latest2026/10/2611 天前
1.126.02026/10/1521 天前
1.125.02026/10/1224 天前
1.124.12026/10/1225 天前
1.124.02026/10/0729 天前
1.123.12026/10/011 个月前

关于 @agentprojectcontext/apx 的常见问题

@agentprojectcontext/apx 是什么?

APX — unified CLI + daemon for the Agent Project Context (APC) standard.

如何安装 @agentprojectcontext/apx?

在项目目录运行 npm install @agentprojectcontext/apx,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 apx、apx-acp、apx-mcp、apx-daemon,可以用 npx apx 直接运行。

@agentprojectcontext/apx 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/agentprojectcontext__apx 是否存在。

@agentprojectcontext/apx 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@agentprojectcontext/apx 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@agentprojectcontext/apx 可以商用吗?

@agentprojectcontext/apx 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@agentprojectcontext/apx 的下载量有多少?

根据 npm 官方下载统计,@agentprojectcontext/apx 在 2026/10/05 – 2026/11/03 这 30 天内被下载 6,021 次,日均约 201 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@agentprojectcontext/apx 还在维护吗?

最新版本 1.127.0 发布于 2026/10/26(11 天前);至今共发布 208 个版本,其中过去 12 个月发布了 208 个;首次发布于 2026/05/09。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。