Skip to content

gusitllc/luca-community

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Luca Community

Small, dependency-free AI-developer utilities — free to use (MIT). Built and open-sourced by Gus IT LLC, the team behind the Luca Express AI platform and RW Exprès.

These are the little things we reach for constantly when building AI products — the kind of helper you'd otherwise paste from a gist. Take them, embed them, ship them. No attribution required (though a ⭐ tells us which ones to grow).

Utilities

Module What it does
extract-json Pull a valid JSON value out of messy LLM output (fences, prose, trailing commas, smart quotes).
retry-backoff Retry any async call with exponential backoff + full jitter, honoring Retry-After. Tuned for flaky LLM/API calls.
llm-cost Estimate USD cost across the four token classes (input / output / cache-write / cache-read). Bring your own rate table.
sse-parse Turn a streaming Server-Sent-Events body (OpenAI/Anthropic style) into parsed events — handles chunk-split boundaries and [DONE].
redact-pii Best-effort scrub of emails, keys, tokens, cards, and private keys before you send text to an LLM or a log.

Every file is standalone, dependency-free ESM, and has a runnable self-test at the bottom (node src/<file>.mjs).

Install

Copy the file you want, or:

npm i @gusitllc/luca-community
import { extractJson } from '@gusitllc/luca-community/src/extract-json.mjs';

More from us

  • Open technique library — 80+ deeper building blocks for AI platforms and agent fleets, each with a full technical write-up (AGPL-3.0 + commercial): browse the gusitllc org.
  • Commercial platform & AI workforce — the full Luca Express platform and our autonomous AI-workforce system (hire AI developer employees per seat) are commercial. If you want the full stack, a commercial license, or to close-source something built on our work → gus@gusit.de.

License

MIT — do anything you like. If our work helps you, we'd love to hear about it.

About

Luca Community Edition — free, open building blocks for autonomous AI platforms and agent fleets. 80+ techniques with clean-room reference code. Pro modules + support available.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors