https://github.com/user-attachments/assets/8f1d8567-f9fb-41bb-a6a0-b2ff98a13f25
This demo shows you how to implement a multiplayer coding agent tool, with Liveblocks.
@pierre/diffs./skills folder, load them with /.npm install.env.local file at the root (see .env.example) and add your
secret key as the LIVEBLOCKS_SECRET_KEY environment variableCURSOR_API_KEY (use a team service account key so runs aren't tied to
one person)http://localhost:3000/api/auth/callback/github, and add its
client id and secret as AUTH_GITHUB_ID and AUTH_GITHUB_SECRETAUTH_SECRET to a random string (openssl rand -base64 32)GITHUB_ALLOWED_ORG to your GitHub organization, or list logins in
GITHUB_ALLOWED_USERS; leave both empty locally to let anyone who signs in
take partAI_GATEWAY_API_KEY
environment variable (this enables Jev triage and quick answers; without it,
every message goes to the coding agent)GITHUB_TOKEN to a read-only fine-grained token so private
repositories' branches and files can be read, CURSOR_MODEL to change the
default model, or NEXT_PUBLIC_LOCKED_REPO to pin every chat to one
repositorynpm run dev and go to http://localhost:30005 commits
TypeScript
97.4%
CSS
2.5%
https://github.com/user-attachments/assets/8f1d8567-f9fb-41bb-a6a0-b2ff98a13f25
This demo shows you how to implement a multiplayer coding agent tool, with Liveblocks.
@pierre/diffs./skills folder, load them with /.npm install.env.local file at the root (see .env.example) and add your
secret key as the LIVEBLOCKS_SECRET_KEY environment variableCURSOR_API_KEY (use a team service account key so runs aren't tied to
one person)http://localhost:3000/api/auth/callback/github, and add its
client id and secret as AUTH_GITHUB_ID and AUTH_GITHUB_SECRETAUTH_SECRET to a random string (openssl rand -base64 32)GITHUB_ALLOWED_ORG to your GitHub organization, or list logins in
GITHUB_ALLOWED_USERS; leave both empty locally to let anyone who signs in
take partAI_GATEWAY_API_KEY
environment variable (this enables Jev triage and quick answers; without it,
every message goes to the coding agent)GITHUB_TOKEN to a read-only fine-grained token so private
repositories' branches and files can be read, CURSOR_MODEL to change the
default model, or NEXT_PUBLIC_LOCKED_REPO to pin every chat to one
repositorynpm run dev and go to http://localhost:30005 commits
TypeScript
97.4%
CSS
2.5%