Skip to content

TUI + VS Code extension

CodePulseEmbedded MCU AI development assistant

Describe your product and CodePulse structures the requirements through domain knowledge and multi-turn confirmation. Once the hardware is fixed, it verifies the design, generates chip configuration, fetches the base project, writes the application code and verifies the build.

  • Requirements
  • Configuration
  • Code
  • Build verification
codepulse · Cp_build LIVE
5/5Phases done
0Error
12.4K.hex ready to flash

CodePulse v1.0 · MCU design assistant

> Build a stepless dimming desk lamp

01 Requirements chip_knowledge · questionnaire Done

Q1Dimming → knob, stepless + click on/off

Q2Brightness memory → yes, kept when unplugged

Q3Indicator light → yes, warm and dim

✓ Requirements .codepulse/Requirements.md

02 Hardware intake mcu_collector Done

chipCA51F series · 8-bit MCU

P0.0Knob potentiometer · ADC channel 2

P1.2LED driver · PWM output

P1.5Button · pull-up input

✓ Config written to .codepulse/AGENTS.md

03 Verification chip_recommend · hardware_verify Done

chip_recommend→ usable in series

hardware_verify→ 2× ADC · 1× PWM

headroom→ Flash 12.4 KB · RAM ample

✓ Feasible, no resource conflicts

04 Base project generate_sdk Done

[1/4]Validate chip ✓

[2/4]Submit job ✓ job_8f2c

[3/4]Poll status building…

[4/4]Unpack ✓ ./base_project/

05 Application code code_generator Done

+src/app/knob_light.c 124 ln · sampling

+src/app/pwm_output.c 68 ln · PWM driver

~src/main.c init and main loop

✓ Written to embedded coding standards

✓ keil_build · Code=3184 RO=196 RW=24 ZI=168

✓ 0 Error(s) · Objects/app.hex 12.4 KB · ready to flash

>

Project context persists in .codepulse/AGENTS.md, so any session can resume where it left off.
05Phases
05Specialist sub-agents
07MCU series
12+Built-in models

Two surfaces, one workflow

The TUI suits fast keyboard-driven progress; the VS Code extension suits working alongside the project. Both share one project context and the same five phases, so you can switch at any time without losing state.

TUI terminal

From requirements to a flashed image, all inside the terminal.

  • Keyboard-only flow; Tab switches agents
  • Phase progress, tool calls and output streamed live
  • Session management and resume; /connect links a provider
  • Runs in any local terminal or the VS Code terminal

VS Code extension

Project and conversation on one screen — edit, build, repeat.

  • Invoke it inside the editor, no window switching
  • Generated files open in place and stay navigable
  • Tied to the project folder; edits appear immediately
  • Built for first-time development and daily iteration

The VS Code extension ships as a .vsix file; no npm package is provided.

One assistant across the delivery path

CodePulse hands the repetitive configuration and lookup work to agents, so engineers can concentrate on the parts that need judgement and creativity.

chip_knowledge · RAG

Conversational requirements

Retrieval over an industry knowledge base (RAG) and multi-turn questionnaires turn product intent into functional requirements, behaviour constraints and acceptance criteria, captured as project context.

SSOT

Chip knowledge base

A structured chip data source: pin multiplexing, peripheral inventory, electrical parameters and memory layout. Hardware feasibility no longer means digging through datasheets.

json_api · generate_sdk

Configuration and project generation

Generates configuration JSON from chip IO templates and validates it locally, then runs generate_sdk to validate, submit, poll, download and unpack.

mcu_collector · upload_mcu

Onboarding unsupported chips

When the target chip is not supported yet, mcu_collector guides a datasheet or SDK upload and verifies that drivers and the base project build.

code_generator

Application logic development

Retrieves peripheral documentation and reference routines, then writes application code directly on the base project — equally smooth for new features and continuous iteration.

keil_build · cloud_compilation

Build verification loop

Supports Keil, Makefile, CMake and IAR toolchains plus cloud compilation. Failed builds return an error summary with suggested next steps.

Toolchain
  • support_chip
  • generate_sdk
  • json_api
  • keil_build
  • iar_build
  • cmake_build
  • makefile_build
  • cloud_compilation
  • upload_mcu
  • download_buildtool

Five phases to a buildable project

Phase by phase with traceable outputs. Project state persists in .codepulse/AGENTS.md, so any session can resume.

  1. PHASE 01

    Requirements

    Confirm the industry and product type, load domain knowledge, then run a multi-turn questionnaire and produce the requirements document and project context.

    • chip_knowledge
    Requirements.md
  2. PHASE 02

    Hardware intake

    You supply the chip part number and hardware configuration; the primary agent confirms pins and peripherals one by one. Selection help is only enabled when explicitly asked for.

    • chip_recommend
    AGENTS.md
  3. PHASE 03

    Verification

    Checks first whether the chip is supported, then whether its pins and peripherals meet the requirements; unsupported parts hand over to the intake flow.

    • support_chip
    • hardware_verify
    • mcu_collector
    Verification report
  4. PHASE 04

    Base project

    Calls generate_sdk to validate the chip, submit the request, poll status and unpack the ZIP — returning a buildable base project.

    • generate_sdk
    Base project
  5. PHASE 05

    Application code

    Builds business logic on the existing drivers, applies embedded coding standards, and verifies with Keil, CMake, Makefile, IAR or cloud compilation.

    • code_generator
    • json_api
    • keil_build
    .hex firmware

A specialist agent system

One primary agent drives the project end to end; five resident sub-agents own domain knowledge, chip selection, hardware verification, data intake and application code — clear responsibilities, predictable results.

PRIMARY AGENT

Cp_build

Resident

The end-to-end primary agent: drives everything from requirements to application code, and maintains the project context (.codepulse/AGENTS.md) and requirements document (.codepulse/Requirements.md) at each phase.

  • Requirement capture and multi-turn confirmation
  • Phase orchestration and user checkpoints
  • Direct application code development
  • Build verification and error fixing
Delegated on demand
  • chip_knowledge
  • chip_recommend
  • hardware_verify
  • mcu_collector
  • code_generator

Sub-agents · 5 resident, invoked per phase

chip_knowledge

Loads industry and peripheral knowledge: industry cases before the questionnaire, peripheral documents and examples during development.

Knowledge

chip_recommend

Chip selection advice, only when you explicitly ask for it — it never overrides a part you have chosen.

Recommend

hardware_verify

Checks pin multiplexing, peripheral capability and memory limits against the requirements, returning a structured result.

Verification

mcu_collector

Steps in only when the target chip is unsupported: guides a datasheet or SDK upload and verifies it builds.

Collection

code_generator

Application code agent and sole owner of Phase 5: explore the project, write code, fix errors until the build passes.

Generation

First build, second build, iteration

Project state is detected automatically: new projects start at requirements, unfinished ones resume from their checkpoint.

SCENE 01

First build

Only a product idea? Start from one sentence and go through industry research, hardware selection and project generation.

SCENE 02

Second build

Already have a base project or SDK? Name the chip and go straight to application code, skipping repeated setup.

SCENE 03

Continuous iteration

Reads the existing project context and adds features such as touch or connectivity incrementally, with traceable decisions.

Start your first project in three steps

Download the installer, launch the TUI or the VS Code extension, and describe your product — three steps to phase one.

  1. 01Download and installClick Download for the current stable build and run it; install the VS Code extension from the downloaded .vsix.
  2. 02Launch and connectRun codepulse for the TUI, or open the CodePulse panel; use /connect to pick CodePulse and enter your API key.
  3. 03Describe your productSay what you want to build in one sentence; CodePulse enters requirements and hardware verification.

Supported MCU series

  • CA51F / CA32F
  • MJ
  • CH32
  • SH
  • STM32
  • ESP32
  • NXP

All seven series are wired into the chip knowledge base (SSOT): configuration JSON, the base project and build verification use the same source. Only series names are published, never the part-number list. Unsupported chips can be onboarded from a datasheet or SDK, and coverage expands per project.

  • /connectLink a provider
  • /modelsModel list
  • TabSwitch agent
  • /planRead-only plan mode
  • /sessionSession history
  • /newNew session

Q&A

Bring CodePulse to your next embedded project.

What is CodePulse?

An AI development assistant for embedded MCU projects from Index Tech, available as a TUI terminal and a VS Code extension. It advances a project through five phases: requirements, hardware intake, hardware verification, base project acquisition, and application code with build verification.

How is it different from general AI coding tools?

General tools target any codebase; CodePulse is built for embedded work. It ships a structured chip knowledge base (SSOT), retrieves industry knowledge (RAG), generates configuration JSON from chip templates, calls a dedicated code generation service, and verifies builds through embedded toolchains such as Keil.

Which chips are supported, and will coverage grow?

Seven series today: CA51F / CA32F, MJ, CH32, SH, STM32, ESP32 and NXP, all wired into the chip knowledge base (SSOT). Only series names are published; the part-number list and support scope are shared during onboarding. Unsupported chips can be onboarded from a datasheet or SDK, and the list keeps expanding.

How do I get a trial and an API key?

Installers come from the team on request. For an API key, call +86 10 8648 7309 or email afh.media@sz-index.com with your company details and use case; keys are issued after review.

Can I use it on an existing project? Is context preserved?

Yes. Project state is detected automatically: new projects start at requirements, while existing projects can jump straight to application code once a chip is named. Context persists in .codepulse/AGENTS.md, so sessions resume where they left off.