Skip to content
Asqu Install

Asqu commands

Most days need four: asqu log to see what happened, asqu undo and asqu back to go back, and asqu open for the view in your browser. Saving happens by itself.

For Asqu v0.1.0. asqu help shows the list for the version you have.

Jump to seego backsaveTriesbackupschecksfor AI toolsupkeep

How do I see what changed?

asqu log
Shows the Timeline, newest first: each change, the request behind it, and who or which AI made it. asqu log -n 5 shows the last five.
asqu show <number>
Shows one change in detail, with its files. Example: asqu show 12.
asqu status
Shows what has changed since the last save.
asqu summary
A one-line summary of today in plain English. asqu summary --days 7 covers the past week.
asqu open
Opens the Asqu view in your browser: the Timeline, Undo, Tries and backups, for every project. While it is open, changes in the folder are saved by themselves.

How do I go back?

asqu undo
Goes back one change. asqu undo 3 goes back three. asqu undo --dry-run shows what would change without doing it. An undo is saved as a new change, so it can be undone.
asqu back <words>
Goes back to a point you describe: asqu back Tuesday, asqu back 2 hours ago, asqu back #3, asqu back before the signup change. Takes --dry-run too.
asqu mark <name>
Names the current point as a milestone, so you can return to it by name. Example: asqu mark "v1 launched", then later asqu back v1 launched.

How does saving work?

You rarely need these by hand. They are what Asqu and your AI tool run for you.

asqu watch
Keeps running and saves whenever files change.
asqu save
Saves everything that changed as one Timeline entry. Add the reason with -w: asqu save -w "Start the shop website".
asqu intent <request>
Records your request before files change, so the next save is labelled with it. AI tools run this for you after asqu setup.
asqu run -- <program>
Runs any program, such as an AI tool or a script, and records what it changes under its name.

How do I try an idea safely?

A Try is a separate copy of the project. Your real files are not touched until you keep one.

asqu try start <name>
Starts a Try and prints its folder. Start several at once, one for each AI: asqu try start fast-a fast-b --why "Make signup faster".
asqu try list
Lists your Tries and how many files each has changed.
asqu try compare
Runs your project's check on each open Try and suggests the best, with a reason. You still choose.
asqu try keep <name>
Combines a Try into the main project, after its check and the risk rule. A high-risk change waits for a person to add --yes. If both sides changed the same file, pick a version per file with --take try:<file> or --take main:<file>.
asqu try toss <name>
Throws a Try away. asqu try reopen <name> brings it back for 7 days.

How do I back up and restore?

asqu backup
Backs up now to every linked place. This also happens by itself.
asqu restore <place>
Brings a project back from a backup, for example on a new computer.

How do I prove my tests passed?

A check is the command that tests your project. You set it once in the project's asqu.toml file.

asqu check
Runs the project's check now. If it passes, Asqu signs a receipt for these exact files.
asqu receipt
Prints the signed receipt for the files as they are now.
asqu release <version>
Runs the project's release step, but only on files that passed the check. Only a person can release. --dry-run shows what would happen.
asqu verify
Checks that the history has not been altered or damaged. With --receipt, it checks that the files here are exactly the ones a receipt vouches for.

Which commands do AI tools use?

Asqu treats every AI the same way. These are for the tools, and for anyone connecting their own.

asqu setup
Adds a short note to AGENTS.md, the instruction file most AI tools read, so any AI records your requests. It asks first.
asqu tools
Prints Asqu's actions as tool definitions any AI model can use.
asqu call <tool>
Runs one tool call and prints the result as JSON, a format programs read. Example: asqu call asqu_undo '{"steps": 2}'.
asqu serve
Starts a local web API, a way for other programs on this computer to use Asqu. Nothing outside the computer can reach it.
asqu event
For an AI tool's hook settings: records a request, an edit, or the end of a turn.

How do I keep Asqu itself in order?

asqu update
Updates Asqu to the newest version. It also updates itself, at most once a day.
asqu tidy
Keeps the history small: removes tossed Tries after 7 days and compresses old versions. It never removes a Timeline entry, and runs by itself once a day. asqu tidy --dry-run shows what it would do.
asqu license
Shows Asqu's licence: Fair Source (FSL-1.1-ALv2).