Skip to main content

Happenstance CLI — search your network with AI for sales, hiring, fundraising, and more

Project description

happenstance

Command-line interface for Happenstance — search your network with AI. Find warm intros for sales, source referral candidates for hiring, discover investors for fundraising, and research anyone in your network.

Install

# Homebrew (macOS / Linux)
brew tap happenstance-ai/tap
brew install happenstance

# pip
pip install happenstance

# pipx (recommended for CLI tools)
pipx install happenstance

# uv
uv tool install happenstance

Quick start

# Configure your API key (get one at https://happenstance.ai/settings/api)
hpn config set --api-key YOUR_API_KEY

# Search your network
hpn search "CISOs interested in AI in the SF Bay Area"

# Research a specific person
hpn research "https://www.linkedin.com/in/garrytan/"

# Check your credit balance
hpn usage

Commands

Command Description
hpn config set --api-key KEY Save your API key
hpn config show Show saved API key (masked)
hpn search "query" Search your network
hpn search get ID Get search results
hpn search find-more ID Find additional results
hpn research "description" Research a person
hpn research get ID Get research results
hpn friends List your friends
hpn groups List your groups
hpn groups get ID Get group details
hpn usage Show credit balance

Configuration

The API key can be provided in three ways (in priority order):

  1. --api-key flag on any command
  2. HPN_API_KEY environment variable
  3. Config file at ~/.hpn/config.json (set via hpn config set)

All output is JSON and can be piped to jq for processing.

Documentation

Full API docs: https://developer.happenstance.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

happenstance-0.2.0.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

happenstance-0.2.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file happenstance-0.2.0.tar.gz.

File metadata

  • Download URL: happenstance-0.2.0.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for happenstance-0.2.0.tar.gz
Algorithm Hash digest
SHA256 deafa580f4fc041f4ae3c1b661a14cd8b2dc55d836fc52382d13000f8f77b357
MD5 df375e8e48d4c2af989cc28918364896
BLAKE2b-256 5354b1370bb422b778842a67b6e03dac997b1ef000e2a3f0df295755c50f4dea

See more details on using hashes here.

Provenance

The following attestation bundles were made for happenstance-0.2.0.tar.gz:

Publisher: publish-hpn-cli.yml on happenstance-ai/happenstance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file happenstance-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: happenstance-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for happenstance-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27b96caf0058c4bcb387e1b735896d185dd3fc748cb66e4ee5f664b461335201
MD5 25a22281e9ddcda2c514e316c6bb3257
BLAKE2b-256 ab899c758eaee92a953b107fde4b5b178364fc27af3eeea9a540e8a4451a6a85

See more details on using hashes here.

Provenance

The following attestation bundles were made for happenstance-0.2.0-py3-none-any.whl:

Publisher: publish-hpn-cli.yml on happenstance-ai/happenstance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page