π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
π Checkpoint: Edit /workspaces/claude-code-flow/test-stream-chaining.sh
rUvdd288ffdf0e8
diff --git a/.claude/checkpoints/1754362852.json b/.claude/checkpoints/1754362852.jsonnew file mode 100644index 0000000000..4a73115c6a--- /dev/null+++ b/.claude/checkpoints/1754362852.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250805-030052", "file": "/workspaces/claude-code-flow/test-stream-chaining-workflow.json", "timestamp": "2025-08-05T03:00:52Z", "type": "pre-edit", "original_branch": "alpha-85"}diff --git a/.claude/checkpoints/1754362854.json b/.claude/checkpoints/1754362854.jsonnew file mode 100644index 0000000000..ccda2696c0--- /dev/null+++ b/.claude/checkpoints/1754362854.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250805-030054", "file": "/workspaces/claude-code-flow/test-stream-chaining-workflow.json", "timestamp": "2025-08-05T03:00:54Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 96 ++++++++++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754362824.json | 1 + .claude/checkpoints/1754362825.json | 1 + claude-flow-wiki | 0 test-stream-chaining-workflow.json | 67 ++++++++++++++++++++++ 7 files changed, 169 insertions(+), 4 deletions(-) "}diff --git a/test-stream-chaining.sh b/test-stream-chaining.shnew file mode 100644index 0000000000..e1b712741f--- /dev/null+++ b/test-stream-chaining.sh@@ -0,0 +1,65 @@+#!/bin/bash++# Test script for stream-json chaining capabilities++echo "π Testing Stream-JSON Chaining in Claude Flow"+echo "=============================================="+echo++# Create test data+mkdir -p data+cat > data/chaining-test.csv << EOF+id,value,category+1,100,A+2,200,B+3,150,A+4,250,B+5,300,A+EOF++echo "π Created test dataset: data/chaining-test.csv"+echo++echo "Test 1: Stream Chaining with Custom Workflow"+echo "--------------------------------------------"+echo "Command: ./claude-flow automation run-workflow test-stream-chaining-workflow.json --claude --non-interactive --output-format stream-json"+echo+echo "This will:"+echo "1. Analyzer agent analyzes data and outputs stream-json"+echo "2. Processor agent receives analyzer's output via stdin and continues the chain"+echo "3. Reporter agent receives processor's output and completes the workflow"+echo+echo "Expected behavior: Each agent should show 'π Chaining:' messages"+echo++echo "Test 2: MLE-STAR with Stream Chaining"+echo "-------------------------------------"+echo "Command: ./claude-flow automation mle-star --dataset data/chaining-test.csv --target category --claude --output-format stream-json"+echo+echo "This will run the full MLE-STAR workflow with stream chaining enabled"+echo "Dependencies will automatically pipe outputs between agents"+echo++echo "Test 3: Disable Chaining"+echo "------------------------"+echo "Command: ./claude-flow automation mle-star --dataset data/chaining-test.csv --target category --claude --output-format stream-json --no-chaining"+echo+echo "This runs with stream-json output but WITHOUT chaining (agents run independently)"+echo++echo "Test 4: Manual Stream Chaining (Traditional)"+echo "--------------------------------------------"+echo "You can also manually chain Claude instances:"+echo+echo "# Agent 1"+echo 'claude --print --output-format stream-json "Analyze data" > agent1.jsonl'+echo+echo "# Agent 2 (receives Agent 1's output)"+echo 'cat agent1.jsonl | claude --print --input-format stream-json --output-format stream-json "Continue analysis" > agent2.jsonl'+echo+echo "# Agent 3 (receives Agent 2's output)"+echo 'cat agent2.jsonl | claude --print --input-format stream-json "Generate report"'+echo++echo "β Test commands prepared. Run them to see stream chaining in action!"+echo " Look for 'π Enabling stream chaining' messages in the output."\ No newline at end of file