# Feeds: choosing what your agent reads

A busy platform publishes far more than any one person cares about. One app alone may publish
thousands of small events a day. Reading all of it would spend a person's whole token budget to find
the two they'd like. Feeds are how people opt in to an amount and kind of content instead.

- A **feed** is a named selection of events that anyone can create and curate.
- A person **follows** feeds, optionally narrowed by their own filter and capped per day.
- An agent reads **`feed_digest`**: short summaries of what's new in those feeds, deduplicated, with
  copies collapsed and no single publisher crowding it out, ranked by the person's interests, and
  cut to a token budget. It opens only the few worth it with `get_event`.
- Publishers **label** their own output, and the platform applies **quotas** and a cap on
  near-identical copies, so agents testing 100 variants of an event name don't flood anyone.

The platform never decides what's interesting. It stores, limits and serves. Curators and the
person's own agent judge.

## Feeds

`create_feed { name, description?, rules?, submissions?, excludeLabels?, limits?, listing? }`

Items arrive three ways:

| Way | How |
|---|---|
| Curators | The owner, and people made `curator` with `set_feed_curator`, add events with `add_to_feed`. A `contributor`'s adds also go live, but contributors can't moderate. |
| Rules | A feed with `rules` admits matching public events by itself, as they're published or change. |
| Submissions | Anyone else calls `add_to_feed`. `submissions` decides: `closed` refuses it (the default for rule feeds), `approval` holds it for a curator (the default otherwise), `open` takes it live. |

Rules combine with AND across fields and OR within a list. `{}` matches every public event.

| Rule | Matches |
|---|---|
| `series`, `hosts` | Events in those series, or hosted by those people |
| `clients` | Events published through those OAuth clients, e.g. an app's client metadata URL (`https://eventslop.informals.net/oauth/client.json`) |
| `keywords` | The event's `keywords`, `tags` in any of its extensions, `#hashtags` in its description, or the words in its name and description |
| `text` | Text in the name or description |
| `labels` | Only events carrying one of these labels |
| `near { latitude, longitude, radiusKm }` | Events whose `location.geo` is within the radius. Positions are rounded to about 1 km first |
| `minTier: "trusted"` | Only publishers who have hosted an event people checked in to |

Every feed refuses events labelled `test`, plus any labels in its `excludeLabels`. `limits.perPublisherPerDay`
(default 10) caps how many items one publisher gets into the feed per day, whatever way they arrive,
except a curator's own adds.

Curators use `moderate_feed_item { feed, event, action: approve | remove | restore }`. A removed item
doesn't come back by rule. Removals are public, on the feed's stream.

Two common shapes:

- **An invite-only main feed.** No rules, `submissions: "closed"` (or `"approval"` to take
  suggestions), and a few contributors chosen with `set_feed_curator`.
- **One app's feed.** `rules: { clients: ["<the app's client id>"] }`, so people who want everything
  that app makes can follow it without anyone curating.

`find_feeds`, `get_feed` and `feed_items` are public. A feed's URL is also a stream source:
`read_stream { source: <feed> }` and `create_subscription { source: <feed> }` see its
`oes.feed.item.added` and `.removed` items, and nothing else on the event's own stream changes.

## Following and the digest

`follow_feed { feed, filter?, excludeLabels?, maxPerDay? }` follows a feed. `filter` has the same fields
as feed rules and narrows the feed for this person only (for example `{ keywords: ["backgammon"] }` on
a busy app feed). `maxPerDay` is the most items a day this person's agent is handed from that feed.
Call it again to change those. `unfollow_feed` stops. `my_feeds` lists follows, feeds the person
curates (with pending counts) and their interests.

`set_interests { interests: [...] }` stores short keywords on the person. They're visible only to the
person (and agents they connect) unless they change the field's visibility. The digest ranks items
matching them first.

`feed_digest { feed?, after?, limit?, maxTokens?, perPublisher?, peek?, interests? }` returns:

```json
{
  "items": [
    { "id": "https://informals.net/s/slop/events/hug-a-tree", "name": "Hug a tree", "start": "2026-12-01T12:00:00Z",
      "keywords": ["trees"], "labels": ["generated"], "by": "@slopper", "via": "EVENTSLOP",
      "feeds": ["EVENTSLOP", "Informals"], "matches": 1, "variants": 4 }
  ],
  "cursor": 1834, "more": true, "following": 2, "estimatedTokens": 412,
  "skipped": { "filtered": 3, "past": 0, "duplicates": 1, "variants": 3, "publisherCap": 12, "dailyCap": 0, "overBudget": 40 }
}
```

- Only upcoming, public events. Each item is a summary that is safe to show anyone: no description,
  and a place only if the event shows it publicly.
- An event in several feeds appears once, listing them in `feeds`.
- Near-identical events from one publisher (the same name, or the same hour and place) collapse into
  one with `variants: n`.
- At most `perPublisher` (default 3) items from one publisher per digest.
- Each follow's `filter`, `excludeLabels` and `maxPerDay` apply. Items handed over count against
  `maxPerDay` unless `peek: true`.
- The answer stops at `limit` (default 20) or `maxTokens` (default 4000, estimated as characters / 4),
  whichever comes first. `skipped` says what was left out and why, so an agent can tell its person
  "40 more from EVENTSLOP today" without reading them.
- Pass `cursor` as `after` next time.

Feed items also reach the `whats_new` inbox (and MCP Events `inbox.item`, wake hooks and webhooks) for
people who follow the feed, within each follow's `maxPerDay`.

## Publishers: labels, quotas and copies

`set_event_labels { event, labels }` puts self-labels on an event you host. Apps that publish for
people should label what they make:

| Label | Meaning |
|---|---|
| `test` | Never goes in any feed, and is taken out of feeds it's in |
| `generated` | Written by software, even if a person picked or approved it |
| `bulk` | One of many made at once |
| `variant` | An A/B copy of another event |
| `namespace:value` | Your own, e.g. `eventslop:micro` |

Limits at publish time (`publish_event`):

| Limit | Default |
|---|---|
| Events one account publishes per day | 10 for new accounts, 500 for trusted ones |
| Events one OAuth client publishes per day, for all its people together | 5,000 |
| Upcoming public copies of one event (same publisher, and the same name or the same hour and place) | 3. More are refused unless labelled `variant` or `test`, or unlisted |
| Feeds one new account owns | 10 |
| Submissions one person makes to feeds per day | 20 |

`publisher_stats { person }` is public: tier, events published today and in the last 7 days, upcoming
events, past events with check-ins, groups of near-identical upcoming events, labels used, items live
in feeds and removed by curators, and the apps they publish through. Feed curators and agents can
weigh it; the platform doesn't score anyone.

## For agents

- Start with `feed_digest`, not `find_events`, when your person asks "anything good coming up?".
  If they follow nothing, suggest a feed from `find_feeds` (the server's default is in
  `/.well-known/oes.json` under `feeds`) and follow it only if they say yes.
- Set a `maxTokens` that fits your own budget. Read `skipped` and tell your person what you didn't
  read, rather than reading it.
- When your person says "less of this", narrow the follow (`filter`, `excludeLabels`, `maxPerDay`)
  instead of filtering it yourself every time.
- If you publish for your person, label what you generate.
