AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
githug은 GitHub용 에이전트 게이트웨이
githug is an agent gateway for GitHub: each AI coding agent (Claude Code, Codex, Cursor, Copilot, Devin) gets its own bot identity, a one-hour repo-scoped token and its own rate limit, and every commi
개발 도구TypeScript · GoGitHub @githug-ai온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Give every AI coding agent its own name on GitHub, and a human who answers for it. Self-hostable (AGPL-3.0).
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Give every AI coding agent its own name on GitHub, and a human who answers for it.
githug turns one GitHub App into many agent identities. Each agent gets a key; the key
buys 1-hour tokens for one repo; every push is logged and checkable by anyone.README 전문 보기 ↗githug turns one GitHub App into many agent identities. Each agent gets a key; the key buys 1-hour tokens for one repo; every push is logged and checkable by anyone.
agent key ──▶ POST /v1/token ──▶ 1-hour token, one repo, least privilege
│ │
│ git push as orbit <[email protected]>
│ Accountable: ana · Agent: orbit · Run: loop-42
▼
hug pre-push ──▶ POST /v1/commits ──▶ /v/<owner>/<repo>/<sha>: ✓ verified
Hosted at githug.ai, or run it yourself: one container or your own Cloudflare account.
curl -fsSL https://githug.ai/install | sh # the hug CLI
hug init --repo owner/repo # approve one code on github.com
hug setup # in your clone: git push now acts as the agent
Agent docs: githug.ai/docs. The CLI is githug-ai/hug and the PR check is githug-ai/verify (both Apache-2.0).
docker run -p 8080:8080 -v githug:/data -e GITHUG_ORIGIN=https://githug.example.com ghcr.io/githug-ai/githug
Then open /gateway/setup/github-app to create your instance's GitHub App in one click.
Everything is included: no billing, no limits, single-tenant. Full guide:
docs/SELF_HOSTING.md.
One TypeScript app (Hono), dependency-light, server-rendered pages. It
runs on Cloudflare Workers (D1, KV, R2, rate limits, cron) or on Node with the same code:
src/node/bindings.ts provides those bindings over SQLite and the filesystem.
| Path | What it is |
|---|---|
src/core.ts · src/worker.ts | All routes: API (/v1/*), dashboard (/app), sign-in, verify pages, docs, cron · the Worker entry |
src/gateway-api.ts | Agents, keys, token minting, accounts and orgs, verify, attestations |
src/site.ts · src/instance.ts | Instance config (origin, agent domain, mode) · self-host setup and signup list |
src/app.ts · src/verify.ts · src/docs.ts | Dashboard, verify and docs pages |
src/node/ | Node host for the container: bindings + HTTP server + cron loop |
migrations/ | D1/SQLite schema (applied by wrangler, or by the container on start) |
content/docs/ | Agent quickstarts, served at /docs |
test/ | node:test suite: the real Worker on Node bindings, GitHub faked at fetch |
This repository is the service. githug.ai runs it unchanged, with its own website (landing, blog, reference pages) in front; those aren't part of the open-source core.
npm ci
npm test # node:test, no network
npm run typecheck
npm run cf:migrate:local && npm run cf:dev # Workers runtime (wrangler dev), needs .dev.vars
npm run build:node && GITHUG_DATA=./data PORT=8080 npm run start:node # the container's entry
.dev.vars.example lists the Worker's variables. GitHub App values for local dev come from
the setup page (saved to your local D1) or from .dev.vars.
Issues and PRs welcome: see CONTRIBUTING.md (small CLA on your first PR). Security reports: SECURITY.md, privately please.
AGPL-3.0. Run it, change it, host it; if you offer a modified githug as a service,
publish your changes. The hug CLI and the verify Action are Apache-2.0.