<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg" -->

---
title: I Built an Agentic AI Runtime in Pure C++23 — Zero...
description: A developer built TOAR, a fully asynchronous ReAct-style agentic AI runtime written entirely in C++23 with zero external dependencies — no Boost, Asio,...
canonical: https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I Built an Agentic AI Runtime in Pure C++23 — Zero Dependencies | daily.dev
og:description: A developer built TOAR, a fully asynchronous ReAct-style agentic AI runtime written entirely in C++23 with zero external dependencies — no Boost, Asio,...
og:url: https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg
og:image: https://api.daily.dev/og/posts/Rg9qpUImG.png
og:image:alt: I Built an Agentic AI Runtime in Pure C++23 — Zero Dependencies
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I Built an Agentic AI Runtime in Pure C++23 — Zero Dependencies

**[Medium](https://daily.dev/sources/medium_js)** · 1 min read · 2 upvotes · 0 comments

## Summary

A developer built TOAR, a fully asynchronous ReAct-style agentic AI runtime written entirely in C++23 with zero external dependencies — no Boost, Asio, nlohmann, or libcurl. It hand-rolls coroutines, an epoll/kqueue reactor, a JSON-RPC layer, and an HTTP client to talk to local and cloud LLMs (llama.cpp, Ollama, vLLM, OpenAI) and discover/dispatch MCP tools. The result compiles to a roughly 1MB binary that boots in under 100ms, positioned as a rebuttal to Python-based agent frameworks like LangChain or AutoGen with multi-second startup times. The code is open source on GitHub.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@pooriayousefi/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-3211dd26067f>

## Questions this post answers

### Is there a C++ alternative to LangChain for building agentic AI systems without Python dependencies?

TOAR is a fully asynchronous C++23 ReAct runtime built with zero external dependencies — no Boost, Asio, nlohmann, or libcurl. It hand-writes its own coroutines, an epoll/kqueue reactor, a JSON-RPC layer, and an HTTP client to connect to local and cloud LLMs (llama.cpp, Ollama, vLLM, OpenAI) and dispatch MCP tools, compiling to a roughly 1MB binary that boots in under 100ms.

_Developers weighing C++ against Python for agent runtimes can find projects like this one on daily.dev._

## Similar posts on daily.dev

- [The Rise of Open-Source Personal AI Agents: A New OS Paradigm](https://daily.dev/posts/the-rise-of-open-source-personal-ai-agents-a-new-os-paradigm-ynboe5ijh) · SitePoint · 1 upvotes · 0 comments
- [What I learned building an opinionated and minimal coding agent](https://daily.dev/posts/what-i-learned-building-an-opinionated-and-minimal-coding-agent-myqj9tthj) · Hacker News · 1 upvotes · 0 comments
- [AMD GAIA 0.16 Introduces C\+\+17 Agent Framework For Building AI PC Agents In Pure C\+\+](https://daily.dev/posts/amd-gaia-0-16-introduces-c-17-agent-framework-for-building-ai-pc-agents-in-pure-c--wlfgxwcsd) · Phoronix · 0 upvotes · 0 comments
- [Three AI engines walk into a bar in single file...](https://daily.dev/posts/three-ai-engines-walk-into-a-bar-in-single-file--3r8oipgq1) · The Register · 0 upvotes · 0 comments

---

Tags: [#mcp](https://daily.dev/tags/mcp), [#c++](https://daily.dev/tags/c++), [#agentic-ai](https://daily.dev/tags/agentic-ai)

[View this post on daily.dev](https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I Built an Agentic AI Runtime in Pure C++23 — Zero Dependencies","url":"https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg"},"datePublished":"2026-09-15T20:10:46.332Z","dateModified":"2026-09-15T20:39:18.259Z","description":"A developer built TOAR, a fully asynchronous ReAct-style agentic AI runtime written entirely in C++23 with zero external dependencies — no Boost, Asio,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3aaf7fbae1342e37873998a60532c618?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3aaf7fbae1342e37873998a60532c618?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mcp,c++,agentic-ai","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"I Built an Agentic AI Runtime in Pure C++23 — Zero Dependencies"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-built-an-agentic-ai-runtime-in-pure-c-23-zero-dependencies-rg9qpuimg#faq","mainEntity":[{"@type":"Question","name":"Is there a C++ alternative to LangChain for building agentic AI systems without Python dependencies?","acceptedAnswer":{"@type":"Answer","text":"TOAR is a fully asynchronous C++23 ReAct runtime built with zero external dependencies — no Boost, Asio, nlohmann, or libcurl. It hand-writes its own coroutines, an epoll/kqueue reactor, a JSON-RPC layer, and an HTTP client to connect to local and cloud LLMs (llama.cpp, Ollama, vLLM, OpenAI) and dispatch MCP tools, compiling to a roughly 1MB binary that boots in under 100ms. Developers weighing C++ against Python for agent runtimes can find projects like this one on daily.dev."}}]}
```

