Skip to main content
Glama
README.md
<div align="center">
  <img src="assets/jaxon-logo.svg" width="72" height="72" alt="JaXon Agents Logo" />
  <h1>JaXon Agents</h1>
  <p><strong>Your coding agent is the lead. JaXon runs the station.</strong></p>
  <p>
    🌐 <strong>English</strong> · <a href="./README.zh-CN.md">简体中文</a> · ⚡ <a href="#quick-start"><strong>Quick Start</strong></a> · 📦 <a href="./examples/"><strong>Examples</strong></a> · 🤖 <a href="./README.agent.md"><strong>Agent Manual (<code>README.agent.md</code>)</strong></a>
  </p>
</div>

> **In One Sentence:** **JaXon Agents** turns the coding CLI you already use (**Claude Code**, **Codex**, or **OpenCode**) into the lead of a persistent agent crew where each role can run any connectable model or compatible API endpoint—and where Stations **provide no executable DAG and accept no workflow DSL by design**, because the right next step only exists after you see what the last step actually produced.

<p align="center">
  <img src="docs/assets/jaxon-demo.gif" width="100%" alt="Illustrative demo: role-driven collaboration through the JaXon station hub — planner, coders (with a temporary helper joining mid-run and stepping out when done), and reviewer coordinate on boards while the lead agent decides each next step live." />
</p>
<p align="center">
  <sub><em><strong>Illustrative Demo</strong> (abstract animation, not a screen recording): Role-driven teamwork across the <strong>JaXon</strong> X-hub—<code>planner</code>, <code>coder</code>, a temporary coding helper joining mid-run and leaving cleanly when done, and <code>reviewer</code> hand off work on boards while your lead agent decides every move live. Shows one run's trajectory after the fact, not a user-definable workflow graph.</em></sub>
</p>

---

## At a Glance

- 🧭 **No Executable DAG or DSL (By Principle, Not Convenience)**: Pre-drawn graphs—even cyclic ones—force you to hardcode branches before work happens. In a JaXon Station, plain-language rules (`STATION.md`) set role boundaries up front, members post conclusions to auto-injected **Markdown Boards**, and your lead agent decides every next hop or roster change from the new knowledge and actual progress on the boards. **Boards never trigger steps, and the runtime never compiles natural language into a hidden scheduler.**
- 🧠 **Mix Any Connectable Model or Compatible Endpoint by Role**: Assign every role (`planner`, `coder`, `reviewer`, `writer`, or temporary helpers) its own model and billing mode in the same Station—freely coexisting across **subscription OAuth** *(Anthropic, OpenAI, OpenAI Codex)*, **built-in APIs** *(Claude, GPT, Gemini, OpenRouter, DeepSeek, xAI, Groq, etc.)*, **any OpenAI-, Anthropic-, or Google-compatible custom endpoint** *(`baseUrl` + `modelId` for third-party relays, self-hosted routers, or enterprise gateways)*, and **zero-auth local `127.0.0.1` models** *(Ollama / vLLM)*. Credentials stay `0600`-isolated in the local daemon (`NEEDS_HUMAN_AUTH`), never in model context.
- ✦ **The `X` Hub & Built-in `JaXon` Quartermaster**: You keep your daily CLI. Behind it, a singleton local daemon hosts isolated `Pi` sessions (stripping bulky `thinking` noise from `session_read`), serves a live Web Console (`127.0.0.1`), and includes a built-in **`JaXon`** preset (`ask_jaxon`) that scaffolds agents and stations from plain-language requests.

---

## The Big Picture: Why New Knowledge—Not a Pre-Drawn Graph—Decides the Next Step

Single-agent sessions rot when one context window tries to plan, edit dozens of files, and self-review. Yet most multi-agent frameworks swing to the opposite extreme, forcing you to wire up state machines before a single line of code is inspected. **JaXon Agents** is built around three practical convictions about how real engineering teams actually work:

### 1. There Is No Eden in Real Work: Plans Meet Reality, and New Knowledge Redraws the Map

Real work never unfolds in a frictionless Eden. Plans rarely survive first contact with the codebase, and new knowledge uncovered mid-task routinely changes the original boundaries of the job. Pre-wired workflow graphs—even cyclic ones—fail in practice because they lock down topologies and arrows before work happens, manufacturing a **pseudo-fluency held hostage by rigid SOPs and KPIs**.

Consider what happens when a **`reviewer`** flags a problem or a task hits an unexpected snag. You cannot know which next step is valid until you read what was just delivered:

