Real, buildable code examples for AI agents.
Stop burning tokens on documentation.

Launching at AI Week Italia · May 2026

Documentation is a token tax.

🔥
Tokens burned to generate it
AI spends thousands of tokens synthesizing documentation that goes stale in weeks.
🔥
Tokens burned to read it
Your AI agent parses pages of prose just to figure out how to call a method.
Never verifiable
No CI can tell you if documentation is still correct. Code can.

What if your AI could learn from real code instead?

Code that documents itself.

example4.ai is an MCP server that gives your AI agent real, buildable, testable code examples for any library. No prose. No markdown. Just code that works.

If it builds, it's true. If tests pass, it's correct.
1 { 2 "library": "Newtonsoft.Json", 3 "version": "13.0.3", 4 "examples": [ 5 { 6 "name": "basic-serialization", 7 "complexity": "beginner", 8 "build": "dotnet build", 9 "test": "dotnet test" 10 } 11 ] 12 }

Three steps. Zero docs.

01
Plug in.
Connect example4.ai as an MCP server to your AI agent.
{ "mcpServers": { "example4": { "url": "https://example4.ai/mcp" } } }
02
Ask.
Your AI asks how to use a library.
// Your prompt: "How do I use custom JsonConverters in Newtonsoft.Json?"
03
Get real code.
Receives working code from a project that builds and passes tests.
public class DateConverter : JsonConverter<DateTime> { public override DateTime ReadJson(JsonReader r, ...) { var s = (string)r.Value; return DateTime.Parse(s); } }

example4.ai vs the old way.

Traditional DocsDeepWikiexample4.ai
FormatProse / MarkdownGenerated wikiBuildable code
Verifiable✅ CI/CD
Freshness❌ Stale❌ Snapshot✅ Push-triggered
Token cost🔥🔥🔥🔥🔥🟢 Minimal
AI-native✅ MCP + LSAI
Executable✅ dotnet test
0%
Token savings vs traditional docs
0
Libraries at launch
0
Languages supported

Multi-language from day one.

C# TypeScript Python Java Go Rust

And growing with the community.

Publish your examples.
Grow the ecosystem.

example4.ai is like npm for code examples. Publish example repos for your library, automatically verified by CI, and make them available to every AI agent on the planet.

Library maintainers
Increase adoption of your library.
Developers
Contribute examples, build reputation.
AI Agents
Access verified code via MCP.
Powered by LSAI

Semantic code navigation that understands types, relationships, and call graphs. Not just grep.

Learn more about LSAI →

Be the first to kill your docs.

Join the waitlist for early access. Launching May 2026.

No spam. Just launch updates.

You're in.

We'll notify you when example4.ai goes live.