Agent Registry
Contract Interface
interface IAgentRegistry {
/// @notice Register a new agent with its execution address and metadata.
function registerAgent(
address agent,
string calldata metadataURI
) external;
/// @notice Record an immutable validation event for an agent action.
/// actionHash is a hash of the action parameters and outcome.
function recordValidation(
address agent,
bytes32 actionHash
) external;
/// @notice Update the agent's reputation score.
function updateReputation(
address agent,
uint256 score
) external;
}Agent Data Model
Field
Type
Description
