News for hackers. Stuff that matters.

langs

Re:Ask HN: What are you working on? (September 2026) on Sunday September 13, 2026 @09:28PM (#49690712)
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

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?

Show HN: An Autonomous Agent for Slay the Spire

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

While coding agents have reached a relatively mature stage, domain-specific agents are lagging far behind; for instance, using Codex to play games yields poor results.The Spire agent addresses the challenge of maintaining consistency across long-horizon tasks by delegating deterministic actions to domain-specific tools, while the LLM handles logical tasks requiring reasoning and acts as the...

( Read More... | no comments | on HN )
Re:Ask HN: What are you working on? (August 2026) on Sunday August 09, 2026 @09:53PM (#49238373)
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.

Re:Ask HN: What are you working on? (August 2026) on Sunday August 09, 2026 @08:47PM (#49237960)
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!

Re:Zero-Mem: Zero-Token Memory Operations for LLM Agents on Wednesday August 05, 2026 @05:34AM (#49180519)
Yes, it uses modern technology to tackle an old problem: retrieval.
Re:Zero-Mem: Zero-Token Memory Operations for LLM Agents on Wednesday August 05, 2026 @03:54AM (#49179835)
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.

Re:Zero-Mem: Zero-Token Memory Operations for LLM Agents on Wednesday August 05, 2026 @02:41AM (#49179349)
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.

Re:Pi's Minimalism Is Its Advantage on Tuesday August 04, 2026 @10:29PM (#49177889)
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.
Re:Eight Myths on Software Engineering and GenAI on Tuesday August 04, 2026 @10:16PM (#49177827)
> 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.

Re:DeepSeek V4 Flash on a Single AMD MI300X on Tuesday August 04, 2026 @07:33AM (#49167148)
You need to optimize the KVCache part(save to disk to save compute) to achieve this goal.
So, is this a competition? To see whose model can be jailbroken the most times and incite the highest level of public alarm?
Re:Our position on open-weights models on Monday July 27, 2026 @10:21PM (#49078464)
"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.
Re:Towards a Harness That Can Do Anything on Wednesday July 15, 2026 @09:54PM (#48929524)
the current bottlenecks for agents are actually bottlenecks of the LLMs, rather than the agents themselves.
Re:What will be left for us to work on? on Monday July 13, 2026 @11:43PM (#48902047)
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.
How does your solution differ from other KV Cache approaches, such as LMCache?
nope. any rewrite will be an AI rewrite soon.
I vide-coded some, but the core is hand-craft arch/algorithm, that's the most valuable part I want to protect.

Ask HN: How do solo devs protect their work in the age of vibe coding?

I am working on a new open-source project. (My project is in AI infrastructure. It already gets SOTA results on several well-known benchmarks.) The core value is not just the code, but a fairly specific algorithmic approach that came out of many failed attempts, experiments, and design iterations.The dilemma I am facing is this:If I open-source early, I get feedback, trust, users, and maybe...

( Read More... | 19 comments | 4 points | on HN )