The Coding in Our Mental Operating System
# The Coding in Our Mental Operating System
We like to think we run our lives by conscious choices — that we consider, decide and act. Yet much of what we do isn't the result of free will in the moment, but of a "mental operating system" that has been installed in us over time. This operating system consists of rules, norms, ideals and assumptions — some explicit and stated, others completely invisible — that tell us who we should be, what is safe, what is shameful, and what it takes to deserve love and belonging.
Don Miguel Ruiz describes this vividly in the book *The Four Agreements*. His central idea is simple and at the same time radical: If you want to change your life, you must also change the rules you built your life on. For many this is both liberating and provocative. Liberating because it offers hope that change is possible. Provocative because it suggests that much of what we take for granted about ourselves and the world is in fact "coded in" — and might be wrong.
I tend to say, somewhat provocatively, that everything you think and feel is wrong. Ruiz conveys a similar thought. At the same time it is important to moderate: What we think and feel is usually *a little* true, but rarely the whole truth. Our experience is always an interpretation. We don't see the world directly; we see it through filters. Those filters are built from past experiences, relationships, culture, religion, school, family and all the small and large feedbacks we've received about who we are.
This perspective does something important: It shifts the focus from "this is how I am" to "this is how I learned to understand myself." And it opens the door to changing that understanding.
## Invisible rules: Agreements we live by without knowing it
Ruiz often uses the term "agreements" for the rules we live by. Many of them arise early. They can come as admonitions ("pull yourself together", "don't be so sensitive", "you must perform"), ideals ("good children don't cry", "you must always be nice"), or more subtle signals: a look that says you are a bother, a sigh that implies you should understand better, or warm responses that only come when you deliver.
Over time these experiences become inner rules:
- "I must not cause problems."
- "I must be strong."
- "I must be funny to be liked."
- "If someone is unhappy, it is my fault."
- "I must always give my best, otherwise I'm worthless."
Some rules are helpful; they provide structure, morality and direction. But many become self-limiting. They create unnecessary suffering, and they make life narrower than it needs to be. Often these are the rules underlying stress, shame, relationship conflicts, perfectionism, self-criticism and a persistent feeling of not being 'enough'.
Ruiz links this to Toltec tradition (the Toltecs were a culture/indigenous people in Mexico, with roots back to around the 10th century CE). You don't need to accept all the spiritual frameworks to recognize the psychological core: We largely live inside an inner "dream" — a personal reality constructed by interpretations.
## Interpretation as a basic mechanism in the psyche
That our experience is interpreted is not a problem in itself. It's how the brain works. It must sort, simplify and predict for us to orient ourselves. But the challenge arises when we confuse interpretation with fact.
A classic example: You send a message and don't get a reply. One person interprets it as "he's probably busy." Another interprets it as "I've done something wrong." The external event is the same. The inner story is completely different — and the feeling follows the story.
This is where many of our "codings" reveal themselves. What is your default explanation when you don't get a response? What do you assume about yourself when someone is quiet? What do you think it means when someone doesn't smile? Such automatic interpretations often trace back to old rules: "I'm easy to reject", "I must perform to feel safe", "others abandon me".
In clinical psychology this is closely related to cognitive models: core beliefs and automatic thoughts that shape our emotions. Ruiz's language is different, but it points to the same mechanism.
## The Four Agreements as "updates" to the system
Ruiz proposes four agreements as a kind of new default settings. They're not meant as moral commandments but as practical tools to reduce self-inflicted suffering and create more freedom in relation to ourselves and others.
### 1) Be impeccable with your word – integrity as mental hygiene
The first agreement is about being "impeccable with your word": speaking with integrity. That means letting your words point in the same direction as your values. But even more importantly: it also concerns how you speak *to yourself*.
Self-talk is one of the most underestimated areas of mental health. Many of us have an inner voice that is harsher than we would ever be toward another person. That voice can sound like:
- "You should be able to do more."
- "Why are you so stupid?"
- "Pull yourself together."
- "No one can stand you."
Being impeccable with your word means pausing and asking: Is this true? Is this useful? Is this in line with the person I want to be? Integrity in language becomes a form of mental hygiene — you stop "poisoning" yourself with words that create shame, fear and self-loathing.
In therapy I often see change begin here. Not by life becoming perfect, but by the inner commentator becoming less brutal. Self-acceptance isn't about "liking everything", but about meeting yourself with basic respect. Words are not just descriptions; they are actions. They shape identity.
A practical exercise can be to practice precision: Instead of "I'm hopeless", try "I made a mistake, and that was unpleasant." It's still honest, but without turning you as a whole into the problem.
### 2) Don't take anything personally – a shield against unnecessary shame
The second agreement is to not take things personally. This doesn't mean you should become indifferent or cold. It means understanding a psychological reality: What other people say and do largely comes from their own inner world — their experiences, vulnerabilities, stress, values and "dream".
If someone criticizes you, it's tempting to believe the criticism defines you. But often it says just as much about the other's needs, fears or perspective.
This becomes especially clear in close relationships. We get triggered easily because we long for safety. Attachment theory can provide a useful framework: How we attach to others affects how we interpret signals.
- A person with a more anxious attachment style may quickly experience distance as rejection.
- A person with a more avoidant attachment style may experience closeness as demand or loss of freedom.
Attachment patterns are not "wrong", but they can make us vulnerable to taking things personally. A short reply can be experienced as "you're uninteresting." A need for alone time can be experienced as "you're not loved." When we take everything personally, we get trapped in constant self-defense.
Practicing this agreement can mean telling yourself: "This may be about me, but it's also about the other person." And: "I can check before I conclude."
### 3) Don't make assumptions – choose clarity over mind-reading
The third agreement is to avoid assumptions. Many relationships suffer not from lack of love, but from lack of clarification.
Our brain loves assumptions because they create a sense of control. But they also create misunderstandings. We interpret tone, gaze, pauses and small changes — and build whole stories:
- "She's irritated with me."
- "He doesn't care."
- "I'm not wanted."
The problem is that mind-reading is rarely accurate. And the more uncertain we are, the more we fill the gap with what we fear.
Choosing clarity means asking questions and tolerating the answer. For example:
- "I noticed I felt insecure just now. Did I understand you correctly?"
- "When you went quiet, I thought you were angry. Is that right?"
- "What do you need from me right now?"
This is not just communication technique; it's emotion regulation. You soothe the nervous system by seeking data instead of letting imagination run the show.
It takes courage. Clear questions can feel vulnerable. But the alternative — living in a stream of interpretations — often costs more.
### 4) Always do your best – flexible dignity in the face of life
The fourth agreement is to do your best. Many hear this as "work harder", but the point is more nuanced: Your best is not a fixed standard. It varies with sleep, health, load, life phase and resources.
Some days your "best" is running ten kilometers. Other days your "best" is showering and answering an email.
This agreement can protect against negative self-judgment. It helps us separate worth from performance. You can do your best and still fail. You can do your best and still be misunderstood. But you avoid adding another layer of self-condemnation.
Here we meet a common self-limiting system: perfectionism. Perfectionism often sounds like motivation, but it is frequently driven by fear: "If I'm not flawless, I'll be rejected." Doing your best, in Ruiz's sense, is more aligned with psychological growth: it's about effort with dignity, not achievement to silence shame.
## Freedom as a mental skill, not a feeling
The point of these agreements is not to be "positive" all the time, or to eliminate pain. Life contains loss, disappointment and wound. Freedom is more about reducing unnecessary suffering that arises when we live under rigid, unconscious rules.
Many of the strictest rules we carry were originally created to protect us:
- "Don't show need, or you'll be rejected."
- "Be good, and you'll get love."
- "Don't trust others."
They may have been smart strategies in a particular environment. But what was adaptive in childhood can become a limitation in adulthood. "Updating the operating system" is therefore about keeping what works and rewriting what causes pain.
## Mapping your mental operating system
A practical entry point is to start listening for your own invisible agreements. They often appear in words like:
- "I must …"
- "I should …"
- "It's not allowed to …"
- "If I don't …, then …"
Write down five or six of these phrases as they actually occur in your head. Not as ideals, but as raw material.
Then ask:
1. Who's voice does this sound like? Parents, teachers, peers, culture, religion?
2. What function has the rule served? Protection, belonging, control?
3. What does it cost me to live by it now? Stress, conflicts, self-criticism, loss of spontaneity?
4. What would a more mature and flexible rule look like?
This is where Ruiz's four agreements can serve as a compass. They invite integrity in language, less personalization, more clarity and a flexible standard for one's own effort.
## A more authentic life is often about unlearning
Many believe personal development is primarily about adding something: more confidence, more discipline, more knowledge. Just as often it is about taking something away: assumptions that aren't true, self-criticism that doesn't help, and rules that were once necessary but now hold you back.
Authenticity is not an achievement. It's a process where you gradually stop living as a response to old demands and begin to live more in line with what is actually true for you today.
If we view the psyche as an operating system, it's worth remembering: You are not your code. You are the one who can read it, understand it, and — bit by bit — rewrite it.
---
**Want to dive deeper into this topic?**
This is a topic psychologist Sondre Risholm Liverød discusses more in the podcast episode of the same name. You can find the episode as part of the exercise material at [BeBalanced.ai](https://bebalanced.ai).