[KongchangAI]

#LLM

129 related articles

Build a Semantic Caching Proxy with FastAPI to Cut LLM Bills by 58%
·3 min

Build a Semantic Caching Proxy with FastAPI to Cut LLM Bills by 58%

Learn how to build an OpenAI-compatible semantic caching proxy using FastAPI, Redis vector search, and OpenTelemetry to cut LLM inference costs by up to 58% with per-tenant guardrails.

Read more →
LLM Response Caching in Practice: Building an Exact-Match Cache for OpenAI-Compatible APIs
·3 min

LLM Response Caching in Practice: Building an Exact-Match Cache for OpenAI-Compatible APIs

How to build a client-side exact-match cache for OpenAI-compatible APIs. Covers cache key design, SQLite & Redis storage, streaming response caching, and request coalescing — with full Python code.

Read more →
Building Model Fallback Chains: When to Switch LLMs and a Python Implementation Guide
·3 min

Building Model Fallback Chains: When to Switch LLMs and a Python Implementation Guide

How to build an LLM model fallback chain under an OpenAI-compatible base URL. Covers when to switch models, which errors should trigger fallback vs. raise immediately, core loop code in Python, and testing strategies.

Read more →
Multi-Agent Apps Hit 429 Rate Limits: A Multi-Provider Failover Deep Dive
·2 min

Multi-Agent Apps Hit 429 Rate Limits: A Multi-Provider Failover Deep Dive

A developer building a LangGraph multi-agent debate app kept hitting 429 rate limits on free LLM APIs. Learn how a multi-provider failover chain and state decoupling solved the reliability problem.

Read more →
Why Is Technical Documentation Still Wrong in the Age of LLMs?
·1 min

Why Is Technical Documentation Still Wrong in the Age of LLMs?

LLMs make writing docs easier, but why is technical documentation still full of errors? We explore missing intent, weak sync mechanisms, LLM hallucinations, and practical fixes like docs-as-tests.

Read more →
A New Approach to AI Trading Agents: Let LLMs Write Strategies, Not Make Decisions
·2 min

A New Approach to AI Trading Agents: Let LLMs Write Strategies, Not Make Decisions

AlphaGround redefines AI trading agents by using LLMs to write deterministic strategies rather than make live decisions, solving the randomness and attribution problems of AI trading.

Read more →
AI Analysis of Massive Technical Documentation: Fact Extraction, RAG Validation, and Anomaly Detection in Practice
·2 min

AI Analysis of Massive Technical Documentation: Fact Extraction, RAG Validation, and Anomaly Detection in Practice

How can AI reliably verify facts, detect contradictions, and find duplicates across thousands of 600-page technical documents? This article covers fact extraction, structured schemas, BM25+vector hybrid RAG, and long-context model trade-offs.

Read more →
Kernl: The Open-Source Python Library That Compresses LLM Conversation Memory by 82.9%
·1 min

Kernl: The Open-Source Python Library That Compresses LLM Conversation Memory by 82.9%

Kernl is an open-source Python library using DSPM technology to compress LLM conversation memory by 82.9% without losing critical information. Here's how it works.

Read more →
How Does GPT Actually Work? Unpacking the LLM Black Box with a Single Sentence
·2 min

How Does GPT Actually Work? Unpacking the LLM Black Box with a Single Sentence

Using the sentence 'My favourite rock band is…', this article unpacks how GPT and LLMs work — from tokenization and embeddings to attention and next-token prediction.

Read more →
Praxa: A Governance Framework for AI Agent Execution with Traceable Chains from Proposal to Verification
·2 min

Praxa: A Governance Framework for AI Agent Execution with Traceable Chains from Proposal to Verification

arXiv paper proposes Praxa, an AI agent execution harness that makes the authorization-to-effect chain explicit and testable via deterministic admission, brokered execution, and external read-back — with four honest evidence chains and clear capability boundaries.

Read more →
One Developer Used LLMs Solo to Build C Compiler Kcc — and It Can Boot the Linux Kernel
·2 min

One Developer Used LLMs Solo to Build C Compiler Kcc — and It Can Boot the Linux Kernel

A solo developer used LLMs at ~$100/month to build C compiler Kcc, which reportedly boots the Linux kernel. What does this mean for AI-assisted programming?

Read more →
One Command to Deploy a Local AI Server: The Complete ODS Guide for LLM, RAG, and Image Generation
·3 min

One Command to Deploy a Local AI Server: The Complete ODS Guide for LLM, RAG, and Image Generation

ODS (Osmatic Deployment System) is an Apache 2.0 open-source project that deploys a full local AI stack — LLM inference, RAG, image generation, voice agents — with one command on Linux, Windows, and macOS.

Read more →
How to Pick the Best LLM Team? A Heterogeneity-Driven Framework for Model Collaboration Selection
·1 min

How to Pick the Best LLM Team? A Heterogeneity-Driven Framework for Model Collaboration Selection

A new arXiv study proposes a heterogeneity-driven LLM team selection framework using error decorrelation and predictive divergence to optimize model complementarity.

Read more →
How AI Tutors Break Through Student Learning Impasses: Key Findings from 20,000 Conversations
·2 min

How AI Tutors Break Through Student Learning Impasses: Key Findings from 20,000 Conversations

A study of 20,000 real AI tutor conversations reveals that deeper impasses make questioning less effective, while direct error correction becomes more powerful — with key implications for AI tutoring design.

Read more →
The Delayed Label Dilemma: How to Evaluate a Buying Signal Agent That Reads Messy Web Text
·2 min

The Delayed Label Dilemma: How to Evaluate a Buying Signal Agent That Reads Messy Web Text

When an AI Agent extracts buying signals from job posts and earnings calls but true labels take months to appear, how do you evaluate it? We break down delayed labels, sample bias, and LLM-as-judge pitfalls.

Read more →
AI LLMs + Open-Source Hardware: Reimagining the Traditional Grass-Fed Ranch
·4 min

AI LLMs + Open-Source Hardware: Reimagining the Traditional Grass-Fed Ranch

Firecrawl engineer Cody shares at AI Engineer how LLMs and open-source hardware can automate rotational grazing for grass-fed livestock, covering satellite imagery, biomass analysis, and multi-species stacked grazing.

Read more →
Why AI Agents Need a Decision Model — Stop Letting Generative LLMs Do Everything
·3 min

Why AI Agents Need a Decision Model — Stop Letting Generative LLMs Do Everything

Most Agent frameworks use generative LLMs for everything, causing high latency and fragility. This article explains the "decision model" architecture: separating decisions from generation for faster, cheaper, more predictable AI Agents.

Read more →
Jev and System One Models: The New LLM Paradigm Called "Decision Models"
·2 min

Jev and System One Models: The New LLM Paradigm Called "Decision Models"

TypeSafe AI's Jev outputs floats instead of text — a new "decision model" paradigm. Explore its Noul/Choice/Score questions, ultra-low pricing, reranking use cases, bias concerns, and open-source replications.

Read more →