user-robotAgentic Coding

Examples

Both our customers and Marple internal people are building awesome mini-apps on top of Marple using agentic coding. These are perfect to fine-tune a specific workflow on top of Marple's powerful architecture and performancearrow-up-right. Some examples:

  • Flight test campaign status tracker

  • Speech2Marplearrow-up-right (decoding driver/pilot radio communication to text annotations)

  • Race setup comparison between sessions

  • Model parameter estimation of a solar car based on experimental data

Four examples of agentic apps on top of Marple. Top row: 1) Flight test campaign status tracker, 2) Speech2Marple converting audio to text annotations. Bottom row: 3) Race setup comparison tool, 4) Solar car model parameter estimation
circle-info

Read the full blog post about Speech2Marple for an in-depth example.

Below are some key learnings for agentic coding with Marple that you can apply yourself.

Agentic framework

Agents are really good at writing easy code. But once you give it a challenging task, it might take a pretty naive approach, like allocating 80 GB of memory:

That's why we propose a framework for agentic coding where you split your problem space in:

  1. Easy parts: UI components, glue code, storing application state, ... Basically everything a decent full stack developer would be able to write.

  2. Hard problems: Performance-critical or security-sensitive parts. The kind where you need to rely on well-built libraries to do the job for you.

The hard problems require powerful building blocks. Marple DB and Insight are perfect to do all the heavy lifting regarding large quantities of time series data. For speech decoding, you might use whisperarrow-up-right. Running ML models can be done using PyTorcharrow-up-right, ... etc. We recommend writing down the key hard problems, and assigning a core building block as a solution to each:

Hard problem (examples)
Solution (building block)

Scalable storage of kHz-frequency MDF files

Marple DB

Decoding speech audio to text

Whisper (Python library)

Performant dashboarding across 1000s of measurement datasets

Marple Insight

Store application state for multiple users

PostgreSQL

Prompting recommendations

Tip 1: Write a plan

Always write a plan (e.g. in Markdown, or plain text) that outlines what mini-app you want to build. Isolate the hard parts (see Agentic Framework above) and clearly write how you think they should be solved.

After writing the plan, ask your agent to read it through (e.g. in plan modearrow-up-right for Cursor/Claude/Codex) to improve on unclear sections if needed.

Tip 2: Marple guidance

The agent works best if it knows how to use Marple SDKs and APIs. You can paste the prompt below straight into your plan.

Tip 3: Provide feedback loops

Agents work best if they can debug their output directly by having a feedback loop. If you can, give the agent an API token to work with in its environment. Make the token of the account type editor by default.

Read more about creating API tokens here:

money-check-penAPI tokenschevron-right

Last updated