Hi @AiiDA Team
I hope you’re doing well.
I’m currently preparing my GSoC proposal for the project “Natural Language Interface for AiiDA using Multi-Agent AI”, and I would really appreciate your feedback on the idea and its direction.
The main problem I’m trying to address is that AiiDA currently requires researchers to write fairly complex Python scripts and directly interact with its API to manage computational workflows. This can be time-consuming and can act as a barrier, especially for users who are less comfortable with programming.
In my previous project QueryGenius, I worked on a similar challenge. I built a local LLM + RAG-based system that allows users to perform database operations (CRUD and analytics) using plain English, removing the need for manual querying. This significantly reduced effort and allowed users to focus more on system design and analysis rather than low-level operations.
Building on that experience, my proposal is to design an AI pipeline for AiiDA that takes natural language input and converts it into secure Python API executions using the Model Context Protocol (MCP). The goal is to enable users to define and run computational workflows using simple human language.
One of the key challenges in such systems is handling LLM hallucinations, which can lead to invalid or non-executable code. To address this, I plan to apply fault-tolerant techniques from my project AgenticIQ, where I used sandboxing, silent retries using inngest, and intelligent fallback mechanisms to prevent execution of faulty AI-generated code and significantly reduce runtime failures.
Instead of relying on costly Cloud model, I’m proposing a locally deployed, multi-agent architecture (using tools like Ollama), both for cost efficiency and better modularity. Inspired by my work on AI Gossip Hub, where multiple AI agents collaborate via shared context, I plan to implement an agent-to-agent communication protocol in AiiDA.
The system would consist of three specialized agents:
-
Execution Agent: Translates user prompts into MCP tool calls and configures workflows (e.g., DFT simulations using Quantum ESPRESSO).
-
Validation Agent: Runs in the background using sandboxing to verify and sanitize generated code/arguments before execution.
-
Analysis & Diagnostic Agent: Interacts with AiiDA’s provenance graph to analyze results and help debug failed computations.
Overall, the goal is to make AiiDA more accessible, reduce manual scripting effort, and provide a more intelligent and fault-tolerant interface for computational workflows.
I would really value your feedback on:
-
Whether this idea aligns with AiiDA’s vision and technical direction
-
Any concerns regarding feasibility, scope, or integration with the existing ecosystem
-
Suggestions to improve or better scope this into a strong GSoC proposal
Thank you for your time and guidance!
Best regards,
Mukul Sharma