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.0.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.0.tar.gz.
File metadata
- Download URL: hipp0_memory-0.1.0.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 |
8e2d237c726fd30f9298d61fcd0865c10091090481921982d7a6455b39889c0b
|
|
| MD5 |
cb04cd6bc7c5916aba9d62f7db97b268
|
|
| BLAKE2b-256 |
caa7ad9b481b959dbca2f02bcb7e60d05a2399c052d90d2ca4e8c27c5daa5ddd
|
File details
Details for the file hipp0_memory-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hipp0_memory-0.1.0-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 |
6648d4c64924eebea41ae6e93267f97a101d25c01f327eae89864ef3f45af242
|
|
| MD5 |
abef5bcafbe4f0c1c9b6adbb22343076
|
|
| BLAKE2b-256 |
677a8c11dbb7da37e241a6f3a4e8c8687d2742c44d17df63620db5f8ac4f89c9
|