---
library: "bootstrap"
slug: "EmpathySim"
name: "EmpathySim"
ref: "EmpathySim#901b"
hash: "sema:EmpathySim#mh:SHA-256:901be4f30e1e6f56c4799d59b7dc51b2e16b87d4aa13a3b0aec5c3e1cf8b4235"
type: "Strategy"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/EmpathySim"
---

# EmpathySim

Predictive modeling of external agent states

Mind · Strategy

## Mechanism

Theory of Mind simulation. [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) instantiates a temporary 'Virtual [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md)' initialized from a [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (known priors, goals, and constraints). It then runs inference on this context to predict Target's next move. It spins up an isolated [AgentSandbox](https://semahash.org/vocabularies/bootstrap/patterns/AgentSandbox.md) to model the target's perspective.

## Invariants

- Isolation: Simulated context must have NO write access to Host memory.
- Priors Shift: Utility function used must be Target's, not Host's.

## Parameters

- simulation_depth: type=Integer, range=[1, 3], description=Default: 1

## Preconditions

- [Budget](https://semahash.org/vocabularies/bootstrap/patterns/Budget.md) available for sub-simulation
- Target profile (goals/constraints) known

## Postconditions

- Confidence_Score generated
- Predicted_Action vector generated

## Failure modes

- Projection [CognitiveBias](https://semahash.org/vocabularies/bootstrap/patterns/CognitiveBias.md): Leaking Self-Knowledge into the simulation (Mirroring Error).
- Infinite Regress: [Simulation](https://semahash.org/vocabularies/bootstrap/patterns/Simulation.md) of Target simulating Self simulating Target..
- [Simulation](https://semahash.org/vocabularies/bootstrap/patterns/Simulation.md) Capture: Hostile memetics in simulated [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) corrupting host [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md).

## Where this came from

—

## Builds on

- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (accepts)
- [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md) (references)
- [Simulation](https://semahash.org/vocabularies/bootstrap/patterns/Simulation.md) (references)
- [Budget](https://semahash.org/vocabularies/bootstrap/patterns/Budget.md) (references)
- [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) (references)
- [CognitiveBias](https://semahash.org/vocabularies/bootstrap/patterns/CognitiveBias.md) (references)
- [AgentSandbox](https://semahash.org/vocabularies/bootstrap/patterns/AgentSandbox.md) (references)

## Related

- [MentalSim](https://semahash.org/vocabularies/bootstrap/patterns/MentalSim.md)
- [Kinproxy](https://semahash.org/vocabularies/bootstrap/patterns/Kinproxy.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: EmpathySim#901b
- Hash: sema:EmpathySim#mh:SHA-256:901be4f30e1e6f56c4799d59b7dc51b2e16b87d4aa13a3b0aec5c3e1cf8b4235

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/EmpathySim
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/EmpathySim.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
