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.57.tar.gz (531.3 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.57-py3-none-any.whl (653.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heph-0.0.57.tar.gz
  • Upload date:
  • Size: 531.3 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.57.tar.gz
Algorithm Hash digest
SHA256 402a22cc0a1d5bebce477c0239215cf831514b05a1cbe13cc2600ff5ba79697d
MD5 b29cbd43166baf73331f4bbcc56ec7a2
BLAKE2b-256 e5cb792b5a5a059a3a1fc970007ff8eb9875e9086280f1127e1232ca752b9485

See more details on using hashes here.

Provenance

The following attestation bundles were made for heph-0.0.57.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.57-py3-none-any.whl.

File metadata

  • Download URL: heph-0.0.57-py3-none-any.whl
  • Upload date:
  • Size: 653.3 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.57-py3-none-any.whl
Algorithm Hash digest
SHA256 b85a6d64590a9ec29009867b171d97c1c1d156d91591ddd7372854dbbaa27183
MD5 3759d41262c96270bbbd4fb84b2562f8
BLAKE2b-256 4aa93787470309da992802aff5508df2e113b34391f369fbbd3d1bf8d9ec32b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for heph-0.0.57-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