ngocbd

Forward-Deployed AI Engineer · Technology Consultant

Join your team. Solve the hard problem.Leave a system that runs.

I’m Bui Dinh Ngoc — ngocbd — a forward-deployed AI engineer and technology consultant based in Hanoi. Twenty years of writing code, from ESP32 firmware to distributed systems in Rust. Currently CTO at Hyra Network and Head of DePIN at Rivalz Network.

Send me your problem
ngocbd@proof: ~
ngocbd@proof:~$ git shortlog -sn
112  pokerserver        Java · MQTT game server
 52  MerkleKV           Rust · distributed KV
 31  vanbuielevator     ESP32 firmware
 30  RedisGate          Rust · Redis-as-a-Service
 30  Daymark            TypeScript · on-device AI
ngocbd@proof:~$ 
My commit counts across five selected public repositories, counted straight from each repo’s git history, November 2026.

Track record

Evidence, not promises.

Every line below is publicly verifiable without a login. The source link sits right next to the claim.

  • Peer-reviewed paper — ICBC 2024

    Co-author of “SoK on Blockchain Evolution and Taxonomy”, Blockchain – ICBC 2024, Springer, pp. 109–120.

    Springer
  • CTO, Hyra Network

    Decentralized AI infrastructure on DePIN. Quoted at Token2049 Singapore, October 2025.

    Press release
  • Head of DePIN, Rivalz Network

    DePIN and blockchain architecture. RootData lists me as CTO from May 2024.

    RootData
  • Mentor, FUNiX

    Mentoring IT students. The FUNiX page cites experience managing teams of up to 200 people.

    FUNiX
  • Open-source author

    210 public repos on GitHub since 2010; npm coinsbit-client; 18 gists.

    GitHub
  • 20 years in the trade

    Oracle and Java from 2006; FPT; CTO at BIT TECH; Center Academic Head at AiTi-Aptech; CTO at Metaway Holdings.

    LinkedIn

Services

Three ways to work with me

Each engagement is defined by one concrete outcome. I report with things that run, not with slides.

01

AI Engineering Sprint

One AI feature running in your production

Who it is forYou have an AI idea — an internal assistant, workflow automation, an agent, RAG — and the demo works while the deployment keeps breaking.

What you get

  • One AI feature running inside your real system, in your own repository
  • An eval suite and logs that measure quality with numbers, not vibes
  • Cost limits, access control and guardrails before anything reaches users
  • A runbook so your team can operate it after I leave

Gemini APIRAGAgentsEvalsTypeScriptPythonCloudflare Workers

Typical duration: 2–4 weeks

02

Architecture & Systems

A system that handles real load — without a rewrite from scratch

Who it is forYour system is slow, expensive or keeps falling over. You need an architecture that is just enough — and a sensible order to fix things.

What you get

  • A review of what you have: what will break, why, and in what order to fix it
  • A measured prototype before anyone commits to a build
  • Architecture decision records (ADRs) that spell out the trade-offs
  • Deployment infrastructure on Cloudflare, Kubernetes or Terraform — with CI and observability

RustJavaNode.jsPostgreSQLRedisMQTTKubernetesTerraform

Typical duration: 2–6 weeks

03

Technology Advisory

A fractional chief architect, by the month

Who it is forYou are a founder who needs a straight answer before hiring, buying, raising or changing technical direction.

What you get

  • Regular 1:1 strategy sessions, with notes and action items
  • Technical due diligence before you hire, buy software or raise
  • A quarterly product roadmap: what to build, and what not to
  • Engineering team design and interviews for key roles

Technical due diligenceRoadmapHiringBuild vs. buy

Typical duration: Monthly

Proof of Work

Real products, public source

Every repository below is public and needs no login. I state my role in each one — including where the work belongs to a whole team. Figures as of November 2026.

Distributed systems · Rust

MerkleKV

A self-healing distributed key-value store

Role: Initiator · top committer (52/157 commits)

The problem

Many nodes must converge on the same state with no leader node, over a network that only reaches the outside world through an MQTT broker.

The outcome

The upstream repo has 6 stars (November 2026) in the AI-Decenter org. I opened it, defined the architecture, fixed protocol bugs and built the integration test suite; the team and the Copilot coding agent did the rest.

  • Replication over MQTT (rumqttc) on Tokio, with loop prevention
  • SHA-256 Merkle trees to find divergent keys — 20 unit tests, 13 of them “hard”
  • Pluggable storage behind a trait: RwLock and durable sled engines
  • 19 Memcached-style commands; client libraries for 9+ languages; 3 CI workflows

RustTokioMQTTMerkle treesledPython

Realtime systems · Java

pokerserver

An event-driven game server, with CI since 2018

Role: Opened the repo · top committer (112/402 commits)

The problem

A server that runs multi-player poker hands — turns, bets, table state — and can still be tested automatically.

The outcome

10,400 lines of Java, 83 source files, 20 test files. 3 stars, 4 forks, 13 open issues; pinned on GitHub.

  • Event-driven model: GameEvent, GameListener, PlayerAction
  • MQTT game server (Eclipse Paho) with JMX MBeans for observability
  • Jetty web layer with JWT; data on Google Cloud Datastore via Objectify
  • Travis CI + Codecov + Codacy

JavaMQTTJettyDatastoreJWTTravis CI

Web · on-device AI

Daymark

Offline-first attendance with on-device face check-in

Role: 100% of commits (30/30)

The problem

Face-and-location attendance, where biometric data must never leave the device.

The outcome

A complete product where privacy is an architectural decision. From the README: “Nothing is uploaded.”

  • Face check-in runs in the browser via the FaceDetector API and getUserMedia
  • Fallback when the API is missing: a skin-tone heuristic plus a hold-still check
  • Data lives in IndexedDB; the server only serves the app
  • PWA, self-hostable Dockerfile; TanStack Start, React 19, Tailwind v4

TypeScriptReact 19TanStack StartIndexedDBTailwindDocker

Cloud infrastructure · Rustin development

RedisGate · Aerugo · Open-Container-Engine

Building blocks for an AI cloud

Role: Top committer on all three repos

The problem

Serverless and edge runtimes refuse raw TCP sockets; the team needed Redis over HTTP, a multi-tenant container registry and a container deployment pipeline.

The outcome

RedisGate 30/80, Aerugo 18/32 and Open-Container-Engine 15/36 commits are mine; 21 of the remaining OCE commits were written by the Copilot coding agent.

  • RedisGate — Redis-as-a-Service on Kubernetes over REST, multi-tenant, with an audit log
  • Aerugo — a multi-tenant container registry on S3-compatible object storage
  • Open-Container-Engine — an open alternative to Google Cloud Run (Rust + Axum)

RustAxumSQLxPostgreSQLKubernetesS3Docker Registry v2

Embedded · IoT

vanbuielevator

ESP32 firmware for a home-made 3-storey lift

Role: Top committer (31/54)

The problem

A three-storey house needed a controller for a home-made lift.

The outcome

A family project, built with the discipline of a safety system: the safety check is code, not a note in the README.

  • ESP32 DevKit (Arduino, PlatformIO); a 438-line main.cpp
  • elevatorSecurityCheck() runs every main-loop pass: an obstacle in the pit or an open door cuts both motor relays
  • Black box: a JSON status payload pushed to MQTT every 5 seconds; logs mirrored to Serial, MQTT and Bluetooth
  • Six call buttons and per-floor limit switches; control and monitoring over Bluetooth

C++ (Arduino)ESP32PlatformIOMQTT

Philosophy

How I work

Read off the commit history, not out of a book.

  1. Specify first, delegate second

    On MerkleKV I opened the repo with a README and a roadmap, let the Copilot coding agent raise the issues, then fixed the protocol bugs and wrote the tests myself. AI does the volume; I own correctness.

  2. Tests must prove determinism

    The 13 “hard” Merkle-tree tests check that the same key set yields the same root hash whatever the insertion order, that NUL bytes survive, and that serialization is never ambiguous.

  3. Raw platform, minimal dependencies

    My SMTP-sending Cloudflare Worker needs no bundler and no npm: a hard 64 KiB limit, no blind retries, no sensitive data in logs.

  4. Learn by rebuilding

    io_uring in C and Zig. Merkle trees and ed25519 in V. Back in 2016, linear regression in nothing but numpy.

  5. Say it straight

    My Facebook bio reads “ông trùm bốc phốt” — the boss of call-outs. If your problem is not worth solving, you will hear that in the very first call.

About

Someone who still writes code

I’m Bui Dinh Ngoc. I have gone by ngocbd since opening my GitHub account in 2010. I taught myself to program and started working in 2006 with Oracle and Java. I passed through HiPT, Savant JSC and FPT, served as CTO at BIT TECH and Center Academic Head at AiTi-Aptech, and later as CTO at Metaway Holdings, Rivalz Network and Hyra Network.

I write code in Rust, Java, TypeScript, Python and C — and I have not stopped. The CTO title does not keep me out of the editor: an adviser is only worth trusting while they can still touch the code.

Outside work I review everything and say what I think — my personal Facebook has 67,000 followers and the bio “ông trùm bốc phốt”. My X bio says “words are mine and dont take it seriously”. With clients I keep the same voice, only more serious: straight about the engineering, and with evidence behind every claim.

Timeline

Got a hard problem?

A 30-minute call. You describe the problem; I tell you straight whether I can help — and where to start.

Contact

Reach me directly

These are my real addresses. No gatekeepers, no sales team.

Elsewhere

Quick problem form

Send me your problem

Four fields. I read and answer them myself.

Used only to reply to you. Never added to a mailing list.