Skip to content

@codesoul-co/hypha-inference API

Provider-neutral inference requests, routing, control and streaming.

  • Install: npm install @codesoul-co/hypha-inference@1.0.1
  • Entrypoint import: import { ... } from '@codesoul-co/hypha-inference';
  • Public exports: 151
  • Source modules: 15

Export overview

KindCount
class24
constant8
function15
interface81
type23

Source modules

ModuleUse whenExportsSource
agent-promptsUse the Agent prompts module for using the public contracts and operations for this capability boundary. It exports 1 class, 3 constants, 2 functions, 8 interfaces, 2 types.16source
backendsUse the Backends module for using the public contracts and operations for this capability boundary. It exports 7 classes, 1 function, 3 interfaces.11source
cacheUse the Cache module for reading, writing, or coordinating cache state. It exports 2 classes, 4 functions, 3 interfaces, 1 type.10source
driversUse the Drivers module for using the public contracts and operations for this capability boundary. It exports 3 classes, 7 interfaces, 4 types.14source
managerUse the Manager module for using the public contracts and operations for this capability boundary. It exports 4 classes, 2 interfaces.6source
pipelineUse the Pipeline module for using the public contracts and operations for this capability boundary. It exports 1 class, 1 interface.2source
plasmodUse the Plasmod module for using the public contracts and operations for this capability boundary. It exports 1 class, 1 interface.2source
prefixUse the Prefix module for using the public contracts and operations for this capability boundary. It exports 1 class, 1 function.2source
promptUse the Prompt module for using the public contracts and operations for this capability boundary. It exports 1 class, 3 functions.4source
prompt-profileUse the Prompt profile module for using the public contracts and operations for this capability boundary. It exports 1 class, 3 constants, 9 interfaces, 2 types.15source
reasoningUse the Reasoning module for using the public contracts and operations for this capability boundary. It exports 1 class, 6 interfaces, 6 types.13source
reasoning-registryUse the Reasoning registry module for registering and resolving versioned capabilities or implementations. It exports 1 class, 5 interfaces.6source
reasoning-sourcesUse the Reasoning sources module for using the public contracts and operations for this capability boundary. It exports 2 constants, 1 function.3source
recoveryUse the Recovery module for handling bounded recovery, retry, or degradation. It exports 3 functions, 2 interfaces, 1 type.6source
typesUse the Types module for declaring and runtime-validating contracts. It exports 34 interfaces, 7 types.41source

Import boundary

This page documents only the public API exported by the @codesoul-co/hypha-inference package entrypoint. Implementations under packages/inference/src that are not exported from that entrypoint are not part of the npm package contract.