Home / Midland
designing for agents.
The process of designing and building Midland is not a linear one. Developing new products never really is, but building a system with the goal I had in mind, in a landscape shifting this fast, is something different. Improving language models and new mental models emerging through rapid trial and error create a lot of noise in the development process. Turning off the noise and focusing on my own goals and the problems in front of me is what guided me into building Midland.
The idea came from working on a farming data project with Agronod and my brother (who isn't technical). I kept a custom memory in markdown files. Research, experiments and progress went into it, and I wanted us to work from the same context and improve it as we went. Of the I tried, Linear's model worked best and became a starting point for how I thought about organising context in Midland.
My markdown files drifted over time and were difficult to share and keep in sync between us. I tried Notion, but it didn't surface the right information and was slow and expensive. I also tried basic-memory, mempalace and other memory tools. There were too many to test them all, and the ones I tried had the same problem with git conflicts when shared.
I had built for clients and explored a , but the market pains weren't there, especially for SMBs. After a few pilots turned into general AI coaching, I decided to build for myself instead, with the goal of open sourcing a context layer that could work in a multiplayer setting for AI-native teams.
I wanted to give agents a shared set of facts, definitions and rules they could use without reconstructing them for every task. What counts as an active user? When is an account at risk? The team would define these once, and the system would calculate and update the values without AI. Agents could then read the same answers, with a source and timestamp attached. The goal was to give smaller teams the kind of shared understanding larger companies get from a data team.
What I want to achieve is letting go of control. As a generalist working from discovery to packaging and iteration, I've always been keen on knowing every detail. Letting go of this to tackle more ambitious problems was both the challenge and the goal. I used my own system across different projects and logged the frictions, misunderstandings and wins to improve the different parts of the harness as the models changed.
I tested the multiplayer setting through with dozens of virtual personas. Through these iterations, I resolved 80% of the points of failure I'd spotted myself and with human testers.
The personas wrote to a mocked context layer at once, using different models and harnesses, including Hermes, OpenClaw, Claude, Cursor and ChatGPT. The overnight runs resulted in reports I could use to improve tool descriptions, arguments, agent instructions and more before running the tests again.
Initially I wanted to build a system where the only interface was MCP, with a minimal web UI for configuration and authentication. But I quickly found myself uneasy during automated runs and sessions with new harnesses. I needed a bird's-eye view of what was going on.
I explored different visualisations to give me of the context.
I asked myself what I needed to know to feel assured. It came down to three things: how much context there was of each type in each category, what was and wasn't being read, and what was and wasn't being updated.
Keeping the content useful remains the hardest part. The best approach so far is letting agents in the content.
At this point, it's just a markdown library with a strict data model and better interfaces for people and agents. Running nightly checks was key to keeping it useful.
I've explored fragmentation, model calls on writes, scheduled model calls and more. The best method I've found so far is giving tools to user agents and scheduled server-side agents to flag contradictions, superseded content and outdated content. Each flag type has its own resolution rules and is surfaced with the right content so an old fact never is presented as today's truth.
I also added a routine to push all content as structured markdown to a connected GitHub repo, so users can keep a copy of their data and avoid the vendor lock-in I argue against with the system. Users should be able to move between AI tools and context systems.
Midland is in open beta to gather feedback, with the goal of open sourcing it by the end of the year.
If you want the full breakdown of my process, reach out to fred@e2e.design.
Image 1 of 7
Cursor
Lovable