Skip to main content

Local-first document workspace for grounded answers, citations, memory, and recall practice with any LLM

Project description

Heph

Heph

Heph is the agent brain the user talks to.

It owns the user-facing agent identity, research/talking orchestration, the command entrypoint, slash-command coordination, and the composition needed to connect the harness, AI runtime, interfaces, and extension contracts.

The validation layer is the harness.

Source Layout

src/
  heph/
    cli/       Console entrypoint and top-level command routing
    commands/  Slash-command registry and command coordinators
    sdk/       Programmatic runtime/session surface for native apps and automation
    product/   Temporary bridge for Heph self-knowledge context
    identity/  Stable agent identity target
    prompts/   Prompt-program target for Heph-facing behavior
    state/     Declarative state contract target

The product/ bridge exists for current self-knowledge routing. It should stay thin and should not become a second harness or a place for domain behavior.

Boundaries

Heph is protected as the brain and composition layer. Lower packages must not import it, and optional behavior should extend Heph through contracts or composition instead of modifying harness or AI internals:

  • Heph calls the harness for grounded answering, validation, citations, retrieval, memory, and armory workflows.
  • Heph calls AI for provider/model runtime.
  • Heph calls Interfaces for terminal and TUI presentation.
  • Heph calls Extensions for stable extension contracts.
  • Heph exposes SDK wrappers for non-terminal clients; those wrappers must stay UI-neutral and must not import interfaces.*.

Reusable validation behavior should move to the harness. Provider/API behavior should move to AI. Conversational strategy, research orchestration, and Heph-facing identity should stay here or move here as the migration continues.

Development

uv run pytest --no-cov packages/heph/test
uv run heph --help
uv run python -m scripts.check_repo_policies
uv run lint-imports

Related Docs

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

heph-0.0.56.tar.gz (530.1 kB view details)

Uploaded Source

Built Distribution

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

heph-0.0.56-py3-none-any.whl (651.5 kB view details)

Uploaded Python 3

File details

Details for the file heph-0.0.56.tar.gz.

File metadata

  • Download URL: heph-0.0.56.tar.gz
  • Upload date:
  • Size: 530.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for heph-0.0.56.tar.gz
Algorithm Hash digest
SHA256 58444b190e1f67f825d61561e8897f999a74285dce8422f7c70adea4a6c253d2
MD5 b4dfafcc809a2be221158c0866eaf025
BLAKE2b-256 fd4b3f666cc913c60561606f07007f8bee76b9ad6c50b1a70f0799c567183f09

See more details on using hashes here.

Provenance

The following attestation bundles were made for heph-0.0.56.tar.gz:

Publisher: release.yml on gildrb/heph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file heph-0.0.56-py3-none-any.whl.

File metadata

  • Download URL: heph-0.0.56-py3-none-any.whl
  • Upload date:
  • Size: 651.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for heph-0.0.56-py3-none-any.whl
Algorithm Hash digest
SHA256 c44edb57aaeef5a433f2fc6aebd1892d3afb8e34db7b4e6bbdf023422c1c06c7
MD5 90e0f08798566f81897bc1eb26bcaf06
BLAKE2b-256 da2650127f532387acbf381ef5f1f85c5898fc550a06c33d74ae18ca199d32d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for heph-0.0.56-py3-none-any.whl:

Publisher: release.yml on gildrb/heph

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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