Skip to main content
Glama
HezLUO

agent-delegate

by HezLUO

agent-delegate

agent-delegate is an MCP-first delegation advisor for coding agents. It helps a main agent decide when to delegate read-only investigation, generate bounded subagent briefs, and summarize subagent results back into compact main-agent context.

Status

This repository implements v1: Read-only Delegation Advisor.

v1 does not execute write-code subagents, edit files on behalf of agents, run background monitoring, or orchestrate worktrees.

Related MCP server: delegations-mcp

Install

npm install

Run the MCP Server

npm run --silent agent-delegate -- serve

Configure your agent tool to launch that command as a local MCP server.

Check MCP Setup

npm run agent-delegate -- doctor

doctor verifies that dependencies are installed, the local MCP server can start, and all five v1 MCP tools are visible through stdio. It also prints a copyable MCP configuration.

Analyze a Sample Agent State

npm run agent-delegate -- analyze examples/agent-state.sample.json

Expected output includes a recommendation such as:

{
  "recommendation": "dispatch_readonly"
}

Dogfood Before Release

This project should be dogfooded before any open-source release. Unit tests are not enough because the core product is an MCP tool used by real agents.

Run the MCP smoke test:

npm run smoke:mcp

Run realistic fixtures:

npm run check:fixtures

See docs/dogfood.md for the full dogfood protocol.

Generate Rules

npm run agent-delegate -- init codex
npm run agent-delegate -- init claude-code
npm run agent-delegate -- init generic

MCP Tools

  • record_event

  • assess_delegation_need

  • generate_delegation_briefs

  • assess_brief_quality

  • summarize_subagent_results

Documentation

Development

npm test
npm run typecheck
npm run build

Roadmap

  • v1: Read-only Delegation Advisor

  • v2: Write-readiness Assessor

  • v3: Controlled Write-agent Delegation

  • v4: Parallel Write-agent Orchestration

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    An MCP server that exposes a library of delegation prompts to orchestrate tasks between a primary LLM and specialized sub-agents. It enables the execution of self-contained, bounded tasks with built-in support for configuration discovery and project-specific delegation libraries.
    3
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HezLUO/agent-delegate'

If you have feedback or need assistance with the MCP directory API, please join our Discord server