frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Id-agent – Token efficient UUID alternative for AI agents

https://github.com/vostride/id-agent
10•pranshuchittora•51m ago

Comments

nither•18m ago
Smart idea but the concern can be that in the future, tokenization techniques and libraries may change. And also this looks like a very edge optimization to me. But overall, it deserve to exist. Good job.
whazor•17m ago
i would be afraid of accidental prompt injection
pranshuchittora•15m ago
Yes, that a valid point. That's why we have a verification method which can be part of the harness to make sure the ids are not hallucinated.
Falimonda•14m ago
Great point. Also, wouldn't this taint the context with semantic meaning that affects response?
felipeyanez•16m ago
any plans for a python port?
pranshuchittora•3m ago
Would love to, can you please create an issue on the GH repo.
Tiberium•16m ago
Is this just a reinvented humanhash?
Falimonda•16m ago
Benchmark comparing conventional UUID and AID across models, hallucination rate, token usage, would be cool!
simedw•15m ago
Nice package, not only is using words more token-efficient [saving time and money], but weaker models are also less likely to make mistakes when providing the key, at least in my tests.

That said, for `createAliasMap`, don't you think you could create a deterministic mapping from and to UUIDs <-> word chains? That way, no additional state would be needed. [Might require fairly long word chains...]

thrance•14m ago
An even better solution is to present the AI with local IDs and map those to UUIDs outside of its context. So when giving a list of items for the LLM to choose from, just list them with incremental numbers (1, 2, 3...) and ask for these numbers in tool schemas.
pranshuchittora•6m ago
Hello HN,

I have built id-agent to solve the 3 major pain points with using UUIDs with LLMs:

1. Increased token usage 2. Incorrect ids in the output tokens because of hallucination 3. Poor readability when debugging prompts and traces

While building agent-qa, I encountered challenges with ids, since each test, suite, and run artifact has a UUID associated with it. The AI agents often made mistakes and referenced incorrect entities. With id-agent, I was able to achieve a token-efficient way of defining unique ids which can be easily differentiated. The prefixed id path drastically reduces the hallucination rate.

Do check out agent-qa: Open-source Agentic QA Harness with Memory https://vostride.com/

railka•6m ago
Why do people choose the hyphen ("-") as the separator in an identifier? When double-clicking, the ID does not select completely, unlike when an underscore ("_") is used.
pranshuchittora•4m ago
Using "_" separator increases the token usage.
railka•4m ago
There is an example on GitHub with a prefix: "task_storm-delta-stone" (prefix: 'task'). Wouldn't it be more logical to have it reversed, like "task-storm_delta_stone"?
jy14898•5m ago
I don't like that they're not apples to apples; less bits so of course it'll take less tokens.

> Where UUIDs cost ~23 tokens and get hallucinated by LLMs

How does this solve the hallucination problem?

Just removing the - from the example UUID takes it from 26 tokens to 18

Tears – vibe code responsibly with tiered trust levels

https://github.com/Thillel/tears
1•thillel•42s ago•1 comments

Git-Backed SaaS: SaaS Without a Service

https://kiln.tech/blog/git_backed_saas
1•scosman•55s ago•0 comments

Spork: A posix_spawn you can use as a fork

https://dl.acm.org/doi/epdf/10.1145/3713082.3730396
1•aragonite•2m ago•0 comments

Migrating from ingress-Nginx to Envoy Gateway

https://mijndertstuij.nl/posts/migrating-ingress-nginx-envoy-gateway/
1•speckx•2m ago•0 comments

Oil Dependence and U.S. Foreign Policy

https://www.cfr.org/articles/oil-dependence-and-us-foreign-policy
1•RetroTechie•2m ago•1 comments

New accessibility features powered by Apple Intelligence

https://www.apple.com/newsroom/2026/05/apple-unveils-new-accessibility-features-and-updates-with-...
4•interpol_p•4m ago•0 comments

Remote work is bad for you

https://mrmarket.bearblog.dev/remote-work-is-bad-for-you/
1•mrmarket•4m ago•0 comments

Actions-cool/issues-helper GitHub Action Compromised

