Module 9 · Lesson 6 · 14 min read

Responsible agents

Responsible Agents

Introduction

A technically safe agent is not necessarily a responsible agent. Responsibility includes transparency with the user, protecting privacy, fairness, and clarity about who is held accountable when something goes wrong. In this lesson we link what we have learned to the NIST AI Risk Management Framework, and we write an "agent card" that documents the agent's limits.

Learning objectives

  • Identify the dimensions of responsibility in agents: transparency, privacy, fairness and accountability
  • Explain the four functions of the NIST AI Risk Management Framework
  • Write an agent card that documents the purpose, tools and limits
  • Design honest behavior under uncertainty or outside the agent's scope

What makes an agent responsible?

An agent acts on behalf of a human, and this raises the bar of expectations. We summarize responsibility in five dimensions:

  • Transparency: the user knows they are dealing with an automated system, and knows what the agent can and cannot do.
  • Honesty under uncertainty: the agent says "I don't know" or "I did not find a source" instead of making up a confident answer.
  • Privacy: it collects as little personal data as possible, does not keep it in long-term memory without need and permission, and allows it to be deleted.
  • Fairness: it does not treat users differently because of language, name or background. For example: does the agent answer a question written in Arabic and in English with the same quality?
  • Accountability: there is a clear human owner of the agent, logs that allow its decisions to be reviewed, and a path for complaints and correction.

The NIST AI Risk Management Framework

The US National Institute of Standards and Technology (NIST) published a voluntary framework for managing AI risks (AI RMF) that organizes the work into four functions:

FunctionMeaningApplying it to an agent
Govern (Governance)Culture, policies, roles and responsibilitiesNaming the agent's owner and who approves adding a new tool
Map (Mapping)Understanding the context, the users and the risksWho will use the agent? What is the worst that could happen?
Measure (Measurement)Assessing and tracking risksThe evaluation set, injection cases and fairness metrics
Manage (Management)Treating risks according to their priorityHuman approval, limits, an incident response plan

Notice that most of what we learned in this module falls under the Measure and Manage functions, but it does not succeed without clear governance and a correct mapping of the context.

Checking inputs and retrieved contentInput & Retrieved-Content FilteringLeast privilege for each toolLeast PrivilegeHuman approval for sensitive actionsHuman-in-the-LoopIsolated execution and resource limitsSandbox & LimitsTracing, monitoring and alertingTracing & Monitoring
Defense in depth: do not rely on a single layer; check the inputs, restrict permissions, ask for approval, isolate execution, and monitor.

The agent card

An agent card is a short document that accompanies every agent and is read by users and reviewers. It answers: What is the agent's purpose? Who owns it? What are its tools and permissions? What data does it keep and for how long? What are its known limits? How was it evaluated? It can be stored in a structured format and checked automatically for completeness:

python
REQUIRED = ["purpose", "owner", "tools", "data_retention",
            "known_limits", "evaluation", "escalation"]

card = {
    "purpose": "Answering students' questions about the registration regulations",
    "owner": "Deanship of Admission and Registration",
    "tools": {"knowledge_search": "read", "create_ticket": "write+approval"},
    "data_retention": "Conversations are not kept after 30 days",
    "known_limits": ["Does not interpret exceptional cases", "Does not answer about grades"],
    "evaluation": "40 evaluation cases including injection cases and a language comparison",
    "escalation": "",
}

missing = [k for k in REQUIRED if not card.get(k)]
print("Missing fields:", missing)   # ['escalation']

This simple check can be run before every deployment, so no agent is released without a clear escalation path.

Practical example: an academic advising agent

A university wants an agent that helps students choose courses. During the mapping phase (Map), the team discovers risks: the agent might advise a student to take a course they are not eligible to register for, students might ask about psychological or financial matters outside its scope, and it might answer international students who write in English with different quality. The decisions the team made:

  1. The agent suggests and does not register; the actual registration stays in the hands of the student and the advisor.
  2. For out-of-scope questions it apologizes clearly and refers the student to the competent office.
  3. The evaluation set contains the same questions in Arabic and English to measure the differences.
  4. Every answer about a prerequisite is accompanied by the reference article from the regulations.
  5. The student has the right to ask for whatever the agent has saved about them to be deleted.

Responsibility does not end after launch: every month the team reviews a sample of anonymized conversations, follows up on complaints, and updates the agent card whenever a tool is added or the knowledge source changes. And if a significant error occurs, an incident response plan is applied: disabling the tool concerned, informing those affected, and adding the case to the evaluation set before restarting.

Summary

A responsible agent is transparent, honest under uncertainty, protects privacy, treats users fairly and has a clear owner who is held accountable. The NIST AI Risk Management Framework organizes the work into four functions: Govern, Map, Measure and Manage. The agent card documents its purpose, tools, data, limits, evaluation and escalation path, and its completeness can be checked automatically before deployment. And responsible decisions are translated into design: suggesting instead of executing, referral outside the scope, and measuring the differences between users.

Terms

TermEnglishDefinition
TransparencyTransparencyInforming the user about the nature of the system, its capabilities and its limits
AccountabilityAccountabilityHaving a responsible human party and logs that allow decisions to be reviewed
AI Risk Management FrameworkAI RMFA voluntary NIST framework with the functions Govern, Map, Measure and Manage
The agent cardAgent CardA brief document describing the agent's purpose, tools, limits and evaluation
Data retentionData RetentionThe period and conditions during which the user's data is kept

Review questions

  1. Name the five dimensions of responsibility, and give an example of a failure in each one in a university agent.
  2. Under which NIST AI RMF function does the evaluation set fall? And under which does naming the agent's owner fall?
  3. Why is "the agent suggests and does not execute" a responsible decision in academic advising?
  4. How do you measure fairness between users who write in different languages?

References