Agent development kit for building self-tuning AI agents with HippoDb biological memory
pip install hippodb-agent-sdk==3.0.0 Copy PIP instructions
Python SDK for building AI agents backed by HippoDb.
This package is designed for developers who want to build custom agents with:
The full list is in docs/README.md. The documents ship inside the package: after pip install, run python -m hippodb_agent docs to find them, or python -m hippodb_agent docs --open to open the release notes.
A role defines what the agent is, which tools it can see, and how it should behave.
Tools are Python classes that inherit from BaseTool. They are how the agent interacts with external systems.
AgentRunner wires together the LLM, tools, HippoDb, configuration, and terminal runtime.
HippoDb acts as the persistent memory layer for concepts, rules, and conversation continuity.
pip install hippodb-agent-sdk For local development against a source checkout:
pip install -e . Configuration Configuration is loaded from:
Every setting is listed in section 17 of the technical reference.
LLM_API_KEY=your_key_here HIPPODB_URL=http://localhost:7700 MODEL=anthropic/claude-sonnet-4-20250514 Minimal Example Create a small agent with one custom tool.
from hippodb_agent import BaseTool class HelloTool(BaseTool): name = "demo_hello" description = "Return a hello message" input_schema = { "type": "object", "properties": {}, "required": [], } async def execute(self, inp: dict) -> dict: return {"message": "hello from HippoDb Agent SDK"} role.py from hippodb_agent import RoleConfig MY_ROLE = RoleConfig( name="demo_agent", display_name="Demo Agent", tool_scopes=["demo_"], fabric="demo_agent", system_prompt="You are a helpful demo agent.\n\n{manifest}", ) main.py from hippodb_agent import AgentRunner from role import MY_ROLE from tools import HelloTool runner = AgentRunner( role=MY_ROLE, business_tools=[HelloTool], ) if __name__ == "__main__": runner.start() Run it with:
python main.py Building a New Agent For a typical agent project, you usually create:
from hippodb_agent import ( AgentSettings, RoleConfig, AgentRunner, BaseTool, ApiClients, ) Typed errors, all importable from hippodb_agent: HippoDbError, HippoTimeoutError, FabricNotFoundError, EngineCapabilityRemovedError, EngineCapabilityMissingError, and LlmError with its subclasses (LlmRateLimitError, LlmOverloadedError, LlmConnectionError, LlmTimeoutError, LlmAuthError, LlmContextWindowError, LlmBadRequestError).
A host that builds the agent itself (instead of using AgentRunner) also uses from hippodb_agent.core.agent import BaseAgent, from hippodb_agent.memory.client import HippoClient, from hippodb_agent.tools.registry import ToolRegistry and from hippodb_agent.tools.discovery import ToolDiscovery; see the host-integration guide.
Installing this package does not start any worker or background service.
Runtime behavior begins only when your application starts an agent, typically through AgentRunner.start().
pip install -e .[dev] pytest License This SDK is distributed under the PolyForm Noncommercial License 1.0.0. In short:
For commercial licensing inquiries, contact darshana@behaviol.com.
This technology is created and owned by Behaviol Pvt Ltd, distributed under the product name Luthen (https://luthen.ai/).
Other/Proprietary License (# PolyForm Noncommercial License 1.0.0)
ai-agent agent-sdk llm memory hippodb tool-use
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




