Replacing Numeric IDs with Word Slugs Might Benefit Agents
Broeckchen89 · reddit · 2026-07-13
The author swapped numeric IDs for word slugs for objects, graph nodes, and edges in a local agent system, observing several practical effects:
- Agents gave fewer "cannot find" responses.
- The memory graph became more readable.
- Token usage appeared to drop significantly since IDs are frequently passed in the system.
While acknowledging it may not fit every scenario, the author believes it's worth trying for agents that heavily expose IDs and handle social/organizational tasks. They also welcome discussions on whether this is merely a placebo effect or why it might not suit most agent use cases.
More from coding & agent
- Marker 2 claims better quality than MinerU and docling while hitting 27 pages/sec — VikParuchuri · 2026-07-21
- Cursor publishes a strong deep dive on agent swarms for coding workflows — Sam_Witteveen · 2026-07-21
- A deleted NanoGPT PR still propagated into later world-record submissions — yacineMTB · 2026-07-21
- Soft Clamp cuts tool-call overuse in multi-teacher distillation, from 13.7% to 9.0% — antgroup · 2026-07-21
- Agent harness memory loss and compaction are still a major usability problem — adityaag · 2026-07-21
- SpecJudge runs locally on Ollama to pick the right-sized AI model for your project — jokiruiz · 2026-07-21