OTAI
oTree AI Builder

About oTree AI Builder (OTAI)

OTAI follows your instructions and writes oTree apps for you.

See blog post: Introducing OTAI

More info

Managing conversations

In each conversation, you can only send a fixed number of messages. Each conversation starts fresh, with no memory of previous conversations. Give as many details you can upfront in the first message. Subsequent messages should be follow-ups. Conversations are meant to be short and just focus on one topic.

FAQ

How is OTAI better than using ChatGPT / Gemini / etc to build my experiments?

OTAI's LLM is specially trained to write oTree code. Furthermore, the OTAI system does not let the LLM directly write code. Instead, the LLM provides instructions and then the OTAI system writes the actual code. As a result, it prevents hallucinations and filters out various types of invalid code.

We have seen first-hand how much of a researcher's time an LLM can waste by building something that looks promising at first, but fails to ever converge on a correct solution, or falls apart as the complexity increases. especially considering the high standards of correctness demanded by research.

The code you get with OTAI will be much more consistent than anything you can get with a general-purpose LLM.

Can I upload files into OTAI?

Yes, through the "private files" upload. OTAI can see those files.

After OTAI makes a style change (CSS), my page still looks the same

Do a full browser reload (hold "Ctrl" and press the reload button, or Ctrl+F5). This is necessary because sometimes the browser is still using an old cached version of your CSS.

Does OTAI remember previous conversations?

No. Each time you start a conversation, it starts fresh.

Where can I get help with using OTAI?

Ask on our Discord server or Forum.

Can I "vibe-code" (build apps without reading the code at all?)

If you're doing relatively simple things, this can work. However, if you have a more complex experiment, or if you start to see that the AI is consistently implementing your design incorrectly, we recommend reading the code it writes and gaining an understanding of what it's doing.

The more you supervise what it's doing, and the more you understand oTree's concepts, the better your results will be. You should open the project folder in a text editor like VS Code, and consult the oTree documentation to understand the meanings of the different functions and classes.

The AI keeps messing up; it's not fixing my problem and is introducing new problems

It's possible that the AI has gotten stuck or confused about a problem. You can help guide it out of the hole. Try reading the section of code it's been working on (open the project folder in a text editor like VS Code), and understand for yourself what the code is doing (consult the oTree documentation as necessary) and give guidance to the LLM. It's possible that the code has unintentionally gotten too complex over time, or that there are multiple competing priorities that it is having a difficult time trying to satisfy.