Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

harnesschain

Harnesschain is a Rust library that helps you maintain LLM context chains.

It stores your LLM context as a tree onto a disk database, and helps you submit requests to OpenAI-compatible or OpenResponses-compatible servers.

Each context chain is a path from the root to a head node, and is append only. Chains allow forking by appending from a non-head node, or appending multiple blocks from the same node. This append-only design ensures perfect KV Cache efficiency.

Harnesschain is designed with no in-memory state, allowing your AI application to be stopped and resumed at any point.

Work in progress

This library is being developed. The APIs and database schema aren't finalized. The code quality can't be guaranteed.

Vibe coding declaration

This library is developed using large language models. Again, the code quality can't be guaranteed.

About

(WIP) Harnesschain is a Rust library that helps you maintain LLM context chains.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages