惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
WordPress大学
WordPress大学
阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
月光博客
月光博客
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
小众软件
小众软件
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
博客园 - 三生石上(FineUI控件)
A
About on SuperTechFans
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
Vercel News
Vercel News
量子位
Martin Fowler
Martin Fowler
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
腾讯CDC
有赞技术团队
有赞技术团队

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
AgentLoop — runtime learning for AI agents
martinembon · 2026-06-13 · via Hacker News - Newest: "AI"

Runtime learning for production AI agents

AI agents that
don't repeat the same
mistake twice.

AgentLoop is a runtime learning layer for production AI agents. Human corrections become reusable memory — searched before every response, applied automatically, improving the agent without retraining.

01 / How it works

A loop, not a retraining run.

Every response gets reviewed — by a human, a heuristic, or a downstream signal. Corrections become memory. Memory gets pulled into the next prompt. Three steps, looping forever, without touching weights.

01

Retrieve relevant facts

Before each LLM call, AgentLoop searches past corrections semantically and injects the most relevant ones into the prompt. Your agent now knows what it was wrong about yesterday.

02

Log every turn

The response is logged automatically — question, answer, model, signals. No glue code. Failed cases surface in a review queue, ranked by signal strength.

03

Correct & ship

A reviewer writes the correct answer once. It's embedded, deduplicated, and instantly available to every future query — same shape, same wording, fixed for good.

02 / Drop-in integration

Wrap your client. That's it.

No SDK overhaul. No prompt-engineering rewrite. AgentLoop's wrappers keep the OpenAI and Anthropic interfaces exactly as they are — and add memory retrieval and turn logging behind the scenes.

from openai import OpenAI
from agentloop import AgentLoop
from agentloop_openai import wrap_openai

# 1. Wrap your existing OpenAI client.
client = wrap_openai(
    OpenAI(),
    loop=AgentLoop(api_key="ak_live_..."),
)

# 2. Use it like normal. AgentLoop runs around it.
response = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": question},
    ],
    agentloop={"user_id": user.id},
)

A

Search runs before

The wrapper calls AgentLoop's search endpoint, finds relevant prior corrections, and silently augments the system prompt.

B

Logging runs after

The completed turn is posted to the review queue. If AgentLoop is unreachable, the wrapper fails open — your user never waits.

C

Same API, no lock-in

Remove the wrap_openai() call and the code still works. AgentLoop never sits between you and your provider.

03 / Why teams use it

Built for the messy middle, not the demo.

Most agents look great on stage and break in production. The hard part isn't the first response — it's the thousandth, when the edge cases outnumber the happy path.

For developers

Stop hand-patching the system prompt

Every shipping team eventually maintains a 4,000-line system prompt full of "always remember that…" exceptions. AgentLoop replaces that with structured memory — searchable, deduplicated, editable, audited.

For product teams

Close the feedback loop without a fine-tuning run

Subject-matter experts write the fix once, in plain language. It applies to every future user, every future session, in seconds — not the next training cycle. The dashboard surfaces what reviewers actually fixed, not what models reported.

Cross-language

Python and JavaScript, real parity

The Python and JS SDKs produce byte-identical HMAC signatures. Feedback URLs signed in one validate in the other. Both languages hit the same backend, so behavior is consistent regardless of which SDK each call came from.

Provider-agnostic

Not locked to any one provider

Drop-in wrappers for OpenAI and Anthropic, first-class LangChain integration, and a direct REST API for anything else. Switching providers doesn't cost you your accumulated corrections — the memory layer outlives whichever model you're on.

05 / Pricing

Start free,
upgrade when you're ready.

$0

— to get started, no card required

The free plan covers everything you need to integrate AgentLoop and see it working in your stack.

Need more headroom? Paid plans are live — usage-based and predictable, with no surprise bills. See current plans and limits inside the app.

View plans