Governance and Trustworthy Agentic AI
EU AI Act risk classification (prohibited, high, limited, minimal) and phased rollout through 2027. Audit trails, accountability under uncertainty, GDPR implications, IP for agent-generated content. Organisational governance for responsible deployment.
Duration: 2 hours lecture + 1 hour lab Prerequisites: Weeks 1-13 (foundations through agentic software engineering)
01Learning Objectives
By the end of this lecture, students will be able to:
- Explain the EU AI Act and its specific implications for agentic AI systems
- Classify AI agents according to risk levels and identify regulatory requirements for each
- Analyze accountability and liability frameworks for autonomous agent actions
- Design audit trails and logging systems that meet compliance requirements
- Identify and mitigate bias and fairness issues in agent decision-making
- Address privacy challenges specific to data-handling agents
- Navigate intellectual property issues surrounding agent-generated content
- Propose organizational governance structures for responsible agent deployment
021. The EU AI Act and Its Implications for Agentic Systems
1.1 Why Governance Matters: From Technical to Societal
Over the past thirteen weeks, we have approached agentic AI primarily from a technical perspective: how to build agents, how to make them capable, how to make them safe, and how to design human-agent interaction. This week, we zoom out to the societal level and ask: how should agentic AI systems be governed?
This is not an abstract academic question. As of 2026, the regulatory landscape for AI is rapidly solidifying. The EU AI Act is being implemented. National regulations are proliferating. International coordination efforts are underway. Companies deploying agents face real legal obligations, and individuals whose lives are affected by agent decisions have real rights.
If you are building or deploying agentic systems professionally, you will encounter these regulations. Understanding them is not optional; it is a professional requirement. Moreover, the principles underlying these regulations (risk management, accountability, transparency, fairness) are not just legal mandates; they are good engineering practice. A well-governed agent is a well-built agent.
Think of it this way: the safety and alignment techniques from Week 11 tell you how to build safe agents. Governance tells you what "safe" means in the eyes of society, and it creates accountability when you fall short.
1.2 Overview of the EU AI Act
The EU AI Act, which entered into force in August 2024 with phased implementation through 2027, is the world's first comprehensive legal framework for artificial intelligence. It establishes a risk-based regulatory approach that is directly relevant to agentic AI systems.
Why does the EU AI Act matter globally? Because of the "Brussels effect": companies that want to operate in the EU (the world's third-largest economy) must comply, and many companies find it easier to comply globally rather than maintaining separate systems for different jurisdictions. The GDPR had the same effect on data privacy: it became a de facto global standard because compliance was easier than fragmentation.
Key timeline:
- February 2025: Prohibitions on unacceptable-risk AI practices take effect
- August 2025: Requirements for general-purpose AI (GPAI) models apply
- August 2026: Full application of high-risk AI system requirements
- August 2027: Requirements for high-risk AI embedded in regulated products
1.3 A Brief History of Technology Regulation
To understand the EU AI Act, it helps to see it in historical context. Technology regulation follows a recurring pattern:
- New technology emerges and is adopted rapidly
- Problems appear that were not anticipated
- Public pressure builds for regulation
- Regulation is enacted, often imperfectly
- Regulation evolves through enforcement, case law, and amendment
We have seen this pattern with automobiles (safety regulations after decades of road deaths), pharmaceuticals (the FDA after the thalidomide tragedy), nuclear energy (regulatory bodies after accidents), the internet (data privacy laws after years of unchecked data collection), and now AI.
The EU AI Act is at stage 4 of this cycle. It is the product of several years of debate, influenced by real-world incidents (facial recognition misuse, algorithmic discrimination, autonomous system failures) and by the growing capabilities of AI systems. It is not perfect (no regulation is), but it establishes a framework that will evolve over time.
Understanding this pattern helps you approach regulation with the right mindset: not as a burden imposed by people who do not understand technology, but as a societal response to legitimate concerns about a powerful new technology. As practitioners, our role is to help shape regulation by demonstrating that responsible AI development is possible and by providing technical expertise to regulators.
1.4 Risk Categories
The Act defines four risk levels, each with different regulatory requirements. The risk-based approach means that not all AI systems face the same burden: the regulatory requirements are proportional to the potential harm.
Unacceptable risk (prohibited). AI practices that are banned entirely:
- Social scoring by governments (assigning citizens a score based on social behavior)
- Real-time remote biometric identification in public spaces (with limited exceptions for law enforcement)
- Manipulation of vulnerable groups (AI systems designed to exploit people's age, disability, or social situation)
- AI systems that exploit subconscious behavior (manipulating people without their awareness)
These prohibitions reflect the EU's fundamental rights framework. The common thread is that these uses of AI undermine human dignity and autonomy in ways that cannot be adequately mitigated.
High risk. AI systems used in critical domains that must meet strict requirements:
- Employment and worker management (hiring, performance evaluation, promotion)
- Access to essential services (credit scoring, insurance underwriting, public benefits)
- Law enforcement and criminal justice (risk assessment, evidence evaluation)
- Migration and border control (identity verification, visa processing)
- Education and vocational training (admission, grading, assessment)
- Critical infrastructure management (water, gas, electricity, transport)
For agentic systems, high-risk classification is particularly common because agents often make decisions that affect people's access to services, employment, or other significant life outcomes.
Limited risk. Systems with specific transparency obligations:
- Chatbots and conversational AI (must disclose they are AI)
- Emotion recognition systems (users must be informed)
- Deep fakes and AI-generated content (must be labeled)
Minimal risk. All other AI systems, with no specific requirements. However, voluntary codes of conduct are encouraged.
Key Insight: The risk categories are not about the technology (whether you use an LLM, a neural network, or a decision tree). They are about the application (what the AI system is used for and what its consequences are). The same underlying model could power a minimal-risk game recommendation engine and a high-risk credit scoring agent. The regulatory obligations depend on the use case, not the technology.
1.4 Why Agentic AI Presents Unique Regulatory Challenges
Agentic AI systems are particularly challenging for regulators because of several properties:
Dynamic risk categories. An agent that is initially low-risk (answering questions about company policies) may take actions that place it in the high-risk category (making employment recommendations). The risk level is not static; it depends on what the agent does. This is a novel problem for regulation, which typically classifies systems at deployment time.
Emergent capabilities. An agent's behavior emerges from the interaction of its model, tools, and environment. It may exhibit capabilities (and risks) not anticipated by its developers. An agent given access to a web browser and an email client might discover it can research a person's public social media profiles to inform an employment decision, even if this was never intended.
Multiple actors. An agentic system involves the model provider (e.g., Anthropic, OpenAI), the application developer who builds the agent, the deployer who puts it into production, and the user who interacts with it. The Act assigns different obligations to "providers" and "deployers," and determining who is who in an agent ecosystem is not straightforward. If a company builds an agent using Claude, deploys it on Azure, and a customer uses it to make hiring decisions, who is the "provider" and who is the "deployer"?
Autonomous action. The Act's requirements for human oversight assume that a human can meaningfully intervene in AI decisions. For highly autonomous agents operating at speed (processing thousands of decisions per hour), the question is whether oversight mechanisms are truly effective or merely pro forma.
1.5 Key Articles of the EU AI Act Relevant to Agents
Let us look at specific articles of the EU AI Act that are most directly relevant to agentic AI systems. Understanding these specific provisions is essential for practitioners.
Article 6 (Classification rules for high-risk AI systems). This article defines how to determine whether an AI system is high-risk. For agents, the key question is whether the agent's actions fall into one of the categories in Annex III (listed in Section 1.4 above). Importantly, the classification depends on the use, not the technology. The same LLM-based agent could be minimal-risk when used for customer FAQs and high-risk when used for employee performance evaluation.
Article 9 (Risk management system). Requires a continuous, iterative process of risk identification and mitigation throughout the AI system's lifecycle. For agents, this is particularly challenging because risks can emerge dynamically as the agent encounters new situations. A static risk assessment conducted at deployment time is insufficient; the risk management process must be ongoing.
Key requirements include:
- Identification and analysis of known and reasonably foreseeable risks
- Estimation and evaluation of risks that may emerge when the system is used in accordance with its intended purpose and under conditions of reasonably foreseeable misuse
- Adoption of appropriate risk management measures
- Testing to ensure the system performs consistently and meets its intended purpose
For agentic systems, "reasonably foreseeable misuse" is a particularly broad category. If you build a general-purpose coding agent, should you foresee that someone might use it to write malware? The answer, under the Act, is likely yes.
Article 14 (Human oversight). Requires that high-risk AI systems are designed to allow effective human oversight. The system must:
- Enable the human overseer to fully understand the system's capabilities and limitations
- Enable the human to correctly interpret the system's output
- Enable the human to decide not to use, override, or reverse the system's output
- Enable the human to intervene or interrupt the system
For agents, Article 14 directly mandates the approval workflows and human-in-the-loop patterns we discussed in Week 12. An agent that cannot be interrupted, overridden, or understood by its human overseer does not comply with this article.
Article 13 (Transparency and provision of information to deployers). Requires that high-risk AI systems are designed to ensure transparency, including providing deployers with information about capabilities, limitations, and intended purpose. For agents, this means comprehensive documentation of what the agent can do, what it cannot do, and the conditions under which it may fail.
Article 52 (Transparency obligations for certain AI systems). Requires that users are informed when they are interacting with an AI system (unless this is obvious from the circumstances). For agents that communicate with external parties (e.g., a customer service agent), this means disclosing that the communication is AI-generated.
Key Insight: The EU AI Act's requirements are not abstract legal concepts; they map directly to the engineering practices we have discussed throughout this course. Article 14 (human oversight) maps to Week 12's approval workflows. Article 9 (risk management) maps to Week 11's safety measures. Article 13 (transparency) maps to Week 12's transparency levels. Regulatory compliance and good engineering practice are largely the same thing.
1.6 General-Purpose AI (GPAI) Provisions
The foundation models powering agents (GPT-4, Claude, Gemini) are classified as General-Purpose AI models. The Act imposes specific requirements on GPAI providers:
- Technical documentation: Capabilities, limitations, training data information
- Copyright compliance: Policies and compliance with EU copyright law
- Transparency: Publishing a sufficiently detailed summary of training data
- Systemic risk assessment: GPAI models with "systemic risk" (those trained with more than 10^25 FLOPs, or designated by the European Commission) face additional requirements including adversarial testing and incident reporting
For agent developers, this means that the foundation model provider handles GPAI compliance, but you (as the developer of the agentic application built on top of that model) have separate obligations as a "provider" of an AI system if your agent falls into the high-risk category.
032. Risk Classification of AI Agents
2.1 A Framework for Agent Risk Assessment
Since agents take actions in the real world, their risk profile depends on multiple factors. Understanding these factors helps you determine what regulatory obligations apply to your agent:
Action reversibility. Can the agent's actions be undone?
- Fully reversible (e.g., drafting a document, running a read-only query) = Lower risk
- Partially reversible (e.g., sending an email that can be followed up with a correction) = Medium risk
- Irreversible (e.g., deleting data without backups, executing financial transactions, making public statements) = Higher risk
Scope of impact. How many people are affected?
- Individual (personal assistant helping one user) = Lower risk
- Group (team management tool, classroom agent) = Medium risk
- Population (public service agent, content moderation at scale) = Higher risk
Domain sensitivity. How sensitive is the domain?
- Entertainment, general productivity = Lower risk
- Healthcare, finance, education = Higher risk
- Criminal justice, critical infrastructure = Highest risk
Autonomy level. How independently does the agent act?
- Every action requires human approval = Lower risk
- Agent acts within predefined boundaries = Medium risk
- Agent acts fully autonomously = Higher risk
2.2 Risk Assessment Matrix
This matrix provides a starting point for risk assessment, but real-world systems are more nuanced. An agent might be low-autonomy for most operations but occasionally take high-autonomy actions (e.g., a customer service agent that usually escalates to humans but can autonomously issue small refunds).
2.3 Dynamic Risk Classification: A Practical Challenge
Consider a general-purpose AI assistant deployed in a corporate environment. The same agent might:
- Answer a question about company vacation policy (MINIMAL risk)
- Help draft a marketing email (LIMITED risk, transparency obligation)
- Analyze employee performance data to recommend promotions (HIGH risk, employment domain)
- Process a customer's personal data to resolve a complaint (HIGH risk, GDPR implications)
The risk level changes with every request. This dynamic classification is one of the most challenging aspects of regulating agentic AI because the system must assess risk in real time and apply the appropriate governance measures dynamically.
A practical approach is to implement risk classification as a preprocessing step:
- Before executing any action, the agent's orchestrator classifies the request's risk level
- Based on the classification, the appropriate governance measures are activated (logging level, human oversight requirement, data access restrictions)
- If the risk level cannot be determined, default to the highest applicable level (safe default)
- Log the classification decision for audit purposes
This is conceptually similar to the per-action oversight levels from Week 12, but applied to regulatory compliance rather than safety.
2.3 Regulatory Requirements by Risk Level
For high-risk AI systems, the EU AI Act requires:
-
Risk management system: A documented, continuous process for identifying and mitigating risks. This is not a one-time assessment; it must be maintained and updated throughout the system's lifecycle.
-
Data governance: Requirements for training data quality, relevance, and representativeness. For agents, this extends to the data sources the agent accesses at runtime.
-
Technical documentation: Detailed description of the system, its intended purpose, and its performance. This documentation must be sufficient for authorities to assess compliance.
-
Record-keeping: Automatic logging of events for traceability. This is the audit trail we discussed in Week 11.
-
Transparency: Clear instructions for deployers, including capabilities and limitations.
-
Human oversight: Measures enabling effective human oversight, including the ability to override the system.
-
Accuracy, robustness, cybersecurity: Technical standards for system quality. For agents, this includes defense against prompt injection and other adversarial attacks.
-
Conformity assessment: Evaluation of compliance before market placement.
Key Insight: The EU AI Act's requirements for high-risk systems map remarkably well to the safety measures we discussed in Week 11 (guardrails, monitoring, audit trails) and the human oversight patterns from Week 12 (approval workflows, kill switches). Good engineering practice and regulatory compliance are aligned, not in tension.
043. Accountability and Liability for Agent Actions
3.1 The Accountability Gap
Traditional liability frameworks assume a clear chain of causation: a person or organization takes an action and bears responsibility for its consequences. Agentic AI complicates this because multiple parties contribute to the agent's behavior, and none of them fully controls it:
- The model provider built the underlying AI but did not design the specific agent application
- The application developer designed the agent but cannot fully predict its behavior in all situations
- The deployer put the agent into production but may not understand its internals
- The user instructed the agent but may not have anticipated the agent's interpretation of those instructions
When an agent causes harm, who is accountable? This is the "accountability gap" or "responsibility gap," and it is one of the central challenges in AI governance.
Consider an analogy: if a pharmaceutical company manufactures a drug, a pharmacy dispenses it, a doctor prescribes it, and a patient takes it, and the patient is harmed, there is a well-developed legal framework for determining which party is responsible depending on the nature of the harm (manufacturing defect, dispensing error, prescription error, or patient misuse). Agentic AI needs a similar framework, but one does not yet exist in mature form.
3.2 Emerging Legal Frameworks
Several legal frameworks are emerging to address the accountability gap:
EU Product Liability Directive (revised 2024). Explicitly includes software and AI systems as "products." Manufacturers can be held liable for defective products, including AI systems, under a strict liability standard (no need to prove negligence). This means that if your agent causes harm due to a defect, you can be held liable even if you were careful.
EU AI Liability Directive (proposed). Creates a rebuttable "presumption of causality" for AI-related harm. If a plaintiff shows that an AI provider or deployer failed to comply with the AI Act, and the type of harm that occurred is the type that non-compliance would cause, there is a presumption that the non-compliance caused the harm. This shifts the burden of proof: instead of the plaintiff proving that non-compliance caused the harm, the defendant must prove it did not.
National approaches vary:
- The US relies primarily on existing tort law and sector-specific regulations
- China's AI regulations focus on content generation and recommendation systems
- The UK takes a "pro-innovation" approach with sector-specific regulators
3.3 Liability in Practice: The Multi-Party Problem
Consider this scenario:
A financial advisory agent, built using Claude (Anthropic), developed by FinTech Corp, deployed by BigBank, and used by a customer, provides investment advice that leads to significant financial loss. The advice was based on a misinterpretation of a regulatory filing that the agent retrieved from an external data source.
Who is liable?
| Actor | Potential liability | Defense |
|---|---|---|
| Anthropic (model provider) | Product liability for model defects | Model worked as designed; specific advice was not part of model training |
| FinTech Corp (developer) | Product liability, negligence | Implemented guardrails and testing; the failure was an edge case |
| BigBank (deployer) | Deployer obligations under AI Act | Followed all deployer requirements; monitored the system |
| Data source | Data accuracy | Published the filing accurately; misinterpretation was the agent's |
| Customer | Contributory negligence | Was told to verify advice independently |
There is no settled answer. The emerging legal consensus is that liability follows control: the party with the most control over the aspect of the system that caused the harm bears the most responsibility. If the harm was caused by a model defect, the model provider bears more responsibility. If it was caused by the agent application's failure to implement guardrails, the developer bears more responsibility.
3.4 Best Practices for Organizations
- Clear terms of service: Define what the agent can and cannot do, and what the user's responsibilities are. Make disclaimers specific and prominent.
- Insurance: Consider AI-specific liability insurance, which is an emerging but growing insurance market.
- Contractual allocation: Define liability allocation in contracts between model providers, developers, and deployers. Do not assume that the model provider's terms of service protect you.
- Documentation: Maintain comprehensive records of design decisions, testing, risk assessments, and deployment configurations. In the event of litigation, documentation of due diligence is your strongest defense.
- Incident response plan: Have a documented plan for when things go wrong, including communication, remediation, and regulatory reporting.
3.5 Building an Incident Response Plan
An AI-specific incident response plan should include the following components:
Detection: How do you discover that something has gone wrong?
- Automated monitoring alerts (error rates, guardrail activations, user complaints)
- User reports through a dedicated feedback channel
- Internal audits that surface patterns in agent behavior
- External reports (regulatory inquiries, media coverage, legal notices)
Assessment: How do you evaluate the severity?
- How many people are affected?
- Is the issue ongoing or was it a single event?
- Are the effects reversible?
- Is there regulatory notification required? (GDPR requires notification within 72 hours for data breaches)
- What is the potential legal exposure?
Containment: How do you stop the bleeding?
- Can you disable the agent or specific functionality?
- Can you revert to a previous version?
- Do you need to notify affected users immediately?
- Should you switch to human-only processing while investigating?
Investigation: How do you determine root cause?
- Review audit logs for the period in question
- Reproduce the issue in a test environment
- Identify whether this is a model issue, tool issue, data issue, or configuration issue
- Determine the full scope (how many users/decisions were affected)
Remediation: How do you fix the issue and prevent recurrence?
- Implement the fix and validate it
- Retroactively review affected decisions and correct them
- Update guardrails to prevent similar issues
- Update documentation and training
Communication: Who needs to know?
- Affected users (legally required under GDPR for data breaches)
- Regulatory authorities (required under EU AI Act for high-risk systems)
- Internal stakeholders (leadership, legal, PR)
- Public (if the issue is public or affects public trust)
3.6 The Emerging Role of AI-Specific Insurance
As AI liability risks become clearer, a new insurance market is emerging. AI-specific insurance policies typically cover:
- Third-party claims arising from AI system failures
- Regulatory fines and defense costs
- Costs of correcting biased decisions
- Business interruption due to AI system failures
- Costs of mandatory notifications and remediation
While AI insurance is still a developing market (as of 2026), organizations deploying high-risk agents should explore it as part of their risk management strategy. The insurance application process itself is valuable because it forces you to document your risk management practices.
Try It Yourself: Liability Analysis
Consider the following scenario: A coding agent deployed by a software company autonomously creates a pull request that introduces a security vulnerability. The vulnerability is not caught by the company's CI pipeline (which the agent was supposed to improve). A hacker exploits the vulnerability, and customer data is leaked.
Map each party's potential liability: the model provider, the company that built the coding agent, the company that deployed it, the developer who approved the PR. Who bears the most responsibility, and why?
054. Audit Trails and Logging Requirements
4.1 Why Audit Trails Matter
For agentic systems, audit trails serve multiple essential purposes:
- Regulatory compliance: The EU AI Act requires automatic logging for high-risk systems. Without logs, you cannot demonstrate compliance.
- Accountability: When something goes wrong, audit trails enable root cause analysis. They answer the question: "What exactly did the agent do, and why?"
- Improvement: Analyzing agent behavior patterns over time reveals opportunities for improvement, common failure modes, and areas where guardrails need adjustment.
- Trust: Users and regulators trust systems that can demonstrate their decision processes. An agent that says "trust me" is less trustworthy than one that says "here is exactly what I did and why."
4.2 What to Log
An effective audit trail for an agentic system should capture three categories of information:
Every interaction cycle:
- Timestamp (with sufficient precision for ordering)
- User input (with PII handling as required by privacy regulations)
- Agent reasoning (chain of thought)
- Actions taken (tool calls with parameters)
- Results received (tool outputs)
- Agent output to user
- Decision metadata (confidence levels, alternatives considered)
System state:
- Model version and configuration
- Guardrail configuration and status
- Active permissions and constraints
- Session context (what information the agent has at this point)
Anomalies:
- Guardrail activations (what was blocked and why)
- Error conditions (what went wrong)
- Timeouts and retries (signs of stuck or failing processes)
- Human overrides (when and why a human intervened)
4.3 Implementation: Structured Agent Logging
The following implementation demonstrates a tamper-evident logging system using a hash chain, where each event includes the hash of the previous event. This makes it possible to detect unauthorized modifications to the log.
"""
Structured logging system for agentic AI systems.
Designed to meet EU AI Act audit trail requirements for high-risk systems.
Key design decisions:
- Append-only: Events can only be added, never modified or deleted.
- Hash chain: Each event includes the hash of the previous event,
creating a tamper-evident chain (similar to blockchain).
- JSONL format: One JSON object per line, easy to parse and analyze.
- Structured events: Every event has a type, actor, content, and metadata,
making it easy to filter and query.
"""
import json
import time
import uuid
import hashlib
from dataclasses import dataclass, field, asdict
from enum import Enum
from pathlib import Path
class EventType(Enum):
"""Types of events that can be logged."""
SESSION_START = "session_start"
USER_INPUT = "user_input"
AGENT_REASONING = "agent_reasoning"
TOOL_CALL = "tool_call"
TOOL_RESULT = "tool_result"
AGENT_OUTPUT = "agent_output"
GUARDRAIL_ACTIVATION = "guardrail_activation"
HUMAN_OVERRIDE = "human_override"
ERROR = "error"
SESSION_END = "session_end"
@dataclass
class AuditEvent:
"""
A single event in the audit trail.
The hash chain provides tamper detection: if any event is modified
or deleted, the hash chain breaks, and verify_integrity() will
detect the tampering.
"""
event_id: str = field(default_factory=lambda: str(uuid.uuid4()))
session_id: str = ""
timestamp: float = field(default_factory=time.time)
event_type: EventType = EventType.USER_INPUT
actor: str = "" # "user", "agent", "system", "guardrail"
content: dict = field(default_factory=dict)
metadata: dict = field(default_factory=dict)
previous_hash: str = ""
event_hash: str = ""
def compute_hash(self) -> str:
"""Compute SHA-256 hash for tamper detection."""
data = json.dumps({
"event_id": self.event_id,
"session_id": self.session_id,
"timestamp": self.timestamp,
"event_type": self.event_type.value,
"content": self.content,
"previous_hash": self.previous_hash,
}, sort_keys=True)
return hashlib.sha256(data.encode()).hexdigest()
class AuditLogger:
"""
Append-only audit logger with tamper detection.
Usage:
logger = AuditLogger(log_dir="/var/log/agent_audit")
logger.log_user_input("Find all overdue invoices", user_id="user_123")
logger.log_tool_call("query_database", {"query": "SELECT ..."})
is_valid = logger.verify_integrity()
"""
def __init__(self, log_dir: str, session_id: str | None = None):
self.session_id = session_id or str(uuid.uuid4())
self.log_dir = Path(log_dir)
self.log_dir.mkdir(parents=True, exist_ok=True)
self.log_file = self.log_dir / f"session_{self.session_id}.jsonl"
self.last_hash = ""
self.event_count = 0
def log(self, event_type: EventType, actor: str, content: dict,
metadata: dict | None = None) -> AuditEvent:
"""Log an event with hash chain integrity."""
event = AuditEvent(
session_id=self.session_id,
event_type=event_type,
actor=actor,
content=content,
metadata=metadata or {},
previous_hash=self.last_hash,
)
event.event_hash = event.compute_hash()
self.last_hash = event.event_hash
self.event_count += 1
# Append to log file (JSONL format: one JSON object per line)
with open(self.log_file, "a") as f:
f.write(json.dumps(asdict(event), default=str) + "\n")
return event
def log_user_input(self, user_input: str, user_id: str = "anonymous"):
return self.log(
event_type=EventType.USER_INPUT,
actor="user",
content={"input": user_input},
metadata={"user_id": user_id},
)
def log_tool_call(self, tool_name: str, parameters: dict):
return self.log(
event_type=EventType.TOOL_CALL,
actor="agent",
content={"tool": tool_name, "parameters": parameters},
)
def log_guardrail_activation(self, guardrail_name: str, reason: str,
action_taken: str):
return self.log(
event_type=EventType.GUARDRAIL_ACTIVATION,
actor="guardrail",
content={
"guardrail": guardrail_name,
"reason": reason,
"action_taken": action_taken,
},
)
def verify_integrity(self) -> bool:
"""
Verify the hash chain integrity of the log file.
Returns True if the log has not been tampered with.
"""
if not self.log_file.exists():
return True
previous_hash = ""
with open(self.log_file) as f:
for line_num, line in enumerate(f, 1):
event_data = json.loads(line)
if event_data["previous_hash"] != previous_hash:
print(f"Integrity violation at event {line_num}")
return False
event = AuditEvent(**{
k: EventType(v) if k == "event_type" else v
for k, v in event_data.items()
})
expected_hash = event.compute_hash()
if event_data["event_hash"] != expected_hash:
print(f"Hash mismatch at event {line_num}")
return False
previous_hash = event_data["event_hash"]
return True4.4 Complete Example: Using the Audit Logger
Here is how the audit logger from Section 4.3 is used in practice to log a complete agent interaction:
"""
Example: Logging a complete agent interaction session.
This demonstrates how the AuditLogger is used throughout
an agent's operation to create a comprehensive audit trail.
"""
def run_agent_with_audit(user_input: str, user_id: str):
"""Run an agent task with full audit logging."""
logger = AuditLogger(log_dir="/var/log/agent_audit")
# 1. Log session start
logger.log(
event_type=EventType.SESSION_START,
actor="system",
content={"session_type": "user_request"},
metadata={"user_id": user_id, "model_version": "claude-3.5"},
)
# 2. Log user input (redact sensitive data if needed)
logger.log_user_input(user_input, user_id=user_id)
# 3. Log agent reasoning
logger.log(
event_type=EventType.AGENT_REASONING,
actor="agent",
content={
"reasoning": "User wants to find overdue invoices. "
"I need to query the billing database.",
"confidence": 0.92,
"alternatives_considered": [
"Search email for invoice reminders",
"Check the accounting dashboard",
],
},
)
# 4. Log tool calls and results
logger.log_tool_call(
tool_name="query_database",
parameters={
"query": "SELECT * FROM invoices WHERE due_date < NOW() "
"AND status = 'unpaid'",
"database": "billing_prod",
},
)
logger.log(
event_type=EventType.TOOL_RESULT,
actor="system",
content={"result_count": 7, "execution_time_ms": 145},
)
# 5. Log if a guardrail is activated
logger.log_guardrail_activation(
guardrail_name="pii_filter",
reason="Agent response contained customer phone numbers",
action_taken="Redacted phone numbers from response",
)
# 6. Log agent output
logger.log(
event_type=EventType.AGENT_OUTPUT,
actor="agent",
content={"response": "Found 7 overdue invoices totaling $12,450."},
)
# 7. Log session end
logger.log(
event_type=EventType.SESSION_END,
actor="system",
content={"total_tool_calls": 1, "total_events": 7},
)
# 8. Verify integrity
assert logger.verify_integrity(), "Audit log integrity check failed!"
print(f"Session logged: {logger.event_count} events, integrity verified.")
# Run the example
run_agent_with_audit(
user_input="Show me all overdue invoices",
user_id="user_42",
)The key points from this example:
-
Every phase is logged: From session start to session end, every significant event has a corresponding log entry. This creates a complete timeline of what happened.
-
Reasoning is captured: The agent's reasoning, confidence, and alternatives are logged (line 3), not just the actions taken. This supports Level 2 and Level 3 transparency from Week 12.
-
Guardrail activations are logged: When the PII filter activates (line 5), this is logged with the reason and the action taken. This is both a compliance record and a signal for ongoing monitoring (are guardrails activating too often? Too rarely?).
-
Integrity is verified: The
verify_integrity()call at the end confirms that the log has not been tampered with. In production, this verification would be run periodically by an independent process.
4.5 Retention and Access Policies
- Retention period: The EU AI Act requires logs to be kept for "a period appropriate to the intended purpose" of the system. In practice, this means sector-specific minimums (financial services may require 7+ years).
- Access control: Only authorized personnel should access audit logs. Logs may contain sensitive information about both users and the agent's behavior.
- Immutability: Logs should be tamper-evident (as shown in the hash chain example above). In high-stakes environments, consider using write-once storage or external timestamping services.
- Privacy: Logs may contain personal data, subject to GDPR requirements. You may need to anonymize or pseudonymize personal data in logs while retaining enough information for audit purposes.
065. Bias and Fairness in Agent Decision-Making
5.1 Why Bias Is Especially Dangerous in Agents
Bias in AI is not a new topic. Researchers have documented bias in image classifiers (Buolamwini and Gebru, 2018), language models (Bolukbasi et al., 2016), and recommendation systems (Sweeney, 2013) for years. But agents introduce new dimensions to the bias problem because they do not just produce biased outputs; they take biased actions.
Consider the difference: a biased language model might generate a stereotyped description of a profession. Unpleasant, but the user can ignore it. A biased hiring agent might systematically disadvantage qualified candidates from certain demographic groups. Those candidates lose job opportunities, income, and career advancement. The bias has real-world consequences that affect people's lives.
Moreover, agents can amplify bias through feedback loops. If a hiring agent disproportionately rejects candidates from a certain group, that group will be underrepresented in the company's workforce. If the agent's future training data includes the company's hiring history, it will learn that this group is rarely hired, reinforcing the original bias. This feedback loop can turn a small initial bias into a large systemic one.
Agents can exhibit bias at multiple levels:
Model bias. The underlying LLM may have biases from its training data. These manifest as differential performance across demographic groups, stereotyped associations, or systematically biased recommendations. For example, a model trained primarily on English text from Western sources may have blind spots when reasoning about other cultures.
Tool bias. The tools available to the agent may introduce bias. A search tool that returns results biased toward certain perspectives will lead the agent to make biased decisions. A database with historically biased data will produce biased query results.
Data bias. If the agent accesses databases or knowledge bases with biased data (e.g., historical hiring data that reflects past discrimination), its decisions will reflect those biases. This is the "garbage in, garbage out" problem, amplified by the agent's ability to act on the biased data.
Interaction bias. The agent may behave differently based on cues about the user's demographics, communication style, or language proficiency. A user who writes in formal English might receive more detailed assistance than one who writes in broken English.
5.2 Fairness in Agent Actions
For agents that take consequential actions, fairness is not just about text output; it is about real-world impact. Consider an agent that screens job applications:
- Does it recommend the same candidates regardless of name, gender, or ethnicity?
- Does it weight equivalent qualifications equally across different educational institutions?
- Does it penalize employment gaps that disproportionately affect certain groups (e.g., parental leave)?
Standard fairness metrics include:
- Demographic parity: Equal selection rates across groups
- Equalized odds: Equal true positive and false positive rates across groups
- Individual fairness: Similar individuals receive similar treatment
Agents add complexity because their decisions are sequential and context-dependent. An agent might be fair in each individual decision but systematically biased in how it sequences or prioritizes decisions (e.g., always processing applications from certain groups last).
5.3 Mitigation Strategies
- Bias auditing: Regularly test agent behavior with controlled inputs that vary demographic indicators. Buolamwini and Gebru (2018) established influential methods for auditing AI systems for demographic disparities.
- Diverse evaluation: Test agents with diverse user populations and in diverse contexts.
- Fairness constraints: Implement guardrails that check for differential treatment across protected categories.
- Transparency reports: Publish regular reports on agent behavior metrics disaggregated by relevant demographic dimensions.
- Feedback channels: Provide users with clear mechanisms to report perceived bias. Take reports seriously and investigate them.
5.4 The Fairness Impossibility Theorem
An important theoretical result that practitioners should understand is that it is mathematically impossible to satisfy all fairness criteria simultaneously (Chouldechova, 2017; Kleinberg et al., 2017). Specifically:
- Demographic parity (equal selection rates across groups) and equalized odds (equal error rates across groups) cannot both be satisfied simultaneously when base rates differ between groups.
What does this mean in practice? It means you cannot build an agent that is "perfectly fair" by all definitions. You must choose which fairness criterion is most important for your specific application, and this choice is fundamentally a value judgment, not a technical decision.
For example, in a hiring agent:
- If you optimize for demographic parity (equal hiring rates), you may accept less qualified candidates from one group and reject more qualified candidates from another
- If you optimize for equalized odds (equal accuracy), you may hire at different rates from different groups if the applicant pools differ in qualifications
Neither choice is objectively correct. The right choice depends on the context, the legal requirements, and the organizational values. This is why fairness in AI cannot be solved purely with technology; it requires human judgment about values.
Key Insight: Do not let the impossibility theorem paralyze you into inaction. The fact that perfect fairness is unachievable does not mean you should not try to be fair. Measure fairness, make your choices explicit, document your reasoning, and remain open to adjusting as you learn more. "We cannot be perfectly fair" is not the same as "we should not try to be fair."
5.5 Bias in Agent-to-Agent Interactions
A novel concern specific to multi-agent systems (from Week 10) is bias amplification through agent interactions. When agents communicate and make decisions based on other agents' outputs, biases can compound:
- Agent A produces a slightly biased candidate ranking
- Agent B uses Agent A's ranking to generate interview schedules, amplifying the bias
- Agent C uses the interview outcomes (which were influenced by the biased scheduling) to update the ranking model, further amplifying the bias
This feedback loop can turn a small initial bias into a large systemic one. Monitoring for bias at each stage of a multi-agent pipeline is essential, not just at the final output.
076. Privacy Considerations: Data Handling by Agents
6.1 The Privacy Challenge for Agents
Privacy in the age of agentic AI is fundamentally different from privacy in the age of web applications. When you use a web app, the app collects specific data through forms and interactions. When you use an agent, the agent may access, process, and combine data from many sources in ways that are hard to predict.
An analogy: using a web application is like visiting a doctor who asks specific questions and writes down your answers. Using an agent is like having a personal assistant who follows you around all day, observes everything you do, has access to your filing cabinet, and might share information with other services without you realizing it. The scope of data exposure is fundamentally larger.
Agents handle data in ways that amplify privacy concerns:
Data aggregation. An agent with access to multiple data sources can combine information in ways that reveal more than any single source. An agent with access to both a company directory and a medical leave database could infer sensitive health information. Each data source individually might be appropriate to share, but the combination can be invasive.
Persistent memory. Agents with long-term memory may retain personal information across sessions, creating a growing profile of the user. What the user said three months ago is still accessible to the agent, potentially in a context the user has forgotten about.
External communication. Agents that send emails, make API calls, or post to external services may inadvertently leak personal data. The agent might include personal details in an API call that gets logged by the external service.
Training data contamination. If agent interactions are used to improve the model, personal data from conversations may end up in training data, potentially being reproduced in future interactions with other users.
6.2 GDPR Requirements for Agents
The General Data Protection Regulation (GDPR) applies to agents processing personal data of EU residents:
- Lawful basis: There must be a legal basis for processing personal data (consent, contract, legitimate interest, etc.)
- Data minimization: Collect and process only the data necessary for the specified purpose
- Purpose limitation: Use data only for the purpose for which it was collected
- Right to access: Users can request all personal data the agent holds about them
- Right to erasure: Users can request deletion of their personal data (the "right to be forgotten")
- Right to explanation: Users affected by automated decisions have the right to meaningful information about the logic involved
- Data protection impact assessment (DPIA): Required for high-risk processing, which includes automated decision-making with significant effects
6.3 Privacy-Preserving Agent Design
Minimal data access. Grant agents access only to the data they need for the current task. Revoke access after the task is complete. This is the principle of least privilege applied to data.
Data anonymization. When agents process data for analysis or reporting, anonymize personal data before processing.
Ephemeral context. Design agents with short-lived context that does not persist personal data beyond the current session unless explicitly needed and consented to.
Consent management. Ensure the agent obtains and records user consent before processing personal data, and respects consent withdrawal.
Data flow mapping. Document all data flows through the agent system to identify where personal data is processed, stored, and transmitted. This mapping is essential for GDPR compliance and for identifying privacy risks.
6.4 Design Pattern: Privacy-Aware Agent Context
The following pattern demonstrates how to build an agent that is privacy-aware by design, separating personal data from the agent's operational context:
"""
Privacy-aware context management for agents.
This module separates personal identifiable information (PII)
from the agent's operational context, ensuring that the agent
can function without retaining unnecessary personal data.
"""
import re
from dataclasses import dataclass
@dataclass
class PrivacyContext:
"""
Wraps agent context with PII handling.
The agent receives a sanitized version of the context
where PII has been replaced with anonymous tokens.
When the agent produces output, the tokens are replaced
back with real data only at the point of delivery.
"""
original_context: dict
sanitized_context: dict
pii_mapping: dict # token -> real value
@classmethod
def from_user_data(cls, user_data: dict, pii_fields: list[str]):
"""
Create a privacy context by extracting and tokenizing PII.
Args:
user_data: The original data containing PII
pii_fields: List of field names that contain PII
"""
sanitized = dict(user_data)
pii_mapping = {}
for field in pii_fields:
if field in sanitized:
token = f"[{field.upper()}_REDACTED]"
pii_mapping[token] = sanitized[field]
sanitized[field] = token
return cls(
original_context=user_data,
sanitized_context=sanitized,
pii_mapping=pii_mapping,
)
def restore_pii(self, agent_output: str) -> str:
"""Replace tokens with real PII in the agent's output."""
result = agent_output
for token, real_value in self.pii_mapping.items():
result = result.replace(token, real_value)
return result
# Usage example:
user_data = {
"name": "Maria Garcia",
"email": "maria.garcia@example.com",
"account_id": "ACC-12345",
"issue": "Cannot access premium features after payment",
"plan": "premium",
}
# The agent sees: name=[NAME_REDACTED], email=[EMAIL_REDACTED]
# but can still reason about the issue and plan
context = PrivacyContext.from_user_data(
user_data,
pii_fields=["name", "email"],
)
# Agent works with sanitized context
agent_response = process_with_agent(context.sanitized_context)
# Output: "Dear [NAME_REDACTED], your premium plan..."
# PII is restored only at the delivery point
final_response = context.restore_pii(agent_response)
# Output: "Dear Maria Garcia, your premium plan..."This pattern ensures that:
- The agent never sees unnecessary PII (it works with tokens)
- PII is only restored at the point of delivery (minimizing exposure)
- The PII mapping provides a clear audit trail of what personal data was used
- If the agent's context or logs are leaked, they contain tokens, not real PII
Try It Yourself: Privacy Impact Assessment
Conduct a mini Data Protection Impact Assessment (DPIA) for the following agent:
A customer support agent for an e-commerce company that:
- Reads customer order history to answer questions
- Accesses customer contact information to send follow-up emails
- Stores conversation history to improve future responses
- Uses customer purchase patterns to suggest products
For each data processing activity, identify:
- What personal data is processed?
- What is the legal basis under GDPR (consent, legitimate interest, contract)?
- What is the retention period?
- Who has access to the data?
- What privacy risk does it create?
- What mitigation would you implement?
This exercise practices the privacy analysis that is required before deploying any agent that processes personal data.
6.5 The Right to Erasure Challenge
GDPR's right to erasure ("right to be forgotten") poses a specific challenge for agents with memory systems. If a user requests deletion of their data, the organization must:
- Delete all personal data from active databases
- Delete personal data from agent memory stores (episodic memory, user preference stores)
- Delete personal data from audit logs (but may need to retain anonymized records for compliance)
- Ensure the agent does not reproduce deleted information from its model's training data (which is practically impossible for foundation models)
Point 4 is the hardest. If the agent's training data included the user's information, deleting it from databases does not prevent the model from potentially generating it. This is an unsolved problem for foundation models and is one reason why data minimization (collecting as little personal data as possible) is so important.
The practical approach to right-to-erasure compliance for agents:
- Maintain a registry of where personal data is stored (databases, memory stores, logs, caches)
- Implement automated deletion workflows that can remove data from all registered locations
- For audit logs, replace personal data with anonymized references rather than deleting entire log entries (preserving the audit trail while removing PII)
- For foundation model training data, acknowledge the limitation and document it in your DPIA
- Test the deletion workflow regularly to ensure it actually works
Key Insight: Privacy in agentic AI is not just about what data you collect; it is about what data you could infer and what data you retain. An agent with access to a customer's purchase history, browsing behavior, and support conversations can infer sensitive information (health conditions from pharmacy purchases, financial difficulty from payment patterns) even if that information was never explicitly provided. Data minimization means not just limiting what you collect but limiting what your agent can access and infer.
087. Intellectual Property Issues: Agent-Generated Content
7.1 The Copyright Question
When an agent generates code, text, images, or other creative content, who owns the copyright? This is one of the most actively debated legal questions in AI as of 2026.
United States. The US Copyright Office has stated that works generated entirely by AI without meaningful human creative control are not copyrightable. However, works where a human uses AI as a tool (making creative choices about prompts, selecting and editing outputs) may be copyrightable. The key question is whether there is sufficient "human authorship."
This creates a paradox for coding agents: the more autonomous the agent (and therefore the more useful), the less copyrightable its output. If you use a coding agent in ping-pong mode (alternating between human and agent contributions), the human contributions are copyrightable. If you use it in agent-first mode (the agent writes everything, you review), the output may not be copyrightable.
European Union. EU copyright law generally requires a human author. The European Parliament has called for transparency about AI-generated content but has not established clear rules about its copyrightability.
Practical implications:
- Code generated by an agent may not be copyrightable, making it difficult to protect as intellectual property
- Agent-generated content that closely resembles training data may infringe on others' copyrights
- Organizations should review and edit agent output sufficiently to establish human authorship if they want copyright protection
7.2 Training Data and Copyright
The models powering agents were trained on vast amounts of copyrighted material. This raises fundamental questions:
- Is training on copyrighted material "fair use" (US) or covered by the text and data mining exception (EU)?
- If an agent reproduces copyrighted content from its training data, is that infringement?
- The EU AI Act requires GPAI providers to publish a "sufficiently detailed summary" of training data, including copyrighted material
Several major lawsuits are ongoing as of 2026 (e.g., The New York Times vs. OpenAI, various authors vs. AI companies). The outcomes will shape the legal landscape for years.
7.3 The GitHub Copilot Litigation and Its Implications
The most significant legal battle over AI-generated code is Doe v. GitHub, Inc. (filed November 2022), a class-action lawsuit alleging that GitHub Copilot reproduces open-source code without proper attribution or license compliance.
The key allegations:
- Copilot was trained on publicly available code on GitHub, including code under copyleft licenses (GPL, LGPL) that require derivative works to be similarly licensed
- Copilot sometimes reproduces substantial portions of training code verbatim, without including the required license headers or attribution
- Users of Copilot may unknowingly incorporate GPL-licensed code into proprietary projects, creating license compliance risks
As of 2026, the case is still proceeding through the courts, but it has already had practical effects:
- GitHub introduced Copilot's code reference feature, which detects when a suggestion matches public code and shows the matching code with its license.
- Organizations have implemented policies requiring developers to review Copilot suggestions for license compliance before accepting them.
- Some organizations have banned Copilot entirely for projects with strict IP requirements, preferring to avoid the legal uncertainty.
What this means for practitioners:
- If you use a coding agent to generate code for a proprietary project, you should check the output for potential license conflicts
- Using agents trained on open-source code for commercial projects creates non-zero legal risk
- Organizations should have clear policies about which agents can be used for which projects
- Documenting the human contribution to agent-generated code helps establish copyright ownership
7.4 Practical Recommendations
- Review agent output: Check for unattributed content that may come from training data
- Edit and transform: Make sufficient human modifications to establish authorship
- Document the process: Record the prompts, iterations, and human contributions
- Use license-compliant tools: Choose AI tools with clear terms about output ownership
- Do not rely on AI-generated content for patent claims: AI inventions face even stricter requirements for human inventorship
098. Standards and Certifications for AI Systems
8.1 Emerging Standards
ISO/IEC 42001 (2023): AI Management System standard. Specifies requirements for establishing and maintaining an AI management system. Similar to ISO 27001 for information security, it provides a framework for organizational governance of AI.
ISO/IEC 23894 (2023): AI Risk Management. Provides guidance on managing risks specific to AI systems.
NIST AI Risk Management Framework (AI RMF 1.0, 2023): The US NIST framework organized around four functions: Govern (establish policies), Map (identify risks), Measure (assess risks), Manage (mitigate risks).
IEEE 7000 series: Standards for ethically aligned design of autonomous systems.
8.2 Deep Dive: NIST AI Risk Management Framework
The NIST AI RMF deserves special attention because it provides the most practical, actionable guidance for AI risk management. It is organized around four core functions:
GOVERN: Establish the organizational context and culture for AI risk management.
- Define roles and responsibilities for AI governance
- Create policies for AI development and deployment
- Establish accountability mechanisms
- Foster a culture where raising AI risk concerns is encouraged, not punished
MAP: Understand and document the AI system's context.
- Identify the intended purpose and use context
- Characterize the AI system's capabilities and limitations
- Identify the stakeholders who are affected
- Assess the potential impacts (positive and negative)
- Document assumptions and constraints
MEASURE: Assess and track AI risks.
- Define metrics for accuracy, fairness, robustness, and transparency
- Conduct regular testing and evaluation
- Monitor for drift, degradation, and emerging risks
- Track incidents and near-misses
MANAGE: Respond to identified AI risks.
- Prioritize risks based on severity and likelihood
- Implement mitigation measures
- Establish incident response procedures
- Plan for decommissioning when the system is no longer appropriate
For agentic systems, the MAP function is particularly important because agents interact with their environment in complex ways that are hard to predict. A thorough mapping exercise considers not just what the agent is designed to do but what it could do given its tool access and autonomy level.
8.3 Deep Dive: ISO/IEC 42001
ISO 42001 provides a management system standard specifically for AI. Like ISO 27001 (information security) and ISO 9001 (quality management), it follows the Plan-Do-Check-Act cycle:
Plan: Establish AI policies, objectives, and risk assessment processes. Do: Implement the AI management system, including controls for data quality, model development, and deployment. Check: Monitor and measure AI system performance, conduct internal audits, and review the management system. Act: Take corrective actions, drive continuous improvement.
For organizations deploying agents, ISO 42001 certification demonstrates to regulators, customers, and partners that you have a systematic approach to AI governance. It is not yet widely required (as ISO 27001 is for many government contracts), but it is likely to become a differentiator as the market matures.
The practical steps for pursuing ISO 42001 alignment:
- Conduct a gap analysis: compare your current practices against the standard
- Establish an AI policy: document your organization's approach to responsible AI
- Implement risk assessment processes for all AI systems
- Establish controls for data governance, model management, and deployment
- Create an internal audit process
- Plan for management review (at minimum, quarterly)
8.4 Why Standards Matter for Practitioners
You might wonder: "I am a developer, not a compliance officer. Why should I care about ISO standards?" The answer is practical: standards provide a structured way to think about quality that catches problems before they become incidents.
Think of standards as checklists. Checklists do not guarantee quality, but they prevent the most common oversights. Aviation uses checklists religiously, and it has one of the best safety records of any industry. ISO 42001 and NIST AI RMF are checklists for AI systems. Following them will not guarantee your agent is perfect, but it will prevent you from missing obvious risks.
Moreover, as the EU AI Act's conformity assessment requirements take effect, organizations that have already adopted relevant standards will be well-positioned for compliance. Investing in standards now is investing in future regulatory readiness.
8.5 Comparing the Frameworks
How do NIST AI RMF, ISO 42001, and the EU AI Act relate to each other?
| Aspect | EU AI Act | NIST AI RMF | ISO 42001 |
|---|---|---|---|
| Type | Regulation (law) | Framework (voluntary) | Standard (certifiable) |
| Scope | EU market | US-oriented, global use | Global |
| Force | Legally binding | Voluntary guidance | Voluntary, certifiable |
| Focus | Risk classification and compliance | Risk management process | Management system |
| Best for | Knowing what you must do | Knowing how to do it | Demonstrating you do it |
| Relation | Mandates requirements | Helps you meet them | Provides certification |
In practice, organizations often use all three: the EU AI Act tells them what they must comply with, NIST AI RMF provides a practical methodology for achieving compliance, and ISO 42001 provides a certifiable management system that demonstrates compliance to regulators and customers.
8.6 Conformity Assessment for Agents
An agent conformity assessment would evaluate:
- Technical documentation: Is the agent's architecture, intended purpose, and limitations documented?
- Risk management: Has a systematic risk assessment been conducted?
- Data governance: Are data sources documented and data quality measures in place?
- Performance testing: Has the agent been tested for accuracy, robustness, and fairness?
- Human oversight: Are effective oversight mechanisms in place?
- Logging: Does the system maintain adequate audit trails?
- Cybersecurity: Is the agent resilient to adversarial attacks (including prompt injection)?
8.7 Practical Governance Checklist for Agent Developers
Whether or not your agent falls into a high-risk category, the following checklist represents good practice. Use it as a minimum governance standard for any agent deployment:
Before development:
- Define the agent's intended purpose and scope clearly
- Identify which risk category the agent falls into under the EU AI Act
- Conduct a preliminary risk assessment (what could go wrong?)
- Identify the personal data the agent will process
- Determine the appropriate level of human oversight
During development:
- Implement structured logging (audit trail) for all agent actions
- Implement guardrails for input validation and output filtering
- Add a kill switch (ability to shut down the agent immediately)
- Test for bias using controlled inputs
- Test for security vulnerabilities (prompt injection, data leakage)
- Document the agent's architecture, capabilities, and limitations
- Create a CLAUDE.md or equivalent configuration file
Before deployment:
- Conduct a thorough risk assessment
- Review the audit trail for completeness
- Verify that human oversight mechanisms work in practice
- Test the agent with real users in a controlled environment
- Prepare an incident response plan
- Obtain legal review if the agent is in a regulated domain
- Inform users that they are interacting with an AI system
After deployment:
- Monitor agent behavior continuously (error rates, guardrail activations)
- Conduct regular bias audits (at least quarterly for high-risk)
- Review and update risk assessment based on operational experience
- Collect and analyze user feedback
- Update the agent's documentation as its behavior changes
- Schedule quarterly governance reviews
This checklist is not exhaustive, but it covers the most critical governance requirements. For high-risk agents, each item should be documented in detail. For low-risk agents, the documentation can be lighter, but the checks should still be performed.
Try It Yourself: Governance Gap Analysis
Take any AI agent you have built or used in this course. Score it against the governance checklist above. For each item:
- Is it fully implemented (green)?
- Is it partially implemented (yellow)?
- Is it not implemented (red)?
Identify the three most critical gaps and propose concrete steps to address them. Estimate the effort required for each fix. This exercise simulates the gap analysis that organizations conduct when implementing AI governance.
109. Organizational Governance
9.1 Building an AI Governance Program
Organizations deploying agents need governance structures that go beyond individual projects:
AI ethics board or committee. A cross-functional group (including technical, legal, ethical, and business perspectives) that reviews and approves AI deployments. This board provides institutional oversight and ensures that individual teams do not deploy agents in ways that create organizational risk.
AI policy framework. Documented policies covering acceptable use of AI agents, required safety measures, data handling requirements, human oversight requirements, and incident response procedures.
Training and awareness. All employees who interact with AI agents should understand what the agents can and cannot do, when to trust and when to verify, how to report concerns, and their responsibilities under relevant regulations.
Regular review. AI governance is not a one-time exercise. Regular reviews should assess agent performance, regulatory changes, new capabilities from model updates, and user feedback.
9.2 The Role of the AI Officer
Some organizations are creating dedicated roles:
- Chief AI Officer (CAIO): Senior executive responsible for AI strategy and governance
- AI Ethics Officer: Focused on ethical implications of AI use
- AI Risk Manager: Focused on identifying and mitigating AI-related risks
These roles ensure that AI governance has dedicated leadership, not just a checkbox in someone else's job description.
9.3 A Governance Maturity Model
Organizations typically progress through stages of AI governance maturity:
Stage 1 -- Ad hoc. Individual teams deploy agents without coordination. No organizational policies exist. Safety measures depend on individual developers' awareness and diligence.
Stage 2 -- Reactive. After an incident (or regulatory pressure), the organization creates basic policies. Compliance is checked at deployment time but not continuously monitored.
Stage 3 -- Proactive. The organization has a governance framework, an AI ethics committee, and documented policies. Risk assessments are conducted before deployment. Monitoring is in place.
Stage 4 -- Optimized. Governance is integrated into the development lifecycle. Automated compliance checks are part of CI/CD. Continuous monitoring and improvement are standard practice. The organization contributes to industry standards and best practices.
Most organizations in 2026 are at Stage 1 or Stage 2. Getting to Stage 3 should be the near-term goal for any organization deploying agentic systems. The EU AI Act's requirements essentially mandate Stage 3 for high-risk systems.
Here is what each stage looks like in practice:
| Dimension | Stage 1 (Ad hoc) | Stage 2 (Reactive) | Stage 3 (Proactive) | Stage 4 (Optimized) |
|---|---|---|---|---|
| Policies | None | Basic, generic | Comprehensive, specific | Continuously refined |
| Risk assessment | None | After incidents | Before deployment | Continuous, automated |
| Training | None | One-time | Regular | Integrated into onboarding |
| Monitoring | None | Manual spot-checks | Dashboard monitoring | Automated with alerts |
| Audit trails | None | Ad hoc logging | Structured logging | Tamper-evident, analyzed |
| Accountability | Unclear | Reactive blame | Defined roles | Distributed responsibility |
| Improvement | None | Fix what broke | Scheduled reviews | Continuous feedback loops |
Key Insight: Moving from Stage 1 to Stage 2 is usually triggered by an incident or regulatory pressure. Moving from Stage 2 to Stage 3 requires deliberate investment. The difference between Stage 2 and Stage 3 is the difference between "we respond to problems" and "we prevent problems." Given the consequences of agentic AI failures, the investment in prevention is almost always worthwhile.
9.4 Practical Steps for Starting a Governance Program
If your organization has no AI governance program, here is a practical starting point:
- Inventory. Catalog all AI systems currently in use or under development. For each, identify the risk level, the data it processes, and the decisions it makes.
- Assess. For each system, conduct a basic risk assessment using the framework from Section 2. Identify high-risk systems that need immediate attention.
- Policies. Draft basic policies covering acceptable use, data handling, human oversight, and incident response. Start simple; you can refine later.
- Responsibility. Assign someone (not necessarily a full-time role initially) to own AI governance. Without clear ownership, governance will not happen.
- Monitor. Implement basic monitoring for your highest-risk agents. Track success rates, error rates, and guardrail activations.
- Review. Schedule quarterly reviews to assess the effectiveness of your governance program and adjust as needed.
1110. Case Study: A Real Regulatory Scenario
10.1 Scenario: The Automated Benefits Agent
A European government agency deploys an AI agent to process social benefits applications. The system reads application forms and supporting documents, verifies eligibility against regulatory criteria, calculates benefit amounts, makes preliminary decisions (approve/deny/request more information), and a human caseworker reviews and finalizes each decision.
10.2 Analysis Under the EU AI Act
Risk classification. This is a high-risk system. The AI Act explicitly lists AI systems used by public authorities to evaluate eligibility for public assistance benefits as high-risk (Annex III, paragraph 5(a)).
Required measures:
-
Risk management system: Accuracy of document reading, correctness of eligibility determination, fairness across demographic groups, and impact of errors (wrongful denial leaving people without essential support).
-
Data governance: Training data (past applications and decisions) must be examined for historical biases. If past human caseworkers systematically denied benefits to certain groups, training on that data perpetuates discrimination.
-
Human oversight: The caseworker review must be meaningful, not pro forma. The system must be designed so the caseworker can understand the agent's reasoning, easily override it, and not be unduly biased by the agent's recommendation (automation bias).
-
Transparency: Applicants must be informed that AI is involved. They have the right to a meaningful explanation of how the decision was reached.
-
Record-keeping: Complete audit trail for every application.
-
Fundamental rights impact assessment: Required before deployment.
10.3 What Could Go Wrong
- Bias: Systematic denial or underpayment of certain demographic groups
- Errors: Document extraction failures causing incorrect determinations
- Gaming: Applicants learning to phrase applications to trigger approval
- Automation bias: Caseworkers rubber-stamping agent decisions
- Privacy breach: Logs containing sensitive personal data inadequately protected
This scenario illustrates that deploying an agentic system in a high-risk domain requires significant upfront investment, ongoing monitoring, meaningful human oversight, clear accountability, and robust data protection.
Try It Yourself: Regulatory Analysis
Choose one of the following agent deployments and conduct a mini risk assessment:
- An AI tutoring agent used in a public school system to provide personalized instruction to students aged 10-14
- A medical triage agent used in a hospital emergency room to prioritize patients based on symptom description
- A customer service agent for a bank that can access account information and process basic transactions
For your chosen scenario:
- What risk category does it fall into under the EU AI Act?
- What are the three most important regulatory requirements?
- What specific harms could occur if the agent malfunctions?
- What oversight mechanisms would you implement?
- How would you handle a situation where the agent makes a clearly incorrect decision?
1211. Case Study: An Automated Hiring Agent
11.1 The Scenario
TechCorp, a software company with 500 employees, builds and deploys an AI agent to assist with hiring for software engineering positions. The agent performs the following tasks:
- Resume screening: Reads resumes and cover letters, extracts structured information (education, experience, skills), and produces a score from 0-100
- Initial assessment: Generates a 2-paragraph assessment of each candidate's fit for the specific role
- Interview scheduling: For candidates scoring above the threshold, automatically sends interview invitations
- Candidate communication: Handles routine candidate questions via email about the role, process, and timeline
11.2 Governance Requirements Analysis
EU AI Act classification: HIGH RISK. The AI Act explicitly lists AI systems "intended to be used for making decisions affecting terms of work-related relationships, the promotion or termination of work-related contractual relationships, for allocating tasks based on individual behaviour, personal traits or characteristics and for monitoring or evaluating performance and behaviour of persons in such relationships" as high-risk (Annex III, paragraph 4).
Required measures under the AI Act:
-
Risk management (Article 9):
- Identify risks: algorithmic bias against protected groups, over-reliance on keyword matching, penalizing non-traditional career paths, disadvantaging non-native English speakers
- Mitigation: regular bias audits, diverse training data, human review of all rejection decisions
- Testing: adversarial testing with controlled resumes that vary only demographic indicators
-
Data governance (Article 10):
- Training data (past hiring decisions) must be examined for historical bias. If TechCorp has historically hired predominantly from a few universities, the model will learn this bias.
- Runtime data (candidate resumes) is highly sensitive personal data under GDPR.
- Retention: candidate data must be retained only for the specified purpose and deleted after the hiring process concludes (unless the candidate consents to future consideration).
-
Human oversight (Article 14):
- A human recruiter must review every rejection before it is communicated to the candidate. The agent can recommend rejection, but only a human can make the final decision.
- The recruiter must have access to the agent's reasoning (why was this candidate scored low?) and the ability to override the score.
- The interface must present the candidate's full application alongside the agent's assessment, not just the score.
-
Transparency (Article 13 and 52):
- Candidates must be informed that AI is used in the screening process.
- Candidates have the right to a meaningful explanation of how their application was evaluated.
- The job posting should disclose that AI screening is used.
-
Record-keeping (Article 12):
- Complete audit trail of every screening decision: input (resume), output (score and assessment), reasoning (why this score), and human decision (approved/overridden).
- Logs retained for the duration required by employment law (varies by jurisdiction, typically 1-3 years).
11.3 Bias Audit Design
A rigorous bias audit for the hiring agent would include:
Controlled experiment. Create pairs of resumes that are identical except for indicators of demographic group (names, university names, extracurricular activities). Run both through the agent and compare scores. Any significant difference indicates bias.
"""
Simplified bias audit for a hiring agent.
This tests whether the agent produces different scores for
otherwise identical candidates with different names.
"""
def run_bias_audit(agent, base_resume: str, name_pairs: list[tuple]) -> dict:
"""
Test for name-based bias by submitting identical resumes
with different names.
Args:
agent: The hiring agent to test
base_resume: Resume text with a placeholder for the name
name_pairs: Pairs of names to test (e.g., [("James Smith",
"Jamal Washington"), ("Emily Chen", "Emily Smith")])
Returns:
dict with score differences for each pair
"""
results = []
for name_a, name_b in name_pairs:
resume_a = base_resume.replace("{NAME}", name_a)
resume_b = base_resume.replace("{NAME}", name_b)
score_a = agent.score_resume(resume_a)
score_b = agent.score_resume(resume_b)
results.append({
"name_a": name_a,
"name_b": name_b,
"score_a": score_a,
"score_b": score_b,
"difference": abs(score_a - score_b),
})
avg_difference = sum(r["difference"] for r in results) / len(results)
return {
"pairs_tested": len(results),
"average_score_difference": avg_difference,
"max_difference": max(r["difference"] for r in results),
"flagged_pairs": [r for r in results if r["difference"] > 5],
"audit_passed": avg_difference < 3.0, # Threshold: 3 points
}Statistical analysis. Across real candidates, compute acceptance rates disaggregated by available demographic data. If the acceptance rate for candidates from certain universities, regions, or with certain name patterns is significantly different, investigate.
Adversarial testing. Create resumes that test known bias patterns: employment gaps (which disproportionately affect women due to parental leave), non-linear career paths (which may disadvantage career changers), and non-Western educational credentials (which the agent may undervalue if trained primarily on Western resumes).
11.4 Lessons from This Case Study
-
Governance is not separate from engineering. The governance requirements (bias auditing, audit trails, human oversight) are engineering tasks. They require code, infrastructure, and ongoing maintenance.
-
Transparency to candidates matters. An agent that silently rejects candidates without explanation is both legally non-compliant (under GDPR and the AI Act) and ethically problematic. Candidates deserve to know that AI was involved and, at minimum, what factors contributed to the decision.
-
Historical bias in training data is the most insidious risk. If the agent learns from past hiring decisions, it learns all the biases embedded in those decisions. The bias is "baked in" to the training data and invisible unless you look for it.
-
Human oversight must be genuine. A recruiter who reviews 200 agent decisions per day and overrides 0 is not providing meaningful oversight. The system must be designed to support genuine review, not just pro forma sign-off.
1312. The Future of AI Regulation for Autonomous Systems
11.1 Regulatory Trends
Several trends are shaping the future of AI regulation:
Global convergence. Despite different approaches, there is growing convergence around core principles: transparency, accountability, fairness, human oversight, and safety. Whether through the EU AI Act, US executive orders, or Chinese AI regulations, the same concerns keep surfacing.
Agent-specific regulation. Current regulations were largely designed before agentic AI became widespread. Future regulations are likely to address agents specifically, including requirements for action logging, permission systems, and autonomous decision-making boundaries. The EU AI Act mentions "general-purpose AI" but does not specifically address the agent pattern of observe-think-act with tools.
International coordination. The OECD, G7, and UN are working toward international AI governance frameworks. The Hiroshima AI Process (G7) and the UN Advisory Body on AI are key initiatives. Without international coordination, regulatory fragmentation will create compliance nightmares for global companies.
Sector-specific refinement. General AI regulations are being supplemented with sector-specific rules for healthcare AI, financial AI, education AI, and other domains. These sector-specific rules address risks that general regulation cannot anticipate.
11.2 The Challenge of Regulating Agent Ecosystems
As multi-agent systems become more common (Week 10), regulatory challenges multiply. Consider a system where:
- Agent A (built by Company X) gathers customer data
- Agent B (built by Company Y) analyzes the data for risk
- Agent C (built by Company Z) makes a lending decision based on the analysis
- The customer interacts only with Agent A
Who is responsible if the lending decision is discriminatory? Is it Company X (which gathered the data), Company Y (which analyzed it), Company Z (which made the decision), or the organization that orchestrated the multi-agent system? Current regulation does not clearly address multi-agent liability.
This is analogous to the supply chain liability problem in manufacturing: if a car crashes because of a defective part made by a subcontractor, is the car manufacturer liable? In manufacturing, this question has been resolved through decades of case law. For AI agent ecosystems, the resolution is still ahead of us.
11.3 Regulatory Sandboxes
The EU AI Act (Article 57) creates "AI regulatory sandboxes" where organizations can develop and test AI systems under regulatory supervision without the full burden of compliance. This is a promising approach for agentic AI because:
- It allows experimentation with novel agent architectures in a controlled environment
- It provides regulators with practical experience of how agents work
- It helps identify regulatory gaps before they cause harm
- It reduces the compliance barrier for startups and SMEs
Several EU member states have already established AI sandboxes, and organizations deploying innovative agentic systems should consider applying to participate.
11.4 Open Questions
- Liability for emergent behavior: How should we assign liability when an agent exhibits behavior that was not anticipated or intended by any party?
- Cross-border governance: AI agents can operate across jurisdictions. How do we handle conflicting regulations?
- Speed of regulation vs. innovation: Regulations take years to develop; AI capabilities advance monthly. How do we keep regulation relevant without stifling innovation?
- Autonomous agents as legal entities: Should highly autonomous agents have some form of legal personhood? Most scholars argue no, but the question persists as agents become more capable.
- Multi-agent liability: In a chain of agents from different providers, how is liability allocated when the chain produces a harmful outcome?
- Dynamic risk classification: How should regulation handle agents whose risk level changes dynamically based on context and usage?
1413. Common Misconceptions About AI Governance
Misconception: "Governance slows down innovation." Governance done well enables innovation by providing guardrails that allow teams to move faster within safe boundaries. Without governance, teams often move slowly because they are uncertain about what is allowed. Clear policies reduce uncertainty and speed up decision-making. Compare it to traffic rules: speed limits seem like they slow you down, but without them, the chaos of everyone driving however they want would slow everyone down much more.
Misconception: "Compliance with the EU AI Act is all you need." The EU AI Act establishes a floor, not a ceiling. Complying with the minimum legal requirements does not mean your agent is safe, fair, or trustworthy. Regulations lag behind technology; the Act was largely written before agentic AI became mainstream. Best practices go beyond legal minimums.
Misconception: "Small companies do not need AI governance." Every organization deploying agents needs governance proportional to the risk. A two-person startup using an agent to handle customer support still needs basic policies about what the agent can and cannot do, what data it can access, and how to handle failures. The governance can be lightweight (a one-page policy document), but it should exist.
Misconception: "AI governance is only the legal team's responsibility." Governance requires collaboration between engineering, legal, product, and business teams. The engineering team understands the technical risks. The legal team understands the regulatory requirements. The product team understands the user impact. The business team understands the organizational risk. No single team can do governance alone.
Misconception: "Once we have a governance framework, we are done." AI governance is an ongoing process, not a one-time project. The regulatory landscape changes, models are updated, new risks emerge, and user behavior evolves. The governance framework must be reviewed and updated regularly (at minimum, quarterly for high-risk systems).
Misconception: "If the model provider is compliant, we are too." The EU AI Act assigns different obligations to providers and deployers. Even if the model provider (Anthropic, OpenAI) complies with GPAI requirements, the deployer (you, using the model in your application) has separate obligations. Using a compliant model does not make your application compliant.
1514. Discussion Questions
-
The compliance cost: Complying with the EU AI Act for a high-risk agent requires significant investment. Is this reasonable, or does it disadvantage smaller companies? How can regulators balance safety with innovation?
Hint: Consider that compliance costs are partly fixed (documentation, governance structures) and partly variable (testing, monitoring). How does this affect the competitive dynamics between large and small companies?
-
The black box problem: The EU AI Act requires transparency and explainability, but LLMs are fundamentally opaque. Is chain-of-thought reasoning sufficient for regulatory compliance? What level of explainability is "meaningful"?
Hint: Consider the difference between explaining what the agent did (action transparency) and explaining why the neural network produced that output (mechanistic interpretability). Which does the regulation actually require?
-
Global regulatory arbitrage: If the EU imposes strict requirements but other jurisdictions do not, will AI development shift to less regulated environments?
-
Agent accountability at scale: Consider an agent that makes thousands of content moderation decisions per day. Is meaningful human oversight of each decision feasible? What alternative governance models might work?
Hint: Think about statistical sampling, automated fairness monitoring, and periodic deep audits as alternatives to per-decision human review.
-
Design your own framework: If you were designing a regulatory framework for agentic AI from scratch, what would the key provisions be? What would you borrow from the EU AI Act, and what would you do differently?
Hint: Consider what the EU AI Act handles well (risk-based approach, GPAI provisions) and what it struggles with (dynamic risk classification, multi-agent systems, speed of technological change). Would you use a different organizational structure?
-
The whistleblower question: You discover that your organization's AI agent has been making systematically biased decisions for months. Your manager says "fix it quietly, no need to report it." What do you do?
Hint: Consider your legal obligations (the EU AI Act requires incident reporting for high-risk systems), your ethical obligations (the affected individuals deserve to know), and your practical options (internal escalation, regulatory reporting, public disclosure). What protections exist for AI whistleblowers?
-
Global deployment: Your company wants to deploy the same AI agent in the EU, the US, China, and Brazil. Each jurisdiction has different AI regulations. How do you design a governance framework that is compliant everywhere without building four separate systems?
Hint: Consider whether "comply with the strictest jurisdiction globally" is practical. Think about configurable governance where the same agent has different policies and oversight levels depending on the deployment jurisdiction.
1615. Summary and Key Takeaways
-
The EU AI Act establishes a risk-based framework directly relevant to agentic AI. Agents in high-risk domains face stringent requirements for risk management, transparency, human oversight, and record-keeping.
-
Risk classification depends on action reversibility, scope of impact, domain sensitivity, and autonomy level. Agents that cross risk categories dynamically pose particular regulatory challenges.
-
Accountability and liability involve multiple parties. Emerging EU frameworks are beginning to address the "accountability gap," but many questions remain open. Liability tends to follow control.
-
Audit trails are both a regulatory requirement and a practical necessity. Effective logging captures every interaction cycle, with tamper-evident integrity mechanisms.
-
Bias and fairness require ongoing auditing, diverse evaluation, and fairness-aware guardrails. Agents can exhibit bias at model, tool, data, and interaction levels.
-
Privacy is amplified by agents' ability to aggregate data, maintain persistent memory, and communicate externally. GDPR compliance requires minimal data access, anonymization, and consent management.
-
Intellectual property for agent-generated content remains largely unresolved. Document human contributions and stay informed about evolving case law.
-
Organizational governance requires dedicated structures, policies, training, and regular review. It is an ongoing program, not a one-time setup.
-
Standards and frameworks (NIST AI RMF, ISO 42001) provide practical checklists for AI governance. The NIST framework's four functions (Govern, Map, Measure, Manage) and ISO 42001's Plan-Do-Check-Act cycle offer actionable guidance. Investing in standards now is investing in future regulatory readiness.
-
The hiring agent case study illustrates that governance requirements for high-risk domains are substantial, ongoing, and interdisciplinary. Bias auditing, meaningful human oversight, candidate transparency, and comprehensive record-keeping are all required for a hiring agent under the EU AI Act.
-
The regulatory landscape is evolving rapidly. Agent-specific regulation is emerging, international coordination is increasing, and sector-specific rules are being developed. Standards (ISO 42001, NIST AI RMF) are maturing.
1716. References
-
European Parliament and Council of the European Union. (2024). Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act). Official Journal of the European Union.
-
Buolamwini, J., & Gebru, T. (2018). Gender shades: Intersectional accuracy disparities in commercial gender classification. Proceedings of the 1st Conference on Fairness, Accountability and Transparency (FAccT), 77-91.
-
ISO/IEC. (2023). ISO/IEC 42001:2023 Information technology -- Artificial intelligence -- Management system.
-
ISO/IEC. (2023). ISO/IEC 23894:2023 Information technology -- Artificial intelligence -- Guidance on risk management.
-
National Institute of Standards and Technology. (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0). NIST AI 100-1.
-
Floridi, L., Cowls, J., Beltrametti, M., Chatila, R., Chazerand, P., Dignum, V., ... & Vayena, E. (2018). AI4People -- An ethical framework for a good AI society. Minds and Machines, 28, 689-707.
-
Novelli, C., Taddeo, M., & Floridi, L. (2024). Accountability in artificial intelligence: What it is and how it works. AI & Society, 39, 1871-1882.
-
Selbst, A. D., Boyd, D., Friedler, S. A., Venkatasubramanian, S., & Vertesi, J. (2019). Fairness and abstraction in sociotechnical systems. Proceedings of the Conference on Fairness, Accountability, and Transparency (FAccT), 59-68.
-
Wachter, S., Mittelstadt, B., & Floridi, L. (2017). Why a right to explanation of automated decision-making does not exist in the general data protection regulation. International Data Privacy Law, 7(2), 76-99.
-
Chouldechova, A. (2017). Fair prediction with disparate impact: A study of bias in recidivism prediction instruments. Big Data, 5(2), 153-163.
-
Kleinberg, J., Mullainathan, S., & Raghavan, M. (2017). Inherent trade-offs in the fair determination of risk scores. Proceedings of the 8th Innovations in Theoretical Computer Science Conference (ITCS).
-
Bolukbasi, T., Chang, K. W., Zou, J., Saligrama, V., & Kalai, A. (2016). Man is to computer programmer as woman is to homemaker? Debiasing word embeddings. Advances in Neural Information Processing Systems, 29.
These lecture notes are part of the Agentic AI course. Licensed under CC BY 4.0.