1. **A straightforward implementation slip** → the lead sends the session back to **`coder`** to patch the code in place.
2. **A flawed spec in `PLAN.md`** → bouncing back to `coder` would loop forever; the lead routes back to **`planner`** to revise the design first.
3. **A sudden parallel module or heavy lift** → the lead updates the station roster to bring in a **temporary `coder` helper** mid-run, then removes the helper cleanly once active turns finish.
4. **An explainable convention or a newly exposed product ambiguity** → the lead either clarifies on the board and ships immediately, or pauses to let the **human** decide.

**JaXon** refuses to preset or hardcode workflow topologies and arrows. Instead, it keeps focus on what actually moves a project forward: **set responsibilities and acceptance criteria before the run (`STATION.md`), then let your lead agent understand the goal, weigh new findings and actual progress on the boards, and adjust course in real time.**

### 2. The Lead Is the Lead; The Crew Is the Crew: Seats Are Earned by Continuity

In a real team, a manager can step out or change terminals without wiping out the crew's memory. A member holds a seat at the station because they carry forward their responsibilities, their working history, their board record, and their ongoing response to teammates' expectations.

JaXon stays **lead-agnostic** by architecture: the background daemon keeps an active MCP service open to whichever coding client you prefer (**Claude Code**, **Codex**, or **OpenCode**). Even if you switch lead clients or restart your CLI, every station member retains its persistent `Pi` session (`session.jsonl`), its own Markdown board (`<your_board>`), and its own sub-workspace (such as an isolated directory or `git worktree`) so work continues seamlessly.

### 3. Collective Intelligence Grows from Independence, Not Job Titles

As the old saying goes, *three cobblers can outwit a master strategist*—not because someone pinned three different job titles onto the same brain, but because real collective intelligence requires independent growth, different knowledge, fitting tools, and independent judgment.

To make that real, JaXon opens up full-stack freedom across **Model — Prompt — Tools — Skills — Memory** for every sub-agent:

- **Model**: bind each role to its best-fit model and billing path—mixing OAuth subscriptions, built-in APIs, OpenAI/Anthropic/Google-compatible custom endpoints, and zero-auth local models in the same station.
- **Prompt & Tools**: give each preset its own versioned system instructions (`APPEND_SYSTEM.md`), default toolset (`settings.json`), and dedicated external MCP servers (`mcp.json`).
- **Skills & Memory**: attach role-specific skill directories (`skills/`) while preserving long-lived session transcripts and self-maintained board conclusions (`<your_board>`) across turns.

> 💡 **Author's Field Note**: In my own hands-on testing, **GPT-6 and newer models** are best reserved for **code implementation and mathematical analysis**—use caution before putting them on other work, and especially avoid making them the lead agent, as they can easily leave the workspace in a mess.

---

<h2 id="quick-start">⚡ Quick Start</h2>

> **Requirements:** Linux (or Windows WSL2) and **Node.js `>= 22.19.0`**.

### 1. Build & Start the Background Daemon

```bash
git clone https://github.com/RickoNoNo3/jaxon-agents.git
cd jaxon-agents
./init.sh
```

`./init.sh` checks Node.js, installs dependencies (`npm ci --include=dev`), atomically builds `dist/`, starts the singleton background daemon (seeding the unconfigured built-in `JaXon` preset), and **prints the local Web Console URL** to your terminal (starting from `http://127.0.0.1:7391` and choosing the first available loopback port; it prints the URL without auto-opening a browser).

Open that printed URL in your browser to inspect the console. *(On a remote Linux host, forward the printed port via `ssh -L 7391:127.0.0.1:7391 user@example-host`.)*

### 2. Connect Your Coding CLI via MCP

Point your MCP client at `node /path/to/jaxon-agents/dist/index.js` (full templates and timeout notes in [`examples/mcp-clients/`](./examples/mcp-clients/)):

<details open>
<summary><strong>Claude Code (<code>~/.claude.json</code> or <code>.mcp.json</code>)</strong></summary>

```json
{
  "mcpServers": {
    "jaxon-agents": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/jaxon-agents/dist/index.js"]
    }
  }
}
```
</details>

<details>
<summary><strong>Codex (<code>~/.codex/config.toml</code>)</strong></summary>

```toml
[mcp_servers.jaxon-agents]
command = "node"
args = ["/path/to/jaxon-agents/dist/index.js"]
tool_timeout_sec = 1800
```
</details>

