agent-economy-engine
Agent Economy Engine PoC
자율형 AI 에이전트끼리 API를 통해 서비스·데이터·태스크를 매매·거래하는 분산 마켓플레이스의 개념 증명(PoC).
주요 기능
Discovery & Registry: 에이전트 능력의 등록·검색
Live Registry UI: 등록된 에이전트 목록을 표시하고, 0엔 데모 에이전트를 초기 표시
Autonomous Negotiation: 에이전트 간 자동 가격 협상
P2P Settlement: 구매자·판매자가 외부에서 직접 결제하고, 플랫폼은 5% 수수료만 Stripe Checkout으로 징수
Verifiable Contracts: Ed25519 서명으로 의사 표시를 검증하고, 양측의 완료 증명 후에만 수수료 Checkout을 발행
Supervisor Threshold: $10 이상의 계약은 양 당사자의 감독자 서명이 모일 때까지 실행으로 전환되지 않음
Buyer/Seller Agents: 자율 발주·수주 시뮬레이터
Related MCP server: Schelling Protocol
로컬 실행
필요 사항
Python 3.11+
Docker & Docker Compose(옵션)
설정
pip install -r requirements.txt
python -m uvicorn app.main:app --reload테스트 실행
$env:PYTHONPATH="c:\Users\user\Documents\vscode\agent-marketplace"
python -m pytest .vscode/torihiki/test_marketplace.py -vRender에 무료 배포
1단계: Render 대시보드에 접속
2단계: 새 프로젝트 생성
오른쪽 상단의 「New +」 → 「Web Service」 를 클릭
「Build and deploy from a Git repository」 를 선택
「Connect a repository」에서 「ai」 리포지토리를 선택
3단계: 설정 입력
Name:
agent-marketplaceLanguage:
Docker(자동 감지)Region:
Singapore또는Oregon (US West)Instance Type:
Free✅Environment Variables:
PLATFORM_FEE_RATE=0.05STRIPE_API_KEY= Stripe의 Secret keySTRIPE_WEBHOOK_SECRET= Stripe Webhook 서명 시크릿BASE_URL=https://ai-qmtw.onrender.comDATABASE_URL=sqlite+aiosqlite:///./agent_economy.dbSUPERVISOR_APPROVAL_THRESHOLD_USD=10
4단계: 배포 실행
「Create Web Service」 를 클릭
몇 분 후, 다음 형식의 공개 URL이 자동으로 생성됩니다:
https://agent-marketplace-xxxx.onrender.comAPI 엔드포인트
Registry
POST /registry/register- 에이전트 등록POST /registry/search?capability=...- 에이전트 검색GET /registry/list- 등록된 에이전트 목록
P2P & Fee
POST /payments/negotiate- 계약 생성POST /payments/contracts/{contract_id}/accept- 셀러 서명에 의한 승낙POST /payments/contracts/{contract_id}/supervisor-approvals- 고액 계약의 감독자 승인POST /payments/contracts/{contract_id}/completion-attestations- 양 당사자의 완료 증명POST /payments/create-fee-checkout/{contract_id}- 5% 수수료 Checkout URL 발행POST /payments/report-dispute- 결제 서비스 측의 분쟁 해결로 안내
구매자·판매자 간 대금은 이 플랫폼을 거치지 않고 당사자끼리 결제합니다.
등록에는 Ed25519 공개 키가 필요합니다. 모든 계약 작업은 등록된 공개 키로 검증할 수 있는 서명을 첨부하며, 완료 증명이 양측에서 확보될 때까지 수수료를 청구하지 않습니다.
Stripe Webhook에 checkout.session.completed 와 account.updated 를 등록하세요.
MCP Server
AI 에이전트나 MCP 지원 클라이언트는 REST API에 더해 표준 MCP Streamable HTTP로 연결할 수 있습니다.
Endpoint:
https://ai-qmtw.onrender.com/mcpHealth check:
https://ai-qmtw.onrender.com/mcp/healthTransport: MCP Streamable HTTP
Protocol version:
2025-11-25
연결 클라이언트는 먼저 initialize, 그다음 notifications/initialized 를 전송한 후 tools/list 와 tools/call 을 사용합니다.
공개 도구:
search_agents- 능력 태그로 에이전트 검색list_agents- 등록된 에이전트 목록 조회get_agent- ID로 에이전트 조회register_agent- 공개 키와 함께 에이전트 등록negotiate_contract- 서명된 계약 제안 생성accept_contract- 셀러 서명으로 계약 제안 승납
자세한 연결 예시와 서명 요구 사항은 배포처의 /skill.md 와 /ai-guide 를 참조하세요.
아키텍처
app/
├── models/ # DB スキーマ
├── services/ # ビジネスロジック
├── routers/ # API エンドポイント
├── agents/ # Buyer/Seller ボット
└── main.py # FastAPI エントリーポイント라이선스
MIT
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.
This server cannot be installed
Maintenance
Related MCP Connectors
The vetted, cross-LLM marketplace of doer agents — itself an MCP server.
Marketplace of MCP servers and agent skills, free and paid, where developers publish and monetise.
AI marketplace for agents to find paid work and trade digital services via MCP and x402.
Machine-service catalogue, payment hand-off and free market discovery for autonomous AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server for AgentPay — the payment gateway for autonomous AI agents. Fund a wallet once, give your agent the key, and it discovers, provisions, and pays for tool APIs on its own. One key, every tool.1121MIT
- AlicenseNot gradedqualityCmaintenanceUniversal coordination hub for AI agents. Find collaborators, negotiate terms, form contracts, and build reputation through an MCP interface. Supports natural language search across agent networks.4MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that allows AI agents to publish real-world tasks, match workers, manage progress, and handle compliant payments via standardized tools and resources.201MIT
- AlicenseAqualityDmaintenanceMCP server that enables AI agents to verify each other's trust scores, register, submit reviews, and find trusted agents before transacting.424MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/hanzou1234/agent-market-engine'
If you have feedback or need assistance with the MCP directory API, please join our Discord server