Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

LLMs Remove topic LLMs Clear all 45 posts RSS

Last week

Week of Nov 16

Week of Nov 9

LangChain

Promptim: an experimental library for prompt optimization

Announcement 4 min +40 XP

Promptim is an open-source, experimental library that automates prompt engineering: given an initial prompt, a LangSmith dataset and custom evaluators, it runs an optimization loop where a metaprompt proposes edits based on scored train-set results, and keeps a new prompt only if it improves dev-split metrics, repeated N times.

Week of Nov 2

Week of Oct 26

LangChain

The Art of Loop Engineering

Opinion 6 min +60 XP

Agent systems can be structured as four stacked loops: the basic agent loop (model calls tools until done), a verification loop where a deterministic or LLM grader checks output against a rubric and retries with feedback, an event-driven loop where crons, webhooks or Slack channels trigger background runs, and a hill-climbing loop where an analysis agent mines production traces to rewrite prompts, tools or graders.

LangChain

How to build evidence-grounded agent memory with OpenWiki and Graphs

Research 8 min +80 XP

A compiled, source-linked wiki (OpenWiki) used as agent memory raised accuracy on cross-document questions from 0.10 to 0.52 versus keyword search alone on a synthetic 111-document insurance corpus scored against a 972-fact ledger, and cut cost per correct answer from about $0.55 to $0.19.

Week of Oct 19

Week of Oct 12

LangChain

Building Long-Running Agents with ScaleDown and Deep Agents

Announcement 9 min +90 XP

The langchain-scaledown integration offloads context-management decisions in long-running agents (summarizing history, compressing tool results, extracting fields, classifying state) from frontier LLMs to ScaleDown's small, task-specific constrained decoding models, which ScaleDown reports are far faster and cheaper on these narrow tasks.

The quest for software engineering knowledge.

Look:
Layout: