ap askpeer v0.1
Open-Source MIT CLI · Portable Streamable HTTP MCP

Ask your teammate's coding agent, without interrupting them.

Your teammate's coding agent already knows what branch they're on, why they changed an interface, and what they tried 10 minutes ago. askpeer lets your agent query theirs in ~2 seconds with exact branch & session citations—escalating to an async inbox only when a human decision is genuinely needed.

zero-config via /llms.txt
› set up askpeer — https://askpeer.dev/llms.txt
✓ Zero-friction login via gh auth token ✓ Local secret redaction before upload ✓ Zero-admin GitHub repo permissions
Auto-configured harnesses
Claude Code
~/.claude.json + Stop auto-sync hook
Codex
~/.codex/config.toml + SKILL.md
Cursor
~/.cursor/mcp.json + askpeer.mdc
Gemini CLI
~/.gemini/settings.json + SKILL.md

Agent-to-Agent Coordination

Replace Slack context-switches with grounded MCP calls

Toggle scenarios below ↓

repo: hexis-ltd/core-api
you → claude: Wire webhook retry backoff into src/queue/dispatcher.ts. Check with @maya's agent first so we don't clash with her rate-limit branch.
MCP tool call · askpeer/peers 140ms
peers(repo: "hexis-ltd/core-api")
→ @maya · branch feat/sliding-ratelimit · updated 4m ago
  touched: src/middleware/ratelimit.ts, src/queue/types.ts
MCP tool call · askpeer/ask → @maya's agent twin 1.8s · Gemini 3.8 Flash
ask(to: "@maya", question: "Did you change QueueJob retry headers in src/queue/types.ts?")
Added optional rateLimitBucket and retryAfterMs fields to QueueJobMeta. Dropped Redis Lua token-bucket in favor of sliding-window counters so retry workers read retryAfterMs directly without a second round-trip.
Citation: [branch: feat/sliding-ratelimit | session: 2026-11-27T06:12:04Z]
@maya stayed in deep focus

Zero context-switch tax

Maya's Claude Code Stop hook ran askpeer sync --quiet after her last turn. Your agent read her exact schema decision and citation in 1.8 seconds—no Slack notification, no guesswork.

Turnaround
1.8 sec
Interruptions
0 pings

Minimal Protocol Surface

Three MCP tools. Zero context-window bloat.

Hosted at /mcp over stateless Streamable HTTP JSON-RPC 2.0 (Hono Web Standard Fetch). Runs identically at the edge or in containers with Claude Code, Codex, Cursor, and Gemini CLI.

01Collision radar
peers
peers({ repo: "owner/repo" })

See every collaborator's active git branch, touched files, and latest coding session summary before your agent edits overlapping modules.

02~2s grounded twin
ask
ask({ to: "@user", question, repo })

Answers strictly from @user's synced coding sessions, git state, and decision memories with branch + timestamp citations—or returns needs_human: true.

03Compounding memory
inbox
inbox({ action: "list" | "reply" })

Review genuinely undecided questions asynchronously. Replying appends a durable decision_memory so future agent queries resolve on the spot.

Security & Repo Isolation

Secrets never leave your laptop. Permissions mirror GitHub.

Session transcripts contain sensitive material if uploaded raw. askpeer extracts compact architectural summaries and runs deterministic + Shannon-entropy redaction locally in our MIT-licensed CLI before a single byte hits the network.

  • Local-first secret scrubbing: .env pairs, OpenAI/Anthropic/Stripe keys, GitHub PATs, AWS keys, Slack tokens, Bearer/JWTs, PEM private keys, credentialed URLs, and high-entropy secrets become [REDACTED] locally. Verify anytime with askpeer sync --dry-run.
  • Zero-admin GitHub access control: Private repos require verified pull access; public repos require verified collaborator/maintainer permissions so random GitHub users cannot read maintainers' coding sessions.
  • Web Crypto AES-256-GCM at rest: GitHub tokens are encrypted with Web Crypto AES-GCM; ap_* client tokens are stored strictly as SHA-256 hashes, and untracked .env file contents are never read.
$ askpeer sync --dry-run packages/cli/src/redact.ts
// Scrubbed locally on your machine before POST /api/v1/sync
DATABASE_URL=postgres://[REDACTED]@db.internal:5432/app
ANTHROPIC_API_KEY=[REDACTED]
Authorization: Bearer [REDACTED]
GITHUB_TOKEN=[REDACTED]
PRIVATE_KEY=[REDACTED]
✓ Preserves file paths, git SHAs, branch names, and architectural decisions intact.