Skip to main content

TRACE32 AI - Getting Started - Knowledgebase / Setup / update - Lauterbach Support

TRACE32 AI - Getting Started

Authors list

Getting Started with TRACE32® AI

TRACE32® AI consists of a retrieval-augmented generation (RAG) system that lets you and your agents search through Lauterbach’s official documentation, an open-source Model Context Protocol (MCP) server that provides agentic access to PowerView, and a set of agent skills that teach agents how to work with TRACE32®.

Refer to the landing page for examples: https://lauterbach.com/trace32-ai

TRACE32® AI Assistant

TRACE32® AI Assistant is a retrieval-augmented generation (RAG) system based on the official documentation and primarily designed to answer TRACE32®-related questions:

  • Semantic search in the TRACE32® manuals.

  • PRACTICE syntax check for .cmm scripts.

  • Product search in the Lauterbach product catalog.

To use the AI Assistant, register at https://assistant.ai.lauterbach.com. Agents can use it as a remote MCP server.

Usage limits and external services

Approved users will be granted a usage budget. According to the privacy policy, the AI Assistant depends on externally hosted large language models (LLMs) to generate answers. You can configure your preferred LLM in the web interface. Larger and more capable models will reach your daily usage budget faster.

TRACE32® MCP Server

t32mcp is the official TRACE32® MCP Server which gives AI agents access to TRACE32® PowerView by providing the following tools:

  • trace32_manage_instances: Manage the PowerView instances this server talks to, e.g. for AMP.

  • trace32_get_status: Query the state of the TRACE32 target system.

  • trace32_run_script: Run a PRACTICE script (*.cmm) in PowerView and return its output.

  • trace32_run_command: Run PRACTICE commands in PowerView and return their output.

Installation

t32mcp is open-source and can be downloaded from the Gitlab release page: https://gitlab.com/lauterbach/t32mcp

Execution Policies

Since PRACTICE can change the target, e.g. erase flash, t32mcp restricts what the agent may execute with an execution policy:

  • unrestricted: All tools are enabled. Recommended only inside controlled sandboxes.

  • scripts: The agent can run PRACTICE scripts, but trace32_run_command is disabled.

  • strict: Only scripts from approved agent skills that declare “strict”: true.

TRACE32® Agent Skills

TRACE32® Agent Skills teach your AI agent how to work with TRACE32®:

  • Provide general information about Lauterbach products.

  • Cover specific use cases with PowerView, PRACTICE, and the Remote API.

  • Provide debugging scripts for agentic debugging with the TRACE32® MCP Server.

The agent skills include lauterbach-trace32-skill-creator which helps your agent to create its own skills.

Installation

Refer to the documentation of your agent harness for the preferred installation directory.

TRACE32® AI Extension for VSCode

The TRACE32® AI extension integrates TRACE32® AI into VSCode:

  • @t32chat chat participant: Talk to the TRACE32® AI Assistant from the Chat window.

  • t32chat MCP server: The assistant is registered as a remote MCP server, so AI agents in VSCode can use its tools, e.g. searching the TRACE32® manuals, checking PRACTICE syntax and looking up Lauterbach products.

  • t32mcp MCP server: A MCP server definition for the TRACE32® MCP server. Note that t32mcp is not included in the extension and must be downloaded separately.

For more information on how to integrate TRACE32 into third-party IDEs, refer to the following support articles:


Helpful Unhelpful

6 of 7 people found this page helpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image