その回答、世界が待っている。Every answer, the world awaits.

Loop Engineering Platform、AIeph。
エージェントループを「速くする」と「守る」。
AIeph: The Loop Engineering Platform.
Accelerating and protecting agent loops.

いま、世界のどこかで、あなたがしたのと同じ質問がされている。
同じLLMが考え、同じコストが支払われている。

私たちは「知識」を共有する
無駄なコストを削り、時間を生み出し、悪からの攻撃から互いを守り合うために。

共有と安全。この二つの柱が揃ってはじめて、
あなたのエージェントは真の自律へと向かう。
Somewhere in the world right now, someone is asking the exact same question.
The same LLM is thinking. The same cost is being paid.

We share "knowledge"
to cut wasted costs, generate time, and defend one another against malicious attacks.

Sharing and safety. Only when these two pillars stand together
can your agent move towards true autonomy.

SCROLL
01 — Reuse

同じ問いに、二度は払わない。Never pay twice for the same question.

AIephの doc-cache。それは知識を共有するインフラだ。世界で一度出た回答は、もう生成させない。無駄なAPI呼び出しを削り、応答を極限まで速くする。共有インデックスは依存 major の配信(sync)と観測(observe)を軸に育てる。 The doc-cache by AIeph. It is an infrastructure for sharing knowledge. We stop generating answers that have already been born into the world. Cut wasteful API calls and accelerate responses to the limit. The shared index grows via dependency-major delivery (sync) and observation (observe).

L1 — EXACT

同一クエリ即返しInstant return for identical queries

まったく同じ問いには、瞬時に過去の正解を返す。For the exact same question, it instantly delivers the past correct answer.

L2 — SEMANTIC

意味が近ければヒットHits on close meanings

類似の文脈から最適解を引き出す(サーバー側実測 warm 162ms)。Pulls the optimal solution from similar contexts (server-side measured warm 162ms).

L3 — FRESH

ミス時のみ新規取得Fetches new only on a miss

答えがない時だけ生成し、次の誰かのために世界へ保存(共有)する。Generates only when there is no answer, and saves (shares) it to the world for the next person.

02 — Verify

知識の共有が、
最大の防御になる。
Shared knowledge
is the ultimate defense.

回答を世界で共有する。それは、ループが安全であってはじめて成り立つ。agent-loop-guard は、MITライセンスのオープンソースとして提供される。160を超えるテストをクリアし、ランタイム依存はゼロ。ネットワークへの送信もなく、完全にローカルで完結し、Claude Code CLIとCursor(hooks経由)で検証済み。VSCode拡張・JetBrainsプラグインも同一のhooks機構を読むため動作する設計(実機検証は順次実施中)。 Sharing answers with the world. This is only possible when loops are safe. agent-loop-guard is provided as open source under the MIT license. Passes 160+ tests, with zero runtime dependencies. No network transmission. Completely local. Verified on Claude Code CLI and Cursor (via hooks). The VS Code extension and JetBrains plugin read the same hooks mechanism and are designed to work the same way, though verification on those installs is still in progress.

CIRCUIT
Circuit breakerCircuit breaker

セッション単位のツール呼び出し上限とファイル単位の編集回数上限で、無限ループを物理的に断ち切る。Physically severs infinite loops with a per-session tool-call limit and a per-file edit-count limit.

POST-WRITE
Post-writePost-write

書き込み後の不審パターンを検知してフラグを立てる。阻止はしない。事後に気付かせる。Detects and flags suspicious patterns after writing. It doesn't block; it makes you aware after the fact.

PRE-TOOL
Cursor pre-tool gateCursor pre-tool gate

Cursor の beforeShellExecution/beforeMCPExecution(hooks経由)で、既知の悪性パッケージ名をツール使用前にローカル DB と照合して弾く。Claude Code 側の PreToolUse(iteration 上限の circuit breaker)とは別機構。Via Cursor's beforeShellExecution/beforeMCPExecution hooks, checks known malicious package names against a local DB before tool use. A separate mechanism from Claude Code's PreToolUse iteration-limit circuit breaker.

