Open source · Rust · Apache-2.0

AiPlus

A toolchain that treats the six recurring failure modes of multi-agent coding as coordination problems, not prompt problems.

The problem

Agent-driven coding fails in predictable ways across Codex, Claude Code, and OpenCode. Each failure looks like a model problem — “the agent forgot,” “the agent ignored the plan,” “the agent hallucinated” — but the root cause is usually structural: missing memory across sessions, lost context after compaction, blurred roles, untracked time, plan-time blind spots, and uncoordinated parallel work.

AiPlus addresses each one with a small Rust module that runs project-local — no telemetry, no global config edits, no runtime network fetches.

Six failure modes, six modules

01

Cross-session amnesia

Agents start every session blank. Context window resets erase project conventions, prior decisions, and active threads — forcing re-prompting and re-orientation.

aiplus-agent-memory — project-local memory store with typed records (user, feedback, project, reference) the agent re-reads at session start.

02

Post-compact context loss

When the host compacts mid-task, the agent loses the working set: open files, partial diffs, the reason behind the current step. The post-compact agent often re-does or contradicts pre-compact work.

aiplus-auto-compact + aiplus-compact-reminder — checkpoint before compact, validate state, resume best-effort after.

03

Role pollution

A single agent juggling planner / builder / reviewer roles drifts mid-conversation, second-guessing its own plan and shipping half-reviewed code.

aiplus-auto-team-consultant — explicit Advisor / CEO / Reviewer / Builder routing so each turn has a single role.

04

Mis-billed time

Token and wall-clock costs are real but invisible. Sessions burn budget on retries, context refresh, and idle polling that the user never sees attributed.

aiplus-agent-velocity — per-session velocity and cost accounting so the agent and user can see where time goes.

05

Plan-time blind spots

Planning happens at the wrong altitude — too vague to execute, too detailed to be wrong cheaply. The agent commits to a path before the cheap-to-discover unknowns are surfaced.

aiplus-auto-team-consultant Advisor routing — surface unknowns before commitment; cheap doubts before expensive work.

06

Agents stepping on each other

Multiple agents (or one agent across windows) editing the same files produce silent conflicts, wasted retries, and lost intent.

aiplus-agent-team — permanent virtual SWE team with explicit role separation (Advisor / CEO / Architect / PM / Engineer×2 / Reviewer / QA) and execution boundaries.

Quick start

Install the aiplus command:

curl -fsSL https://raw.githubusercontent.com/izhiwen/aiplus/main/install.sh | bash

Then install AiPlus into a project:

aiplus install codex        # or: claude-code | opencode | all

The installer writes only project-local files (.aiplus/, .codex/compact/, .claude/, .opencode/, and the AiPlus managed block in AGENTS.md). No sudo, no global config edits, no telemetry.

Tech & status