Show HN: Id-agent – Token efficient UUID alternative for AI agents
Category: library
Tags: uuid-alternative, token-efficiency, ai-agents, id-generation, typescript
Score: 6.0/10 (Innovation: 6, Technical: 6, Documentation: 7, Utility: 5)
id-agent is a TypeScript library that generates human-readable, token-efficient IDs optimized for LLM context windows, using word-based identifiers that average 14 tokens versus 23 for UUIDs. It offers configurable entropy, collision safety, and utilities like alias maps for reducing token usage in AI agent workflows.
Target audience: backend devs, AI/ML engineers, data engineers
Repository: https://github.com/vostride/id-agent · TypeScript · MIT
View on Hacker News