# canwhite/Krebs

An agent focused on attention management

Repository: https://github.com/canwhite/Krebs
Canonical: https://ross.abutalabs.com/products/krebs
Language: JavaScript
License Family: other
Last push: 2026-08-25T12:41:01+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 15
- inputs: {"age_days": 211, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1104, forks 3 (observed 2026-08-28T04:03:36.209012+00:00)

## What it is
Krebs is a self-hosted AI gateway with a general-purpose agent focused on attention management. It provides multi-turn dialogue with tool execution, layered context compression, memory consolidation, session history RAG, and a browser chat UI with HTTP/WebSocket APIs.

## Use cases
- self-host an AI agent gateway with a chat UI
- compress long conversations to stay within token limits
- give an LLM agent tools via Lua scripts
- retrieve relevant past sessions with BM25 RAG
- run agent write commands in a WASM sandbox
- switch between DeepSeek and Claude via env var
- schedule recurring autonomous sub-agent tasks
- integrate an AI agent into CI/CD via a single HTTP endpoint

## When to choose
- you want a self-hosted agent with built-in context compression and memory
- you need persistent, resumable AI sessions with an HTTP/WebSocket API
- you want extensible agent tooling via Lua files and a WASM write sandbox

## When to avoid
- you need a managed cloud agent service
- you require a permissively licensed dependency (no license file is present)
- you only need a simple chatbot without memory, RAG, or tooling

## Facets
- artifact type: service
- maturity: active
- function: agent-framework, rag, llm-inference, chatbot, http-server, websocket
- domain: artificial-intelligence, large-language-models, self-hosted, developer-tools
- platform: self-hosted
- tags: attention-management, context-compression, ai-gateway, lua-tools, wasm-sandbox, session-persistence, multi-model, subagents, sandbox, memory, ai-agents, nodejs, web-server, docker

## Member repositories
- canwhite/Krebs (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:36.209012+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:45:27.589560+00:00, confidence not recorded.
  - readme: https://github.com/canwhite/Krebs (fetched 2026-08-28T04:03:36.209012+00:00, sha 1fda8ed70acf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
