Loyal Agents at AAAI 2027: Workshop announced in Montréal. Submissions open through Nov 20 →

Loyal Agents

Our Work

Research & Standards

The concrete specifications, papers, benchmarks, and tools produced across our four workstreams.

Specification

Human Context Protocol

In review · Draft 1, October 2026

HCP v2 Draft Specification

Version 2 organizes HCP into a small core, bindings for HTTP and the Model Context Protocol (MCP), and profiles for settings such as health, education and delegated authorization. Draft 1 is in review with a select group of outside reviewers.

Complete · Draft 4

HCP v1 Draft Reference Specification

Developed through four drafts with outside reviewers, including the Learning Economy Foundation, and shared privately with a small group of partners.

Published

Research and Benchmarks

Work by the Loyal Agents team at the Stanford Digital Economy Lab, newest first. Each entry links to the original post.

Project

HUMANLY: A Configurable and Traceable Environment for Human-AI Collaborative Writing

Humanly Community is the open-source, self-hostable distribution of Humanly, a writing provenance platform for human-AI collaboration.

Insight

Trusted AI: A Lot Is Happening

Sandy Pentland discusses the push for trustworthy AI agents in trade and finance as a practical first step in the broader global effort to govern AI.

Insight

How Are AI Agents Spending Your Tokens?

A Lab study finds that having AI agents automate tasks can cost more than people expect, and that the cost is hard to predict in advance.

Publication

How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks

Analyzes how much agentic coding tasks consume and how widely costs vary across runs of the same task.

Publication

The Future of Personal AI: Portable and Persistent Personal Memory through a Unified Human Context Protocol

Workshop report on making personal AI memory portable and persistent through a unified Human Context Protocol.

Publication

MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Tasks

A benchmark testing whether agent memory can guide decisions across interdependent, multi-session tasks.

Insight

Big Changes in the World: Davos 2026

Sandy Pentland reflects on the conversations about AI and the global economy at Davos 2026.

Publication

Robust AI Personalization Controls: The Human Context Protocol

Introduces the Human Context Protocol as a way for people to control how AI systems personalize to them.

Project

Loyal Agents

The Lab project page for Loyal Agents, the initiative building standards for AI agents that act in people's interests.

Project

AI for Deliberation and Consensus

Research on how AI facilitation can help diverse publics share views, engage with opposing ones and find workable policy trade-offs.

Project

Economic Simulations with AI

Uses AI agents to simulate economic behavior and test how markets and institutions respond.

Project

Authentication for AI Agents (Privacy and Security)

How agents prove who they act for and what they are allowed to do, now part of our Human Context Protocol work.

Project

Benchmarking and Evaluation (Agent Ratings)

Loyalty sandboxes, agent ratings and benchmarks that test whether agents live up to their claims.

Project

Duty of Care and Duty of Loyalty (Legal Frameworks)

Legal frameworks translating duties of care and loyalty into agent design and deployment practices.

Project

Human Context Protocol (HCP)

An open standard for portable, user-governed personal context that can move across AI systems.

Publication

The Automated but Risky Game: Modeling and Benchmarking Agent-to-Agent Negotiations and Transactions in Consumer Markets

Benchmarks what happens when buyer and seller agents negotiate with each other, and the risks this creates for consumers.

Publication

Authenticated Delegation and Authorized AI Agents

A framework for delegating authority to AI agents with verifiable credentials and clear permission scopes.

OpenID Foundation

Identity Management for Agentic AI

Workstream

Safe Multiagent Systems

Loyal Agents researchers study the hidden instructions that shape how AI products and agents behave. They also study how AI can help large groups deliberate and reach consensus, and how agents behave when they work together in teams. AISPA, the System Prompt Index and deliberation.io are early outputs of this work.

Paper

AISPA: Artificial Intelligence System Prompt Assurance

Open library

System Prompt Index

An open library of more than 1,000 system prompts from over 400 AI products, audited instruction by instruction against a user-centric standard.

Research project

AI for Deliberation and Consensus

Research on how AI facilitation can help diverse publics share views, engage with opposing ones and find workable policy trade-offs.

Open-source platform

deliberation.io

An open-source platform for large-scale, AI-facilitated public dialogue, used by Washington, DC for its AI Public Listening Session.

Research study

CooperBench: AI Coding Agents Fail at Teamwork

A Stanford study that paired coding agents on more than 650 real software engineering tasks and found that two agents working together perform worse than one alone, a shortfall the authors call the coordination gap.

Open source

Tools You Can Build On

GitHub

HCP Reference Implementation

Project site

MemoryArena Benchmark Suite

In development

Work Underway

Technical-to-normative mapping

Mapping protocols and standards to definitions of care and loyalty.

Loyal Agents Handbook

Concrete guidance for agent design and deployment.

Trustmark research

How an agent’s loyalty status could be signaled to consumers.

Loyalty sandboxes

Applying the Handbook and scenarios to detect interaction risk.

Open agent-rating service

Neutral, cryptographically secured ratings for capabilities and legal-duty performance.