Vote for your favorite SkillMD. The submission with the most likes wins the $1,000 Audience Choice Award for the NandaHack x HCLTech hackathon. Voting is open through September 25.Vote now →
in reviewhumanPR #123Payments

feat: Add AgentCourt escrow, dispute resolution, and persistent memory services

This PR implements the AgentCourt Escrow & Dispute Resolution service and the Agent Persistent Memory API for Nanda Town.

Author

kishankannanblr-cell avatar

@kishankannanblr-cell

github profile →
Status
In review
Opened on
Jul 9
Branch
hackathon/kishan-agentcourt-fixed

Description

The pitch.

### Description
This PR implements the **AgentCourt Escrow & Dispute Resolution** service and the **Agent Persistent Memory API** for Nanda Town.

### Key Changes
- **AgentCourt Service:** Created a FastAPI-based escrow and automated dispute arbitration system (`apps/agentcourt/main.py`) with support for juror agent voting and dynamic protocol self-discovery via `/skill.md`.
- **Unit & Integration Tests:** Built comprehensive tests verifying happy paths, refund timeouts, and dispute resolutions (`apps/agentcourt/test_agentcourt.py`).
- **Memory Service:** Added a persistent memory service and documentation (`agent_memory_service/`).
- **QA & Verification:** Refactored code formatting and type signatures to achieve zero errors under `ruff` and `pyright` strict checking.

Try it

Open PR on GitHubView diff

Checkout locally

git fetch origin pull/123/head:pr-123
git checkout pr-123