# What's a good prompt for AI agents running Julia numerical simulation tests

**URL:** https://discourse.julialang.org/t/whats-a-good-prompt-for-ai-agents-running-julia-numerical-simulation-tests/137766
**Category:** General Usage
**Created:** [June 23, 2026, 3:42pm UTC](https://discourse.julialang.org/t/whats-a-good-prompt-for-ai-agents-running-julia-numerical-simulation-tests/137766 "2026-06-23T15:42:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![YiboXia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yiboxia/32/50734_2.png) [@YiboXia](https://discourse.julialang.org/u/YiboXia)
#### Post date: [June 23, 2026, 3:42pm UTC](https://discourse.julialang.org/t/whats-a-good-prompt-for-ai-agents-running-julia-numerical-simulation-tests/137766/1 "2026-06-23T15:42:11Z")

</div>

Hi guys，  
Recently I have been using an AI coding agent(claude code) to do some numerical simulation test. The agent frequently crashes the run in many cases, for example with `julia -e "..."`  
Does anyone have some reliable prompt for this? for example some restritions or fixed rules for raise a julia run?

Many thanks:)

---

<div class="post-metadata">

### Author: ![kahliburke](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kahliburke/32/208472_2.png) [@kahliburke](https://discourse.julialang.org/u/kahliburke)
#### Post date: [June 23, 2026, 6:27pm UTC](https://discourse.julialang.org/t/whats-a-good-prompt-for-ai-agents-running-julia-numerical-simulation-tests/137766/2 "2026-06-23T18:27:06Z")

</div>

Can I (shamelessly) plug Kaimon.jl? Happy to help you if you have any questions getting started, just reach out over chat. Although there is a pretty decent documentation site here as well.

> **[Kaimon.jl](https://kahliburke.github.io/Kaimon.jl/dev/)**
>
> Opening the gate between AI and Julia

---

<div class="post-metadata">

### Author: ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)
#### Post date: [June 23, 2026, 7:51pm UTC](https://discourse.julialang.org/t/whats-a-good-prompt-for-ai-agents-running-julia-numerical-simulation-tests/137766/3 "2026-06-23T19:51:19Z")

</div>

Crashes can happen for countless reasons, some unrelated to Julia, the agent, or prompts. Advice would be difficult without more details on your setup and work. I’ll second `Kaimon` because opening and closing a large Julia process for each `julia -e ""` string is almost always a waste of time and memory; it might potentially solve your problem if trying to fire up dozens of Julia processes at once is causing the crash.
