An open API service indexing awesome lists of open source software.

https://github.com/mizcausevic-dev/knowledge-memory-workbench

Python memory engine for snapshot packets, context aging, retrieval scoring, and operator context recovery
https://github.com/mizcausevic-dev/knowledge-memory-workbench

context-engineering decision-engine memory-systems python

Last synced: 26 days ago
JSON representation

Python memory engine for snapshot packets, context aging, retrieval scoring, and operator context recovery

Awesome Lists containing this project

README

          

# Knowledge Memory Workbench

`knowledge-memory-workbench` is a Python memory engine for snapshot packets, context aging, retrieval scoring, and operator context recovery.

It is designed for the moment when teams know the relevant knowledge exists somewhere, but not which memory packet is fresh enough, trusted enough, and relevant enough to use without wasting time rebuilding context manually.

## Screenshots

### Hero
![Hero](./screenshots/01-hero.png)

### Memory Lanes
![Memory lanes](./screenshots/02-memory-lanes.png)

### Retrieval Engine
![Retrieval engine](./screenshots/03-retrieval-engine.png)

### Anatomy
![Anatomy](./screenshots/04-anatomy.png)

## Endpoints

- `GET /`
- `GET /docs`
- `GET /api/dashboard/summary`
- `GET /api/packets`
- `GET /api/packets/:id`
- `GET /api/sample`
- `POST /api/analyze/retrieval`

## Local Run

```powershell
cd knowledge-memory-workbench
py -3.11 -m app.main
```

If `4562` is occupied:

```powershell
$env:PORT = "4566"
py -3.11 -m app.main
```

Then open:

- [http://127.0.0.1:4562/](http://127.0.0.1:4562/)
- [http://127.0.0.1:4562/docs](http://127.0.0.1:4562/docs)

## Validation

```powershell
cd knowledge-memory-workbench
py -3.11 -m unittest discover -s tests
py -3.11 scripts\run_demo.py
py -3.11 scripts\smoke_check.py
py -3.11 -m pip install -r requirements-dev.txt
py -3.11 scripts\render_readme_assets.py
```

## Repo Layout

- [app/main.py](./app/main.py)
- [app/services/memory_engine.py](./app/services/memory_engine.py)
- [app/data/sample_memory_data.py](./app/data/sample_memory_data.py)
- [scripts/run_demo.py](./scripts/run_demo.py)
- [docs/architecture.md](./docs/architecture.md)

---

**Connect:** [LinkedIn](https://www.linkedin.com/in/mirzacausevic/) · [Kinetic Gain](https://kineticgain.com) · [Medium](https://medium.com/@mizcausevic/) · [Skills](https://mizcausevic.com/skills/)