Codepocalypse Now: LangChain4j vs Spring AI

Arc of AI 2026 Video Coming Soon
A presentation at Arc of AI 2026 in April 2026 in Austin, TX by Baruch Sadogursky and Viktor Gamov

Abstract

ChatGPT can write code. Copilot can autocomplete. But can Java build a real AI agent — one that manages your calendar, reads your email, and remembers who you are across sessions? OpenClaw, the viral personal AI agent with 350K GitHub stars, proves the concept. We’re going to build it. Twice. In Java. Live on stage. Baruch brings Spring AI. Viktor brings LangChain4j. Same features, same LLM, same use case — completely different philosophies. Six rounds: basic agent, memory, tool calling, agentic workflows, guardrails, and observability. Each round exposes a fundamental design disagreement: Is memory an Advisor or a Provider? Are agents composed services or first-class citizens? Do you need MCP or can models call APIs directly? This isn’t just a framework comparison. It’s an abstraction war — and the winner tells you something about how YOUR team should architect AI into your Java applications.

Resources

Frameworks

OpenClaw / NanoClaw

  • OpenClaw — The viral personal AI agent (350K+ GitHub stars).
  • NanoClaw — Minimalist, containerized alternative to OpenClaw.
  • ClawRunr / JavaClaw — “We didn’t build anything new. We connected the pieces that were already there.”

MCP (Model Context Protocol)

TUI4J

  • TUI4J — Terminal User Interface framework for Java (Bubble Tea port).
  • Brief — Terminal AI chat client built with TUI4J.

Tessl

Tools

  • presenterm — Terminal-based markdown presentation tool (used for the slides).
  • Claude Code — The coding agent used to build the demo.

Previous Codepocalypse Versions

Conference

Speakers