Getting started
Install the plugin, connect GitHub, allow an owner. Agents can read right away; you enable writes when you want them.
- Paseo 0.16.2 or later (the plugin declares
>=0.16.2). - Plugins enabled on the daemon: Settings → Plugins → Enable plugins, or
pluginsEnabled: truein the daemon'sconfig.json. - For the
ghsource: the GitHub CLI installed and logged in on the daemon machine. For the App source: a GitHub App installed on each account or organization you want to reach.
gh when you choose that source, and stores the App private key there.1. Install the plugin
paseo plugin install github:lerenn/paseo-github-proxy
Check that paseo plugin ls shows paseo-github-proxy as running, then open GitHub Proxy in the sidebar (or Command Center → "Open GitHub Proxy"). Sessions already open pick up the tools when they next reopen.
2. Choose a credential source
Open the Auth tab and pick one active source.
Local gh CLI
gh auth login
Run it on the machine where the Paseo daemon runs, then press Check gh. The plugin reads the token with gh auth token and keeps it for five minutes. It stores nothing.
GitHub Apps
A GitHub App is installed by one account, so one App cannot serve both an organization and a user: add one App per owner. Create each GitHub App with the permissions you need (for the PR workflow: Contents, Pull requests, Issues and Checks, plus Metadata read; write only where you want writes) and install it. Then press Add a GitHub App and enter:
| Field | Where to find it |
|---|---|
| Organization or user | The GitHub account the App is installed on, for example acme. It is served by this App automatically and is the App's name in Overview and Activity. |
| App ID | The App's settings page. |
| Installation ID | The number at the end of the installation URL, /settings/installations/<id>. |
| Private key | Generate one on the App's settings page and paste the PEM. |
| Also serves | Optional: other users or organizations covered by the same installation. An owner belongs to one App only. |
| Default App | Catch-all for owners no App claims, and calls that name no owner. Turning it on for one App turns it off for the others. |
secrets.json (mode 0600) in the plugin's data directory on the daemon machine, never written to the config, never logged, and never sent back to the app: the page only shows a fingerprint. Paseo has no secret vault for plugins, so keep the daemon's home private.Each call uses the App that serves its owner, with its own installation token, rate limit and cache entries. If an owner has no App and there is no default, the agent is told which owner is unserved. A single App saved by an earlier version becomes the default App on first start; an App saved with a label that is a valid account name and no owners uses it as its organization. Press Test connection on each App. Optionally turn on Fall back to the other source on rate limit: when the active source is exhausted, calls use the other one until its limit resets.
3. Allow owners
In Auth → Allowed owners, open the dropdown and check the GitHub users and organizations agents may act on. The list comes from the active source; type a name to add one that is not listed. The default * allows every owner; replace it to restrict agents. If you clear the list, every call is refused.
4. Set the policy
The Policy tab starts on Read-only. Pick a preset, adjust the default permissions in one checklist dropdown, and add rules. A rule picks its repositories (listed from the allowed owners, or typed as a pattern such as acme/*) and its actions from checkable dropdowns:
Preset: PR workflow
Rule 1 deny acme/prod merge, delete_branch, force_push "humans merge prod"
Rule 2 allow lerenn/* merge
Use Test this call to see what the policy says about a REST path or GraphQL query without sending anything.
5. Try it
Ask any agent to list the open pull requests of a repository. In the Activity tab you will see the call as Allowed; ask again within 30 seconds and it shows as Cached. Ask it to merge one under Read-only and it shows as Denied with the reason the agent received.
Optional: steer agents away from gh and curl
In Policy → Behaviour, turn on Forbid direct use of gh, curl and raw GitHub. An instruction is added to every agent's system prompt and to each tool description telling it to use the github_* tools. It is a soft rule, not a sandbox, and wins over a project file that allows gh, unless you ask for gh. On Paseo 0.16 it reaches agents created after you turn it on; from 0.17 also any session opened afterwards.
Optional: block gh and curl commands
In Policy → Behaviour, turn on Block gh/curl commands (hard). When an agent asks permission to run a shell command that runs gh, or curl or wget against GitHub, the plugin denies it and tells the agent to use the github_* tools. It only sees commands the agent asks permission for (an agent in a bypass mode never asks), and it matches command text, so a script file or a command built at run time gets through. For a real block, add network rules on the daemon machine. Denials show in the Activity tab.