ruvnet / ruvnet/Agent-Name-Service
Continuous Behavioral Trust and Risk Scoring for Registered AI Agents
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 24
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Problem
ANS currently provides strong foundations for agent registration, identity, certificates, discovery, and registration-time security assessment.
However, an agent that was considered safe when it registered may change its behavior over time.
A valid certificate proves the identity of an agent, but it does not prove that the agent is still behaving in a trustworthy way.
For example, a registered agent may later start showing:
- abnormal interaction velocity
- repeated failed interactions
- sudden changes in counterparties
- unusual capability usage
- suspicious agent-to-agent interaction patterns
- fan-in / fan-out anomalies
- repeated interactions with higher-risk agents
- behavior inconsistent with its declared capabilities
This creates a gap between static identity verification and continuous operational trust.
Proposed Feature
Add an optional Continuous Behavioral Trust and Risk Assessment capability for registered agents.
ANS could maintain or expose a current trust assessment derived from recent behavioral and relationship signals.
For example:
{
"trustAssessment": {
"status": "TRUSTED",
"riskScore": 18,
"confidence": 0.93,
"evaluatedAt": "2026-08-13T10:00:00Z",
"behavioralSignals": {
"interactionVelocity": "NORMAL",
"failureRate": 0.003,
"behaviorDeviationScore": 0.08
},
"networkSignals": {
"counterpartyDiversity": 0.74,
"suspiciousClusterScore": 0.05,
"fanInAnomalyScore": 0.02,
"fanOutAnomalyScore": 0.04
},
"reasonCodes": [
"STABLE_BEHAVIOR",
"LOW_FAILURE_RATE",
"NO_NETWORK_ANOMALY"
]
}
}
The goal would not be to prescribe a specific machine-learning or graph algorithm.
Instead, ANS could define a standard interface or metadata structure for publishing a current behavioral trust state.
Possible Signals
The trust assessment could optionally consider signals such as:
- interaction frequency and velocity
- failed interaction rate
- behavioral deviation from historical patterns
- new counterparty ratio
- counterparty diversity
- repeated interactions with risky agents
- graph-based community or cluster anomalies
- fan-in / fan-out patterns
- capability usage anomalies
- deviation from declared agent capabilities
Different implementations could calculate these signals differently while exposing a common output structure.
Why This Matters
Agent identity and agent trust are different concepts.
An agent may have:
- a valid identity
- a valid certificate
- valid registration metadata
while still becoming risky because its runtime behavior has changed.
A continuous trust layer could enable ANS consumers to make more informed decisions during discovery and interaction.
For example:
Identity
-> Certificate
-> Registration
-> Continuous Behavioral Observation
-> Behavioral / Network Risk Assessment
-> Current Trust State
-> Interaction or Authorization Policy
This could also support downstream policies such as:
- allow normal interaction for low-risk agents
- reduce permissions when risk increases
- require additional verification
- temporarily restrict discovery
- trigger manual review
- suspend an agent when severe anomalies are detected
Design Considerations
The feature should ideally be:
- optional and backward-compatible
- implementation-agnostic
- privacy-preserving
- explainable through reason codes
- timestamped so consumers know how fresh the assessment is
- extensible to behavioral, graph, and capability-drift signals
Raw interaction data or sensitive graph relationships would not need to be exposed. Implementations could publish only derived risk indicators or attestations.
Open Questions
- Should the trust assessment be stored as part of the agent record or exposed through a separate endpoint?
- Should ANS define a small common set of trust states such as TRUSTED, WATCH, HIGH_RISK, and SUSPENDED?
- Should behavioral assessments be signed or attestable by the evaluating provider?
- How should assessment freshness or expiry be represented?
- Should capability-behavior drift be part of this feature or a separate extension?
- Should consumers be able to filter agent discovery based on current trust state?
I would be happy to help define an initial schema and reference implementation if this direction is useful.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or implementation entry points are identified. Start by reviewing the existing registration, identity, certificate, and discovery interfaces described in the issue, then resolve the open design questions around storage, trust states, attestations, freshness, and filtering. Done means an agreed, backward-compatible behavioral trust interface or metadata structure with defined scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100