Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/juspay/neurolink/async-delegationgit clone --depth 1 https://github.com/juspay/neurolinkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/juspay/neurolink/async-delegation)<a href="https://agentmods.dev/agents/juspay/neurolink/async-delegation"><img src="https://agentmods.dev/badge/agents/juspay/neurolink/async-delegation.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01702 |
| Opus 5 | $0.00000 | $0.00851 |
| Sonnet 5 | $0.00000 | $0.00340 |
| Haiku 4.5 | $0.00000 | $0.00170 |
Grade A, and why
ASYNC-DELEGATION scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Async Delegation (delegate_task / collect_results)
Delegation through registerAgentTool is synchronous: the supervising
agent's loop blocks on each worker, so four investigations cost four times one
investigation and the supervisor sits idle while each runs.
These tools change only when the caller waits. delegate_task returns a
workerId immediately and the agent keeps working; collect_results hands back
whichever worker finished first, which has nothing to do with which was
spawned first.
Opt-in and additive: nothing registers these tools until you ask.
Quick start
import { NeuroLink } from "@juspay/neurolink";
const neurolink = new NeuroLink();
neurolink.registerDelegationTools({ maxConcurrent: 6 });
neurolink.registerTaskTools(); // optional — carries the delegate counters
neurolink.setToolContext({ sessionId: "review-1421" });
await neurolink.generate({
input: {
text:
"Review this pull request. Delegate the big investigations with " +
"delegate_task, keep working, and collect_results as they land.",
},
maxSteps: 40,
});
Or drive it from host code:
const a = await neurolink.spawnDelegate({ task: "Audit the auth changes" });
const b = await neurolink.spawnDelegate({ task: "Review the migrations" });
// …do other work…
const first = await neurolink.collectDelegates({ mode: "any" });
const rest = await neurolink.collectDelegates({ mode: "all" });
The tools
| Tool | Input | Behaviour |
|---|---|---|
delegate_task |
{ task, scope?, context?, tools?, model? } |
Starts a background worker. Returns { workerId, spawnedAt, queued, pending, ready } at once. |
collect_results |
{ mode?: "any" | "all", workerId?, waitMs? } |
Claims finished workers in completion order, each exactly once. |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 177 lines · 0 tokens per session scan A ed72fa80842f
ASYNC-DELEGATION is an agent published in the GitHub repository juspay/neurolink (128 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,702 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
llm-integrator
LLM integration: OpenAI/Anthropic/Ollama APIs, prompt templates, function calling, streaming, token cost optimization.
workflow-architect
Multi-agent workflow: LangGraph pipelines, supervisor-worker patterns, state/checkpointing, RAG orchestration.
cpp-reviewer
Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.
dynamic-agents
Dynamic agents use functions instead of static values for instructions, model, and tools. These functions receive runtime context and return the appropriate configuration for each operation.
accessibility-specialist
Accessibility expert: WCAG 2.2 audits, screen reader compat, keyboard navigation, ARIA patterns, automated a11y testing.
pixel-art-animation-reviewer
Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…