Skip to main content

Intent CLI

Semantic Git for the vibe coding era

tests PyPI Python 3.9+ status: beta license: MIT

Website · Docs · IntHub · 简体中文

Monday's session records a checkpoint. On Tuesday a new session is told to resume through Intent and picks up the goal, the verified state, the rule and the next step.

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-history or uv tool install intent-history. Requires Python 3.9+. The PyPI package intent-cli is an unrelated tool.
  • Claude Code plugin: /plugin marketplace add dozybot001/Intent, then /plugin install intent-cli@intent.
  • From Intent 7: run itt migrate once 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, diff and 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.

IntHub's Flow page: goals as cards, with their parts, derivations and decisions

Docs

What stays on your machine

  • .intent/ holds plain JSON. itt init excludes 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 close call.
  • itt collects no telemetry or usage data.
  • itt touches the network only when you run push, pull, fetch, clone or auth, or status with 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.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for intent-history 8.2.11
File Size Uploaded Provenance Actions
intent_history-8.2.11.tar.gz 1.6 MB With provenance Details for intent_history-8.2.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for intent-history 8.2.11
File Interpreter ABI Platform Actions
intent_history-8.2.11-py3-none-any.whl Python 3 none any Details for intent_history-8.2.11-py3-none-any.whl

Total release size: 2.3 MB

Release files / intent_history-8.2.11.tar.gz

Download URL intent_history-8.2.11.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
e59126ce86e2e95f99a63724777fdee0142d93872c5410a1de7a7905c1dc457f
BLAKE2b-256 checksum
How to use checksums
05cb5d5dca9c97acc8b0e28c4f8c30dc8f6a0e195b1dba459d4326d979cfd5a4
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 log

Release files / intent_history-8.2.11-py3-none-any.whl

Download URL intent_history-8.2.11-py3-none-any.whl
Size 718.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f7a79f3273f941c8142d469d3ba66267bbda580480ea4d7b25672541e2cba4f
BLAKE2b-256 checksum
How to use checksums
f2bc56ee6c97ce6c964252068aa8c7563da69e1e6ed086febbdd74e402f62591
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 log

Security for intent-history 8.2.11

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.

Select from 2 files

Attestation for intent_history-8.2.11.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 log

A 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.

Release history Release notifications | RSS feed

This release

8.2.11 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page