trust section of attesta.yaml configures Attesta’s Bayesian trust engine. The trust engine tracks each agent’s history and uses it to reduce friction for consistently reliable agents, while maintaining hard safety limits that trust can never bypass.
Configuration
attesta.yaml
How Trust Affects Risk
The trust engine adjusts the risk score downward for agents with high trust. The adjustment formula is:0.8 and default influence: 0.3:
0.65 (HIGH) is reduced to 0.59 (still HIGH). Trust nudges risk rather than replacing primary risk signals.
Parameters
influence
influence parameter scales how strongly trust can move risk up or down around the neutral trust point (0.5):
ceiling
ceiling parameter is a hard cap on the trust score. No agent can exceed this value, regardless of their approval history. This prevents any agent from reaching “fully trusted” status and eliminates the possibility of trust completely bypassing challenges.
initial_score
initial_score parameter sets the starting trust level for agents with no history. This affects the first interaction:
Setting
initial_score higher than 0.5 means new, unproven agents receive meaningful risk reduction on their very first action. Use this only when agents are pre-vetted through an external process.decay_rate
decay_rate parameter controls how quickly trust erodes when an agent is inactive. Trust decay is exponential:
This ensures that agents that have been idle for extended periods do not retain high trust. An agent that was trusted 3 months ago with a different codebase should not automatically receive trust benefits today.
Programmatic Configuration
ThePolicy dataclass stores trust parameters and provides a convenience method to extract them:
Security Profiles
Here are recommended trust configurations for different security postures:- High Security
- Standard (default)
- Development
For regulated environments (healthcare, finance, government):
Trust Feedback Loop
The trust engine updates after every gated action:Next Steps
Trust Engine
Deep dive into the Bayesian trust model
Domain Activation
Activate domain profiles that adjust trust settings