packages/hoppscotch-agent/README.md
The agent runs as a local system service on port 9119, acting as an intermediary between the Hoppscotch web application and target APIs. It establishes an encrypted communication channel authenticated via an OTP registration process.
The portable version runs without installation and does not include automatic updates.
[!Note] The portable version uses a separate configuration (
tauri.portable.conf.json) that disables bundling and updater functionality.
Once registered, all HTTP requests made through Hoppscotch are processed by the agent. The agent provides:
The agent (and Native) interceptor supports per-domain configuration overrides with a global default (*) domain:
*)api.example.com)For each domain, configure:
The agent supports client certificate authentication for APIs requiring mutual TLS:
Custom Certificate Authority certificates can be added per domain:
The agent supports HTTP/HTTPS proxy routing with authentication (including NTLM):
http://proxy.example.com:8080)The agent runs with system tray integration, providing access to:
The agent stores configuration in platform-specific locations:
%APPDATA%\io.hoppscotch.agent\~/Library/Application Support/io.hoppscotch.agent/~/.config/io.hoppscotch.agent/Logs are stored in platform-specific directories:
%LOCALAPPDATA%\io.hoppscotch.agent\logs\~/Library/Logs/io.hoppscotch.agent/~/.local/share/io.hoppscotch.agent/logs/The standard installation includes auto-start functionality. The portable version does not include auto-start and must be launched manually.
# Clone the repository
git clone https://github.com/hoppscotch/hoppscotch.git
cd hoppscotch/packages/hoppscotch-agent
# Install dependencies
pnpm install
# Start development server
pnpm tauri dev
# Build standard version
pnpm tauri build
# Build portable version
pnpm tauri build --config src-tauri/tauri.portable.conf.json
The built applications will be available in src-tauri/target/release/bundle/
Two build configurations are available:
tauri.conf.json): Includes installer, auto-updater, and auto-start functionalitytauri.portable.conf.json): Standalone executable without installation requirementsThe agent runs on port 9119 by default. Make sure this port is not blocked by firewalls.
9119Check agent logs for detailed error information:
%LOCALAPPDATA%\io.hoppscotch.agent\logs\~/Library/Logs/io.hoppscotch.agent/~/.local/share/io.hoppscotch.agent/logs/Look for connection errors, certificate validation failures, or proxy authentication issues in the log files.