<?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: N4tzzOfficial</title>
    <description>The latest articles on DEV Community by N4tzzOfficial (@n4tzzofficial).</description>
    <link>https://dev.to/n4tzzofficial</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3984819%2Fe03d56a1-97c0-43e8-ad45-0895bc88c816.jpeg</url>
      <title>DEV Community: N4tzzOfficial</title>
      <link>https://dev.to/n4tzzofficial</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/n4tzzofficial"/>
    <language>en</language>
    <item>
      <title>Introducing ZixcAI: An Agentic AI Chat Interface Powered by a 770B Parameter Model (80B Active)</title>
      <dc:creator>N4tzzOfficial</dc:creator>
      <pubDate>Sat, 26 Sep 2026 03:53:21 +0000</pubDate>
      <link>https://dev.to/n4tzzofficial/introducing-zixcai-an-agentic-ai-chat-interface-powered-by-a-770b-parameter-model-80b-active-33oi</link>
      <guid>https://dev.to/n4tzzofficial/introducing-zixcai-an-agentic-ai-chat-interface-powered-by-a-770b-parameter-model-80b-active-33oi</guid>
      <description>&lt;p&gt;Today I'm launching &lt;a href="https://zixcai.n4tzzofficial.my.id" rel="noopener noreferrer"&gt;ZixcAI&lt;/a&gt; — an agentic AI chat interface built on top of a custom &lt;strong&gt;770 billion parameter mixture-of-experts model&lt;/strong&gt; with &lt;strong&gt;80 billion active parameters per token&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Most "AI chat" products you see in 2026 are wrappers around an existing API. ZixcAI is not. The interface is mine, the agent runtime is mine, and the model routing is mine. This article is a walkthrough of what it is, how the model architecture works, and why the 80B-active design is the right call for an agentic product.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Is ZixcAI?
&lt;/h2&gt;

&lt;p&gt;ZixcAI is an &lt;strong&gt;agentic AI assistant&lt;/strong&gt; — meaning it doesn't just chat, it acts.&lt;/p&gt;

&lt;p&gt;When you send a message, the model can decide to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Execute code&lt;/strong&gt; in a per-user sandbox (Python, shell)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read and write files&lt;/strong&gt; in an isolated workspace&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fetch URLs&lt;/strong&gt; from the public web&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search the web&lt;/strong&gt; through a browsing backend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analyze images&lt;/strong&gt; via a dedicated vision sub-agent&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remember you&lt;/strong&gt; across sessions with persistent long-term memory&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quote, bookmark, and branch conversations&lt;/strong&gt; — so you can fork a thread, explore a tangent, then return&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The interface is a chat app — dark, minimal, keyboard-first. But the backend is an &lt;strong&gt;agent loop&lt;/strong&gt;: a multi-round, tool-calling execution engine with retries, circuit breakers, and per-turn audit logs.&lt;/p&gt;

&lt;p&gt;If that sounds like a lot, it's because it is. ZixcAI is not a small project.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Model: 770B Total, 80B Active
&lt;/h2&gt;

&lt;p&gt;The core of ZixcAI is a &lt;strong&gt;mixture-of-experts (MoE) transformer&lt;/strong&gt; with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;770B total parameters&lt;/strong&gt; across all experts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;80B active parameters per token&lt;/strong&gt; — only a subset of experts fire for each token&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sparse routing&lt;/strong&gt; — the router picks the top-K experts for each position&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why MoE Instead of a Dense Model?
&lt;/h3&gt;

&lt;p&gt;A dense 770B model would be brutal:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;Total Params&lt;/th&gt;
&lt;th&gt;Active/Token&lt;/th&gt;
&lt;th&gt;Compute per Token&lt;/th&gt;
&lt;th&gt;Memory Footprint&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dense 770B&lt;/td&gt;
&lt;td&gt;770B&lt;/td&gt;
&lt;td&gt;770B&lt;/td&gt;
&lt;td&gt;Very high&lt;/td&gt;
&lt;td&gt;Very high&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;MoE 770B/80B&lt;/td&gt;
&lt;td&gt;770B&lt;/td&gt;
&lt;td&gt;80B&lt;/td&gt;
&lt;td&gt;~10% of dense&lt;/td&gt;
&lt;td&gt;High but manageable&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;MoE gives you the &lt;strong&gt;capacity of a giant model&lt;/strong&gt; with the &lt;strong&gt;compute cost of a much smaller one&lt;/strong&gt;. You pay for memory (all experts must be loaded), but you don't pay for compute on every token.&lt;/p&gt;

&lt;p&gt;This is the same principle behind models like Mixtral, DeepSeek-MoE, and GPT-4-class systems. It's the dominant architecture for frontier models in 2026 for a reason.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why 80B Active Is Enough
&lt;/h3&gt;

&lt;p&gt;80B active parameters is roughly the same compute footprint as a dense 80B model per token. That's a &lt;strong&gt;serious&lt;/strong&gt; amount of reasoning capacity — comparable to or exceeding most "70B" models that people run for serious work.&lt;/p&gt;

&lt;p&gt;But because it's MoE, ZixcAI has &lt;strong&gt;10x the total knowledge&lt;/strong&gt; of a dense 80B model. Different experts specialize in different things — code, math, prose, tool use — and the router picks the right ones per token.&lt;/p&gt;

&lt;p&gt;For an agentic product where the model needs to reason about tools, plan multi-step actions, and write code, this combination is ideal.&lt;/p&gt;




&lt;h2&gt;
  
  
  What It Feels Like to Use
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Streamed Responses, Not Chunks
&lt;/h3&gt;

&lt;p&gt;Every response streams token-by-token via SSE. Reasoning is displayed in a separate "thinking" panel you can expand. Tool calls appear inline as animated cards with status indicators.&lt;/p&gt;

&lt;h3&gt;
  
  
  Real Tools, Not Simulated
&lt;/h3&gt;

&lt;p&gt;When ZixcAI runs code, it actually runs code — inside a sandboxed environment on the backend. You can see the stdout, stderr, exit code, and execution time. Files it creates stay in your workspace.&lt;/p&gt;

&lt;h3&gt;
  
  
  Multi-Modal by Design
&lt;/h3&gt;

&lt;p&gt;Send an image, ZixcAI routes it to a vision sub-agent. The main reasoning model stays text-only (for speed and cost), but you get image understanding where it matters. This is a &lt;strong&gt;deliberate architecture choice&lt;/strong&gt; — see below for why.&lt;/p&gt;

&lt;h3&gt;
  
  
  Persistent Memory
&lt;/h3&gt;

&lt;p&gt;ZixcAI remembers facts about you across conversations. Tell it your name, your stack, your preferences — next session, it knows. Memory is user-visible and user-editable.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conversation Branching
&lt;/h3&gt;

&lt;p&gt;Every message has a "fork" button. Fork creates a new conversation starting from that message. You can explore tangents without polluting your main thread.&lt;/p&gt;

&lt;h3&gt;
  
  
  Syntax Highlighting, Math Rendering, Code Download
&lt;/h3&gt;

&lt;p&gt;Code blocks get full syntax highlighting, one-click copy, and download. Math renders via KaTeX — inline and block, matrices, aligned equations, piecewise functions, all supported.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Architecture, In Short
&lt;/h2&gt;

&lt;p&gt;A ZixcAI turn looks like this:&lt;br&gt;
User message&lt;br&gt;
↓&lt;br&gt;
[PHP API] → creates turn record → returns SSE meta event&lt;br&gt;
↓&lt;br&gt;
[Agent loop]&lt;br&gt;
├─ Build history (system prompt + memory + recent turns)&lt;br&gt;
├─ Call MoE model with tool schemas&lt;br&gt;
├─ If tool call: execute → append result → loop&lt;br&gt;
├─ If no tool call: stream final text to client&lt;br&gt;
↓&lt;br&gt;
[Persistence] → save turn, tool calls, usage, memory updates&lt;/p&gt;

&lt;p&gt;text&lt;/p&gt;

&lt;p&gt;Every layer is instrumented. Tool calls have circuit breakers. Streaming has watchdog timers. Every turn has a full audit trail.&lt;/p&gt;

&lt;p&gt;The backend is &lt;strong&gt;native PHP&lt;/strong&gt; with SQLite. I wrote about that choice here — it's an unorthodox stack for AI, but it works.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why the 2-Agent Split for Vision
&lt;/h2&gt;

&lt;p&gt;One thing that surprises people: &lt;strong&gt;ZixcAI's main model is text-only&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;But ZixcAI understands images. How?&lt;/p&gt;

&lt;p&gt;When you attach an image, ZixcAI:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Routes the image to a &lt;strong&gt;vision sub-agent&lt;/strong&gt; (a separate, smaller model tuned for image description)&lt;/li&gt;
&lt;li&gt;Gets back a detailed text description&lt;/li&gt;
&lt;li&gt;Feeds that description into the main reasoning model&lt;/li&gt;
&lt;li&gt;Responds to you using the combined context&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Why this architecture instead of a single multimodal model?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost.&lt;/strong&gt; Multimodal inference is expensive. If 95% of your traffic is text, paying multimodal cost on every request is wasteful.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Latency.&lt;/strong&gt; The main model stays fast. Vision runs in parallel when needed, then gets injected as text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Flexibility.&lt;/strong&gt; You can swap the vision model without touching the main model. You can route specific image types to specific vision models. The main model never needs retraining when vision upgrades.&lt;/p&gt;

&lt;p&gt;This is a pattern I expect to see more of as agentic products get more serious about unit economics.&lt;/p&gt;




&lt;h2&gt;
  
  
  What It's Not
&lt;/h2&gt;

&lt;p&gt;ZixcAI is &lt;strong&gt;not&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A wrapper.&lt;/strong&gt; The model, runtime, and interface are custom.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A general-purpose LLM.&lt;/strong&gt; It's tuned for agentic tasks — tool use, code, multi-step reasoning.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free.&lt;/strong&gt; There are usage limits. I won't pretend otherwise.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Perfect.&lt;/strong&gt; Memory extraction is heuristic. Vision routing is coarse. Tool retries are naive. It's a v1.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But it's a real product built by one developer, running real tools, on a real MoE backend.&lt;/p&gt;




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

&lt;p&gt;&lt;a href="https://zixcai.n4tzzofficial.my.id" rel="noopener noreferrer"&gt;ZixcAI&lt;/a&gt; is live. Sign up, send a message, ask it to write code, upload an image, ask it to remember something. It's free to try.&lt;/p&gt;

&lt;p&gt;If you're building agentic products, I'm curious what your stack looks like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What model are you running?&lt;/li&gt;
&lt;li&gt;How do you handle tool calls and streaming?&lt;/li&gt;
&lt;li&gt;Do you split vision from reasoning, or use a multimodal model?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drop a comment. I read every one.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;ZixcAI is built by &lt;a href="https://github.com/n4tzz" rel="noopener noreferrer"&gt;@N4tzzOfficial&lt;/a&gt;. Follow for updates as I ship new features — memory improvements, faster streaming, and more tool primitives.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>showdev</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Why I Built an AI Agent in Native PHP in 2026 (And Not Python/Node)</title>
      <dc:creator>N4tzzOfficial</dc:creator>
      <pubDate>Sat, 26 Sep 2026 03:51:18 +0000</pubDate>
      <link>https://dev.to/n4tzzofficial/why-i-built-an-ai-agent-in-native-php-in-2026-and-not-pythonnode-1apc</link>
      <guid>https://dev.to/n4tzzofficial/why-i-built-an-ai-agent-in-native-php-in-2026-and-not-pythonnode-1apc</guid>
      <description>&lt;p&gt;Every time I tell another developer that I built an AI agent in PHP, the reaction is almost always the same: raised eyebrows, a thin smile, then the question — "seriously?"&lt;/p&gt;

&lt;p&gt;Yes, seriously.&lt;/p&gt;

&lt;p&gt;I built &lt;a href="https://zixcai.n4tzzofficial.my.id" rel="noopener noreferrer"&gt;ZixcAI&lt;/a&gt; — an AI agent that can execute code in a sandbox, read files, fetch the web, analyze images, and maintain long-term memory — entirely in &lt;strong&gt;native PHP, no framework&lt;/strong&gt;. Not Laravel, not Symfony, not Node.js, not Python. PHP 8.3, SQLite, a single process.&lt;/p&gt;

&lt;p&gt;This is not a "PHP is better than X" post. This is a post about &lt;strong&gt;why, for this specific use case, PHP turned out to be the right call&lt;/strong&gt; — and what I learned while shipping 2000+ lines of AI agent code in a language most people consider "ancient" for AI work.&lt;/p&gt;




&lt;h2&gt;
  
  
  Context: What Am I Actually Building?
&lt;/h2&gt;

&lt;p&gt;ZixcAI is an agentic AI product. When I say "agentic", I don't mean a chatbot that returns greetings. I mean an LLM that can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Execute code&lt;/strong&gt; — Python scripts, shell commands, in a per-user sandbox&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read and write files&lt;/strong&gt; — in an isolated workspace&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fetch web content&lt;/strong&gt; — with host validation and response size limits&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search the web&lt;/strong&gt; — via a bridge to Serper/Tavily&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analyze images&lt;/strong&gt; — routed to a vision sub-agent&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Remember you&lt;/strong&gt; — persistent memory across sessions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orchestrate multiple tools&lt;/strong&gt; — in a single turn, with retries and circuit breakers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The chat interface streams responses via Server-Sent Events (SSE). Every tool call is logged, cached, and auditable. There is a full user system, session management, CSRF protection, attachment storage, and a subscription model.&lt;/p&gt;

&lt;p&gt;This is not a weekend project. It's a production system.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Reflex: "Shouldn't This Be Python?"
&lt;/h2&gt;

&lt;p&gt;The standard argument goes: AI = Python. LangChain, LlamaIndex, CrewAI, Autogen — everything in the ecosystem is Python. If you're building an AI product, you should be in Python.&lt;/p&gt;

&lt;p&gt;Here's the thing though — &lt;strong&gt;PHP is not competing with Python here. PHP is competing with the framework layer.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The actual work of an AI agent is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Receiving HTTP requests&lt;/strong&gt; — a chat message, a tool result, a stream.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Managing state&lt;/strong&gt; — user sessions, conversation history, permissions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orchestrating API calls&lt;/strong&gt; — sending prompts to an LLM, parsing responses, handling tool calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streaming output&lt;/strong&gt; — pushing deltas to the browser in real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Persisting data&lt;/strong&gt; — messages, turns, tool calls, memories.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Python does #3 well. But #1, #2, #4, and #5? PHP was literally designed for this. The entire web runs on request-response cycles that PHP has been optimizing for two decades.&lt;/p&gt;

&lt;p&gt;When I stripped away the "should be Python" reflex and looked at what the agent &lt;em&gt;actually does&lt;/em&gt;, PHP wasn't just adequate — it was &lt;strong&gt;faster to ship, easier to deploy, and cheaper to run&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why PHP Actually Made Sense
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Deployment Is Trivial
&lt;/h3&gt;

&lt;p&gt;Python deployment is a small war: virtual environments, dependency pinning, WSGI servers, process managers, reverse proxies. Multiply that by every environment (dev, staging, prod) and you've got hours of ops work before writing a single line.&lt;/p&gt;

&lt;p&gt;PHP deployment: copy files, point a web server at them, done. Every shared host in the world runs PHP. My entire production deploy is &lt;code&gt;git pull&lt;/code&gt; and a cache clear.&lt;/p&gt;

&lt;p&gt;For a solo developer shipping fast, this is not a nice-to-have. It's the difference between launching this month or this quarter.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The Request Lifecycle Fits the Agent Workflow
&lt;/h3&gt;

&lt;p&gt;An AI agent turn is: request comes in → orchestrate a bunch of sub-requests → stream the response back → persist state → done. There's no persistent "agent daemon" that stays alive between turns.&lt;/p&gt;

&lt;p&gt;This is exactly what PHP's shared-nothing request model was designed for. No memory leaks across requests. No concurrency primitives to fight. No event loop to debug. Each turn is a fresh, isolated, stateless execution.&lt;/p&gt;

&lt;p&gt;Python's async model is powerful, but for this specific shape of work, it's also &lt;strong&gt;overkill and easier to get wrong&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. SQLite + WAL = Zero-Ops Persistence
&lt;/h3&gt;

&lt;p&gt;I chose SQLite with Write-Ahead Logging for storage. No Postgres to manage, no separate cache layer, no Docker compose stack. On a single-node agent, SQLite with WAL handles more than enough concurrent reads and writes.&lt;/p&gt;

&lt;p&gt;The full-text search feature? SQLite has FTS5. Conversation search, message search, all indexed. No Elasticsearch. No Meilisearch.&lt;/p&gt;

&lt;p&gt;Combined with PHP's stable PDO layer, persistence is a solved problem in ~30 lines of code.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. SSE Streaming Is Actually Clean in PHP
&lt;/h3&gt;

&lt;p&gt;Real-time streaming responses usually mean WebSockets or SSE, and both feel awkward in traditional web stacks. In PHP, they're just... responses that keep echoing.&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
php
header('Content-Type: text/event-stream');
header('Cache-Control: no-cache');
header('X-Accel-Buffering: no');

while (ob_get_level() &amp;gt; 0) ob_end_clean();
@ob_implicit_flush(true);

echo "event: delta\n";
echo "data: " . json_encode(['text' =&amp;gt; $chunk]) . "\n\n";
@ob_flush();
flush();
That's the entire streaming contract. No framework, no library, no adapter. The main gotcha is output buffering — you have to disable it aggressively or the browser will buffer your entire stream before rendering. Once you know that, SSE in PHP is 20 lines of boilerplate.

5. The Framework Tax Is Real
I built this in native PHP, not Laravel. Here's why: frameworks are great when you need to solve 50 problems at once. When you need to solve 5 specific problems well, frameworks add more abstraction than value.

Every agent turn passes through the same 4-5 functions. My tool execution layer is ~200 lines. My memory system is ~150 lines. My SSE handler is ~80 lines. If I had used Laravel, half my debugging time would be understanding the framework, not my own code.

This is not a critique of Laravel. It's an observation that for a small, well-understood domain, a framework is sometimes the wrong abstraction.

The Trade-Offs (Because Nothing Is Free)
Let me not pretend this was all rosy. PHP has real limitations for this use case:

Concurrency. PHP-FPM spawns processes. If you need 100 concurrent long-running requests, you need 100 processes. For a chat product this is fine because most requests are short-lived streams, but if you were building a real-time collaboration tool, this would hurt.

Long-running background jobs. PHP doesn't have a natural "worker daemon" story without extra infrastructure (Supervisor, PM2, etc.). For ZixcAI, background work is minimal — title generation and memory extraction run inline after each turn. If I needed serious async processing, I'd probably add a small worker process in Node or Python.

Python ecosystem. There are Python libraries for AI that have no PHP equivalent. The OpenAI SDK for Python is richer than any PHP option. But the OpenAI API is just HTTP + JSON — you don't need an SDK. A curl_init() and a json_decode() cover 99% of what the SDK does.

Hiring. If I ever need to hire, "PHP developer with AI experience" is a smaller pool than "Python developer with AI experience." But for a solo project, this is a hypothetical.

What I Learned Building This
1. Streaming Is a Debugging Nightmare Until You Understand Buffering
The first version of my SSE stream didn't work. The browser received nothing until the entire response completed, then dumped everything at once. Three days later I found out that output_buffering in php.ini was silently holding every chunk.

Lesson: In PHP, for streaming, ob_end_clean() + ob_implicit_flush(true) + flush() after every chunk is non-negotiable.

2. Upstream Timeouts Kill Chat Products
LLM APIs are slow. A single turn can take 30+ seconds if the model is reasoning heavily. If your HTTP timeout to upstream is 15 seconds, you'll get random "chat failed" errors that only happen sometimes.

Lesson: Set CURLOPT_TIMEOUT to 0 (infinite) for streaming, and set a hard wall-clock limit at the product level (e.g., "if no token received for 45 seconds, abort the turn"). Distinguish between transport timeout and product timeout.

3. Tools Are Just Functions With a Contract
I spent a week designing an elaborate tool-call protocol before realizing: the LLM only sees a JSON schema and returns a JSON call. Your job is to route the call, sanitize arguments, execute safely, and return a text result.

php
if ($tool === 'shell.exec') {
    $cmd = (string)($args['command'] ?? '');
    if (!self::isSafeShellCommand($cmd)) {
        return ['exit_code' =&amp;gt; 400, 'stdout' =&amp;gt; '', 'stderr' =&amp;gt; 'blocked'];
    }
    // ... execute via bridge
}
That's the whole tool layer. Everything else is bookkeeping.

4. Memory Is Harder Than Tools
Reading files and running code is easy — the LLM tells you what to do, you do it. But knowing what to remember across sessions is a genuinely hard problem. My current system extracts 0-3 memory items per turn via a secondary LLM call, deduplicates with similarity matching, and injects the top-30 into the system prompt.

It works. It's not perfect. But it taught me that "memory" in agentic systems is 20% storage and 80% extraction policy.

5. Circuit Breakers Save You From Cascading Failures
If your sandbox bridge goes down, every tool call will hang for 30 seconds and then fail. That's a bad user experience and it exhausts your process pool.

Adding a simple circuit breaker (5 consecutive failures → short-circuit for 30 seconds) made the product dramatically more resilient:

php
if (self::$bridgeFailures &amp;gt;= self::BRIDGE_FAILURE_THRESHOLD) {
    if (time() - self::$lastBridgeFailure &amp;lt; self::BRIDGE_CIRCUIT_RESET_SECONDS) {
        return ['ok' =&amp;gt; false, 'status' =&amp;gt; 503, 'body' =&amp;gt; [
            'violation_code' =&amp;gt; 'bridge_circuit_open',
        ]];
    }
}
This is 6 lines of code and it's the difference between "the product degrades gracefully" and "the product crashes when one dependency hiccups".

So, Should You Use PHP for Your AI Agent?
If you're building a research project, a training pipeline, or heavy ML work — no. Use Python. The ecosystem is unmatched.

If you're building an agentic product where the LLM does the reasoning and your job is orchestration, streaming, and persistence — PHP is a perfectly defensible choice. It's fast to ship, cheap to deploy, and boring in the best way.

The "AI must be Python" rule is a community convention, not a technical constraint. The technical constraint is: can your language make HTTP requests, handle JSON, and stream output? If yes, you can build an AI agent in it.

The real question isn't "is PHP good for AI" — it's "is this stack right for this product". For ZixcAI, it was.

What's Next
I'm continuing to ship ZixcAI features: better memory, multi-modal inputs, and more tool primitives. If you want to see what an agentic AI built on PHP actually looks like in practice, check it out.

If you're building something similar — in PHP, Python, or anything else — I'd love to hear about it. Drop a comment with your stack and what surprised you the most.

And if you made it this far: yes, PHP is fine. Really.

Thanks for reading. If you found this useful, I write occasionally about AI engineering, unorthodox stack choices, and building products solo.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>php</category>
      <category>ai</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Why I'm Building N4Kit Instead of Another AI Tool</title>
      <dc:creator>N4tzzOfficial</dc:creator>
      <pubDate>Tue, 16 Jun 2026 09:06:15 +0000</pubDate>
      <link>https://dev.to/n4tzzofficial/why-im-building-n4kit-instead-of-another-ai-tool-5h7l</link>
      <guid>https://dev.to/n4tzzofficial/why-im-building-n4kit-instead-of-another-ai-tool-5h7l</guid>
      <description>&lt;h1&gt;
  
  
  Why I'm Building N4Kit Instead of Another AI Tool
&lt;/h1&gt;

&lt;p&gt;Artificial intelligence is everywhere.&lt;/p&gt;

&lt;p&gt;Every day, new AI tools, AI assistants, AI agents, and AI startups appear online.&lt;/p&gt;

&lt;p&gt;While AI is exciting, I noticed something interesting during my own development workflow.&lt;/p&gt;

&lt;p&gt;Most of the tasks I perform daily don't actually require AI.&lt;/p&gt;

&lt;p&gt;What I use most often are simple tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON formatters&lt;/li&gt;
&lt;li&gt;JWT decoders&lt;/li&gt;
&lt;li&gt;UUID generators&lt;/li&gt;
&lt;li&gt;Password generators&lt;/li&gt;
&lt;li&gt;QR code generators&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Small utilities that save time and help me work more efficiently.&lt;/p&gt;

&lt;p&gt;The problem is that these tools are often spread across many different websites.&lt;/p&gt;

&lt;p&gt;So instead of building another AI project, I decided to build something practical.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing N4Kit
&lt;/h2&gt;

&lt;p&gt;N4Kit is an open-source developer toolkit focused on productivity and simplicity.&lt;/p&gt;

&lt;p&gt;The goal is not to replace existing tools.&lt;/p&gt;

&lt;p&gt;The goal is to provide a better experience by bringing useful utilities together in one place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building for Developers
&lt;/h2&gt;

&lt;p&gt;N4Kit is designed around a simple philosophy:&lt;/p&gt;

&lt;p&gt;Fast.&lt;br&gt;
Useful.&lt;br&gt;
Open Source.&lt;/p&gt;

&lt;p&gt;No unnecessary complexity.&lt;/p&gt;

&lt;p&gt;No bloated interfaces.&lt;/p&gt;

&lt;p&gt;Just tools that help developers get things done.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;The project is still in active development.&lt;/p&gt;

&lt;p&gt;Future plans include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;More developer utilities&lt;/li&gt;
&lt;li&gt;Snippet collections&lt;/li&gt;
&lt;li&gt;Productivity features&lt;/li&gt;
&lt;li&gt;Workflow enhancements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm building N4Kit publicly and sharing the journey along the way.&lt;/p&gt;

&lt;p&gt;Sometimes the best projects aren't the most complex ones.&lt;/p&gt;

&lt;p&gt;They're the ones people actually use every day.&lt;/p&gt;

&lt;p&gt;🌐 Live Demo:&lt;br&gt;
&lt;a href="https://n4kit.n4tzzofficial.my.id/" rel="noopener noreferrer"&gt;https://n4kit.n4tzzofficial.my.id/&lt;/a&gt;&lt;br&gt;
💻 Source Code:&lt;br&gt;
&lt;a href="https://github.com/N4tzzOfficial/N4Kit" rel="noopener noreferrer"&gt;https://github.com/N4tzzOfficial/N4Kit&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built by N4tzzOfficial under N4tzzNetwork.&lt;/p&gt;

</description>
      <category>opensour</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Who is N4tzzOfficial?</title>
      <dc:creator>N4tzzOfficial</dc:creator>
      <pubDate>Mon, 15 Jun 2026 06:29:40 +0000</pubDate>
      <link>https://dev.to/n4tzzofficial/who-is-n4tzzofficial-fbj</link>
      <guid>https://dev.to/n4tzzofficial/who-is-n4tzzofficial-fbj</guid>
      <description>&lt;p&gt;In today's rapidly evolving digital world, innovation, automation, and artificial intelligence continue to transform the way people interact with technology. Behind several growing technology projects stands N4tzzOfficial, an independent software developer, digital creator, and technology enthusiast dedicated to building intelligent, scalable, and practical digital solutions.&lt;/p&gt;

&lt;p&gt;N4tzzOfficial is the founder of the N4tzzNetwork / N4tzzTeam, a connected network of projects focused on artificial intelligence, automation, software development, network infrastructure, and digital innovation.&lt;/p&gt;

&lt;p&gt;The goal is simple: to create useful technology that empowers users, developers, and communities through innovation and reliability.&lt;/p&gt;

&lt;p&gt;The N4tzzNetwork / N4tzzTeam&lt;/p&gt;

&lt;p&gt;The N4tzzNetwork / N4tzzTeam consists of multiple projects working together to create a modern and connected technology environment.&lt;/p&gt;

&lt;p&gt;N4lyx&lt;/p&gt;

&lt;p&gt;N4lyx is a WhatsApp automation library designed to help developers create messaging systems, bots, and automation workflows.&lt;/p&gt;

&lt;p&gt;Key Features&lt;br&gt;
WhatsApp Automation&lt;br&gt;
Messaging Workflows&lt;br&gt;
Bot Development&lt;br&gt;
API Integration&lt;br&gt;
Event Handling&lt;br&gt;
Developer Tools&lt;/p&gt;

&lt;p&gt;N4lyx focuses on simplifying communication automation while providing flexibility for developers to build custom solutions.&lt;/p&gt;

&lt;p&gt;Nexa AI&lt;/p&gt;

&lt;p&gt;Nexa AI is an intelligent desktop assistant inspired by the concept of advanced AI companions such as JARVIS.&lt;/p&gt;

&lt;p&gt;Unlike traditional chatbots, Nexa AI is designed to integrate directly with a user's computer environment, helping manage tasks, automate workflows, and improve productivity through natural language interaction and intelligent automation.&lt;/p&gt;

&lt;p&gt;Key Features&lt;br&gt;
Natural Language Conversations&lt;br&gt;
Desktop Automation&lt;br&gt;
Voice Assistant Capabilities&lt;br&gt;
Smart Productivity Tools&lt;br&gt;
Application Integration&lt;br&gt;
Task Management&lt;br&gt;
AI-Powered Assistance&lt;br&gt;
System Interaction&lt;/p&gt;

&lt;p&gt;The long-term vision of Nexa AI is to become a powerful personal desktop companion capable of assisting users in everyday computing activities.&lt;/p&gt;

&lt;p&gt;N4tzzNetwork&lt;/p&gt;

&lt;p&gt;N4tzzNetwork is the infrastructure, networking, and security division of the N4tzz Ecosystem.&lt;/p&gt;

&lt;p&gt;It is responsible for maintaining the technological foundation that supports projects, services, and future innovations developed under N4tzzOfficial.&lt;/p&gt;

&lt;p&gt;Core Responsibilities&lt;br&gt;
Network Infrastructure&lt;br&gt;
Cloud Systems&lt;br&gt;
Server Management&lt;br&gt;
Infrastructure Monitoring&lt;br&gt;
Digital Security&lt;br&gt;
System Reliability&lt;br&gt;
Performance Optimization&lt;br&gt;
Technology Operations&lt;/p&gt;

&lt;p&gt;N4tzzNetwork ensures that services remain secure, stable, and scalable while supporting the long-term growth of the ecosystem.&lt;/p&gt;

&lt;p&gt;N4tzzTeam&lt;/p&gt;

&lt;p&gt;N4tzzTeam is the primary development organization behind projects within the N4tzz Ecosystem.&lt;/p&gt;

&lt;p&gt;The team focuses on designing, building, and maintaining software solutions across multiple technology sectors.&lt;/p&gt;

&lt;p&gt;Areas of Expertise&lt;br&gt;
Software Engineering&lt;br&gt;
Artificial Intelligence&lt;br&gt;
Automation Systems&lt;br&gt;
Web Development&lt;br&gt;
API Development&lt;br&gt;
Infrastructure Solutions&lt;br&gt;
Digital Innovation&lt;/p&gt;

&lt;p&gt;N4tzzTeam transforms ideas into practical products and services that contribute to the ecosystem.&lt;/p&gt;

&lt;p&gt;Technology Areas&lt;/p&gt;

&lt;p&gt;N4tzzOfficial actively works across several fields:&lt;/p&gt;

&lt;p&gt;Artificial Intelligence&lt;br&gt;
Automation Systems&lt;br&gt;
Software Development&lt;br&gt;
Cloud Infrastructure&lt;br&gt;
Networking&lt;br&gt;
Cybersecurity&lt;br&gt;
Desktop Applications&lt;br&gt;
Web Technologies&lt;br&gt;
API Development&lt;br&gt;
Productivity Solutions&lt;br&gt;
Vision&lt;/p&gt;

&lt;p&gt;The vision of N4tzzOfficial is to build a connected digital ecosystem where software, artificial intelligence, automation, infrastructure, and security work together seamlessly.&lt;/p&gt;

&lt;p&gt;By combining innovation with practical solutions, N4tzzOfficial aims to create technology that remains useful, scalable, and future-ready.&lt;/p&gt;

&lt;p&gt;Looking Ahead&lt;/p&gt;

&lt;p&gt;The journey of N4tzzOfficial is only beginning.&lt;/p&gt;

&lt;p&gt;Future plans include expanding N4lyx, advancing Nexa AI, strengthening N4tzzNetwork, and developing new technologies that contribute to a smarter and more connected digital future.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
