Back to list
d-o-hub

parallel-execution

by d-o-hub

A modular Rust-based self-learning episodic memory system for AI agents, featuring hybrid storage with Turso (SQL) and redb (KV), async execution tracking, reward scoring, reflection, and pattern-based skill evolution. Designed for real-world applicability, maintainability, and scalable agent workflows.

3🍴 0📅 Jan 23, 2026

SKILL.md


name: parallel-execution description: Execute multiple independent tasks simultaneously using parallel agent coordination to maximize throughput. Use when tasks have no dependencies, results can be aggregated, and agents are available for concurrent work.

Parallel Execution

Execute multiple independent tasks simultaneously to maximize throughput and minimize total execution time.

When to Use

  • Multiple independent tasks (no dependencies)
  • Tasks benefit from concurrent execution
  • Maximizing throughput is priority
  • Available agents for parallel work
  • Results can be aggregated after completion

Core Concepts

Independence

Tasks are independent when:

  • ✓ No data dependencies
  • ✓ No resource conflicts
  • ✓ No ordering requirements
  • ✓ Failures are isolated

Concurrency

Critical: Use single message with multiple Task tool calls:

[Task tool] → Agent A
[Task tool] → Agent B
[Task tool] → Agent C

All start simultaneously.

Execution Patterns

PatternDescriptionExample
HomogeneousSame agent, different inputsTest 3 modules
HeterogeneousDifferent agents, related taskReview + Test + Profile
Parallel + ConvergenceParallel → SynthesizeProfile + Analyze → Root cause

Synchronization Strategies

  • Wait for All: Proceed when ALL complete
  • Wait for Any: Early termination on first success
  • Threshold: Proceed when N of M complete

Performance

Sequential: T1 + T2 + T3
Parallel: max(T1, T2, T3)
Speedup = Sequential / Parallel

Example: 3 tasks (10+15+8 min) → Parallel (15 min) = 2.2x faster

Best Practices

✓ Verify independence before parallelizing ✓ Use single message with multiple Task calls ✓ Balance workload across agents ✓ Handle failures gracefully

✗ Don't parallelize dependent tasks ✗ Don't send sequential messages

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon