Open bracesproul opened 6 days ago
What would the project structure look like. Split it into frontend and backend (langgraph template) design?
@siddicky I'm thinking:
js-agent/
py-agent/
frontend/
With src/agent/
being moved into js-agent/
Hey @bracesproul Is someone working on this? If not, I would like to try this
@snifhex Which agent would you like to work on first? I created initial project structure and planned to make a PR over the weekend. Though haven't started actual port yet.
So far: Port Branch
@siddicky I was planning to port reflection first.
@bracesproul Do you think it will be good idea to do something like this
frontend/
agent/js
agent/py
agent/prompts.json
have prompts in some universal format which js or py can use like json or something or do we want to have them seperate and duplicate for pormpt content is okay??
@bracesproul Do you think it will be good idea to do something like this
frontend/ agent/js agent/py agent/prompts.json
have prompts in some universal format which js or py can use like json or something or do we want to have them seperate and duplicate for pormpt content is okay??
@snifhex yeah i like that structure. Only thing id change is I would put the prompts into individual .txt
files inside a prompts/
dir (nested inside agent/
)
This way we don't need to deal with any sort of quote escaping or new lines etc that a json file would require us to deal with.
@bracesproul Yeah that sounds good.
So final structure would look something like this:
frontend/
agent/js
agent/py
agent/prompts/open-canvas.txt
agent/prompts/reflection.txt
@bracesproul Yeah that sounds good.
So final structure would look something like this:
frontend/ agent/js agent/py agent/prompts/open-canvas.txt agent/prompts/reflection.txt
Yeah exactly. But note there's like 10 diff prompts inside open canvas so maybe even have the structure be:
agent/prompts/open-canvas/...
agent/prompts/reflection/...
(Reflection only has a single prompt but will def have more in the future)
It would be great if both agents were ported to Python and included in this repo.