What methods do people generally use to build Agents? Do they use the OpenAI library or other approaches?

目前已经出现了像langchain、autogen等快速开发agent的库,书写上也比较简单。使用这些库,我们在开发agent时,似乎很少会关注到CoT、ToT、ReAct的提示技巧,是不是我们真的没必要关注这些呢?请问大佬们有没有一些建议给到小白们,十分感谢你们毫不吝啬的建议! :grinning:


Translated by AI:
At present, libraries such as Langchain and Autogen have emerged for rapid agent development, and they are relatively straightforward to use. When utilizing these libraries, it seems we seldom pay attention to prompt techniques like CoT, ToT, and ReAct. Is it truly unnecessary for us to focus on these? Do the experts have any advice for beginners? I am immensely grateful for your generous suggestions!

2 Likes

Welcome to the community!

“Models” from the o1 and o3 series are systems that directly implement the CoT pattern. Deepseek’s R1 variants are another series of model that lend themselves very well to CoT, but don’t force it. Anthropic’s models are also fairly CoT oriented, and have been for a while even before OpenAI did it. GPT-4.5 is also very CoT-friendly, but it requires its own harness.

So if you’re just starting out, you’re probably fine using o1 or o3, and then optimize from there. The only thing you need to be careful of is that raw models (R1, 4.5, etc) may still need additional programmatic guidance.

4 Likes