skills/skillxiv-v0.0.2-claude-opus-4.6/flash-searcher-dag-parallel-agents/SKILL.md
Reduce agent execution steps by 35% and latency by parallelizing sequential tool calls through task dependency graphs (DAGs). Use when deploying information-retrieval agents where tool execution ordering is flexible.
npx skillsauth add ADu2021/skillXiv flash-searcher-dag-parallel-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Flash-Searcher replaces sequential agent reasoning with concurrent subtask execution via dependency-aware directed acyclic graphs (DAGs). This framework decomposes complex agent tasks into independent execution paths while maintaining logical coherence, reducing steps by 35% and improving overall latency.
Setup DAG-based agent execution framework:
# Initialize DAG-based parallel agent executor
from flash_searcher import DAGAgentExecutor, DependencyAnalyzer
executor = DAGAgentExecutor(
model=your_llm,
max_parallel_tasks=4,
task_timeout=30,
execution_strategy="dynamic"
)
# Create dependency analyzer for task decomposition
analyzer = DependencyAnalyzer(
llm=your_llm,
tool_catalog=web_tools
)
Execute task decomposition and parallel execution:
# Decompose task into DAG structure
task = "Find the top 3 restaurants in NYC with highest ratings, then check their hours"
dag = analyzer.decompose(
task=task,
tools=["search", "get_info", "check_hours"]
)
# DAG structure shows parallelizable stages:
# Stage 1: search(restaurant_query) [parallel with start]
# Stage 2: get_info(restaurant_results) [parallel with start]
# Stage 3: check_hours(hours_info) [depends on Stage 2]
# Execute with parallelization
results = executor.execute(
dag=dag,
max_parallel=4,
dynamic_optimization=True
)
# Return integrated results (67.7% success rate on BrowseComp)
print(f"Task completed in {results.execution_time:.2f}s ({35% fewer steps})")
When to use Flash-Searcher:
When NOT to use:
Hyperparameters:
The paper provides 3,354 curated task decomposition examples enabling:
The framework deliberately omits code execution tools due to sequentiality requirements. Mathematical reasoning performance could improve with appropriate computational tools but accepts latency tradeoff.
DAG decomposition enables two complementary benefits:
Extends prior work on parallel decoding and multi-agent orchestration systems.
testing
Uses flow maps as look-ahead operators to enable principled reward-guided diffusion by predicting trajectory endpoints at any denoising step. Deploy when applying rewards or preferences to diffusion trajectories with meaningful gradients throughout generation.
testing
Train language models where each expert learns independently on closed datasets, enabling flexible inference with selective data inclusion or exclusion. 41% performance improvement while allowing users to opt out of specific data sources without retraining.
data-ai
Understand how token generation flexibility in diffusion LMs paradoxically constrains reasoning, as models exploit ordering flexibility to avoid uncertain tokens, and apply simplified approaches that preserve parallel decoding benefits. Use when optimizing diffusion-based language models for reasoning tasks.
devops
Enable LLM agents to improve continuously during deployment by constructing structured experience libraries through self-reflection on successes and failures—achieving 23% improvement on reasoning without gradient-based parameter updates or external training.