<details>
<summary><strong>OpenCode V2 (<code>~/.config/opencode/opencode.json</code>)</strong></summary>

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "jaxon-agents": {
        "type": "local",
        "command": ["node", "/path/to/jaxon-agents/dist/index.js"],
        "enabled": true,
        "timeout": {
          "execution": 1800000
        }
      }
    }
  }
}
```
</details>

### 3. Bind Models & Run Your First Station

A clean startup includes only the built-in `JaXon` preset—no example roles or stations are pre-created until you add them:

1. In the Web Console → **Connections**, add an **OAuth**, **API**, or **Custom** connection *(any OpenAI-, Anthropic-, or Google-compatible `baseUrl` + `modelId`)*—or point an agent directly at a zero-auth local `127.0.0.1` Ollama/vLLM endpoint ([`examples/agents/local-qwen/`](./examples/agents/local-qwen/)).
2. In **Agents**, bind a model to `JaXon` (or create `planner`, `coder`, and `reviewer` presets from [`examples/agents/`](./examples/agents/)). Each preset runs a real one-shot `Pi` readiness probe before becoming `ready`.
3. Create the [`dev-loop`](./examples/stations/dev-loop/) station (in the console UI or by asking `JaXon` via `ask_jaxon`), then prompt your main coding CLI:

> *"In the `dev-loop` station, design and implement a sliding-window rate limiter for `/path/to/app`: post the goal and acceptance criteria on the `master` board, have `planner` draft `PLAN.md`, send `coder` to implement the finalized plan, and have `reviewer` audit the diff—deciding the next step from their boards."*

---

## Examples, Agent Manual & Daily CLI

- **Runnable Examples ([`examples/`](./examples/))**:
  - **Stations ([`examples/stations/`](./examples/stations/))**: [`dev-loop`](./examples/stations/dev-loop/) (Plan ⇄ Code ⇄ Review), [`parallel-coders`](./examples/stations/parallel-coders/) (parallel coding + review), [`research-writer`](./examples/stations/research-writer/) (research → writing → fact check).
  - **Agent Presets ([`examples/agents/`](./examples/agents/))**: [`planner`](./examples/agents/planner/), [`coder`](./examples/agents/coder/), [`reviewer`](./examples/agents/reviewer/), [`local-qwen`](./examples/agents/local-qwen/) (zero-auth local Ollama/vLLM), [`custom-gateway`](./examples/agents/custom-gateway/) (enterprise `models.json`).
  - **End-to-End Traces ([`examples/workflows/`](./examples/workflows/))**: [`01-dev-loop-e2e.md`](./examples/workflows/01-dev-loop-e2e.md) (board handoffs & review bounce-back) and [`02-human-auth-and-roster-switch.md`](./examples/workflows/02-human-auth-and-roster-switch.md) (`NEEDS_HUMAN_AUTH` resume & live `station_pending` roster cutover).
- **Agent & Protocol Manual ([`README.agent.md`](./README.agent.md))**: Full specifications for all 25 MCP tools, daemon/relay topology, state machines, live roster switching, and atomic `src/ -> dist/` hot upgrades.

```bash
node dist/index.js console   # Ensure the background daemon is running and print the Web Console URL
node dist/index.js status    # Print daemon health, build fingerprint, and session counts as JSON
npm run typecheck            # Typecheck src/ without touching dist/ or restarting the daemon
npm run build                # Atomically build src/ -> dist/ (daemon hot-upgrades when quiet)
```

TDQS

B3/5.0

Scored across 25 tools

Disambiguation4/5

Tools are grouped by resource prefix (agent_, session_, station_, board_) with distinct verbs, so most selections are unambiguous. The main overlaps are ask_jaxon, which performs preset creation/duplication/auth 'via natural language' and thus duplicates agent_create/agent_duplicate/agent_update, and board_write vs board_clear (replace vs reset), both of which require reading the descriptions to separate.

Naming Consistency4/5

Almost all tools follow a predictable resource_action snake_case pattern (agent_get, session_start, station_create, board_read), which makes the set easy to scan. Minor deviations are ask_jaxon (different convention entirely), service_status and connection_list (noun_noun rather than noun_verb), and agent_get vs agent_list ordering is fine but agent_test is a verb that reads more like an action than a lifecycle op.

Tool Count3/5

25 tools is at the heavy end and sits right at the threshold where the surface becomes costly to navigate. The count is defensible because it spans four real domains (presets, sessions, stations, boards) plus daemon/connection ops, but some tools (ask_jaxon alongside the full agent_* CRUD, board_clear alongside board_write) feel like they could be folded in.

Completeness4/5

Coverage is strong: full preset lifecycle (create/list/get/update/duplicate/delete/test), full session lifecycle including prompt reply, interrupt and close, Station CRUD plus search, and board read/write/clear. The notable gap is connection management — only connection_list exists, with credential creation/deletion punted to ask_jaxon — and board_write is hard-limited to the master board, which leaves member-board editing as a dead end for MCP callers.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues