@getappz/agentflare-darwin-arm64 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -32
- package/bin/agentflare +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,29 +2,64 @@
|
|
|
2
2
|
|
|
3
3
|
# agentflare
|
|
4
4
|
|
|
5
|
-
**
|
|
6
|
-
Node, no runtime dependencies — across Claude Code,
|
|
7
|
-
VS Code, Cline, and Continue.**
|
|
5
|
+
**Run AI coding agents efficiently, and coordinate more than one of them.**
|
|
6
|
+
**A single Rust binary, no Node, no runtime dependencies — across Claude Code,
|
|
7
|
+
Codex, Cursor, Windsurf, VS Code, Cline, and Continue.**
|
|
8
8
|
|
|
9
9
|
[](LICENSE)
|
|
10
|
+
[](STATUS.md)
|
|
10
11
|
|
|
11
12
|
</div>
|
|
12
13
|
|
|
13
14
|
---
|
|
14
15
|
|
|
16
|
+
## Status: Beta
|
|
17
|
+
|
|
18
|
+
agentflare is under active development. The optimization layer (lean-ctx
|
|
19
|
+
integration, memory, Caveman/Ponytail wiring) is the most mature part — CI-gated,
|
|
20
|
+
tested, in daily use. The multi-agent coordination layer (tasks, review, coaching,
|
|
21
|
+
artifacts, handoffs) is newer and still finding its shape: CLI flags, MCP tool
|
|
22
|
+
names, and on-disk formats there can change without a major version bump.
|
|
23
|
+
|
|
24
|
+
See **[STATUS.md](STATUS.md)** for what's stable vs. still moving, before you
|
|
25
|
+
build automation on top of a specific flag or MCP tool signature.
|
|
26
|
+
|
|
15
27
|
## What this is
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
agentflare is two things bundled into one binary:
|
|
30
|
+
|
|
31
|
+
**1. Optimization** — cut the token/cost overhead of running a single AI coding
|
|
32
|
+
agent session.
|
|
18
33
|
|
|
19
34
|
| Layer | What it compresses | Tool |
|
|
20
35
|
|---|---|---|
|
|
21
36
|
| **lean-ctx** | tool I/O *within* a session — reads, shell output, search, up to 99% | [yvgude/lean-ctx](https://github.com/yvgude/lean-ctx) |
|
|
22
|
-
| **
|
|
37
|
+
| **memory** (built-in) | knowledge *across* sessions — decisions, facts, preferences that survive a session ending | ships in the binary, SQLite + FTS5, no separate install |
|
|
23
38
|
| **Caveman** (Claude Code only) | conversation verbosity, ~65% | companion plugin |
|
|
24
39
|
| **Ponytail** (Claude Code only) | code-writing over-engineering | companion plugin |
|
|
25
40
|
|
|
26
|
-
|
|
27
|
-
session
|
|
41
|
+
**2. Coordination** — a lightweight, local-first backend for running *more than
|
|
42
|
+
one* agent (or agent session) against the same body of work, exposed as MCP
|
|
43
|
+
tools any MCP-capable agent can call:
|
|
44
|
+
|
|
45
|
+
| Capability | What it's for |
|
|
46
|
+
|---|---|
|
|
47
|
+
| **Work items** (`item`, `claim`) | A shared backlog — create/list/search items, claim one before working it so two agents don't collide, mark done. |
|
|
48
|
+
| **Review** (`review`) | Submit findings against a diff/PR, run consensus across reviewers, track scores over time. |
|
|
49
|
+
| **Artifacts** (`artifact`) | Publish specs, plans, and docs as versioned, shareable pages — a durable handoff surface between agents (and to you) instead of scratch files that vanish with the session. |
|
|
50
|
+
| **Handoff** (`handoff`) | Pass context to a specific agent/runtime, addressed and threaded, when work moves from one agent to another. |
|
|
51
|
+
| **Coaching** (`coaching` CLI + hook) | Small persistent nudges surfaced to an agent — at session start today, moving toward contextual triggers (tool-name and prompt-relevance) so rules only show up when actually relevant. |
|
|
52
|
+
| **Comments, labels, projects, webhooks, channel_send** | Threaded discussion on items, categorization, cross-project views, and outbound notifications. |
|
|
53
|
+
|
|
54
|
+
Everything above is local-first (SQLite-backed), no daemon, reachable over the
|
|
55
|
+
same stdio MCP transport agentflare already exposes for the optimization layer.
|
|
56
|
+
|
|
57
|
+
lean-ctx and the built-in memory aren't substitutes for each other — one saves
|
|
58
|
+
tokens inside a session, the other saves the re-explaining tax across sessions.
|
|
59
|
+
The coordination layer is a different axis entirely: it's not about a single
|
|
60
|
+
session's token bill, it's about multiple agents (or multiple sessions of the
|
|
61
|
+
same agent, over time) staying out of each other's way and handing off work
|
|
62
|
+
cleanly.
|
|
28
63
|
|
|
29
64
|
**Why Rust, not Node:** Claude Code doesn't bundle or require Node.js — it's a
|
|
30
65
|
standalone compiled binary. A plugin whose hooks shell out to `node` breaks on
|
|
@@ -42,14 +77,15 @@ that wiring ships as a small `.codex-plugin/` manifest instead.
|
|
|
42
77
|
|
|
43
78
|
Numbers below are each project's own published, reproducible benchmarks — attributed,
|
|
44
79
|
not blended into a fake combined total, and not accepted on faith. Where a claim had no
|
|
45
|
-
supporting evidence in its own repo, it's flagged instead of repeated.
|
|
80
|
+
supporting evidence in its own repo, it's flagged instead of repeated. These cover the
|
|
81
|
+
**optimization layer** specifically — the coordination layer is too new for a
|
|
82
|
+
comparable benchmark suite yet (see [STATUS.md](STATUS.md)).
|
|
46
83
|
|
|
47
84
|
| Tool | Published claim | Methodology | Confidence |
|
|
48
85
|
|---|---|---|---|
|
|
49
86
|
| lean-ctx | 98.1% compression (`map` mode), 96.7% (`signatures`), ~99.99% cached re-read | CI-gated, reproducible via `lean-ctx benchmark report .`, measured on a 50-file repo with the GPT-4o tokenizer | High — real, reproducible, methodology named |
|
|
50
87
|
| Caveman | 65% avg output-token reduction (range 22–87%, 10 prompts) | Committed in `benchmarks/`/`evals/` — and its own docs flag the failure mode: ~1–1.5k input-token overhead per turn can make it net-negative on already-terse workloads (`docs/HONEST-NUMBERS.md`) | High — reproducible, unusually transparent about limits |
|
|
51
88
|
| Ponytail | ~54% less code (94% ceiling on best task), ~20% cheaper, ~27% faster, 100% safe | 12 real feature tasks on a FastAPI+React repo, Haiku 4.5, n=4 — self-corrected an earlier overgeneralized single-shot figure | High — reproducible, self-corrected once already |
|
|
52
|
-
| engram | "95.8% accuracy on LongMemEval-S — #1 globally" | **Not citing this.** No benchmark directory, results file, or harness exists anywhere in the repo, despite being listed as a shipped feature. | Unverifiable — flagged, not repeated |
|
|
53
89
|
|
|
54
90
|
### Real usage, one live project
|
|
55
91
|
|
|
@@ -60,11 +96,11 @@ for a sense of scale. Not a controlled benchmark; one data point, your mileage v
|
|
|
60
96
|
lean-ctx 34.2M tokens saved 92% compression $88.45 saved (lifetime; lean-ctx gain)
|
|
61
97
|
caveman 1.16M tokens saved (~65%) (single session; caveman-stats hook)
|
|
62
98
|
ponytail 23 `ponytail:` shortcut markers logged, no token figure (ponytail doesn't measure per-repo savings)
|
|
63
|
-
|
|
99
|
+
memory 2 sessions, 11 observations tracked, across 2 projects (agentflare memory sessions/search)
|
|
64
100
|
```
|
|
65
101
|
|
|
66
102
|
Check your own: `lean-ctx gain` · `/caveman-stats` (Claude Code) · `ponytail-debt` skill ·
|
|
67
|
-
`
|
|
103
|
+
`agentflare memory context`. Don't trust this table blindly either — re-run those commands yourself.
|
|
68
104
|
|
|
69
105
|
---
|
|
70
106
|
|
|
@@ -127,20 +163,14 @@ plugin loader:
|
|
|
127
163
|
codex plugin marketplace add getappz/agentflare
|
|
128
164
|
codex plugin install agentflare
|
|
129
165
|
```
|
|
130
|
-
then `agentflare init --agent codex` for the rules/lean-ctx
|
|
166
|
+
then `agentflare init --agent codex` for the rules/lean-ctx setup (Codex's
|
|
131
167
|
hook wiring itself comes from the plugin manifest, not `init`).
|
|
132
168
|
|
|
133
|
-
Each run: writes rule files (if absent), installs lean-ctx (`
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
**engram's install safety**: the project's own docs say prebuilt Windows binaries
|
|
140
|
-
get flagged as AV false positives, and explicitly recommend `go install` or
|
|
141
|
-
Homebrew instead. `agentflare init` only auto-installs engram through one of those
|
|
142
|
-
two paths; if neither is available, it prints the exact command instead of
|
|
143
|
-
downloading something that might trip your AV.
|
|
169
|
+
Each run: writes rule files (if absent), installs lean-ctx (native `curl | sh`
|
|
170
|
+
or Homebrew installer) if missing, wires hooks/MCP where the host supports
|
|
171
|
+
it. Detection-first — already-satisfied components are skipped, nothing gets
|
|
172
|
+
clobbered. Persistent memory ships in the binary itself — nothing to install
|
|
173
|
+
for it.
|
|
144
174
|
|
|
145
175
|
## Docs-only fallback (Aider, other AGENTS.md readers)
|
|
146
176
|
|
|
@@ -158,13 +188,19 @@ src/
|
|
|
158
188
|
│ # dirs::home_dir() ignores HOME/USERPROFILE overrides on
|
|
159
189
|
│ # Windows, learned the hard way)
|
|
160
190
|
├── state.rs # ~/.agentflare/state.json — on/off flag for the hooks
|
|
161
|
-
├── rule_text.rs # shared rule copy (Exa, git, lean-ctx
|
|
162
|
-
├──
|
|
191
|
+
├── rule_text.rs # shared rule copy (Exa, git, lean-ctx usage)
|
|
192
|
+
├── memory/ # built-in persistent memory (SQLite + FTS5)
|
|
193
|
+
├── compact.rs # ephemeral FTS5/BM25 relevance scorer (PreCompact hook)
|
|
194
|
+
├── coaching/ # session nudges: rule storage, CRUD, CLI presentation
|
|
195
|
+
├── claims.rs, review.rs # work-item claiming, review/consensus (coordination layer)
|
|
196
|
+
├── artifacts.rs, channels.rs # artifact publishing, outbound notifications
|
|
197
|
+
├── mcp_server.rs, mcp_prompts.rs # MCP stdio server exposing both layers as tools
|
|
198
|
+
├── auth.rs, auth_crypt.rs, auth_db.rs, auth_runner.rs # auth profile vault
|
|
163
199
|
├── components.rs # registry: each entry checks + fixes itself, host-aware
|
|
164
200
|
├── init.rs # `agentflare init --agent X` — runs every component,
|
|
165
201
|
│ # wires hooks directly for claude-code/cursor
|
|
166
|
-
├── hook.rs # `agentflare hook session-start|prompt-submit --agent X`
|
|
167
|
-
└── main.rs # clap CLI, dispatch
|
|
202
|
+
├── hook.rs # `agentflare hook session-start|prompt-submit|... --agent X`
|
|
203
|
+
└── main.rs # clap CLI, dispatch across 45 modules
|
|
168
204
|
|
|
169
205
|
.codex-plugin/ # Codex only — its hooks require the plugin loader
|
|
170
206
|
install.sh, install.ps1 # installers (checksum-verified download / local build)
|
|
@@ -178,15 +214,15 @@ Adding a new managed component means adding one entry to `components.rs` — nei
|
|
|
178
214
|
|
|
179
215
|
## What Gets Created
|
|
180
216
|
|
|
181
|
-
**Claude Code**: `~/.claude/rules/{exa,git,lean-ctx
|
|
217
|
+
**Claude Code**: `~/.claude/rules/{exa,git,lean-ctx}.md`, `~/.claude/settings.json` hooks section, `~/.config/{caveman,ponytail}/config.json`, `~/.agentflare/` (includes the built-in memory database).
|
|
182
218
|
|
|
183
219
|
**Codex**: project-local `AGENTS.md` (only if absent), `~/.agentflare/`.
|
|
184
220
|
|
|
185
221
|
**Cursor**: project-local `.cursor/rules/agentflare.mdc`, `.cursor/hooks.json`, `~/.cursor/mcp.json`, `~/.agentflare/`.
|
|
186
222
|
|
|
187
|
-
**Windsurf/VS Code/Cline**: project-local rules file (see table above), MCP config for lean-ctx
|
|
223
|
+
**Windsurf/VS Code/Cline**: project-local rules file (see table above), MCP config for lean-ctx.
|
|
188
224
|
|
|
189
|
-
**Continue**: `.continue/mcpServers/
|
|
225
|
+
**Continue**: `.continue/mcpServers/agentflare.json`.
|
|
190
226
|
|
|
191
227
|
Nothing is created if it already exists.
|
|
192
228
|
|
|
@@ -196,8 +232,7 @@ Nothing is created if it already exists.
|
|
|
196
232
|
|
|
197
233
|
Remove the binary (see Install section above), then remove whatever `init`
|
|
198
234
|
wrote for the hosts you set up — see "What Gets Created" above. Ponytail/
|
|
199
|
-
Caveman
|
|
200
|
-
wanted).
|
|
235
|
+
Caveman plugins themselves stay installed (uninstall separately if wanted).
|
|
201
236
|
|
|
202
237
|
---
|
|
203
238
|
|
package/bin/agentflare
CHANGED
|
Binary file
|