Skip to content
xiaoran7Public

About

Remote Web console & session manager for Claude Code and OpenAI Codex. Continue sessions anywhere via browser or mobile PWA.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

394 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentHub

The Unified Remote Continuation & Control Plane for Official AI Agents
Seamless Web & mobile management for Claude Code and OpenAI Codex sessions anywhere, anytime.

English • 简体中文 • Documentation • Architecture • Changelog

Version CI Status Tests License llms.txt Rust 2024 Node


Overview

AgentHub hooks directly into official CLI agent runtimes (Claude Code, OpenAI Codex, and ACP-compatible agents) without reinventing another inference loop. Through a single-binary Rust daemon (agenthub-runner) establishing outbound-only TLS/WebSocket connections to a self-hosted Gateway, you can inspect live output streams, approve tool permissions with diff previews, continue multi-turn sessions, or trigger emergency stops from any browser or mobile PWA.

  • ⚡ Single-Binary Rust Runner: Zero-dependency embedded Web Console at http://127.0.0.1:4200 (sessions, agents, per-request usage ledger, workspaces, and federated Skill/MCP/Hook settings).
  • 🌐 Remote Web & Mobile PWA: Self-hosted Gateway + responsive Next.js Web client for multi-device session continuation and one-tap permission approvals.
  • 🛡️ Outbound-Only TLS Security: Workstation connects outwards to Gateway over WSS—zero public inbound ports required, zero provider credentials uploaded, and local paths redacted into ws-* workspace IDs.
  • 🎯 Native Official Protocol Fidelity: Exact create, resume, and read-only discover semantics with single-writer ownership and durable command idempotency.

Architecture

Local Workstation
  Codex / Claude Code / ACP Runtime
          ▲  (Official Protocol)
          ▼
    agenthub-runner (Rust daemon)
      ├─ Embedded Web Console  ──► http://127.0.0.1:4200
      └─ Outbound TLS / WSS    ──► Self-Hosted Gateway (Auth, Ledger, Replay)
                                          │
                                          ▼ (HTTPS / WSS / SSE)
                                   Remote Web Client (PC / Mobile PWA)

Quick Start

1. Local Runner & Embedded Console

# Launch embedded local Web Console at http://127.0.0.1:4200
agenthub-runner web

# Or run as a background session daemon
agenthub-runner daemon

2. Full Stack from Source (Node >= 22, Rust >= 1.80)

npm.cmd ci
npm.cmd start --workspace @agent-pulse/api    # Gateway (http://127.0.0.1:3001)
npm.cmd run dev --workspace @agent-pulse/web  # Remote Web UI (http://127.0.0.1:3000)
cargo run -p agenthub-runner -- daemon        # Local Rust Runner

3. Verification Gates

cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all --check
npm.cmd test
npm.cmd run typecheck
npm.cmd run format:check

Upstream Attribution & Open Source Traceability

Upstream Project License Module / Role in AgentHub
magpie MIT License, Copyright (c) 2026 yetone Embedded Web Console design system & layout primitives (crates/runner/resources/dashboard.{html,css,js}), vendor icon set (crates/runner/resources/icons/ served by console_icons.rs), per-request usage ledger view (usage_ledger.rs), and federated Multi-Agent Library architecture (Skill, MCP Server, Hook management in collectors/capabilities.rs)
stablyai/orca Apache 2.0 / MIT Mobile Companion UI philosophy, terminal accessory row, and fleet mission-control layout (apps/android)

Foundation CSS tokens, vendor marks under crates/runner/resources/icons/, and model-family prefix selection are ported from yetone/magpie with upstream copyright and MIT license headers preserved intact.


Documentation Index

License

Licensed under the MIT License.

About

Remote Web console & session manager for Claude Code and OpenAI Codex. Continue sessions anywhere via browser or mobile PWA.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages