Skip to content

Instantly share code, notes, and snippets.

@rndmcnlly
rndmcnlly / APPEAL-scoped-jwts.md
Created February 16, 2026 05:12
The Case for Scoped JWTs in LLM Inference APIs

The Case for Scoped JWTs in LLM Inference APIs

Anyone operating an LLM inference API with API key authentication -- whether a direct provider or an aggregator -- should consider supporting scoped JWT tokens. DeepInfra already does this well. The pattern is general and solves real problems that the rest of the industry is working around with proxies and key management sprawl.

The problem

Organizations that distribute LLM API access to their users (universities, SaaS platforms, dev teams) currently have two options:

  1. Give each user a real API key via a management API. This works, but the organization loses control the moment the key leaves their hands. Keys can be shared, leaked, or used in ways the organization didn't intend. Revoking a key often destroys its analytics history. And provisioning keys is a heavyweight operation -- there's no cheap way to issue thousands of ephemeral credentials.

USER

Let’s test this new fs tool

ASSISTANT

Sure! Let me start by asking you to share a local folder so I can browse it.

Tool Executed
A folder has been shared! Let me take a look at what's inside:
<!-- Vibe-coded with Gambit v1.4 (https://bayleaf.chat/?model=gambit) -->
<!-- PITCH TIMER: Because every second of their attention is precious -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>⏱️ PITCH TIMER</title>
<style>
/* === TWEAK THESE === */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Ambient Synth Rack</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-user-select: none; user-select: none; }
body {
@rndmcnlly
rndmcnlly / lock_key_asp.html
Last active January 28, 2026 04:53
mixed-initiative synthesis of lock and key gridworlds
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: white; /* Ensure the iframe has a white background */
}
@rndmcnlly
rndmcnlly / MERIDIAN.html
Created January 26, 2026 05:22
a generated generative audiovisual composition
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MERIDIAN</title>
<style>
* {
margin: 0;
padding: 0;
@rndmcnlly
rndmcnlly / cognitive_yield.html
Last active January 25, 2026 06:17
It started as a procedural audio vibe test, but then things got weird.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>THE PLANT</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tone/14.8.49/Tone.js"></script>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
@font-face { font-family: 'Brutalist'; src: local('Courier New'); }
<!-- Vibe-coded with Gambit v1.3 (https://bayleaf.chat/?model=gambit) -->
<!-- DESIGN QUESTION: Does a bounded park with optional destinations feel like -->
<!-- peaceful contentment or subtle confinement? Watch how you move. Do you -->
<!-- visit things purposefully, or drift? Do you test the fences? -->
<!DOCTYPE html>
<html>
<head>
<title>Park Walk</title>
<style>
* { margin: 0; box-sizing: border-box; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bayesian NPC Generator</title>
<style>
* {
box-sizing: border-box;
}
@rndmcnlly
rndmcnlly / _GenAI Policy Document Activity.md
Last active January 22, 2026 05:24
Helping my students navigate harms while drafting their AGENTS.md files

Framework for Student Project Teams Developing GenAI Policies

The Decision Context

Your team must write an AGENTS.md file that will govern AI tool behavior for your project this quarter. This isn't a personal moral stance—it's a collective operational policy that must be:

  1. Specific enough for tools to parse and conform to
  2. Justified enough that teammates with different underlying concerns can commit to it
  3. Revisable as circumstances or understanding change