AI Assisted Development
The code samples and applications we provide are specifically designed with AI assistance in mind:
- We have incorporated targeted training data to enhance API comprehension
- We made sure that the three primary AI services are fully compatible with our codebase
- Type hints are used throughout application code to minimize ambiguity and boost AI interpretation
- Additional context, including data types and examples, is provided to the models wherever necessary
- Notebooks include results to further enrich AI understanding of API responses
- The programming languages we use - Python and SQL - are well-supported by AI tools
Below you can find a brief overview of each tool and its capabilities.
Recommended Use:
- Gemini: As the most accessible (and free) option, we recommend starting here.
- Claude Code: Ideal for larger modifications or new app development.
- ChatGPT: Kept as a reference, it's less useful than the two above.
These AI tools significantly reduce the barrier to entry for working with our products, allowing you to focus more on strategy development and less on implementation details.
Gemini
Gemini (via Google Colab) provides a convenient way to access MesoSim, Q-API, and Merlin features, particularly for smaller code segments that fit within notebooks.
With zero setup required, you can start using Gemini immediately through Google Colab to:
- Generate code for data analysis and visualization
- Get real-time assistance while working with the APIs
- Modify existing notebooks to meet your requirements
- Learn through interactive examples and explanations
The provided notebooks can be used with Gemini to quickly explore capabilities and build custom solutions.
Claude Code
Claude Code offers powerful capabilities for understanding and extending codebases using a command line interface. At the time of the writing Sonnet-4.7 is the state of the art AI model and it's made available to Claude Code.
Merlin has been developed with first-class Claude Code support, allowing it to:
- Analyze and understand the Merlin codebase structure
- Make changes to the code base and validate the change using tests and static analyzers
- Generate new apps using the provided APIs
As Claude Code has both the context and the ability to execute code, it is the most powerful tool for code generation and modification tasks.
This comes with a price: Cost. Every modification is billed by the compute hour required for the change.
Just clone the Merlin repository and run claude to start vibe coding.
ChatGPT
We created two agents helping you to work with MesoSim, Q-APIs, and Merlin:
- Retail ChatGPT Agent: Good for strategy related questions
- Institutional ChatGPT Agent: Understands code snippets from the notebooks.
These pre-trained ChatGPT models have an in-depth understanding of strategy definitions, MesoSim, and Q-APIs through Merlin integration.
This specialized agent is valuable when working on specific trading strategies via MesoSim strategy definitions.
The ChatGPT agents, however, fall behind Claude Code and Gemini in terms of code generation and modification capabilities: Context is required for every model to work well and ChatGPT can't directly load the context information from your notebook. Therefore, agents with direct access to context (Gemini and Claude Code) are more suitable for code modification tasks.
We keep them here as reference and out of respect: They were the first models built that supported MesoSim.