What Happened When We Handed Akida Model Development to AI Agents for a Day

Six Lessons from Our First Akida Hackathon

By Kurt Manninen, Senior Solutions Architect, BrainChip

The activity recognition model running on an AKD1500-based AkidaTag, in a watch case 3D-printed during the hackathon.

The activity recognition model running on an AKD1500-based AkidaTag, in a watch case 3D-printed during the hackathon.

Building a model for a new edge accelerator used to take weeks. We wanted to know how much of that an AI coding agent could take off an engineer’s plate. So we tested it.

On November 19, we gave about a dozen engineers from our research and pre-sales teams one day, seven edge AI problems, a pile of AKD1500 boards, and Claude, Anthropic’s AI coding agent. By the end of the day, every team had a model. Six of the seven are now running on Akida hardware, and three were built by engineers who had never used Akida before.

This post covers how the day worked, what went wrong, and six lessons for anyone building Akida models with an agent in the loop.

The short version

  • A day is enough. If you have the dataset, a working Akida model in one day is a reasonable expectation.
  • Your job changes. The agent writes most of the code. You focus on understanding the data, choosing the splits, and checking results on hardware.
  • Know your generation. The AKD1500 is Akida 1.0. Tell your agent to quantize with cnn2snn.quantize, not QuantizeML.
  • Watch your splits. Random splits made one of our models look 30 points better than it was.

Why we did this

Most of the time spent building an edge AI model doesn’t go into the model itself. It goes into understanding a new dataset, writing the preprocessing and validation code, then training for many epochs and checking the results. On a small team, there isn’t always time for all of that. AI coding agents can take on much of this work, so we wanted to find out how much faster it gets with one.

We had three goals for the day:

  1. See how far a team can get with Claude in one day.
  2. Capture what works and turn it into reusable workflows and Claude skills, for our team and for developers building on Akida.
  3. Come away with working models we can show and share.

The setup

We picked seven problems across industrial monitoring, wearables, and safety sensing. Each uses public data and has a target on Akida hardware.

Problem Input Model Datasets Hardware Targets
Rotating machine fault detection Vibration 1D-CNN CWRU, MFPT, UORED AKD1500 ≥95%, ≤10 ms, ≤200 mW
Acoustic machine anomaly detection Machine audio CNN on log-mel MIMII, ToyADMOS, DCASE AKD1500 ≥95%, ≤10 ms, ≤200 mW
Activity recognition Wearable IMU 1D-CNN UCI HAR, PAMAP2, WISDM AkidaTag ≥95%, ≤10 ms, ≤100 mW
Safety sound detection Audio CNN on log-mel UrbanSound8K, AudioSet Akida 1 ≥95%, ≤10 ms, ≤150 mW
Gas and VOC sensing 16-sensor chemical array Compact 1D-CNN UCI Gas Sensor Array Drift Akida 1 ≥92% on drifted batches, ≤150 mW
Battery state of charge Current, voltage, temperature Conv regression Panasonic 18650PF, NASA PCoE AKD1500 RMSE ≤2% at every temperature
Wildfire detection Audio, plus a camera check CNN on log-mel, small image model FSC22, FSD50K, D-Fire AkidaTag ≥95%, ≤10 ms, ≤100 mW

The rules

The rules were the same for everyone:

  • 4-bit weights and activations, trained with quantization-aware training
  • Only Akida-supported layers, and no skip connections
  • Each model ends up as an Akida .fbz file, with a benchmark against its targets, a model card, and a demo on public data
  • The standard toolchain was optional. The goal was the best result on Akida, however you got there.

The day

We started at 9:00 with short talks from engineers who had built Akida models before. People formed their own teams, mixing research and pre-sales. Every team’s agent posted progress updates to a shared GitHub repo, so everyone could see what other teams were finding as it happened. At 4:00, we got back together to show results.

One note on timing: an engineer gave Claude three of the problems the afternoon before, so those three had a head start of a few hours.

How we worked with the agents

Most teams used Claude for nearly all of the code: data loading, preprocessing, model design, training, quantization, conversion, and mapping to the chip. What made the difference was the context we gave it.

  • The MetaTF documentation. Point the agent at the specific page you need, not the whole site, or it spends its context exploring.
  • The installed package source. The Akida Python packages sit in your virtual environment, and Claude Code can read them directly. When the docs don’t answer a question, the code usually does.
  • Earlier working projects. One engineer gave Claude a previously finished Akida project and said, “Follow that example.” Claude did a great job transferring that knowledge into a different use case.
  • A design-rule file. Another wrote a markdown file of AKD1500 constraints, including supported layer patterns, bit widths, and input sizes, for Claude to design against.

Four working styles

Teams settled into different styles:

  • Hand over a past project. Let the agent build, then verify on hardware.
  • Use a structured repo. A registry of datasets, models, and helpers tells the agent where everything lives, so it can run several experiments in parallel.
  • Work from a plan.md. The agent writes a short report after each step.
  • Ask for options first. Have Claude find reference designs and propose three to five approaches with pros and cons, then pick one.

Agents didn’t stop at models, either. The activity recognition team had Claude help write firmware for the AkidaTag and a phone app to show the results.

The 80/20 flip

The biggest change was where people spent their time. As one participant put it, building used to be 80% of the work and understanding the problem 20%. Now it’s the other way around. Choosing the data, setting up splits that don’t leak, and checking results on hardware are still on you.

Six lessons

1. The AKD1500 is Akida 1. Quantize accordingly.

Our kickoff material showed the Akida 2 flow, and two teams found the problem independently. For Akida 1, quantize with cnn2snn, not QuantizeML:

