Back to Ruflo

ruflo-daa

plugins/ruflo-daa/README.md

3.6.302.8 KB
Original Source

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:

ToolPurpose
daa_agent_createInitialize an adaptive agent
daa_agent_adaptTrigger manual adaptation from feedback
daa_workflow_createDefine a cognitive workflow
daa_workflow_executeRun a cognitive workflow
daa_knowledge_sharePropagate learnings across agents
daa_learning_statusAdaptation progress metrics
daa_cognitive_patternDefine a reasoning pattern
daa_performance_metricsEfficiency / 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
bash plugins/ruflo-daa/scripts/smoke.sh
# Expected: "10 passed, 0 failed"

Architecture Decisions