Intent CLI
Semantic Git for the vibe coding era
Website · Docs · IntHub · 简体中文
Your coding agent forgets where you left off. Intent keeps the goal, the latest verified checkpoint and the standing decisions in your project, so the next session continues the work instead of rediscovering it. Git records how code changed; Intent records why, what is verified and what comes next. You can browse Intent's own history on IntHub without signing in.
Quick start
# 1. Install the CLI (macOS / Linux). Re-run any time to upgrade.
curl -fsSL https://raw.githubusercontent.com/dozybot001/Intent/main/scripts/install.sh | bash
# 2. Add the agent skill (needs Node.js; -a cursor and others also work)
npx skills add dozybot001/Intent -g -a claude-code -a codex -y
# 3. Turn it on in a project (Git is optional)
cd your-project
itt init
Trust the project hooks once: in Claude Code, trust the folder and confirm both hooks in /hooks; in Codex, open /hooks. Then work as usual. To pick up later, in any session, say:
Resume this project through Intent.
- Windows (PowerShell):
irm https://raw.githubusercontent.com/dozybot001/Intent/main/scripts/install.ps1 | iex. Claude Code hooks need Git Bash. - pipx or uv:
pipx install intent-historyoruv tool install intent-history. Requires Python 3.9+. The PyPI packageintent-cliis an unrelated tool. - Claude Code plugin:
/plugin marketplace add dozybot001/Intent, then/plugin install intent-cli@intent. - From Intent 7: run
itt migrateonce in each project. It keeps every ID and backs up first.
Try it by hand
itt init
itt intent create "Add Apple Pay to the web checkout" --why "Apple Pay users convert 2x on mobile Safari"
itt snap create "Payment sheet confirms PaymentIntents in test mode" \
--next "Handle shipping-method changes server-side" --blocker none
itt decision create "Payments go through the PaymentIntent API only" --why "One SCA path"
itt inspect
Active
intent-3f9a2c1 Add Apple Pay to the web checkout
Next Handle shipping-method changes server-side
Blocker none
Verified Payment sheet confirms PaymentIntents in test mode
snap-8e41d07 · 2026-10-30 00:25 · 1 snap
Decisions
decision-c27b5fa Payments go through the PaymentIntent API only
This is what a new session reads. In a terminal itt prints text; agents and scripts get JSON.
Features
- Light recording. The agent saves a checkpoint only when something meaningful is verified; a quiet turn writes nothing.
- Complete resumption. One command gives a new session the goal, what is verified, the boundary, the next step and the rules that still apply.
- Three append-only objects. An Intent is a goal, a Snap a verified checkpoint, a Decision a rule that binds future goals.
- History that works like Git. Every write is a revision, with branches,
log --graph,diffand merges that stop only on a real disagreement. - Parallel agents, one history. Agents in separate Git worktrees each record on their own branch, and new IDs never collide.
- Hooks for Claude Code and Codex. Each turn opens with the current state and is checked for closure at the end; Cursor and other agents follow the Skill.
- Optional IntHub. Browse, share and restore the history on your machine or at inthub.tenonai.cn, with private, team and public projects.
- Stable within a major version. The
.intent/format and the JSON output change only with a new major version and a migration.
IntHub
IntHub is a cloud platform for Intent hosting and collaborative development. You don't need it to use itt. Run it on your machine with itt hub start, or sign in to inthub.tenonai.cn with itt auth login and send history with itt push. Its Flow page draws how goals branch, continue and converge.
Docs
- Vision: why semantic history matters, and what AGENTS.md, agent memory and Git leave out
- Continuation case: from interruption to resumption, step by step
- CLI reference: commands, objects, the JSON contract and uninstalling
- Intent flow: relations between Intents and the Flow page
- Semantic Git: how revisions, branches and merges work
- IntHub guide: getting started, accounts, teams and sharing
- Claude Code hooks and Codex hooks: setup and limits
- Release notes: what changed in each version
What stays on your machine
.intent/holds plain JSON.itt initexcludes it from Git in this clone only, because it may contain internal reasoning. Commit it deliberately if your team wants it in Git.- Each hooked turn adds a compact opening context with a hard size cap, and one
itt maintenance closecall. ittcollects no telemetry or usage data.itttouches the network only when you runpush,pull,fetch,cloneorauth, orstatuswith a remote set. The hosted IntHub follows its privacy notice.
Contributing
Bug reports, feature requests and pull requests are welcome in English or Chinese: see CONTRIBUTING.md and the Code of Conduct.
Security
Report security problems privately, as SECURITY.md describes.
License
MIT. Copyright (c) 2026 Tenon Artificial Intelligence Technology Co., Ltd. (长沙榫卯人工智能科技有限公司)
Publisher Tenon AI · tenonai.cn
Metadata
Release files for intent-history 8.2.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| intent_history-8.2.12.tar.gz | 1.6 MB | With provenance | Details for intent_history-8.2.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| intent_history-8.2.12-py3-none-any.whl | Python 3 | none | any | Details for intent_history-8.2.12-py3-none-any.whl |
Total release size: 2.3 MB
Release files / intent_history-8.2.12.tar.gz
| Download URL | intent_history-8.2.12.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e016a75f957a4d72ed78b3deaf9dbf24b29d424699b6227e99aa9dbdea70addc
|
|
BLAKE2b-256 checksum How to use checksums |
61f693fadbb6c8c0efab325a284bede9deb505ed4320544c5f6081d6acf1f85b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / intent_history-8.2.12-py3-none-any.whl
| Download URL | intent_history-8.2.12-py3-none-any.whl |
|---|---|
| Size | 718.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e81014293481d70ca71ede8f70e5094aff56a3a951679a617aefb864689d9f58
|
|
BLAKE2b-256 checksum How to use checksums |
eb08e39281485a0b58f6156d40fdf76727bdcaa19328bb38e4f8e747ace12ec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for intent-history 8.2.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for intent_history-8.2.12.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.