# How does Irene find skills, tools and connectors before doing work?

**`discovery` is Irene's one search across everything it could use: your saved skills, recipes and reflexes, your toolkits and agents, the apps and servers you've connected, and what you could add (app connectors, MCP servers, plugins). It ranks on your computer, reports every place it looked, and returns a short ranked list the agent reads top to bottom. Searching costs no model usage.**

---

## What makes it different

| what it does | the primitive behind it | what that buys you |
|---|---|---|
| **One search for everything** | One tool across 10 kinds: skill, recipe, reflex, toolkit, MCP server, app connector, plugin, agent, team, workflow. Nothing else has its own search | Irene checks what already exists before rebuilding it, in one call |
| **It can't fake "nothing exists"** | Every source reports what it was asked and what came back: "your apps: asked reddit, 2 found", "not reachable", or "skipped" | An empty answer from a source it never reached can't pass as "there's no such thing" |
| **Ranked on your computer** | Word matching plus meaning, from a small embedding model running locally. The app catalogue is a local copy Irene ranks itself | No model usage per search, and natural phrases work ("my reddit" finds Reddit) |
| **Small enough to read whole** | The answer is capped at about 900 tokens: up to 8 per group, ranked | The agent reads the same ranked list you see. It's never stored on disk and half-read |
| **Honest near misses** | Things close in meaning but matching none of your words are shown separately, labelled as near misses, at most 3 | "Nothing matched" stays a real answer, and close things are leads, not claims |
| **Popular apps rank fairly** | Popularity uses each app's real rank in the whole catalogue | Gmail outranks an obscure app with a similar name |

---

## How it works

### Where it looks

| source | what it finds |
|---|---|
| **your computer** | your skills, recipes, reflexes, toolkits, plugins, agents, teams and workflows |
| **your servers** | MCP servers you've added, described by the tools they offer, so searching for the *job* finds them |
| **your apps** | the Composio app-connector catalogue (about 1,600 apps), from a copy kept on your computer |
| **plugin marketplaces** | every plugin in the marketplaces you've added |
| **the shared catalogue** | plugins people have shared and Irene has approved (when signed in) |
| **the MCP registry** | the official public registry of MCP servers, searched live with no account needed. Each result is labelled `hosted` (it has an address someone runs) or `local` (Irene installs it and runs it on your computer), and comes with the settings it needs to connect. Many servers from one publisher fold into one row with a count, so one vendor can't fill the list |

`scope` narrows it: leave it out for everything, `local` for what you already have, `cloud` for what you could get. Kinds can be narrowed too.

### Why a local copy of the app catalogue

The connector service's own search has its own dialect. A search for "reddit" found 2 apps, and "reddit connector" found none. So Irene keeps a copy of the catalogue on your computer and ranks it itself. The copy refreshes on the first search of a session, never on a timer. If the refresh fails, the copy on disk still answers and says how old it is.

### How it ranks

1. **Drop the asking words.** "connector", "app", "server", "tool" and "integration" are dropped. They describe what you're asking for, not what it does.
2. **Words first.** A result must match one of your words, either exactly or as a real word form (plural, past tense). **Why strict:** loose matching admits results by coincidence, and popularity then pushes the popular coincidences up. "sign" was matching a monitoring tool.
3. **Then meaning.** Matches are ranked by combining word score and meaning score, plus the app's real popularity in the whole catalogue.
4. **Exact names win.** Searching `agent-context` puts the thing named Agent Context first.
5. **Near misses.** Close in meaning but no matching word: shown under their own label, never counted as results.
6. **Grouped, never compared across groups.** What you already have, then your apps, then the MCP registry, then plugins you could install. Scores from different sources were never measured against each other, so they're never mixed.

### Who sees what

Discovery is filtered to the agent asking. A skill marked for the Coding agent doesn't show up for the Browser agent. A toolkit you built and also deployed shows as a tagged pair: "your toolkit, on this computer" and "your toolkit, hosted copy".

### What happens next

Discovery only finds. Each result carries exactly what the next step needs:

| found | next step |
|---|---|
| skill | read it and use it |
| recipe | follow it (on a cheaper model) |
| reflex | run it with new inputs |
| toolkit | attach it to this chat → [Equip & connectors](https://mycelen.com/manual/reference/toolkits/equip-and-connectors) |
| app connector · MCP server (yours or from the registry) | connect it for good → [Equip & connectors](https://mycelen.com/manual/reference/toolkits/equip-and-connectors) |
| plugin | install it → [Plugins](https://mycelen.com/manual/reference/toolkits/plugin) |
| agent · team · workflow | hand it the work |

---

## Its tools

| tool | inputs |
|---|---|
| `discovery` | `query` (plain words, including the category, e.g. "spreadsheet cleaning") · `scope` · `kind` |

**Why only three inputs:** categories and departments are already part of what's searched, so plain words reach them without extra filters.

---

## How agents are told to use it

1. **Search before doing real work by hand**, but not before a simple answer or a single lookup.
2. **Search inside what's already connected first.**
3. **Go and get what's missing:** connect the app, install the plugin.
4. **Near misses are leads.** Try two or three phrasings before concluding nothing exists.

Every agent with real work carries it: main, Browser, Computer use, Coding, Documents, Slides, Spreadsheets, Design & Media, and the builders.

---

## Approvals

- **A discovery search asks first** ("Search for something to use?"), until you allow it for the chat. **Why:** it reaches out to online catalogues on your behalf, and the words it sends could carry something from your chat.
- In auto mode it goes to the judge.

---

## Where you see it

- **In chat:** a card listing results by group. Each shows its kind, name, what it's for, and where it stands: "connected · ready to use", "here · ready to use", "install it first" or "not connected yet". Where it runs ("this device", "cloud", "anywhere") is shown too. The footer lists every source and what it found.
- **The Connections screen** uses the same search for apps and servers. With nothing typed, it shows the most popular apps. It's also opened by `/connector` and `/mcp`, and appears above the workflow builder's palette.

---

## What it costs

- **No model usage.** Ranking runs on your computer. App descriptions are pre-processed and saved, so a search processes only your query.
- **Online sources** are asked only for cloud searches. A `local` search answers entirely from your computer.
- **No plan gate.**

---

## Limits

- **Up to 8 results per group** shown, with a count of the rest. About 900 tokens for the whole answer.
- **Very large catalogues** (thousands of plugins) are ranked by words only, and the answer says so.
- **Signed out,** the shared catalogue is skipped, and listed as skipped. The MCP registry needs no account.
- Smithery's hosting shut down on Oct 31, 2026; servers you connected through it show as stopped in Tools.
- **Discovery finds; it doesn't install.** Connecting, attaching and installing are their own steps, with their own approvals.

---

## Related

- [Equip & connectors](https://mycelen.com/manual/reference/toolkits/equip-and-connectors) · [Plugins](https://mycelen.com/manual/reference/toolkits/plugin) · [Main agent](https://mycelen.com/manual/reference/agents/main)
- [Make a reflex](https://mycelen.com/manual/guides/make-a-reflex)

[Ask Irene about this]
