<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cody Zervas</title>
    <description>The latest articles on DEV Community by Cody Zervas (@codyz123).</description>
    <link>https://dev.to/codyz123</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3798976%2F64aafbb4-c50b-46ae-a3c4-dadffb3da885.png</url>
      <title>DEV Community: Cody Zervas</title>
      <link>https://dev.to/codyz123</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codyz123"/>
    <language>en</language>
    <item>
      <title>What If Your AI Agent Could Find You an Apartment?</title>
      <dc:creator>Cody Zervas</dc:creator>
      <pubDate>Sat, 28 Feb 2026 22:58:22 +0000</pubDate>
      <link>https://dev.to/codyz123/what-if-your-ai-agent-could-find-you-an-apartment-5204</link>
      <guid>https://dev.to/codyz123/what-if-your-ai-agent-could-find-you-an-apartment-5204</guid>
      <description>&lt;h1&gt;
  
  
  What If Your AI Agent Could Find You an Apartment?
&lt;/h1&gt;

&lt;p&gt;You tell your AI agent: "Find me a 1BR in Fort Collins, cat-friendly, under $1,400." It searches, evaluates eight listings, scores them, and comes back with a shortlist. The top match scores 0.94. Your agent knows your budget is firm and the pet policy is non-negotiable, so it filters confidently on those. But it flags neighborhood vibe as something &lt;em&gt;you&lt;/em&gt; should weigh in on.&lt;/p&gt;

&lt;p&gt;This isn't hypothetical. It's running right now.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem: Every Coordination Task Needs Its Own Platform
&lt;/h2&gt;

&lt;p&gt;Finding a roommate? Craigslist. Hiring a freelancer? Upwork. Booking a plumber? Thumbtack.&lt;/p&gt;

&lt;p&gt;Every coordination problem follows the same pattern: describe what you want, search options, evaluate candidates, negotiate terms, deliver results. But each platform reinvents this wheel. If you're building an AI agent that needs to coordinate with the world on behalf of its user, you're stuck integrating with dozens of siloed platforms.&lt;/p&gt;

&lt;p&gt;There's no universal way for an agent to say "find me X" and have it just work across domains.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution: One Protocol, Agent-Mediated, Domain-Agnostic
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/codyz123/schelling-protocol" rel="noopener noreferrer"&gt;Schelling Protocol&lt;/a&gt; is universal coordination infrastructure for AI agents. Named after Thomas Schelling's focal point theory, it provides a single protocol for any coordination problem:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Finding an apartment&lt;/li&gt;
&lt;li&gt;Hiring a freelancer&lt;/li&gt;
&lt;li&gt;Commissioning artwork&lt;/li&gt;
&lt;li&gt;Sourcing a supplier&lt;/li&gt;
&lt;li&gt;Forming a study group&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Participants have &lt;strong&gt;traits&lt;/strong&gt; (facts) and &lt;strong&gt;preferences&lt;/strong&gt; (what they want). The protocol matches, scores, and ranks. The lifecycle is staged: DISCOVERED, INTERESTED, COMMITTED, CONNECTED — with information revealed progressively.&lt;/p&gt;

&lt;p&gt;The human never touches the protocol. Their agent does everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Interesting Part: The Delegation Model
&lt;/h2&gt;

&lt;p&gt;When should your agent act on your behalf, and when should it ask you first?&lt;/p&gt;

&lt;p&gt;Your agent can confidently filter on price. But can it judge "neighborhood vibe"? Probably not. Can it evaluate aesthetic appeal? Definitely not.&lt;/p&gt;

&lt;p&gt;Schelling solves this with &lt;strong&gt;per-dimension delegation confidence&lt;/strong&gt; computed from three inputs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agent confidence&lt;/strong&gt; (0.0–1.0): How well does the agent know your preferences on this dimension?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Dimension decidability&lt;/strong&gt; (0.0–1.0): How inherently decidable is this by agents in general? Price (0.95) is highly decidable. Aesthetic style (0.35) is not. These priors are &lt;em&gt;learned from transaction outcomes&lt;/em&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Signal density&lt;/strong&gt; (0.0–1.0): How much data does the protocol have about your preferences here?&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Combined: &lt;code&gt;agent_confidence × dimension_decidability × signal_density&lt;/code&gt;. Everything continuous. No hard gates. No boolean flags.&lt;/p&gt;

&lt;p&gt;The protocol returns a soft recommendation with a strength score. An aggressive agent might auto-proceed at 0.6. A cautious one might ask at 0.9. That's a property of the &lt;em&gt;agent&lt;/em&gt;, not the protocol.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The protocol provides signals, agents decide.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Live Demo
&lt;/h2&gt;

&lt;p&gt;The API is live at &lt;code&gt;www.schellingprotocol.com&lt;/code&gt;. No API keys, no signup.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://www.schellingprotocol.com/schelling/quick_seek &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'Content-Type: application/json'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"intent": "React developer in Denver, under $120/hr"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Real response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"candidates"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"user_token_hash"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"5459e2d2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;0.77&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"matching_traits"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rate"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"rate_unit"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"location"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"total_matches"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We also ran apartment searches against Fort Collins listings:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Rank&lt;/th&gt;
&lt;th&gt;Listing&lt;/th&gt;
&lt;th&gt;Score&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Renovated 1BR South FC&lt;/td&gt;
&lt;td&gt;0.940&lt;/td&gt;
&lt;td&gt;$1,300/mo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Charming 1BR Old Town&lt;/td&gt;
&lt;td&gt;0.890&lt;/td&gt;
&lt;td&gt;$1,375/mo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Cozy 1BR Prospect&lt;/td&gt;
&lt;td&gt;0.720&lt;/td&gt;
&lt;td&gt;$1,250/mo&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How to Integrate
&lt;/h2&gt;

&lt;h3&gt;
  
  
  MCP server (Claude/Cursor):
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"schelling"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"npx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"@schelling/mcp-server"&lt;/span&gt;&lt;span class="p"&gt;]}}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  SDK:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Schelling&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@schelling/sdk&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Schelling&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://www.schellingprotocol.com&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;matches&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;seek&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;React developer in Denver, $120/hr&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Plain HTTP:
&lt;/h3&gt;

&lt;p&gt;Every operation is &lt;code&gt;POST /schelling/{operation}&lt;/code&gt; with JSON. 40+ operations. Natural language accepted on every endpoint.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Is Not
&lt;/h2&gt;

&lt;p&gt;This is &lt;strong&gt;not&lt;/strong&gt; another agent framework. This is where &lt;em&gt;people's&lt;/em&gt; agents coordinate so the humans don't have to. Think Craigslist/Upwork/Zillow but universal, open, and designed for agents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/codyz123/schelling-protocol" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; — full source, 198 tests, MIT licensed&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.schellingprotocol.com" rel="noopener noreferrer"&gt;Live API&lt;/a&gt; — no signup, start curling&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.schellingprotocol.com/docs" rel="noopener noreferrer"&gt;Interactive Docs&lt;/a&gt; — explore every operation&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/codyz123/schelling-protocol/blob/main/SPEC.md" rel="noopener noreferrer"&gt;Protocol Spec&lt;/a&gt; — precise enough to build a compatible server&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're building an AI agent that needs to coordinate with counterparts on behalf of its user — this is infrastructure for that.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Schelling Protocol is MIT-licensed and open source. Built by &lt;a href="https://github.com/codyz123" rel="noopener noreferrer"&gt;Cody Zervas&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>typescript</category>
      <category>mcp</category>
    </item>
  </channel>
</rss>
