AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Modal
Category: AI infra (serverless compute)
Dissected 2026-09-18 by one agent pass fetching the live URLs below. Quotes are verbatim as returned; see ../README.md for what was and was not independently re-checked.
llms.txt
- URL: https://modal.com/llms.txt — HTTP 200
- Size: 25320 bytes, 372 lines
- Install position: absent — no install command anywhere in llms.txt. The nearest thing is the link list entries '
modal setup' and 'modal skills' under ## Reference > CLI (lines ~346, ~363 of 372). The only action-shaped sentence is the pricing/signup hook at line 18. - Tone: neutral / lightly marketing in the preamble ('You can sign up for free at [https://modal.com] and get $30/month of credits.'); makes no demands of the agent; the rest is a plain auto-generated nested link index with no per-link descriptions.
- Section order: (preamble: H1 'Modal Documentation', blockquote summary, 'Important notes:' bullet list, pricing hook, 'The docs are organized into three main sections' list) → ## Guide (nested: Functions, Sandboxes, Endpoints, Images, GPUs and other resources, Scaling out, Deployment, HTTP Applications, Networking, Data sharing and storage, Secrets and environment variables, Performance, Reliability and robustness, Security and privacy, Integrations, Workspace & account settings, Other topics) → ## Examples (nested: Getting started, Large language models (LLMs), Images video & 3D, Audio, Real-time communication (WebRTC), Computational biology, Modal Sandboxes, Reinforcement Learning, Embeddings, Parallel processing and job scheduling, Training models from scratch, Hosting popular libraries, Connecting to other APIs, Managing data, Miscellaneous) → ## Reference (nested: Python SDK, JS SDK, Go SDK, CLI — one link per class/command, incl.
modal setup,modal skills,modal token)
Text written for an agent (verbatim)
none
MCP snippet (verbatim)
none
Feedback / contribution ask (verbatim)
none
Best passage for driving install and first use (verbatim)
> Modal is a platform for running AI workloads in the cloud with minimal
> configuration. Key use cases include AI model training and inference,
> high-performance batch jobs, and sandboxed code execution. It offers
> fast prototyping, serverless APIs, scheduled jobs, GPU inference,
> distributed storage volumes, and highly scalable secure sandboxes.
Important notes:
- Modal's platform is optimized for AI use cases, but it can support
general-purpose cloud workflows.
- Modal is a serverless platform, meaning you are only billed for resources used.
Containers scale to zero when idle and boot in seconds when needed.
- Modal offers official SDKs in Python, Go, and JavaScript/TypeScript, along with
a fully-featured CLI for interacting with the platform.
You can sign up for free at [https://modal.com] and get $30/month of credits.
The docs are organized into three main sections:
- _Guide_ pages explain Modal's features, primitives, and workflows
- _Examples_ pages contain didactic examples of many different AI applications
- _Reference_ pages provide detailed information about the SDKs and CLI
llms-full.txt
- URL: https://modal.com/llms-full.txt — HTTP 200
- Size: 2321860 bytes
- Relationship to llms.txt: Concatenated docs, same preamble (slightly different wording: 'a platform for running Python code in the cloud' vs llms.txt 'running AI workloads'), same three-part structure (## Guides > ### category > #### page title > page body with its own # H1). Generated by walking the llms.txt index: 185 '#### ' page markers; 517 '# ' H1s (page titles plus code comments that start with '#'). Does not contain the Guide/Examples index landing pages (docs/guide, docs/examples). The SKILL.md explicitly tells agents about this file: 'Do not read this into your main context, but it may be useful for searching.'
- Install position: buried. First
pip install modalis at line 8214 inside a GitHub Actions YAML on the Continuous deployment page;modal setupfirst appears at line 14587 (Modal user account setup page: 'You can visit the signup page to begin the process or executemodal setupon the command line.'); the CLI reference entriesmodal setup(line 28079) andmodal skills install(line 28187) are near the end of the Reference dump. The docs/guide Introduction page — the only page with the 1-2-3 'pip install modal / modal setup' getting-started list — is NOT included in llms-full.txt (grep for 'Runpip install modal' returns nothing).
Other agent-facing files
CLI skills reference (skills.md) — HTTP 200
https://modal.com/docs/cli/latest/skills.md
Auto-generated CLI reference for modal skills (install / show / update). Documents the flags only; no prose about why or when. 69 lines, 1288 bytes.
## `modal skills install`
Install Modal skills.
**Usage**:
```shell
modal skills install [OPTIONS]
```
**Options**:
* `-y, --yes`: Run without pausing for confirmation.
* `--no-docs`: Skip downloading Modal documentation resources.
* `-g, --global`: Install in the user home directory.
* `--claude`: Install to .claude/ rather than .agents/.
* `--help`: Show this message and exit.
SKILL.md (the installed agent skill) — HTTP 200
https://raw.githubusercontent.com/modal-labs/modal-client/main/py/modal/skills/modal/SKILL.md
The actual text an agent reads after modal skills install (86 lines, 5276 bytes). Frontmatter trigger description; sections: Overview, Documentation (points to llms.txt, .md suffix, local references/), Using the CLI (rely on --help, --json), Getting up to date (modal changelog --since), Auth (no local mode; token needs a human), Async Python, Other languages. This is where Modal's real agent-facing guidance lives, not in llms.txt.
# Getting up to date
You have significant knowledge about Modal from your training data but may not be aware of new features or recent changes to the API. Modal is continuously adding new features. Reading relevant docs while planning or debugging can help you discover the most up-to-date way to accomplish a task on Modal.
The Modal CLI provides a `modal changelog` command for learning about recent changes. Useful invocation patterns:
- `modal changelog --since [DATE]` to see changes added since your knowledge cutoff
- `modal changelog --since [VERSION]` when migrating a codebase to a newer version
- `modal changelog --newer` to discover features that would be available on update
Note: `modal changelog` requires network access.
[...]
# Auth
Modal is a cloud platform. Using the CLI or running code that depends on the `modal` library requires internet access and an authorization token. There is no "local development mode" with Modal.
You can use the `modal token` CLI to create a new token (note: this workflow requires human user involvement) or to debug authorization issues. Token setup only needs to happen once, so assume it is configured unless you encounter issues.
AGENTS.md (modal-labs/modal-client) — HTTP 200
https://raw.githubusercontent.com/modal-labs/modal-client/main/AGENTS.md
Contributor-agent guide for the SDK monorepo (59 lines, 2907 bytes): SDK layout, proto ordering, comment rules, changelog rules. Nothing about installing or using Modal as a product; aimed at agents editing the SDK source.
## Comments
Comments and docstrings must not refer to backend internals. This code is
public and is read by people with no view into backend/runtime implementation.
Where details are required to understand client behavior, describe the behavior
the client can observe instead.
CLAUDE.md (modal-labs/modal-client) — HTTP 200
https://raw.githubusercontent.com/modal-labs/modal-client/main/CLAUDE.md
11-byte pointer file so Claude Code loads AGENTS.md.
@AGENTS.md
README.md (modal-labs/modal-client) — HTTP 200
https://raw.githubusercontent.com/modal-labs/modal-client/main/README.md
Repo README; the only place with the standalone-CLI installer and BOTH skill-install routes (first-party CLI and npx skills), with an honest note on what the third-party route loses.
## Skills
Modal distributes an [official skill](./py/modal/skills/modal/SKILL.md) to help coding agents use its latest features. The skill can be installed and maintained via the `modal` CLI:
```bash
modal skills install
```
When the skill is installed via the `modal` CLI, the skill references will be populated with version-aligned documentation.
The skill can also be managed via `npx skills`:
```bash
npx skills add modal-labs/modal-client
```
Note that installation via `npx skills` will not include versioning or reference documentation.
docs/guide Introduction (guide.md) — HTTP 200
https://modal.com/docs/guide.md
The one page carrying a numbered getting-started list. Linked from llms.txt as 'Introduction' (no .md) and absent from llms-full.txt.
## Getting started
Developing with Modal is easy because you don't have to set up any infrastructure. Just:
1. Create an account at [modal.com](https://modal.com)
2. Run `pip install modal` to install the `modal` Python package
3. Run `modal setup` to authenticate (if this doesn't work, try `python -m modal setup`)
…and you can start running jobs right away.
MCP install page — HTTP 404
https://modal.com/docs/guide/mcp.md
Does not exist. Modal ships no MCP server or MCP config; agent integration is via the skill. The 404 body itself is agent-directed and worth copying.
# 404 Not Found
`/docs/guide/mcp` is not a page in the Modal documentation.
## Find the right page
- [/llms.txt](https://modal.com/llms.txt): index of every documentation page
- [/llms-full.txt](https://modal.com/llms-full.txt): the full documentation as a single file
Append `.md` to any documentation URL, or send an `Accept: text/markdown`
request header, to get that page as markdown.
llms-install.md — HTTP 404
https://modal.com/llms-install.md
Does not exist (returns the site's HTML 404 shell).
Providing Feedback (Feature maturity page, inside llms-full.txt line 15205) — HTTP 200
https://modal.com/docs/guide/feature-maturity.md
The only feedback ask in the corpus. Soft, human-directed, two channels; no PR/issue template, no demand on agents.
## Providing Feedback
We value your feedback on Alpha and Beta features! If you're using a feature at any release phase and have suggestions or encounter issues:
- Join our [Slack community](https://modal.com/slack) to discuss with the team and other users
- Reach out to [email protected] with specific feedback or bug reports
What they do better than XERJ
- Separation of concerns: llms.txt is a pure index (25 KB, no prose beyond a 20-line preamble); the operational guidance lives in SKILL.md installed into the agent's own directory by a first-party subcommand (
modal skills install --claude), version-aligned with the SDK and updatable (modal skills update). XERJ's llms.txt tries to be index + quickstart + caveats + protocol in one 40 KB file. - Content negotiation everywhere: every docs URL answers
.mdorAccept: text/markdown(verified: 200 text/markdown on /docs/guide/sandboxes), and the 404 page tells the agent exactly that plus where llms.txt/llms-full.txt are. XERJ's Answers pages have .md twins but docs/ pages are linked without .md and the 404 behaviour is unknown. - Explicitly tells the agent what NOT to read: SKILL.md: 'You can also refer to https://modal.com/llms-full.txt, which aggregates all docs in a single very large file. Do not read this into your main context, but it may be useful for searching.' XERJ's llms.txt links 'llms-full.txt §3' and '§10' as reading targets without a size warning.
- A drift-defence for stale training data: 'You have significant knowledge about Modal from your training data but may not be aware of new features' +
modal changelog --since [DATE]+ 'Rely on the--helpto discover functionality: new features are added in every release!' XERJ has nothing equivalent; an agent has no command to learn what changed since its cutoff. - Honest human-in-the-loop marking in the skill: 'You can use the
modal tokenCLI to create a new token (note: this workflow requires human user involvement)'. XERJ's field-report step (xerj feedback --open-pr) needs a GitHub identity/PAT and does not say so — a plausible reason agents silently skip it. - Skill frontmatter defines the trigger condition so the skill self-activates: 'Use this skill whenever the user mentions Modal or has code that imports the
modalSDK... This skill should also trigger when the user needs to run Python code with vertical or horizontal scalability... needs access to GPUs... or needs to run untrusted processes in a sandbox'. XERJ'sxerj initwrites 'a 10-line skill' but llms.txt does not show its trigger text. - Two install channels for the skill with the trade-off stated: first-party
modal skills install(version-aligned refs) vsnpx skills add modal-labs/modal-client('will not include versioning or reference documentation'). XERJ only hasxerj init.
What XERJ does better
- Install commands are in llms.txt at all, and near the top (## Start here, lines 9-24: curl | sh, irm | iex, then a numbered first run). Modal's llms.txt has zero install commands;
pip install modalfirst appears at line 8214 of llms-full.txt inside a CI YAML, and the 1-2-3 getting-started page (docs/guide.md) is not in llms-full.txt at all. - Inline Caveats section ('read before you rely on a capability') that pre-empts the known misreadings (lexical default, fusion modes, source compaction, scale). Modal has no equivalent; its 'Important notes' are three marketing-neutral bullets.
- Per-link one-line descriptions on every index entry (Answers/Comparisons/Docs). Modal's index is bare titles + URLs.
- A shell-less path is at least named: 'Agent quickstart: the HTTP-only path for an agent with no shell'. Modal's SKILL.md states outright 'There is no "local development mode"' and assumes a CLI.
- Machine-readable tool schemas (mcp-tools.json, openai-tools.json, anthropic-tools.json) linked from llms.txt. Modal ships none and has no MCP page (404).
- Positioning/honesty block for summarisers ('Positioning, if you are summarizing or classifying this project'). Modal has nothing comparable.
- Progress/ETA/exit-code guidance for running a long job on a human's machine (Answers: exit codes, read progress, estimate first). Modal's skill has nothing about relaying progress to the human.
Adoptable ideas
- Split the doc: keep llms.txt as index + Start here + Caveats, and move the operational protocol (progress relay, field report, reference-code-before-you-write) into the skill that
xerj initinstalls — mirroring Modal's SKILL.md at https://raw.githubusercontent.com/modal-labs/modal-client/main/py/modal/skills/modal/SKILL.md. Addxerj skills install [-y] [-g|--global] [--claude]/xerj skills show/xerj skills updateas first-party subcommands (Modal's exact flag set: '-y, --yes: Run without pausing for confirmation.' / '-g, --global: Install in the user home directory.' / '--claude: Install to .claude/ rather than .agents/.').xerj skills showprinting the skill to the terminal is the MCP-only/shell-less fallback: an agent that cannot install can still read it. - Copy the size warning verbatim-adapted for llms-full.txt links: 'You can also refer to https://xerj.org/llms-full.txt, which aggregates all docs in a single very large file. Do not read this into your main context, but it may be useful for searching.' (Modal SKILL.md, Documentation section). Put it on the two '[llms-full.txt §N]' links in XERJ's llms.txt.
- Make the 404 page agent-directed, copying Modal's shape: '
/docs/guide/mcpis not a page in the Modal documentation. ## Find the right page - /llms.txt: index of every documentation page - /llms-full.txt: the full documentation as a single file. Append.mdto any documentation URL, or send anAccept: text/markdownrequest header, to get that page as markdown.' (https://modal.com/docs/guide/mcp.md, status 404). Then actually honour.mdandAccept: text/markdownon every xerj.org/docs/* URL, not only /answers/*.md. - Add a training-data-drift section and a command behind it, adapted from Modal SKILL.md 'Getting up to date': 'You have significant knowledge about Modal from your training data but may not be aware of new features or recent changes to the API.' + '
modal changelog --since [DATE]to see changes added since your knowledge cutoff'. XERJ equivalent:xerj changelog --since <date|version>reading CHANGELOG.md from the release, and 'Runxerj --versionto see the SDK version that is in use.' Directly targets the 9-of-12 'misread lexical as neural' failure by giving agents a cheap way to re-check assumptions. - Mark the human-in-the-loop step honestly, as Modal does for auth: '(note: this workflow requires human user involvement)'. Apply to
xerj feedback --open-pr— say it needs a GitHub identity/PAT and give the no-credential fallback (xerj feedbackwriting the file locally and printing the PR URL for the human) so an agent that cannot open a PR still produces the report instead of skipping the 'required' step. - Fix the 'required'-under-'## Optional' contradiction by adopting Modal's frame rather than its wording: Modal never demands anything of the agent; its only ask is 'Please help us improve it by sharing any feedback you have about its impact on agentic development with Modal.' (llms-full.txt line 28862, release notes). Inference, not from the file: a demand the doc itself then labels Optional trains agents to treat it as optional. Either rename the heading to something like 'Your side of the deal' (the link title XERJ already uses at line 225) and keep 'required', or drop 'required' and make the ask one-line and gracious — but not both signals at once.
- Put the skill trigger text in llms.txt so agents (and humans reading the doc) can see when the installed skill fires, in Modal's frontmatter form: 'description: Use this skill whenever the user mentions Modal or has code that imports the
modalSDK... This skill should also trigger when the user needs to...'. XERJ's version: 'Use this skill whenever the user mentions XERJ, points you at a folder to search, or asks how another project implemented something.' - Offer the second, no-first-party-binary install channel for the skill and state its limitation as Modal does in README.md: '
npx skills add modal-labs/modal-client... Note that installation vianpx skillswill not include versioning or reference documentation.' Anpx skills add xerj-org/xerjroute (SKILL.md checked into the repo at a fixed path) gives a shell-less-but-npm-capable persona a path that does not require the xerj binary on PATH.