Skip to main content

unihodl-agent

The Python SDK for the UNIHODL Agent Handoff SDK — the decision-continuity protocol for human-to-agent and agent-to-agent work transfer.

Pass a UNIHODL resume token to any AI agent. The agent receives the human's open tabs, scroll positions, video timestamps, AI-tagged decision thread, partial conclusions, and intended next step — not just a list of links.

Spec: https://unihodl.app/sdk/spec Roadmap & open gaps: https://unihodl.app/sdk/roadmap

Install

pip install unihodl-agent

Quickstart

import os
from unihodl_agent import Client
from anthropic import Anthropic

uh = Client(api_key=os.environ["UNIHODL_API_KEY"])
claude = Anthropic()

# Hydrate the session into a structured Resume Context.
ctx = uh.sessions.hydrate("ses_8f3aZ91b")

resp = claude.messages.create(
    model="claude-sonnet-4-7",
    max_tokens=2048,
    system=ctx.as_system_prompt(),
    messages=[{"role": "user", "content": "Continue Sarah's research."}],
)

Status

This is v0.1.0 — public preview matching spec v1.0. Known gaps are tracked publicly at https://unihodl.app/sdk/roadmap.

License

MIT

Metadata

Release files for unihodl-agent 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unihodl-agent 0.2.0
File Size Uploaded
unihodl_agent-0.2.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unihodl-agent 0.2.0
File Interpreter ABI Platform
unihodl_agent-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / unihodl_agent-0.2.0.tar.gz

Download URL unihodl_agent-0.2.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0d05b7c6397bffb5afd4c78ecff724a12e5e0457a23862e37cb8a392ca270f3b
BLAKE2b-256 checksum
How to use checksums
b16a1840ec2eb394db1593c1ece8a67ef9b05de83fe9197afc0203dbd0a17fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / unihodl_agent-0.2.0-py3-none-any.whl

Download URL unihodl_agent-0.2.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
effb249803eac43e8bf117a17c367eb949ec7dd7eb4017d5c77515abf17eb9f6
BLAKE2b-256 checksum
How to use checksums
56020bc4eb735a0fd858160a5846b8191d789fa0c492ac9f47733ca2f1a982ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page