4 ms·
I decided to build a Agent system from scratch It is sort of trivial to build it. Its just User + System Prompt + Assistant +Tools in a loop with some memory
by manishsharan 1y ago
I decided to build a Agent system from scratch
It is sort of trivial to build it. Its just User + System Prompt + Assistant +Tools in a loop with some memory management.. The loop code can be as complex as I want it to be e.g. I could snapshot the state and restart later.
I used this approach to build a coding system (what else ?) and it works just as well as cursor or Claude Code for me. t=The advantage is I am able to switch between Deepseek or Flash depending on the complexity of the code and its not a black box.
I developed the whole system in Clojure.. and dogfooded it as well.
- swalsh 1y agoThe hard part of building an agent is training to model to use tools properly. Fortuantely Anthropic did the hard part for us.
- logicchains 1y agoThat's interesting, I built myself something similar in Haskell. Somehow functional programming seems to be particularly well suited for structuring LLM behaviour.