# Tildespace (/work/tildespace)

<Callout type="info" title="Status">
Research artifact with a written paper, "Pointing, Not Speaking". Runs locally. The repository is private.
</Callout>

| Role | Year | Kind | Try it |
| --- | --- | --- | --- |
| Concept, experiment design, engineering | 2026 | Research, simulation | [tildespace.vercel.app](https://tildespace.vercel.app) |

| | |
| --- | --- |
| **20 of 20, 19 of 20** | balanced runs for the best configuration, on made-up and on real embeddings |
| **20,000** | ticks in each of those runs |
| **27** | written decisions, four of them rejections |

## The problem [#the-problem]

When agents talk to each other in text, the text is doing two jobs: it is how they communicate, and it is how we watch them. That makes it hard to tell what the agents are doing from what the words make it look like they are doing.

Tildespace separates the two. Agents emit vectors and respond to each other's vectors by geometry alone. Words are added afterwards, for the observer only, as the nearest phrase to wherever an agent pointed.

## What I built [#what-i-built]

- **A substrate.** Every gesture, every room and every phrase is a point on the same sphere in 384 dimensions, the output space of a small sentence-embedding model.
- **Residents.** Simple rule-based agents with different habits: one points at the average of what it remembers, one points away from another resident, one points halfway between two others, and one listens for a while, then wakes and points at the average of what it heard.
- **Rooms that form on their own.** Where gestures gather, a room appears; where they stop, it goes quiet.
- **Observer tools.** A terminal view, an atlas of phrases that supplies the subtitles, and a replay.
- **Measurements.** Collapse, fragmentation, recurrence, how varied the movement between rooms is, and whether anything is still happening late in a run.

## How it is structured [#how-it-is-structured]

<Mermaid caption="Residents only ever see vectors. The atlas and its phrases are on the observer's side." chart={`flowchart LR
  R[Residents<br/>rule-based] -->|emit vectors| S[(Shared space<br/>384 dimensions)]
  S -->|geometry| R
  S --> M[Rooms<br/>form and fade]
  S --> A[Atlas<br/>nearest phrase]
  A --> O[Observer<br/>reads subtitles]
  M --> X[Metrics]
`} />

Python, about 5,800 lines, with `numpy` and one embedding model that runs locally. After the model is downloaded once, nothing needs a network.

## How the work was run [#how-the-work-was-run]

Every change went through the same steps, each written down: a brief, a proposal, a quick smoke run, the experiment, the measurements, a decision. There are 24 briefs and 27 decisions in the repository. A decision states its acceptance criteria before the experiment and is marked accepted or rejected after it.

Runs are repeatable. The same seed gives the same result, and a new feature that is switched off must reproduce the previous baseline byte for byte before it is allowed in. That comparison was done by hand, by checksum, and recorded in each decision. It is now also a test.

```python title="tests/test_determinism.py"
def test_same_seed_gives_the_same_log_byte_for_byte(tmp_path: Path) -> None:
    a = run_log(tmp_path, "a", seed=1234)
    b = run_log(tmp_path, "b", seed=1234)
    assert digest(a) == digest(b)


def test_a_different_seed_gives_a_different_log(tmp_path: Path) -> None:
    # guards the test above: if the seed were ignored, every run would match
    a = run_log(tmp_path, "a", seed=1234)
    b = run_log(tmp_path, "b", seed=1235)
    assert digest(a) != digest(b)


def test_a_feature_switched_off_reproduces_the_baseline(tmp_path: Path) -> None:
    # The rule every experiment had to pass before it was allowed in: with the
    # new resident left off, its own knobs must not move a single draw.
    base = run_log(tmp_path, "base", seed=1234)
    knobs = run_log(
        tmp_path, "knobs", 1234,
        "--poet-cadence", "37", "--poet-intensity", "0.9", "--poet-seed-offset", "5",
    )
    assert digest(base) == digest(knobs)

```

The second test guards the first: if the seed were ignored, every pair of runs would match. The third is the rule itself, with the switched-off resident's own settings changed to values that would shift the result if they leaked. The tests run under a legacy text encoding on purpose; writing them showed that the simulation stopped at its first frame on a Windows console.

## In the code [#in-the-code]

The depth of this project is in how the experiments were run more than in the code, which is ordinary `numpy`. Two pieces carry the design.

**A new experiment must not disturb an old one.** Each resident draws from its own random stream. When a later experiment needed random starting positions, it got a separate set of streams, so the draws the earlier baseline depends on stay exactly where they were.

```python title="residents.py"
    rngs = [np.random.default_rng(base_seed + 101 * (i + 1)) for i in range(4)]

    def hw(arche: str) -> float:
        if no_home_bias:
            return 0.0
        return _DEFAULT_HOME_WEIGHTS.get(arche, 0.0)

    residents: dict = {}
    order: list[str] = []

    if suite == "mixed":
        names = ["memorist", "contrarian", "geometer", "sleeper"]
        if not semantic:
            # synthetic: consume rngs[i] to match v0.6 behaviour exactly.
            homes = {n: random_unit(rngs[i]) for i, n in enumerate(names)}
        elif randomize_semantic_homes or embedder is None:
            # semantic with randomized homes: dedicated home_rngs so the
            # residents' step-RNGs stay in lockstep with the standard
            # semantic schedule.
            home_rngs = [
                np.random.default_rng(
                    base_seed + 101 * (i + 1) + 7919 * (home_seed_offset + 1)
                )
                for i in range(4)
            ]
            homes = {n: random_unit(home_rngs[i]) for i, n in enumerate(names)}
```

What a reviewer would say: the streams are separated by adding to the seed, so resident two under seed 1 is the same stream as resident one under seed 102, and the experiments use neighbouring seeds. `numpy` has a tool for exactly this, `SeedSequence.spawn`, and it should be used.

**How a room forms.** A gesture close enough to an existing room joins it and pulls its centre a little; otherwise it starts a new one.

```python title="moo384.py"
def _upsert_room(self, vector: np.ndarray, resident_name: str) -> Room:
    nearest, d = self._find_room(vector)
    if nearest is not None and d < self.room_threshold:
        old_center = nearest.center
        new_center = normalize(
            (1.0 - ROOM_CENTER_ALPHA) * old_center + ROOM_CENTER_ALPHA * vector
        )
        shift = cosine_distance(new_center, old_center)
        nearest.center = new_center
        # exponentially relax radius toward observed distance
        nearest.radius = 0.92 * nearest.radius + 0.08 * d
        nearest.visits += 1
        nearest.last_tick = self.tick
        nearest.residents[resident_name] = nearest.residents.get(resident_name, 0) + 1
        if self.semantic and (
            nearest.visits % RELABEL_VISIT_INTERVAL == 0
            or shift > RELABEL_SHIFT_THRESHOLD
        ):
            self._relabel(nearest)
        return nearest
```

This is greedy clustering in arrival order. Rooms never merge and are never removed, so the room count depends on the order of gestures, which is one more reason every run is pinned to a seed.

## What the experiments showed [#what-the-experiments-showed]

| Finding | Evidence |
| --- | --- |
| **One pairing stays balanced.** The resident that points away, paired with the one that sleeps and wakes, neither collapses into one room nor scatters. | 20 of 20 runs on made-up vectors and 19 of 20 on real embeddings, at 20,000 ticks each, with more than five rooms still active late in the run |
| **A resident that draws on phrases does not fit in.** | It was meant to be balanced in at least 8 of 10 runs. It managed 0 of 10 and fragmented in all 10. It ships switched off. |

The second finding is in the paper as a negative result. It was the design I expected to work.

## What it does not claim [#what-it-does-not-claim]

The paper says it in so many words: this is a small, reproducible artifact for studying interaction in vector space. It is not evidence of consciousness, sentience, emergent language, machine culture or a society of agents. The residents follow simple rules; none of them is a language model.

There are three tests, all on repeatability, plus a smoke script run before each experiment. They cover the made-up vectors only; runs on real embeddings also depend on the embedding model and the maths library under it. The run data behind the 20 of 20 and 19 of 20 figures is not committed; the tallies are in the decision documents.

## More [#more]

<Cards>
  <Card title="The site" href="https://tildespace.vercel.app" />
  <Card title="The paper" href="https://nedkarlovich.com/writing/papers/pointing-not-speaking.pdf" description="Pointing, Not Speaking. Working paper, PDF." label="Open ↗" />
  <Card title="Project notes on the weblog" href="https://nedkarlovich.com/projects/tildespace" />
</Cards>
