Expand description
Agent-identifier model (#16): resolve an identifier’s AGENT TYPE and check grounding.
An agent’s type is carried as a graph relation (rdf:type → a values agent class),
the same modal-predicate pattern as crate::modal_kind, resolved via zero-alloc
QuinIndex point lookups (one identity space, #14). On top of resolution this
activates the agency.n3 grounding guard at runtime: an ArtificialAgent /
PlatformAgent acting with no Principal (values:operatedBy) is UngroundedAgency —
the G1’ guard that keeps an AI agent accountable to a human principal rather than
free-floating. (Agent identity is still relational + never definitive — this resolves
a declared type, it does not fix the agent; see principle-identifiers-not-identity.)
Constants§
- A_
ARTIFICIAL_ AGENT - A_
LEGAL_ PERSON - A_
NATURAL_ PERSON - A_
PLATFORM_ AGENT - A_
PUBLIC_ AUTHORITY - P_
OPERATED_ BY - The accountable principal behind an agent (agency.n3
values:operatedBy). - P_
RDF_ TYPE
Functions§
- agent_
type - The declared agent class of
agent(itsrdf:type), if any. - agent_
type_ name - Readable name for a known agent class.
- is_
artificial - Whether an agent class is a non-personhood artificial agent (must be grounded).
- is_
ungrounded_ agency - agency.n3 G1’ grounding guard: an
ArtificialAgent/PlatformAgentacting with no Principal is UngroundedAgency. Returnstruewhen the agent trips the flag. - principal_
of - The accountable principal behind
agent(values:operatedBy), if declared.