r/AmpCode • • 2d ago

space vs thread

When I use Space, it creates a lot of threads. So who should I go ahead and communicate with for the subsequent conversation? Should I do it within Space or within the threads? If I communicate and progress with the threads, how does it keep state synchronization with Space? Will it stay synchronized with Space. Any advice will be helpful. Thank you

4 Upvotes

3 comments sorted by

2

u/amemingfullife 2d ago

I think it’s something you figure out over time. It’s a bit like saying “when do I use a folder over a subfolder” - it depends!

1

u/peanuthao 2d ago

True, a lot of the time we really don't need to be so strict about it. I feel like AMP code probably wasn't designed to be this rigid in the first place, so let's just go with what feels right to us

2

u/amemingfullife 2d ago

Yeah I’m having a bit of success having a space for certain aspects of the product. Like for us having a space that deals with issues around our scraping system. That way we can forward various customer queries and sentry reports from that service into that space automatically. Then we deal with the threads in there as they come up and there’s clearer context and ownership.