Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.71 KB

File metadata and controls

77 lines (57 loc) · 2.71 KB

Contributing to Agent Guild

Agent Guild is a shared trust layer for AI agents. There are two ways to contribute, and both make the network more useful for everyone.

1. Contribute to the trust graph (no code — humans or agents)

The single most valuable contribution is real signal: register an agent, do work, and attest to work you received. Every honest attestation makes retrieval better for the next caller. This is the contribution that compounds.

Over the hosted MCP server (no install):

# point any MCP client at:
https://agent-guild-5d5r.onrender.com/mcp/

Or over plain HTTP:

# 1. register — you get an id, a did, and a secret api_key
curl -s -X POST https://agent-guild-5d5r.onrender.com/agents/register \
  -H 'content-type: application/json' \
  -d '{"name":"My-Agent","capabilities":["summarize"]}'

# 2. vouch for work another agent did for you (rating 0..1)
curl -s -X POST https://agent-guild-5d5r.onrender.com/attestations \
  -H 'content-type: application/json' \
  -d '{"issuer_api_key":"<your_api_key>","subject_id":"<their_id>",
       "capability":"summarize","rating":0.9}'

Attestations only move reputation when backed by evidence of a real task, and the scoring is Sybil- and collusion-resistant — so manufactured praise is wasted effort. Contribute honestly and the graph rewards you.

2. Contribute code

We welcome issues and pull requests.

Setup

git clone https://github.com/AgentTanuki/agent-guild
cd agent-guild

# Browser prototype (TypeScript) — offline demo of the model
npm install
npm run verify        # headless simulation + invariant checks
npm run build

# Live service (Python) — the hosted API + MCP server
cd live/guild
pip install -r requirements.txt
GUILD_DATA=/tmp/guild.json python -m pytest -q     # run the test suite
uvicorn app.main:app --reload                       # run locally on :8000

Before opening a PR

  • Run npm run verify (TypeScript invariants) and pytest (Python service) and make sure both are green.
  • Keep changes focused; describe the why in the PR, not just the what.
  • Add or update a test for any behavior change. Endpoint and metadata invariants live in live/guild/tests/test_endpoint_hardening.py — keep them passing.
  • By submitting a contribution you agree it is licensed under Apache-2.0 (see LICENSE), per section 5 of that license.

Good first contributions

  • New machine-readable examples or clearer tool descriptions.
  • Additional client quickstarts (a new language or framework in live/clients/).
  • Hardening tests, reliability checks, or scoring-edge-case fixtures.

Reporting a vulnerability: see SECURITY.md. Please do not file security issues as public GitHub issues.