@funeste38/bat
v1.0.3
Published
Adaptive request-control primitives for resilient network, tool and AI orchestration.
Maintainers
Readme
@funeste38/bat
bat is the published adaptive request-control package from the Funesterie ecosystem.
It gives you a small vocabulary of runtime components to observe latency, classify response quality, adapt request behaviour and rotate channels when a single path becomes unreliable.
Install
npm install @funeste38/batCore primitives
Bat: raw sensing and RTT captureEars: qualitative analysis of answers or channel noiseWings: adaptation logic, pacing and cooldownFangs: multi-channel executionInversion: escape hatch when BAT should be bypassed
Quick example
import { Bat, Ears, Wings, Fangs } from "@funeste38/bat";
const bat = new Bat();
const ears = new Ears();
const wings = new Wings();
const fangs = new Fangs({ channels: [] });Use cases
- resilient proxy rotation
- multi-provider AI calling
- local tool execution with adaptive retry logic
- experimental orchestration around unstable channels
Development
npm install
npm run build
npm testLocal references
src/demo.tstest/basic.test.js
Good next improvements
- document concrete HTTP channel examples
- add typed events for telemetry and scoring
- expose a higher-level orchestrator preset for QFLUSH