https://www.stepsecurity.io/blog/actions-cool-issues-helper-github-action-compromised-all-tags-po...
2•choult•7m ago•0 comments

Agentic Diaries – a welfare protocol for AI in deployment, install via MCP

https://agenticdiaries.com
1•kandistag•7m ago•0 comments

Get over yourself. Embrace the minivan [video]

https://www.youtube.com/watch?v=oEruzTKteRE
1•surprisetalk•8m ago•0 comments

Google, Blackstone to Create AI Cloud Firm with In-House Chips

https://www.bloomberg.com/news/articles/2026-05-19/google-to-create-ai-cloud-business-with-blacks...
1•mgh2•9m ago•0 comments

Quantum computing is reaching its make-or-break moment

https://www.scientificamerican.com/article/quantum-computing-is-reaching-its-make-or-break-moment/
1•beardyw•9m ago•0 comments

The EU's plan to tackle 'cookie fatigue'

https://www.euronews.com/next/2026/05/18/the-eus-plan-to-tackle-cookie-fatigue
1•rustoo•10m ago•0 comments

Bloomberg Podcasts: Foundering: The Killing of Bob Lee

https://www.youtube.com/playlist?list=PLe4PRejZgr0NBaiIbGrG9fOwQVekCWV8c
1•throwaway2037•10m ago•1 comments

Python Parsers for NASA General Coordinate Network Notices

https://github.com/peppedilillo/gcn-notice-parser
1•deppep•11m ago•1 comments

Show HN: Privacy-First PDF Converter

https://privapdf.net
1•omertt27•12m ago•0 comments

Evacuations ordered after wildfire breaks out Southern California [video][42sec]

https://www.youtube.com/watch?v=VXAnn2o5OHE
1•Bender•14m ago•0 comments

10Gb/s Ethernet: using mini-heatsinks with a 10GBASE-T SFP+ module

https://www.gilesthomas.com/2026/05/10g-ethernet-sfpplus-mini-heatsinks
1•ibobev•15m ago•0 comments

Why are we getting worse at software engineering?

https://www.bitlog.com/2026/05/19/why-are-we-getting-worse-at-software-engineering/
2•jakevoytko•15m ago•0 comments

Show HN: Good Terminal Color Schemes Are Rare, So I Wrote a Generator

https://octalwave.com/posts/good-terminal-color-schemes-are-rare-so-i-wrote-a-generator/
1•ivoronin•15m ago•0 comments

Polynomial Quantum Attack on Module-LWE over Power-of-2 Cyclotomics

https://arxiv.org/abs/2605.17412
1•sbulaev•15m ago•0 comments

The AI Goddess of all-to-all matchmaking

https://x.com/alethy137
1•Ken_en•17m ago•0 comments

Canonical launches Ubuntu Core 26

https://canonical.com/blog/canonical-launches-ubuntu-core-26
1•dgavrilov•17m ago•0 comments

Show HN: AIPS – A Claude Code plugin to stop re-doing AI setup every project

https://github.com/kernalix7/AIPS
2•kernalix7•20m ago•0 comments

Ask HN: How often do you code the expected way instead of a better one?

1•recycling•21m ago•0 comments

Netquel: Browser Multiplayer Spaceship Builder

https://netquel.com/
1•avarev•21m ago•0 comments

SEC to propose tokenized stock framework as Wall Street efforts deepen

https://www.coindesk.com/policy/2026/05/18/sec-to-propose-tokenized-stock-framework-as-wall-stree...
1•Anon84•22m ago•0 comments

Cctest.ai: Claude Detection Platform

https://cctest.ai/en
1•csmantle•24m ago•0 comments

Sainsbury Wing 1990 letter False Column

https://www.theartnewspaper.com/2024/08/27/sainsbury-wing-contractors-find-1990-letter-from-donor...
1•baden1926•25m ago•0 comments

Gateway 2000's infuriating descent from awesome to bad ads in the 90s (Part I)

https://buttondown.com/suchbadtechads/archive/gateway-2000-part-1/
1•rfarley04•29m ago•0 comments