---
title: "ruflo-daa"
url: "https://claudemods.dev/ko/builds/ruflo-daa-df1d78"
source: "https://github.com/ruvnet/ruflo/tree/main/plugins/ruflo-daa"
source_type: "github"
repo: "https://github.com/ruvnet/ruflo/tree/main/plugins/ruflo-daa"
author: "ruvnet"
author_handle: "ruvnet"
stars: 82392
category: "멀티 에이전트 및 오케스트레이션"
categories: ["agents"]
tags: ["adaptive-agents", "agents", "claude-code", "guard", "hooks", "mcp", "plugin"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add ruvnet/ruflo\nclaude plugin install ruflo-daa@ruflo"
added: "2026-10-05T08:11:42.378Z"
updated: "2026-11-25T06:14:05Z"
locale: "ko"
content_locale: "ko"
---

# ruflo-daa

동적 에이전틱 아키텍처: 적응형 에이전트(create/adapt), 인지 패턴, 워크플로(create/execute), 지식 공유, 학습/성능 지표를 위한 daa_* MCP 도구 8개를 제공합니다. 4단계 인텔리전스 파이프라인의 JUDGE 단계에 입력합니다.

## Description

인지 패턴, 지식 공유, 적응형 에이전트를 제공하는 동적 에이전틱 아키텍처입니다.

## 설치

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

## 기능

- **적응형 에이전트**: 상호작용에서 배우고 발전하는 에이전트
- **인지 패턴**: 의사 결정을 위한 구조화된 추론 전략
- **지식 공유**: 에이전트 간 학습과 집단 개선
- **성능 추적**: 시간에 따른 효율성과 정확도 지표

## 명령

- `/daa` -- 학습 지표와 활성 에이전트를 보여 주는 DAA 대시보드

## 스킬

- `daa-agent` -- 동적 에이전틱 아키텍처 에이전트 생성 및 적응
- `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 인지 패턴은 [ruflo-intelligence ADR-0001](../ruflo-intelligence/docs/adrs/0001-intelligence-surface-completeness.md)에서 정의한 4단계 인텔리전스 파이프라인(RETRIEVE → JUDGE → DISTILL → CONSOLIDATE)의 **JUDGE** 단계에 입력됩니다. `hooks_route`를 통해 작업이 라우팅되고 과거의 유사한 궤적을 찾으면 DAA 인지 패턴이 구조화된 추론을 제공해 적응 전에 적합성을 평가합니다.

`daa_knowledge_share`는 패턴 전파 이벤트를 기록하고 `hooks_intelligence_learn`이 DISTILL 단계에서 이를 사용할 수 있습니다.

## 네임스페이스 조정

이 플러그인은 `daa-patterns` AgentDB 네임스페이스를 소유합니다(kebab-case이며 [ruflo-agentdb ADR-0001 "Namespace convention"](../ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md)의 규칙을 따름). 예약된 네임스페이스(`pattern`, `claude-memories`, `default`)는 MUST NOT 가려집니다.

`daa-patterns`는 네임스페이스별로 라우팅되는 `memory_*` 도구를 통해 접근합니다. 에이전트 파일의 CLI 예시는 올바릅니다(`memory store --namespace daa-patterns`).

## 검증

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

## 아키텍처 결정

- [`ADR-0001` — ruflo-daa 플러그인 계약(고정, 네임스페이스 조정, 인텔리전스 파이프라인 정렬, 계약으로서의 smoke)](./docs/adrs/0001-daa-contract.md)

## 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`로 테스트합니다.

## Install

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

## Original 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](../ruflo-intelligence/docs/adrs/0001-intelligence-surface-completeness.md). 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"](../ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md)). 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
bash plugins/ruflo-daa/scripts/smoke.sh
# Expected: "10 passed, 0 failed"
```

## Architecture Decisions

- [`ADR-0001` — ruflo-daa plugin contract (pinning, namespace coordination, intelligence-pipeline alignment, smoke as contract)](./docs/adrs/0001-daa-contract.md)

## 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`.
