Using skills can help a lot. They can guide agents to not use LaTeX syntax (a common problem) and provide access to the full documentation.
https://github.com/apcamargo/typst-skills/