Skip to content

Getting Started

tenfyzhong edited this page Nov 30, 2026 · 12 revisions

Getting started

Install

macOS and Linux

brew tap tenfyzhong/tap
brew install agentix

For Codex, install the official standalone CLI (0.153.0 or newer). The Homebrew Codex package does not include the managed app-server layout Agentix requires:

curl -fsSL https://chatgpt.com/codex/install.sh | sh

Windows (x86_64)

Download and extract agentix-<version>-x86_64-pc-windows-msvc.zip from the latest release, then add the extracted directory to PATH. Pi/OMP live bridges can use a configured loopback TCP endpoint on Windows. Codex Unix sockets and rmux/tmux terminal delivery require macOS/Linux; standalone taskix and task plugins also support Windows.

For checksums, other release archives, or building from source, see the installation guide.

Configure

Copy the example configuration. With Homebrew:

mkdir -p ~/.config/agentix
cp "$(brew --prefix agentix)/share/agentix/agentix.example.toml" ~/.config/agentix/config.toml
chmod 600 ~/.config/agentix/config.toml

On Windows, assuming the archive was extracted into agentix:

New-Item -ItemType Directory -Force "$HOME\.config\agentix" | Out-Null
Copy-Item .\agentix\agentix.example.toml "$HOME\.config\agentix\config.toml"

Edit ~/.config/agentix/config.toml:

  1. Enable one or more of [agent.codex], [agent.pi], [agent.omp], [agent.claude], and [agent.opencode]; each table selects its backend without a kind field. For Pi/OMP, install the live-session bridge in the original terminal. For Claude Code, install the bridge plugin; the default non-Channel mode requires installing rmux or tmux and starting Claude inside it.
  2. Select telegram, feishu, or slack in [channel].kind.
  3. Fill in the Telegram bot token, the Feishu app_id and app_secret, or Slack bot_token and app_token, in the matching channel table.
  4. Leave the selected channel's owner list empty for first-time claiming.

For Slack, follow Slack setup. For Feishu bot setup, proxies, and other settings, see Configuration and operations.

Start

Start Agentix:

agentix serve

After editing configuration, run agentix reload to apply supported runtime settings without restarting the process. See reload usage and limitations.

With Codex, run agentix doctor from another terminal after startup, then connect with codex --remote unix://. The proxy socket belongs exclusively to Agentix; do not start app-server on it. Agentix recovers abandoned Unix sockets and reclaims a Unix frontend held by a verified Codex app-server; other occupied addresses still cause startup to fail. See proxy setup and recovery.

On Windows, use agentix.exe doctor and agentix.exe serve. To run a Homebrew installation in the background, use brew services start tenfyzhong/tap/agentix.

Before starting the shared Codex upstream, Agentix loads the exported environment from the current user's login shell, so Homebrew services pass configured paths and other variables to Codex. Put fish environment settings outside status is-interactive blocks. See login shell environment for overrides and existing upstreams.

Keep the service running and claim the bot from another local terminal:

agentix client claim

Send the printed /claim <code> command to the bot in a private chat. Skip this step if your owner ID is already configured.

Pi and OMP

Install the extensions, then restart the host:

pi install git:github.com/tenfyzhong/agentix
omp plugin marketplace add tenfyzhong/agentix
omp plugin install taskix-manager@agentix
omp plugin install agentix-bridge@agentix

Configure [agent.pi] or [agent.omp], start agentix serve, and keep the original terminal session running. The extension connects to ~/.local/share/agentix/control.sock; select it with /sessions pi or /sessions omp. /detach leaves the terminal running. See bridge setup for multiple backends and custom endpoints. Live bridging supports Unix sockets on macOS/Linux and loopback TCP endpoints, including Windows.

OpenCode

Install OpenCode 2.0.32+ and run the two native opencode plugin add commands in the OpenCode guide, without cloning Agentix, with matching Agentix/Taskix builds. Enable [agent.opencode], start Agentix and OpenCode, and select /sessions opencode. The installer configures both the TUI bridge and Taskix server plugin. See OpenCode setup for native remote installs, custom endpoints and state directories.

Claude Code

From the Agentix checkout, install the bridge plugin:

claude plugin marketplace add .
claude plugin install agentix-bridge@agentix

Add the backend to your Agentix configuration:

[agent.claude]
command = "claude"
session_dir = "~/.claude/projects"

Start or restart the current Agentix build. In an rmux or tmux terminal, change to your project directory and launch Claude:

claude

Keep the terminal running and idle, and select the session with /sessions claude in IM. The plugin clears any terminal draft before sending IM prompts through the original terminal and reports replies through hooks; Channel flags are not required, including when using third-party API providers. /rmux claude or /tmux claude creates a terminal according to multiplexer.kind. Channel delivery remains available through explicit configuration. See the Claude startup guide for local build commands, setup, and terminal delivery limitations.

Basic use

  1. Start a coding-agent session locally.
  2. Send /sessions to the bot. In the unreleased topic-enabled version, use the parent chat on Feishu or Slack, choose Create topic if needed, then choose Open topic. On Telegram and in flat chats, select Attach.
  3. Send an ordinary message to prompt the agent and receive its replies in chat.
  4. Use /history to browse turns and /stop to interrupt a writable active turn. On Telegram, /last brings the latest turn back to the bottom of the chat. In flat chats, /detach disconnects the session.
  5. Send /help to see the commands available in the current session, with one command and a one-sentence description per line.

Mention the bot in group chats. If another Codex process owns the session's writer, Agentix attaches read-only; send prompts through that original process.

To create sessions from chat, install and start rmux or tmux before Agentix. The default [multiplexer] setting kind = "auto" detects rmux first, then tmux; explicit "rmux" or "tmux" restricts the probe. Only a successfully detected backend registers its /rmux or /tmux command, optionally followed by an agent name; see terminal workspaces. New terminals preview the inferred working directory, falling back to the current user’s HOME. Choose a different directory for each creation without configuring a task board. Pi and OMP attachments control the original process through the shared control socket.

With task boards configured, use /dashboard, /board and /jobs to browse execution; use /issues, /issue new -title "Title" [-type <type>] [description], /issue ID and /milestones to manage durable requirements. Start a round through the Issue execution controls; verify and accept the Issue separately after all related Jobs close. See Project Issues.

For Obsidian task views, configure taskix for your vault and run taskix obsidian setup to install Taskix Sync and enable native Bases in Obsidian 1.14 or newer and automatically reload the vault through Obsidian CLI.

Run taskix --help to browse commands and taskix <command> --help to see each group's subcommands and descriptions. For a specific operation, use nested help such as taskix task claim --help or taskix plan create --help.

Next, see the detailed guide for installation alternatives, shell completions, session behavior, task boards, and links to the command reference and development documentation.

Clone this wiki locally