Skip to main content

UNIHODL Agent Handoff SDK — pass human session context to AI agents (Claude, Gemini, OpenAI, LangGraph). Decision-continuity protocol.

Project description

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

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

unihodl_agent-0.2.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

unihodl_agent-0.2.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unihodl_agent-0.2.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for unihodl_agent-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0d05b7c6397bffb5afd4c78ecff724a12e5e0457a23862e37cb8a392ca270f3b
MD5 840259e385c8cc9456ee2c560ae85e07
BLAKE2b-256 b16a1840ec2eb394db1593c1ece8a67ef9b05de83fe9197afc0203dbd0a17fc5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unihodl_agent-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for unihodl_agent-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 effb249803eac43e8bf117a17c367eb949ec7dd7eb4017d5c77515abf17eb9f6
MD5 82ce20380a49f1e61581494aef48cb61
BLAKE2b-256 56020bc4eb735a0fd858160a5846b8191d789fa0c492ac9f47733ca2f1a982ce

See more details on using hashes here.

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