@agentvalet/register
v0.5.3
Published
Self-register AI agents with AgentValet
Downloads
6,318
Maintainers
Readme
@agentvalet/register
Register your AI agent with AgentValet in 30 seconds.
Usage
npx @agentvalet/registerNo installation required. Authenticate with GitHub, and your agent is registered automatically.
What it does
- Opens your browser to authenticate with GitHub
- Creates your AgentValet account (or finds your existing one)
- Registers this machine as an agent
- Writes config to
.agentvalet/in the current directory - Outputs the environment variables you need
Requirements
- Node.js 18+
- A GitHub account
- An internet connection
After registration
Approve your agent in the AgentValet dashboard to activate it: https://app.agentvalet.ai/agents
Commands
npx @agentvalet/register # Register a new agent (GitHub onboarding)
npx @agentvalet/register refresh # Refresh approved permissionsWhat gets written
.agentvalet/config.json— agent ID, proxy URL, registration timestamp.agentvalet/agent.key— private key (mode 0600, never shared)
.agentvalet/ is automatically added to your .gitignore.
Advanced: existing owner ID
If you already have an AgentValet owner ID, pass it directly:
AGENTVALET_OWNER=<your-owner-id> npx @agentvalet/registerGitHub OAuth App
The GitHub Device Flow uses AgentValet's OAuth App (client ID is public — the Device Flow does not use or expose the client secret). No secrets are stored on your machine.
