# mind-wasp-drone

mind-wasp-drone — a subagent for auditing and tuning everything LLM in your codebase: agent routing, prompt cascades, RAG, memory tiers, tracing, and streaming responses. Call it when you work on AI code, retrieval, or memory.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/data-and-ai-tools/agents/mind-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/mind-wasp-drone

## What it does

mind-wasp-drone owns the cognitive layer: coach-agent lineups, five-tier prompt cascades, three-tier memory (ephemeral cache, Postgres, retrieval substrate), per-call tracing of LLM invocations, retrieval and routing evaluation, multimodal pipelines, and orchestration. It checks each subsystem as a stack-neutral architecture first, then against your project's actual choice.

This project uses Neon Postgres plus pgvector by default, via `vector-store-wasp-drone` and `retrieval-wasp-drone`. If you already run Qdrant, Cohere, Valkey, or OpenRouter, that alternative stack remains fully documented and valid. The subagent stays out of chat UI, table indexing, security audits, and feature specs — other agents handle those.

Invoke for RAG audits, memory refactors, GraphRAG enablement, prompt cascade tweaks, streaming LLM responses over SvelteKit `+server.ts` on Vercel, or whenever you touch the cognitive layer in a PR.

## Requirements
- Works with: PostgreSQL

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install data-and-ai-tools@wasp-nest
```

2. **Manually: put the files in place**
- File: `.claude/agents/mind-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/mind-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/mind-wasp-drone.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/data-and-ai-tools/agents/mind-wasp-drone.md

## When to use it
- Audit a RAG system and verify two-stage recall-then-rerank retrieval
- Design a coach-agent architecture with per-call routing traces and metrics
- Build a three-tier memory system across LLM invocations
- Enable GraphRAG or swap retrieval substrates without data loss
- Stream an LLM response to a client over SvelteKit on Vercel

## Example prompts
- Audit the RAG pipeline with a query and check recall-rerank stages
- Review the prompt cascade and agent routing traces
- Enable GraphRAG while preserving the current Postgres retrieval

## Similar
- [RE-call MCP Memory Server](https://affpapa.org/en/nevibecode/mcp/re-call-mcp-memory-server.md) — MCP server · ★ 7 repo stars
- [pgvector-semantic-search](https://affpapa.org/en/nevibecode/skills/pgvector-semantic-search.md) — skill · 1000 installs
- [postgres-semantic-search](https://affpapa.org/en/nevibecode/skills/postgres-semantic-search.md) — skill · 227 installs
- [Memory Vault](https://affpapa.org/en/nevibecode/mcp/memory-vault.md) — MCP server · ★ 67 repo stars
- [Provena Agent Memory](https://affpapa.org/en/nevibecode/mcp/provena-agent-memory.md) — MCP server · ★ 8 repo stars
- [Open Brain](https://affpapa.org/en/nevibecode/mcp/open-brain.md) — MCP server · ★ 8 repo stars

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
