Harness SDK
The Harness SDK (exemplar-harness-sdk) is the Python surface for integrating agent frameworks and custom runtimes with Exemplar Harness—session ingest, long-term memory, skills, and prompts.
Use the SDK when you embed Harness in application code or orchestrators. Prefer the CLI (exemplar-cli) for terminal workflows.
Topics
Package: exemplar-harness-sdk on PyPI. Source and live demos: github.com/Exemplar-Dev/exemplar-harness-sdk . Tokens: Account Settings.
Quick example
from exemplar_harness import Harness
harness = Harness.from_env()
memory = harness.memory(user_id="user-123", session_id="chat-abc", app_id="my-app")
memory.add("User prefers bullet-point answers.", memory_type="preference")
context = memory.recall("how should I format answers?") # inject into system promptRelated
- Getting started — connect → compose → govern → operate
- CLI — same skills, prompts, and memory from the terminal
- Prompt management · Skill management · Memory
Last updated on