from cnn2snn import quantize, convert

model_q = quantize(model,
                   weight_quantization=4,
                   activ_quantization=4,
                   input_weight_quantization=8)
model_akida = convert(model_q)

The difference is not small. With QuantizeML, the Akida model agreed with the quantized Keras model only 19–27% of the time. With cnn2snn, it agreed 98% of the time. QuantizeML’s calibration values aren’t trainable, while cnn2snn lets quantization-aware training tune everything.

Try this first: before you train anything real, push a toy model through quantize, convert, and map, and check agreement on real data, not random inputs.

2. Check that the model maps before you train it

The compatibility checker doesn’t catch every hardware constraint. Build your architecture with random weights, convert it, and map it to a virtual device or a real board. It takes two lines of code and can save you a wasted training run.

One team took this further. They gave Claude their design-rule file and had it loop against the simulator: design a model, test it, fix what fails, and repeat until it maps. On acoustic anomaly detection, the custom model Claude designed this way beat the pretrained Model Zoo models it was compared against.

3. Random splits overstate accuracy

This came up in more than one project:

  • A bearing-fault model scored 99% on a random split and 69% on bearings it had never seen.
  • In a public wildfire image dataset, about 3,500 of 6,000 validation and test images had a near-duplicate in the training set, because many images came from the same cameras.

Split by whatever makes samples related: bearing, camera scene, audio clip, sensor batch, or driving cycle. And run more than one seed. One team ran three seeds per learning rate and found that a single run each would have picked the wrong one.

4. Claude takes the brief literally

The safety sound brief suggested distilling from a pretrained audio model, so Claude did exactly that. But the teacher model misses most glass-break sounds, so the student never learned them, and glass break became the weakest class.

If something in your prompt is a suggestion, say so. Otherwise, the agent treats it as a requirement.

5. Ask for more

One engineer told Claude her fault-detection project wasn’t impressive enough to win. Claude came back with a new idea: use Akida’s on-chip learning.

It worked! Running on the chip, the model adapted to a machine it had never seen from just one to three labeled examples per class. Accuracy on the MFPT dataset rose from 0.33, which is chance, to 0.69. That matters for fault detection, because no two machines sound quite the same.

6. Match the process to the time box, and give the agent its tools

The activity recognition team ran Claude with a full planning and test-driven development setup. That’s good practice in general, but in a one-day event, it cost them a lot of time. Their verdict: when the clock is short, let Claude run a little more freely.

The same team found Claude working slowly on firmware until they told it to use Android Debug Bridge (adb) to talk to the Android phone. After that, it moved much faster. If a better tool exists, tell the agent about it.

Where we ended the day

By 4:00, every team had a model, and six of the seven are now running on Akida hardware. The seventh, the camera half of wildfire detection, reached a float model before time ran out. Three of the models were built by engineers using Akida for the first time.

These are first iterations. Nobody had time for long training runs, hyperparameter sweeps, or more data, and most models finished below the targets we set. The point of the day was to get from a dataset to a working Akida model, not to finish tuning.

The activity recognition team went well beyond the model. They also wrote AkidaTag firmware, built a phone app, and 3D-printed a watch case so the AkidaTag could be worn on the wrist. The judges gave them a prize for it.

The team built firmware and a phone app alongside the model. Next step: live classification on the wrist.

The team built firmware and a phone app alongside the model. Next step: live classification on the wrist.

We’re iterating on the models now, and we’ll publish full results, including hardware latency and power, in a follow-up post.

What didn’t go well

Not everything went smoothly:

  • Akida 1 vs. Akida 2. Our own kickoff slides showed the Akida 2 flow for Akida 1 hardware. Two teams lost time before working it out (see lesson 1).
  • GPU and environment problems. One team’s training crashed on the first convolution, because the newest TensorFlow ships a cuDNN version their older GPUs can’t run. They fixed it with a second Python environment just for training, passing a plain Keras .h5 file back and forth. Training went from 535 to 82 ms per batch.
  • Big datasets. Some audio datasets take hours to download and preprocess. Download data before the event.
  • Power measurement. Measuring power on the AKD1500 needs a board with a current sensor, and not every team had one.
  • Hardware integration takes longer than the model. The activity recognition model was ready well before the firmware and app.
  • Dataset licenses. Several of the best datasets for these problems are licensed for non-commercial use only. Check before you build on one.

What’s next

The most useful result of the day wasn’t a single model. Building a working model in a day is now what our team expects of itself, and we captured the methods that make it repeatable.

  • The last mile. A model built in a day isn’t a production model. The teams are improving accuracy and power and testing on real-world data. The activity recognition team is recording its own data on the watch, and the fault-detection team wants to test on a real fan with a piece of tape on one blade.
  • Detect first, then classify. Several teams arrived at the same design: a small model that spots anything unusual, and a second one that works out what it is. We’ll try it across more of these problems.
  • Publishing the models. Models will go up on GitHub and the Akida Developer Hub, with model cards, as they’re ready.
  • Claude skills. We’re turning the day’s lessons into skills, so an agent can follow our workflow from the start.
  • Full results in a follow-up post.

The bottom line

An AI agent won’t build your edge model for you, but it will build most of it. With the right context and a few hard-won rules, a team can go from a public dataset to a working Akida model in one day. The engineering judgment that remains, the data, the splits, and the hardware check, is exactly where your time should go.

Try it yourself

Everything we used is public:

Built something with Akida and an agent? Show us. Share your project with our team and tell us what you want to build next.