Credentials. runtime/invites.txt holds plaintext invite codes and the session secret must stay private, so keep both out of Git and out of shared chats.
Who it is forA project owner running a labeling round with several annotators who each need attributable decisions.
The problemShared labeling without identity binding makes it impossible to say who changed a label, and a stale browser can silently overwrite a newer decision.
The outcomeA shared server with authentication required, invite codes that bind to a name on first use, and reviewer attribution on every write.
What you need first
- Python installed, plus git to clone the repository
- Or Docker, if you prefer `docker compose up --build`
- Model output and item data in the shard format the importer expects (details_*.json) if you use your own data
- A private location for invite codes and the session secret if several people will annotate
Steps
- Create the folders with
mkdir -p secrets runtime - Generate a session secret with
python -c 'import secrets; print(secrets.token_hex(32))' > secrets/session-secret - Generate one-time invites with
python scripts/generate_invites.py --count 30 - Export the variables
ANNOTATION_AUTH_REQUIRED=1,ANNOTATION_SESSION_SECRET_FILE=secrets/session-secret, andANNOTATION_COOKIE_SECURE=1 - Start the server with
./scripts/run_demo.shand send each annotator one invite from runtime/invites.txt
Prompt for your agent
In the AlignLedger repo at <repo path>, follow the shared deployment section to create a session secret and 30 invite codes without printing the codes into logs. Confirm that the server requires authentication and report the number of invite codes created, not their values.
Caveat. The README describes the server storing only invite hashes, but it does not describe a hosting setup, so you must provide your own secure deployment environment.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for znxzsy/AlignLedger and "Run a shared annotation team with invite-bound identities"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer