MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / agent_urn

Function agent_urn

atomic-canonical/src/prov.rs:109–111  ·  view source on GitHub ↗

`urn:atomic:agent: ` — the `prov:SoftwareAgent` `@id` (a LABEL, non-DID).

(slug: &str)

Source from the content-addressed store, hash-verified

107
108/// `urn:atomic:agent:<slug>` — the `prov:SoftwareAgent` `@id` (a LABEL, non-DID).
109pub fn agent_urn(slug: &str) -> String {
110 format!("urn:atomic:agent:{slug}")
111}
112
113/// Normalize an agent registry name into a slug: lowercase, first hyphen
114/// segment (e.g. `"Claude-Code" -> "claude"`). Mirrors the *shape* of

Callers 1

projectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected