Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>nRF AI DebuggerNew to Visual Studio Code? Get it now.
nRF AI Debugger

nRF AI Debugger

AdsumNetwork

|
8 installs
| (0) | Free
Open-Source AI-powered debugging assistant for nRF Connect SDK development. Generates logging code, analyzes RTT/UART logs, and provides real-time BLE stack diagnostics.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

nRF AI Debugger

Open-Source AI Agent for Debugging nRF Devices

Captures live logs from your connected nRF devices, analyzes applications behavior, and generates expert insights — right from VS Code.

VS Marketplace License NCS Zephyr

nRF AI Debugger Demo


The Problem

Debugging firmware on nRF devices is notoriously tedious. You flash your firmware, open a terminal, and watch raw logs (RTT/UART) scroll past. Trying to correlate timestamps between two boards, decipher hex codes, and manually search your source code to find where an error originated is a major productivity bottleneck.

nRF AI Debugger changes that. It's an AI agent built specifically for the nRF Connect SDK ecosystem. It captures live logs directly from your boards and analyzes them in real-time, correlating firmware output with your source code to pinpoint the root cause of failures.


Features

📊 1. Capture & Analyze Device Logs

The nRF AI debugger captures live RTT or UART logs, identifies patterns in your application's behavior, and produces structured analysis reports—covering everything from boot sequences to protocol-specific events.

Key Capabilities:

  • 🔍 Auto-detects connected boards via J-Link serial numbers.
  • 📡 Multi-device capture — two devices (or more) simultaneously (e.g. Central + Peripheral).
  • 🧠 Context-aware analysis — correlates logs with your actual main.c and project files.
  • 💡 Proactive Debugging — catches Hard Faults or stack overflows and points to the offending line of code.

🔧 2. Generate Best-Practice Logging

Before you can analyze, you need good logs. The agent reads your nRF Connect SDK project, understands the BLE stack, and injects the right log statements — so when it analyzes later, it knows exactly what each line means.

Key Capabilities:

  • 📁 Multi-project awareness — handles Central + Peripheral workspaces simultaneously
  • ⚙️ Auto-configures logging backend (RTT vs UART) in prj.conf
  • 🎯 NCS-compliant — follows Zephyr RTOS logging best practices
  • 🔘 Interactive — asks before modifying, suggests RTT over UART for BLE projects

Why does the agent generate the logging code? Because an agent that wrote the log statements can analyze the output far more intelligently — it understands the context because it created it.


Quick Start

  1. Install nRF AI Debugger from the VS Code Marketplace.
  2. Configure your AI provider (We recommend GLM-4.7 for cost-effective, high-performance analysis).
  3. Choose a mode: "Analyze nRF Device Logs" or "Generate Logging Code".

nRF AI Debugger Home


Requirements

Requirement Details
Operating System Windows 11 (macOS/Linux planned via community)
nRF Connect SDK Tested with v3.2.1
Extension Pack Requires nRF Connect Extension Pack
Python 3.8+ (Uses the Python environment bundled with your nRF Connect Extension)
AI Provider Supports OpenRouter or any OpenAI-compatible endpoint.

Roadmap & Compatibility

We are expanding based on community needs. If you need support for a specific protocol or board, join our discussions!

Category Supported / Tested Future Exploration (User Driven)
OS Windows 11 macOS, Linux
Boards nRF52840 DK, nRF52832 DK nRF53, nRF91, nRF70, nRF54
Protocols BLE (Bluetooth Low Energy) WIFI, Thread, Matter, LTE-M / NB-IoT, DECT NR+
NCS Version v3.2.x v2.9.x LTS, v3.3+
LLMs GLM-4.7, Claude Haiku 4.5 DeepSeek-V3, Local LLMs (Ollama)

Tested Models

Model Provider / Endpoint Status Notes
GLM-4.7 OpenAI-Compatible (Coding Plan) ✅ Recommended Best balance of high coding benchmarks and extreme cost-effectiveness.
Claude Haiku 4.5 OpenRouter ✅ Tested The fastest and most affordable entry-point for professional-grade coding models.

"We optimized for these models so you can debug for hours for the price of a cup of coffee."

New to GLM? Follow the Step-by-Step Configuration Guide to get your API key and set up the OpenAI-compatible endpoint in VS Code.


🔒 Privacy & Security

Your firmware stays yours.

  • Local Control: The agent runs entirely on your machine. It only sends specific log snippets and code context to your chosen AI provider.
  • BYOK (Bring Your Own Key): You have full control over which model you use and which API endpoint you trust.
  • Open Source: Our capture scripts and agent logic are fully transparent and auditable by the community.

How It Works

graph LR
    A[Your nRF Project] -->|Agent reads code| B[Log Generator]
    B -->|Injects log statements| A
    A -->|Build & Flash| C[nRF Device]
    C -->|Live RTT/UART capture| D[Log Analyzer]
    D -->|Code-aware analysis| E[Expert Report]

About Us

Adsum Networks — We've been developing IoT solutions on nRF and other embedded platforms for over 7 years. We built nRF AI Debugger because we needed it ourselves to handle complex BLE debugging, and now we're sharing it to help the community build better firmware, faster.


Acknowledgments

  • Cline — The open-source AI assistant this project builds upon.
  • Nordic Semiconductor — For the exceptional nRF Connect SDK and developer tools.

License

Apache 2.0 © 2026 Adsum Networks

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft