hipp0-sdk
Official Python SDK for the Hipp0 multi-agent memory and decision platform.
Installation
pip install hipp0-sdk
Or for local development:
cd python-sdk
pip install -e ".[dev]"
Quick Start
from hipp0_sdk import Hipp0Client
client = Hipp0Client(base_url="http://localhost:3100", api_key="my-key")
# Create a project
project = client.create_project("My Project", "A demonstration project")
# Register an agent
agent = client.create_agent(
project_id=project["id"],
name="architect-agent",
role="architect",
capabilities=["design", "review"],
)
# Record a decision
decision = client.create_decision(
project_id=project["id"],
title="Use PostgreSQL",
description="All persistent data will be stored in PostgreSQL.",
reasoning="Team expertise and strong JSONB support.",
made_by="architect-agent",
tags=["database", "infrastructure"],
)
# Compile context for another agent
context = client.compile_context(
project_id=project["id"],
agent_name="coder-agent",
task_description="Implement user authentication service.",
max_tokens=4096,
)
print(context["compiled_text"])
# Send a conversation to the distillery
result = client.distill(
project_id=project["id"],
conversation_text="...<full chat log>...",
agent_name="coder-agent",
)
print(f"Extracted {len(result['decisions_created'])} decisions")
API Reference
See the inline docstrings in hipp0_sdk/client.py for the full API surface.
Metadata
Release files for hipp0-memory 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hipp0_memory-0.1.1.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hipp0_memory-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.7 kB
Release files / hipp0_memory-0.1.1.tar.gz
| Download URL | hipp0_memory-0.1.1.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e0e505f502ff38b80b95245a2615855e8c50fe291db4afec52a9c29d4d6a004
|
|
BLAKE2b-256 checksum How to use checksums |
5d24b114b9717c2900b9dc8428b1e154e6a7f346f3d19217fc471e5b8082038b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / hipp0_memory-0.1.1-py3-none-any.whl
| Download URL | hipp0_memory-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbd7fddc4025868f4d16c51427708ca26376c969c0580be80c022cb0845d06ac
|
|
BLAKE2b-256 checksum How to use checksums |
0322f929723d90f6819b64726a121a29eb5b0552f207d56b326fae9debbde010
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|