Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/ai
/ generateAgentName
Function
generateAgentName
packages/ai-code-mode/src/agent-store.ts:38–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
export
function
generateAgentName(): string {
39
const
hex = Array.from({ length: 8 }, () =>
40
Math.floor(Math.random() * 16).toString(16),
41
).join(
''
)
42
return
`agent_${hex}`
43
}
Callers
nothing calls this directly
Calls
2
from
Method · 0.80
toString
Method · 0.80
Tested by
no test coverage detected