Official Python SDK for the Hipp0 multi-agent memory and decision platform.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hipp0_memory-0.1.1.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hipp0_memory-0.1.1.tar.gz.
File metadata
- Download URL: hipp0_memory-0.1.1.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e0e505f502ff38b80b95245a2615855e8c50fe291db4afec52a9c29d4d6a004
|
|
| MD5 |
ae1de5c461134959ad7bad45b420b4f8
|
|
| BLAKE2b-256 |
5d24b114b9717c2900b9dc8428b1e154e6a7f346f3d19217fc471e5b8082038b
|
File details
Details for the file hipp0_memory-0.1.1-py3-none-any.whl.
File metadata
- Download URL: hipp0_memory-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbd7fddc4025868f4d16c51427708ca26376c969c0580be80c022cb0845d06ac
|
|
| MD5 |
db80e5a1f863c6bd3df9e3ae455406ed
|
|
| BLAKE2b-256 |
0322f929723d90f6819b64726a121a29eb5b0552f207d56b326fae9debbde010
|