For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hybrid Hivel Agent Quick Guide (TL;DR)

hivel-agent is a single static binary you run on your own infrastructure so your Jira/GitHub/GitLab/Bitbucket/Azure DevOps credentials never leave your network. Only compressed metadata is uploaded to Hivel. No Docker or other runtime needed. It runs once, does a sync, and exits; you schedule repeats yourself via cron/systemd (Step 9). Every connection is outbound HTTPS to Hivel and whichever tools you configure. What leaves your network: issue/PR/commit metadata and commit/PR message and comment text by default. What never leaves: source code, diffs, attachments, and your tool credentials.

Prerequisites

Step 1: Install the Binary

Linux / macOS / Windows (Git Bash or WSL):

curl -fsSL https://getagent.hivel.ai/get-agent.sh | bash

Or inspect first:

curl -fsSL https://getagent.hivel.ai/get-agent.sh -o get-agent.sh
bash get-agent.sh

For a specific version: bash get-agent.sh v1.0.0

Confirm it works:

./hivel-agent version

Windows (native PowerShell):

macOS: if you see "could not verify," run xattr -d com.apple.quarantine hivel-agent.

Step 2: Create Your Hivel API Token

In the Hivel dashboard:

  1. Go to Settings > Integrations, scroll to "Hivel Agent"

  2. Click Generate Key

  3. Copy the token for your .env file in Step 3

Step 3: Create Credentials File

On the agent host, create .env (never commit this file):

Jira Server/Data Center with PAT: omit JIRA_EMAIL, set only JIRA_TOKEN. With basic auth: use JIRA_USERNAME + JIRA_PASSWORD instead.

Only fill in blocks for tools you're integrating; delete or ignore the rest.

Step 4: Create config.yml

On the agent host:

Add more blocks for other tools you're integrating, each is a list, so you can combine multiple instances of the same tool. Minimal per-tool blocks:

Azure DevOps Server (on-prem): add is_server: true and point url at the full collection URL:

Tracking Claude Code usage:

Add only the blocks you need. Multiple providers sync in parallel. Give each instance a distinct instance_slug if configuring multiple instances of the same tool (e.g., jira-1/jira-2).

Alternatively, omit token from any provider block and the agent fetches it from Hivel using your HIVEL_API_TOKEN instead.

Step 5: Validate Connectivity

On the agent host:

To validate one provider only:

(Same pattern for github, gitlab, bitbucket, azure, claudeotel.)

Fix any reported errors before continuing.

Step 6: Discover Jira Custom Fields (Jira Only)

Skip if not syncing Jira.

For multiple Jira instances, add --instance <slug>. Find field IDs for Hivel semantic types in the output's hivel_suggestion column: STORY_POINTS, SPRINT, PRODUCT, ALLOCATION, EPIC.

Step 7: Add Jira Custom Fields to Config (Jira Only)

Skip if not syncing Jira. Using field IDs from Step 6, add them to your jira: block:

Validate the config:

Step 8: Run First Sync

On the agent host:

A TUI dashboard launches automatically in interactive terminals. To disable: add --no-progress instead of --verbose. To sync one provider only: add --provider github.

Step 9: Set Up Scheduling

hivel-agent has no built-in scheduler. Use cron or systemd timer for recurring syncs.

Each run pulls only incremental changes; daily is sufficient.

If using the optional work-metrics classification job (Bitbucket/Azure DevOps/GitHub/GitLab only):

Default --time-budget is 50 minutes, designed to finish before the next hourly run starts.

Check whether a scheduled run happened:

Step 10: Verify What Was Sent

Inspect the literal payload before trusting the agent:

What never leaves your network: source code, file contents, diffs, attachments, and tool credentials.

What does leave by default: issue/PR/commit metadata and commit/PR message and comment text (unless you enable strip_text_content).


For ongoing operations and detailed per-platform config options, see the full guide.


Last updated