Metadata-Version: 2.4
Name: agentvisa-gateway
Version: 0.2.1
Summary: AgentVisa credential presentation gateway
Author: AgentVisa
License: MIT
Project-URL: Homepage, https://pypi.org/project/agentvisa-gateway/
Project-URL: Documentation, https://github.com/danielabrahamx/agentvisa-new
Keywords: agentvisa,delegation,pairing
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Security
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: python-dotenv>=1.0

# agentvisa-gateway

CLI for an agent host: pair with an AgentVisa-integrating platform, present a
scoped visa, and call granted routes.

```bash
pip install agentvisa-gateway
```

Pairing and act need Node on PATH. On the same Windows PC as AgentVisa
Companion, `AGENTVISA_SIGNER_PATH` is optional (the CLI is bundled in the
companion install). A remote agent host must set `AGENTVISA_SIGNER_PATH` to
a built `agentvisa-core` `dist/cli.js`. The gateway does not reimplement
crypto.

```bash
agentvisa-gateway pair start
agentvisa-gateway request GET /api/tickets
```

AgentHub aliases: `tickets list`, `tickets create`, `billing invoice`.

Config (`~/.agentvisa/config`, cwd `.env`, then real env):

- Before pairing: `AGENTHUB_BASE_URL` or `AGENTVISA_PLATFORM_URL`.
  `AGENTVISA_SIGNER_PATH` is optional on the companion PC.
- After pairing: also `AGENTVISA_DELEGATION_URL`, `AGENTVISA_SESSION_KEY`

Source lives in the `gateway/` directory of
[agentvisa-new](https://github.com/danielabrahamx/agentvisa-new).