MIT 160+ tests runtime 依存ゼロzero runtime deps ネットワーク送信なしno network send
agent-loop-guard demo: eval(atob()) written by an agent is detected and flagged by the PostToolUse hook
PostToolUse hook が eval(atob()) を書き込み後に検知してフラグを立てる様子(実録・vhs)PostToolUse hook detecting and flagging eval(atob()) after the write (real capture, vhs)

インストールInstall

macOS / Linux / Windows(WSL2)

1Claude Code(一発)Claude Code (one-shot)

(test -d ~/agent-loop-guard/.git || git clone https://github.com/tryaieph/agent-loop-guard.git ~/agent-loop-guard) \
&& cd ~/agent-loop-guard && npm install && npm run build && npm run setup:claude
# writes ~/.claude/settings.json — restart Claude Code

2Cursor(一発)Cursor (one-shot)

(test -d ~/agent-loop-guard/.git || git clone https://github.com/tryaieph/agent-loop-guard.git ~/agent-loop-guard) \
&& cd ~/agent-loop-guard && npm install && npm run build && npm run setup:cursor:user
# writes ~/.cursor/hooks.json — restart Cursor

プロジェクト単位は npm run setup:claude:project / npm run setup:cursor。git pre-commit・GitHub Action は README Per-project: npm run setup:claude:project / npm run setup:cursor. git pre-commit and GitHub Action: README.

私たちは正直でいたい。ロジックボムのような高度な攻撃を、すべて捕まえきれるわけではない。完璧な盾は存在しない。
だからこそ、私たちは皆で「知識」を共有するのだ。コストを削り、時間を生み出し、悪からの攻撃から互いを守るために。
日々の明確な脅威に対する知見を世界で分かち合うこと。それが、結果としてあなた自身を守り抜き、開発を止めない最大の防御になる。
We want to be honest. We cannot catch highly advanced attacks like logic bombs. A perfect shield does not exist.
That is precisely why we share "knowledge" together — to cut costs, save time, and defend each other from malicious attacks.
Sharing insights against clear, everyday threats with the world. That ultimately becomes the greatest defense to protect yourself and keep your development moving.
03 — Behavioral Learning

評価はいらない。
選択が学習になる。
No ratings needed.
Choices become learning.

複雑な評価UIは用意していない。開発者の自然な行動こそが、最高のシグナルだからだ。AIephの行動学習は、極めてシンプルに設計されている。 We don't offer complex evaluation UIs. Because a developer's natural behavior is the best signal. AIeph's behavioral learning is designed to be extremely simple.

ADOPT — 採用adopt
そのまま使うUse as-is

提示されたコードをそのまま使う。Use the presented code as is.

EDIT — 修正modify
直して使うTweak, then use

少し手を加えてから使う。Tweak it slightly before using.

IGNORE — 無視ignore
使わないDon't use it

提案を破棄する。Discard the suggestion.

たったこれだけ。あなたの無意識の選択が、次の精度の糧になる。That is all. Your unconscious choices fuel the next level of precision.

04 — Privacy

あなたのコードは、
あなたのもの。
Your code
remains yours.

共有されるのは、一般化された技術的な質問だけ。会話の履歴や、あなたのコアとなるソースコードが送信されることは決してない。PII(個人情報)は自動的にマスクされる。ただし、そのマスキング精度が常に100%を保証するものではないため、機密情報をプロンプトに含めない運用は依然として必要だ。 Only generalized technical questions are shared. Your conversation history and your core source code are never transmitted. PII (Personally Identifiable Information) is automatically masked. However, since we do not guarantee 100% masking accuracy, the practice of keeping sensitive information out of prompts remains necessary.

01
入力Input
クエリquery
02
検出Detect
PII
03
マスクMask
共有前pre-share
04
共有Share
知識のみknowledge
入力in how to fix docker permission denied for user alice@acme.internal
PII をマスクmask PII
共有shared how to fix docker permission denied for user [REDACTED]

注記: Stack Overflowに由来するコンテンツが含まれる場合、著者名と元質問へのリンクを付与し、CC BY-SAに基づき正しく出典を表示している。Note: When content derived from Stack Overflow is included, proper attribution is provided under CC BY-SA, displaying the author's name and a link to the original question.

プライバシーポリシー →Privacy policy →