Skip to main content

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


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)

Uploaded Source

Built Distribution

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

hipp0_memory-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

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

Hashes for hipp0_memory-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8e2d237c726fd30f9298d61fcd0865c10091090481921982d7a6455b39889c0b
MD5 cb04cd6bc7c5916aba9d62f7db97b268
BLAKE2b-256 caa7ad9b481b959dbca2f02bcb7e60d05a2399c052d90d2ca4e8c27c5daa5ddd

See more details on using hashes here.

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

Hashes for hipp0_memory-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6648d4c64924eebea41ae6e93267f97a101d25c01f327eae89864ef3f45af242
MD5 abef5bcafbe4f0c1c9b6adbb22343076
BLAKE2b-256 677a8c11dbb7da37e241a6f3a4e8c8687d2742c44d17df63620db5f8ac4f89c9

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