ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 ruvnet

ruflo-daa

Dynamic Agentic Architecture:適応型エージェント(create/adapt)、認知パターン、ワークフロー(create/execute)、知識共有、学習・パフォーマンス指標のための 8 個の daa_* MCP ツール。4 段階インテリジェンスパイプラインの JUDGE フェーズに入力します。

ruvnet@ruvnet

ruvnet/ruflo/tree/main/plugins/ruflo-daa

翻訳済み

この mod について

認知パターン、知識共有、適応型エージェントを備えた Dynamic Agentic Architecture です。

インストール

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-daa@ruflo

機能

  • 適応型エージェント:対話から学習し、進化するエージェント
  • 認知パターン:意思決定のための構造化された推論戦略
  • 知識共有:エージェント間の学習と集合的な改善
  • パフォーマンス追跡:時間の経過に伴う効率と正確度の指標

コマンド

  • /daa -- 学習指標とアクティブなエージェントを表示する DAA ダッシュボード

スキル

  • daa-agent -- Dynamic Agentic Architecture エージェントを作成・適応
  • cognitive-pattern -- エージェント推論の認知パターンを定義

MCP サーフェス(8 ツール)

すべて v3/@claude-flow/cli/src/mcp-tools/daa-tools.ts に定義されています。

| ツール | 目的 | |------|---------| | daa_agent_create | 適応型エージェントを初期化 | | daa_agent_adapt | フィードバックから手動適応を起動 | | daa_workflow_create | 認知ワークフローを定義 | | daa_workflow_execute | 認知ワークフローを実行 | | daa_knowledge_share | 学習内容をエージェント間に伝播 | | daa_learning_status | 適応の進捗指標 | | daa_cognitive_pattern | 推論パターンを定義 | | daa_performance_metrics | 効率 / 正確度の統計 |

互換性

  • CLI:@claude-flow/cli の v3.6 major+minor に固定。
  • 検証:bash plugins/ruflo-daa/scripts/smoke.sh が契約です。

インテリジェンスパイプラインとの整合

DAA の認知パターンは 4 段階インテリジェンスパイプライン(RETRIEVE → JUDGE → DISTILL → CONSOLIDATE)の JUDGE フェーズに入力します。このパイプラインは ruflo-intelligence ADR-0001 で定義されています。hooks_route を通してタスクがルーティングされ、過去の類似した軌跡が取得されると、DAA の認知パターンが構造化された推論を提供し、適応前に適合性を評価します。

daa_knowledge_share はパターン伝播イベントを書き込み、hooks_intelligence_learn が DISTILL フェーズで利用できます。

名前空間の調整

このプラグインは daa-patterns AgentDB 名前空間(kebab-case)を所有します。これは ruflo-agentdb ADR-0001 "Namespace convention" の規約に従います。予約済み名前空間(pattern、claude-memories、default)を MUST NOT シャドーイングします。

daa-patterns は名前空間でルーティングされる memory_* ツールからアクセスします。エージェントファイルの CLI 例は正しいものです(memory store --namespace daa-patterns)。

検証

bash plugins/ruflo-daa/scripts/smoke.sh
# Expected: "10 passed, 0 failed"

アーキテクチャ決定

mod として

このバージョンから、プラグインは function-hook mod でもあります(ADR-445 パターン。Claude Code 2.1.287 以降が必要)。ネットワークを呼び出したりプロセスを起動したりせず、強化のみを行います。呼び出しを拒否できても、許可することはありません。

  • Guard(デフォルトで有効):キー、トークン、パスワードを含む daa_* ツール呼び出しを拒否します。理由には秘密の種類だけを示し、値は示しません。
  • /daa-mod:モデルターンなしでローカルに回答します:status、scan <text>(Guard が拒否するかどうか)、tools(接続された daa_* ツール)。
  • ステータスファイル:.claude-flow/daa-mod/status.json({version, updatedMs, guard, blocked})。セッション開始時と呼び出しがブロックされた時に書き込みます。
  • オプション:プラグインの userConfig に guard(on | off、デフォルト on)があります。

claude plugin test plugins/ruflo-daa と bash plugins/ruflo-daa/scripts/smoke.sh でテストします。

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add ruvnet/ruflo
claude plugin install ruflo-daa
原文 / README

ruflo-daa

Dynamic Agentic Architecture with cognitive patterns, knowledge sharing, and adaptive agents.

Install

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-daa@ruflo

Features

  • Adaptive agents: Agents that learn and evolve from interactions
  • Cognitive patterns: Structured reasoning strategies for decision-making
  • Knowledge sharing: Cross-agent learning and collective improvement
  • Performance tracking: Efficiency and accuracy metrics over time

Commands

  • /daa -- DAA dashboard with learning metrics and active agents

Skills

  • daa-agent -- Create and adapt Dynamic Agentic Architecture agents
  • cognitive-pattern -- Define cognitive patterns for agent reasoning

MCP surface (8 tools)

All defined at v3/@claude-flow/cli/src/mcp-tools/daa-tools.ts:

| Tool | Purpose | |------|---------| | daa_agent_create | Initialize an adaptive agent | | daa_agent_adapt | Trigger manual adaptation from feedback | | daa_workflow_create | Define a cognitive workflow | | daa_workflow_execute | Run a cognitive workflow | | daa_knowledge_share | Propagate learnings across agents | | daa_learning_status | Adaptation progress metrics | | daa_cognitive_pattern | Define a reasoning pattern | | daa_performance_metrics | Efficiency / accuracy stats |

Compatibility

  • CLI: pinned to @claude-flow/cli v3.6 major+minor.
  • Verification: bash plugins/ruflo-daa/scripts/smoke.sh is the contract.

Intelligence-pipeline alignment

DAA cognitive patterns feed the JUDGE phase of the 4-step intelligence pipeline (RETRIEVE → JUDGE → DISTILL → CONSOLIDATE) defined by ruflo-intelligence ADR-0001. When a task is routed via hooks_route and a similar past trajectory is retrieved, DAA cognitive patterns provide the structured reasoning to evaluate fit before adaptation.

daa_knowledge_share writes pattern propagation events that hooks_intelligence_learn can consume during the DISTILL phase.

Namespace coordination

This plugin owns the daa-patterns AgentDB namespace (kebab-case, follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention"). Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.

daa-patterns is accessed via memory_* tools (which route by namespace). The agent file's CLI examples are correct (memory store --namespace daa-patterns).

Verification

bash plugins/ruflo-daa/scripts/smoke.sh
# Expected: "10 passed, 0 failed"

Architecture Decisions

As a mod

Since this version the plugin is also a function-hook mod (ADR-445 pattern; needs Claude Code 2.1.287 or later). It never calls the network or spawns a process, and it only tightens: it can refuse a call, never allow one.

  • Guard (default on): refuses daa_* tool calls that hold a key, token or password. The reason names the kind of secret, never the value.
  • /daa-mod: answered locally, no model turn: status, scan <text> (would the guard refuse this?), and tools (the connected daa_* tools).
  • Status file: .claude-flow/daa-mod/status.json ({version, updatedMs, guard, blocked}), written at session start and when a call is blocked.
  • Option: guard (on | off, default on) in the plugin's userConfig.

Test it: claude plugin test plugins/ruflo-daa and bash plugins/ruflo-daa/scripts/smoke.sh.

関連作品