# (midland) Foundation > Foundation is a typed context layer your agents read over MCP. Install it, fill a workspace, and keep it current with routines. ## Docs - [Midland Foundation](https://midland.md/docs): Foundation is a framework for a context layer shared across all your AI tools, agents, workflows and users. - [How it works](https://midland.md/docs/how-it-works): How data is read and saved, how the structure grows, the two rules every response obeys, and Foundation versus memory and graphs. - [Getting started](https://midland.md/docs/getting-started): Set up and deploy a working context layer your AI tools can read from and write to, in about fifteen minutes. - [Building context](https://midland.md/docs/building-context): Structure and upload the context you already have, so every agent on the team can read it. - [FAQ](https://midland.md/docs/faq): Frequently asked questions. Feel free to ask more. - [Self-hosting](https://midland.md/docs/self-hosting): Run Foundation on your own infrastructure. What you bring, and where the instructions are. - [Assisted rollout](https://midland.md/docs/assisted-rollout): Some teams would rather have help setting up and deploying their context layer. ## Concepts - [Data model](https://midland.md/docs/concepts/data-model): How Foundation structures and stores your shared context, and the rules that keep you in control of it. - [Members and Roles](https://midland.md/docs/concepts/members-and-roles): Admins, members and couriers. Who may create, who may write, and how an automated writer is treated. - [Console](https://midland.md/docs/concepts/console): The admin surface that shows what the workspace holds, who is in it, what has happened and every entity's settings. - [Requests](https://midland.md/docs/concepts/requests): What happens when the workspace does not hold something an agent went looking for, how the miss is recorded, and how an admin turns it into an entity. - [Connector](https://midland.md/docs/concepts/connector): The MCP endpoint every host connects to, how it authenticates, and the seventeen tools it serves. - [Routines](https://midland.md/docs/concepts/routines): A script you author with a coding agent and Foundation runs on a schedule, so a metric or a list stays current without a person. ## Examples - [Examples](https://midland.md/docs/examples): Recipes you replicate with a prompt. Each links a skill your agent reads before it starts. - [Backfill invoices](https://midland.md/docs/examples/backfill-invoices): Load an invoice export into a list, one entry per invoice, named and searchable, with the raw fields kept. - [Feed a metric](https://midland.md/docs/examples/feed-a-metric): A pipeline that writes one number a day from an analytics query, authored as a routine. - [Terminology scan](https://midland.md/docs/examples/terminology-scan): A routine that reads your documents for words the glossary does not define and proposes them, for an admin to accept. - [Golden harness](https://midland.md/docs/examples/golden-harness): A nightly check that an agent connected to the workspace answers from it, graded deterministically. - [Slack Q&A bot](https://midland.md/docs/examples/slack-qa-bot): A bot that answers questions in a Slack channel from the workspace, and says plainly when the workspace does not hold the answer. - [Meeting transcripts](https://midland.md/docs/examples/meeting-transcripts): Every meeting your notes tool records becomes a list entry, kept current by a routine, with re-runs that update rather than duplicate. ## Agent resources - [llms-full.txt](https://midland.md/docs/llms-full.txt): The full Markdown of every page in one file. - [Page Markdown](https://midland.md/docs/index.md): Append `.md` to any page URL to fetch that page as raw Markdown. - [JSON API](https://midland.md/docs/api/docs/pages.json): Page index of the JSON docs API; each entry links the page's JSON and Markdown forms. Described by the OpenAPI document at https://midland.md/docs/openapi.json. - [API catalog](https://midland.md/docs/.well-known/api-catalog): RFC 9727 linkset of the APIs documented here. - [agent-readability.json](https://midland.md/docs/agent-readability.json): Manifest of every agent-facing artifact on this site. - [Sitemap](https://midland.md/docs/sitemap.xml): Every indexable page URL with its last-modified date.