Next: gpgparsemail, Previous: gpg-preset-passphrase, Up: Helper Tools

### 7.8 Communicate with a running agent.

The `gpg-connect-agent` is a utility to communicate with a running `gpg-agent`. It is useful to check out the commands gpg-agent provides using the Assuan interface. It might also be useful for scripting simple applications. Input is expected at stdin and out put gets printed to stdout.

It is very similar to running `gpg-agent` in server mode; but here we connect to a running instance.