Use Agentknock
Your computer runs the tools; your phone holds the credentials and decides when they can be used. These guides follow a complete task across both, from the command you enter to the phone’s decision and the result in your terminal.
If you are starting fresh, pair a computer and run your first command with credentials. If you already have credentials in a file or environment, use the import workflow to put them on the phone first.
-
Pair a computer: connect a laptop or build machine, compare the verification code, and confirm that it is ready to request secrets.
-
Run a command with credentials: create a database secret on the phone, approve a connection check, and see the result from
psql. -
Import credentials from a computer: send an existing dotenv file, review what arrived, and test the accepted secret. The SSH guide covers importing an existing key.
-
Choose how to pass credentials: deliver only the values a command needs, use the variable names its tool expects, or supply a password on standard input.
-
Connect over SSH: register a public key and approve a server authentication while the private key stays on the phone.
-
Sign commits and tags: inspect what Git wants to sign, approve the signature, and check the resulting commit.
-
Give an agent temporary access: approve a period of repeated work, let the agent run individual commands, and end access when the task is finished.
-
Let AI review routine requests: write instructions for a staging workflow, enable review for the intended client, and handle requests that need your decision.
-
Set access for each computer: give computers different approval rules, test those rules, and suspend or revoke a client when its work ends.
-
Replace a password or key: update what the phone stores, test a fresh command, and retire the old credential at its service.
-
Investigate a secret’s use: follow a command through request history and audit events to understand what was requested, allowed, and delivered.
Using the examples
Section titled “Using the examples”The guides assume you have installed the CLI and set up the Android app. Each task names any additional tools or access it requires.
Terminal output is illustrative. App screenshots show example data, so their names may differ from the command alongside them. Use your own pairing address, secret names, service addresses, and accounts when following a guide.
For every command option or screen control, use the CLI reference and Android reference.