Leonardo Mannini
AI/ML Engineer | LLM & RAG Systems | Edge AI / TinyML
Bologna, Italy
AI Engineer specializing in production LLM pipelines, RAG systems, agent-based workflows, backend development, and Edge AI for resource-constrained environments. I build end-to-end AI systems with LangChain, LangGraph, FastAPI, vector search, Docker-based services, and local or hosted LLMs. My research work includes TinyML models for real-time bioacoustic classification on microcontrollers, published at IEEE ICASSP 2026.
Publications
- Enabling Multi-Species Bird Classification on Low-Power Bioacoustic Loggers
Proceedings of IEEE ICASSP 2026
Stefano Sciapponi, Leonardo Mannini, Jarek Scanferla, Matteo Anderle, Elisabetta Farella.
Work Experience
Senior AI Engineer · Freelance (B2B)
June 2026 ⇾ Present
Contributing to enterprise AI systems for a PwC-led project, focusing on production-grade LLM applications, backend services, and workflow automation.
Highlights
- Working on AI/backend implementation for a tax reconciliation project, including project study, technical analysis, and integration planning.
- Collaborating with cross-functional stakeholders on requirements, onboarding, and delivery workflows in an enterprise consulting environment.
- Supporting development workflows involving Python, FastAPI, LLM tooling, retrieval systems, and production-oriented backend infrastructure.
AI Engineer
August 2023 ⇾ June 2026
Designing and deploying LangChain, RAG, LLM, FastAPI, and vector-search systems for business automation and intelligent workflows.
Highlights
- Built agent-based RAG pipelines using LangChain, FastAPI, and FAISS, indexing 1,200+ documents with 87% citation accuracy.
- Reduced response latency from 9.4s to 4.1s through retrieval optimization and caching strategies.
- Developed multi-step AI agents integrating LLM reasoning, external tools, structured outputs, and tool orchestration.
- Designed Docker-based backend services supporting scalable asynchronous workflows and reproducible AI deployments.
- Delivered end-to-end AI systems from model design to deployment.
Embedded AI Researcher (TinyML & Edge AI)
March 2025 ⇾ January 2026
Developed TinyML models for real-time audio classification on resource-constrained embedded devices.
Highlights
- Designed lightweight CNN-GRU-Attention architectures for 70-species classification on microcontrollers.
- Processed 150k+ audio files for model training and benchmarking.
- Optimized inference pipelines using TensorFlow Lite Micro and CMSIS-NN.
- Achieved about 16x lower energy consumption compared to standard baseline systems.
- Contributed to research published at IEEE ICASSP 2026.
Software Engineer
October 2020 ⇾ April 2023
Developed backend applications supporting logistics automation and operational workflows.
Highlights
- Built REST APIs and data pipelines using Python, C++, and Java.
- Automated batch-processing workflows using scheduled tasks and database integration.
- Designed reporting systems reducing manual processing and improving workflow reliability.
- Maintained production systems handling operational data flows.
Education
September 2023 ⇾ March 2026
Courses
- Thesis: Enabling Multi-Species Bird Classification on Low-Power Bioacoustic Loggers
Computer and Automation Engineering
Polytechnic University of Marche
Bachelor's degree
Score: 26/30 GPA
September 2018 ⇾ July 2023
Courses
- Thesis: Project of a virtual synthesizer in C++ on the JUCE platform
- Core focus on programming, electronics, automation, and control systems
Musical Instruments Engineering
Polytechnic University of Marche
Professional development programme
Score: 30/30 cum laude
March 2022 ⇾ September 2022
Courses
- Focus on digital signal processing and audio applications
- Award for best project of the programme
Piano
Conservatory G. Rossini of Pesaro
Conservatory diploma
Score: 10/10
January 2013 ⇾ December 2019
Teaching qualification pathway
Universita degli Studi eCampus
24 CFU
January 2020 ⇾ December 2020
Courses
- Anthropological, psycho-pedagogical, and teaching-methodology training
Awards
Award for best project of the programme
Polytechnic University of Marche, Musical Instruments Engineering
September 2022
Winner of the Italian Rapid U16 Chess Championships
June 2015
Certificates
Technical Support Fundamentals
Skills
Programming: Python, C++, Java & Bash
LLM & Agentic Systems: LangChain, LangGraph, Retrieval-Augmented Generation (RAG), OpenAI API, Local LLMs, Prompt engineering, Tool-based reasoning & Structured outputs
Backend & APIs: FastAPI, REST APIs, WebSockets, PostgreSQL, SQLAlchemy & Redis
Machine Learning & Edge AI: PyTorch, TensorFlow, PyTorch Lightning, NumPy, Scikit-learn, TensorFlow Lite Micro, CMSIS-NN & TinyML
Vector Search: FAISS & Chroma
Knowledge Engineering: Ontology generation, Knowledge extraction, Knowledge representation, Semantic Web fundamentals & Structured output evaluation
MLOps & Infrastructure: Docker, Terraform, Hydra, TensorBoard & Linux
Audio & Music Technology: JUCE, DSP, Real-time audio processing, MIDI programming & Music production
Languages
Italian: Native
English: C1 / Full professional proficiency (TOEFL iBT 105/120)
Projects
Camadon.ai - Mobile-Native AI Coding Environment
Mobile-native AI coding environment for iOS with terminal execution and AI-assisted workflows.
Highlights
- Developed a mobile-native AI coding environment for iOS with terminal execution and AI-assisted workflows.
- Built secure backend infrastructure with FastAPI, encrypted WebSocket relay, Redis, JWT authentication, Docker, and Terraform.
- Grew the product to 150+ beta users in 3 months, achieving 32% weekly retention and a 4.7/5 rating.
BioDCASE-Tiny 2026 Task 3 - WrenNet Embedded Bird Sound Classification
WrenNet-based solution for low-power bird sound classification on resource-constrained ESP32-S3 hardware.
Highlights
- Submitted a WrenNet-based solution for low-power bird sound classification on resource-constrained ESP32-S3 hardware.
- Built a PyTorch-to-TensorFlow Lite Micro deployment pipeline with a custom waveform frontend, ONNX/TFLite export, and ESP-IDF firmware integration.
- Achieved 65.21% validation accuracy and 0.933 ROC-AUC, with embedded inference fitting within a 263.5 kB TensorFlow Lite Micro arena budget.
Bird Audio Classification on Edge Devices - TinyML Pipeline (IEEE ICASSP 2026)
TinyML pipeline for low-power bioacoustic classification, published at IEEE ICASSP 2026.
Highlights
- Developed an end-to-end TinyML pipeline trained on 150k+ audio samples across 70 species.
- Designed lightweight CNN-GRU architectures optimized for microcontroller deployment, reaching up to 90.8% accuracy on distinctive species.
- Deployed real-time inference on AudioMoth firmware using TensorFlow Lite Micro and CMSIS-NN, achieving about 16x lower energy consumption than baseline systems.
Grounded - Full-Stack LLM Research Assistant
Research assistant using LangGraph agents for grounded question answering across large academic corpora.
Highlights
- Built a full-stack research assistant using LangGraph agents for grounded QA across large academic corpora.
- Designed FastAPI retrieval pipelines integrating OCR ingestion, vector search, and persistent PostgreSQL storage.
- Improved citation accuracy to 87% and reduced latency from 9.4s to 4.1s through retrieval and caching optimizations.
GoldenRadio - ATS25 Firmware Enhancement and Licensing System
Enhanced firmware and production licensing system for ATS25 radio devices.
Highlights
- Developed enhanced firmware for ATS25 radio devices, adding new features that gained widespread community adoption.
- Designed a production-grade licensing system for secure firmware activation and controlled distribution.
- Built backend workflows for license validation and device authorization, supporting viral adoption and 100+ device sales in the first month.
Bench4KE Extension - Ontology Generation Benchmark Framework
API-driven benchmark framework for ontology generation and knowledge-engineering systems.
Highlights
- Extended an API-driven benchmark for LLM-based ontology generation and knowledge-engineering systems.
- Designed FastAPI pipelines executing external generators through standardized REST interfaces.
- Built reproducible evaluation workflows combining structural metrics, automated validation, and controlled generation assessment.
Virtual Synthesizer
Bachelor's thesis project: virtual synthesizer in C++ using the JUCE framework.
September 2022 ⇾ July 2023
Highlights
- Implemented real-time audio DSP algorithms, modular synthesis components, and MIDI control.