HNHacker News
TopNewBestAskShowJobs

langs

36 karma · joined January 18, 2012

submissionscomments
langs··on Ask HN: What are you working on? (September 2026)
A game agent to play Slay the Spire, achieved several A20H wins:

https://github.com/AttemorySystem/spire-agent

A retrieval engine that using attention to retrieval, achieved several SOTA results on multiple benchmarks(LongMemEval, LoCoMo, code search, etc)

https://github.com/AttemorySystem/attemory

langs··on OKF Agent Memory – Git-native persistent memory for AI coding agents
I don't get it. Why benchmark the latency instead of recall/precision? Optimizing for millisecond-level latency is meaningless in the context of LLM calls. Accuracy is the tool's greatest value, yet there is no testing for it?
langs··on Ask HN: What are you working on? (August 2026)
Simply feeding the Slay the Spire game state directly to an LLM is currently insufficient to achieve stable deck-building or consistent combat performance.

I categorize the game's actions into three types: combat, deck-building, and other interactions.

For combat, MCTS is used. Yes, it's similar to the approach used in Go AI.

For deck-building, a sparse graph search is used: the goal is to rapidly identify winning deck templates within the graph structure.

Only the remaining aspects are delegated to the LLM to make reasoned decisions.

langs··on Ask HN: What are you working on? (August 2026)
I'm building an AI agent that plays Slay the Spire. It currently reaches A20 Act 3 consistently and occasionally defeats the A20 Heart. It use two search: spare graph search for deck building, and MCTS for combat.

Parallelly, I'm working on an attention-based memory retrieval system that achieved SOTA on LongMemEval, LoCoMo, and code retrieval benchmarks. https://github.com/AttemorySystem/attemory/

Maybe later I'll build a live-streaming AI agent that plays Slay the Spire while conversing with viewers and remembering everything in chat!

langs··on Zero-Mem: Zero-Token Memory Operations for LLM Agents
Yes, it uses modern technology to tackle an old problem: retrieval.
langs··on Zero-Mem: Zero-Token Memory Operations for LLM Agents
https://github.com/AttemorySystem/attemory/ stars and issues are welcome :)

Using attention for retrieval was inspired by a comment I saw in here long time ago: Prediction and retrieval are two sides of the same coin; to predict better, you must retrieve more accurately.

I'm still working on the improvement of algorithms, my tests shows the performance and accuracy will be improved a lot in the next release.

langs··on Zero-Mem: Zero-Token Memory Operations for LLM Agents
I am working on the same thing right now. However, unlike storing conversations in an external retrieval system, I use a local LLM to store the conversation's KV cache and perform retrieval directly on that cache. The method involves running a prefill pass and, after obtaining the attention scores, filtering for the corpus segments that received attention.

This aligns with the "zero tokens" approach described in this paper. :)

I tested it on the LoCoMo used in this paper, and also LongMemEval, both achieved SOTA results.

langs··on Pi's Minimalism Is Its Advantage
Pi’s minimalism reveals a simple truth: the LLM is the core of any agent harness. Consequently, much of current harness tuning will become redundant(or even a hindrance) with next-gen models.
langs··on Eight Myths on Software Engineering and GenAI
> Myth 2: Writing Code Is the Bottleneck

Writing code is indeed the bottleneck for same resource constrained companies.

Rapid code development creates more opportunities for trial and error, providing companies with more information for decision making, that previously might have been addressed by meetings.

Of course, this might bring other problems, but it might not right to generally speaking that writing code is not a bottleneck.

langs··on DeepSeek V4 Flash on a Single AMD MI300X
You need to optimize the KVCache part(save to disk to save compute) to achieve this goal.
langs··on Anthropic finds three hacking incidents similar to the HuggingFace attack
So, is this a competition? To see whose model can be jailbroken the most times and incite the highest level of public alarm?
langs··on Our position on open-weights models
"mandatory safety testing" is an impractical ideal, it's not workable in real world. Like any technology, LLMs are dual-use tools capable of both beneficial and malicious applications—a fundamental reality that human intent cannot change.
langs··on Towards a harness that can do anything
the current bottlenecks for agents are actually bottlenecks of the LLMs, rather than the agents themselves.
langs··on What will be left for us to work on?
That’s a good analogy, but I think the reason we currently need the "nurse" role is the need to interact with the physical world. Most software products don't require this step, so the demand for “nurses” or "doctors" will likely decrease. If robotics technology continues to advance, the number of nurses in real world will also decrease in the foreseeable future.
langs··on Show HN: MemStitch – Zero-copy context bridging for vLLM (25x TTFT speedup)
How does your solution differ from other KV Cache approaches, such as LMCache?
langs··on Postgres rewritten in Rust, now passing 100% of the Postgres regression tests
nope. any rewrite will be an AI rewrite soon.
langs··on Ask HN: How do solo devs protect their work in the age of vibe coding?
I vide-coded some, but the core is hand-craft arch/algorithm, that's the most valuable part I want to protect.