Action Surfaces for Agent Interaction
Agents need clearly defined surfaces through which they interact with public service systems. These surfaces define what agents can do, what context they must provide, what outcomes are possible, and when they must escalate.
2.1 Definition of Action Types
Every action an agent may perform must be formally defined with a complete schema.
Core action types
- Data retrieval: Requesting information from system records, external data sources, or prior case history. Schema specifies what data is requested, authorization basis, purpose limitation, and retention rules.
- Form submission: Submitting structured data on behalf of an applicant or case. Schema specifies required fields, validation rules, data format requirements, and confirmation mechanisms.
- Case record updates: Modifying existing case records with new information, status changes, or annotations. Schema specifies modifiable fields, what constitutes a material change, and what triggers review.
- Scheduling: Creating, modifying, or canceling appointments, deadlines, or procedural dates. Schema specifies scheduling constraints, notification requirements, and cancellation rules.
- Procedural steps: Advancing a case through defined stages — initiating reviews, triggering notifications, requesting verifications, or closing completed steps. Schema specifies preconditions, required documentation, and downstream effects.
Schema requirements for each action type
- Complete field definitions with data types, constraints, and validation rules
- Required versus optional field designation
- Authorization requirements specifying who or what may invoke the action
- Rate limiting and abuse prevention parameters
- Idempotency requirements — whether the action can be safely retried
- Side effects — what other system states change as a result
2.2 Context Requirements
Every agent action must include mandatory context. Actions submitted without complete context must be rejected.
Mandatory context for all actions
- Identity: Verified identity of the person on whose behalf the agent acts, the agent's own identity, and the deploying operator or organization.
- Case identifiers: All relevant case numbers, application IDs, or record references that scope the action to a specific matter.
- Data provenance: For every data element submitted, the source, retrieval time, and verification method.
- Consent record: Evidence that the person has authorized this specific action or class of actions, including scope and duration.
- Action justification: A reference to the policy rule, procedural requirement, or user request that triggered this action.
2.3 Outcome Rules
Every action must resolve to one of a defined set of outcomes. Systems must produce clear, unambiguous states.
Standard outcome types
- Success: The action completed as requested. Full confirmation returned with resulting state changes documented.
- Incomplete information: The action cannot be completed because required data is missing or unverified. Response specifies exactly what is needed and how to provide it.
- Policy restriction: The action is prohibited under current policy rules. Response cites the specific rule, version, and triggering conditions.
- Human review required: The action falls within a category that requires human judgment before proceeding. Response specifies the reason and what the review will evaluate.
- Procedural hold: The action is valid but must wait for a prior step, a deadline, or an external event. Response specifies the hold condition and expected timeline.
- System error: The action failed due to a technical issue unrelated to policy or data. Response includes error classification and retry guidance.
2.4 Escalation Conditions
Certain conditions must always trigger escalation to a human decision-maker. Agents must route these conditions to a person.
Mandatory escalation triggers
- Ambiguous information: Data inputs are contradictory, internally inconsistent, or cannot be resolved through defined verification procedures.
- User distress signals: The person expresses distress, confusion, or frustration beyond normal difficulty, or indicates they do not understand what is happening.
- Rights-related determinations: Any action that would deny, terminate, reduce, or materially alter a person's access to benefits, services, or legal rights.
- Hardship signals: Available information suggests the person is experiencing housing instability, medical emergency, domestic violence, or other conditions requiring immediate human intervention.
- Novel conditions: The agent encounters a combination of circumstances with no applicable policy rules or action schemas.
- Repeated failures: Prior agent actions on the same case have failed or been reversed, suggesting the case requires human assessment.
Escalation is the system working correctly — recognizing the boundary between what machines should handle and what requires human judgment.