{"id":49383202,"url":"https://github.com/dolobanko/origin-cli","last_synced_at":"2026-04-28T07:02:57.639Z","repository":{"id":344628455,"uuid":"1182500942","full_name":"dolobanko/origin-cli","owner":"dolobanko","description":"Open-source CLI for AI code attribution \u0026 governance. Track which AI agent wrote every line — Claude, Cursor, Gemini, Codex. Blame, audit, search, backfill.","archived":false,"fork":false,"pushed_at":"2026-04-28T01:08:39.000Z","size":3026,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-28T03:09:59.314Z","etag":null,"topics":["ai","ai-governance","claude","cli","code-attribution","codex","cursor","developer-tools","gemini","git-blame","open-source"],"latest_commit_sha":null,"homepage":"https://getorigin.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dolobanko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-15T15:55:34.000Z","updated_at":"2026-04-28T01:08:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dolobanko/origin-cli","commit_stats":null,"previous_names":["dolobanko/origin-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dolobanko/origin-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolobanko%2Forigin-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolobanko%2Forigin-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolobanko%2Forigin-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolobanko%2Forigin-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolobanko","download_url":"https://codeload.github.com/dolobanko/origin-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolobanko%2Forigin-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32370030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-governance","claude","cli","code-attribution","codex","cursor","developer-tools","gemini","git-blame","open-source"],"created_at":"2026-04-28T07:02:54.733Z","updated_at":"2026-04-28T07:02:57.634Z","avatar_url":"https://github.com/dolobanko.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://getorigin.io/favicon.svg\" width=\"80\" alt=\"Origin Logo\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eOrigin CLI\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eEvery agent. Every prompt. Every line. In your git repo.\u003c/strong\u003e\u003cbr/\u003e\n  \u003cem\u003eThe AI coding history layer for developers and teams.\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/dolobanko/origin-cli/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-green\" alt=\"License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://getorigin.io\"\u003e\u003cimg src=\"https://img.shields.io/badge/web-getorigin.io-6366f1\" alt=\"Website\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nOrigin runs silently next to any AI coding agent — Claude Code, Cursor, Codex,\nGemini CLI, Aider, Windsurf, Copilot, and more — and captures every session:\nprompts, files touched, tokens, cost, diffs. All of it lives in your git repo as\nnotes and refs. `git clone` brings the history with the code. No server, no\nlogin, no API keys required.\n\n## Install\n\n```bash\nnpm i -g https://getorigin.io/cli/origin-cli-latest.tgz\n```\n\n## Quick start\n\n```bash\norigin init                     # auto-detect agents, install git hooks\n# ...code with any AI agent — Origin tracks automatically\norigin blame src/index.ts       # see which AI wrote each line\n```\n\nThat's it. Nothing to configure.\n\n---\n\n## The four beats\n\nOrigin maps to one idea per verb. Everything else is detail.\n\n### 01 — Every agent.\n\nAuto-detected. Claude Code, Cursor, Codex, Gemini CLI, Aider, Windsurf, Copilot,\nContinue, Cody, Cline, Codeium, Roo, Kilo. One command picks up whichever tool\nyou use.\n\n```bash\norigin init           # detect agents + install hooks\norigin agents         # list detected agents\norigin status         # show the active session\n```\n\n### 02 — Every prompt.\n\nEach turn is captured as a snapshot: prompt text, model, files touched, diff,\ntokens, cost, duration.\n\n```bash\norigin snapshot       # list per-prompt snapshots in the current session\norigin sessions       # list all sessions\norigin session \u003cid\u003e   # replay a single session\norigin rewind --to \u003csha\u003e   # restore working tree to any snapshot\n```\n\n### 03 — Every line.\n\nLine-level attribution across agents and sessions. Point at any line, get the\nexact prompt that wrote it.\n\n```bash\norigin blame \u003cfile\u003e          # per-line AI/human + model per line\norigin why \u003cfile\u003e:\u003cline\u003e     # the exact prompt behind one line\norigin diff                  # annotated diff, AI vs human\norigin search \"auth bug\"     # full-text search across prompts\n```\n\n### 04 — In your git repo.\n\nNothing leaves your machine. Sessions live in `refs/notes/origin` and the\n`origin-sessions` branch. Clone the repo, clone the history.\n\n```\nrefs/notes/origin          per-commit model / session / cost / tokens\norigin-sessions            transcripts, prompts, file changes\n~/.origin/config.json      CLI config (machine-local)\n```\n\nNo telemetry by default. Opt in with `origin config set telemetry true`.\n\n---\n\n## Supported agents\n\n**Shipping:** Claude Code · Cursor · Codex CLI · Gemini CLI · Windsurf\n**In development:** Aider · GitHub Copilot · Cody · Continue · Codeium · Cline\n\nDetection runs on CLI availability, IDE extension inspection, MCP config, and\nprocess detection at commit time.\n\n---\n\n## More commands\n\nThe CLI has 50+ commands covering review, governance, handoff, memory, TODOs,\ntime travel, reports, audit, and CI integration. See [`DOCS.md`](./DOCS.md) or\nrun `origin --help`.\n\nCommonly used beyond the four beats:\n\n```bash\norigin stats                 # AI vs human stats for the repo\norigin handoff show          # pass context to the next agent\norigin recap                 # end-of-day summary\norigin backfill --apply      # retroactively tag old commits\norigin policies              # list active governance policies\norigin doctor                # diagnose stuck sessions\norigin upgrade               # update to latest\n```\n\n---\n\n## For teams\n\n[getorigin.io](https://getorigin.io) adds the team layer on top of the CLI:\nlive dashboard, per-user cost attribution, model and budget policies, PR\ncompliance checks, audit trails, and GitHub App / Slack integrations. Free for\nsolo developers, $29/user/month for teams.\n\n```bash\norigin login      # authenticate with your Origin instance\norigin init       # register the machine + install hooks\n```\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolobanko%2Forigin-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolobanko%2Forigin-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolobanko%2Forigin-cli/lists"}