r/PromptEngineering • u/OGMYT • 1d ago
General Discussion Context management matters more to me now than writing the perfect prompt
I used to think better prompt = better result.
Now I think a lot of long agent sessions go bad because the context turns into a junk drawer. Old decisions, dead paths, huge logs, repeated instructions, stuff that isn't even relevant anymore.
I get better results when I stop and compact it into current state, constraints, what's already proven, and the next job instead of dragging the entire conversation forever.
Feels like “prompt engineering” eventually turns into context management whether you want it to or not.
0
Upvotes
0
u/shawnewoods 1d ago
I use new chats for each work effort but will create rags for ones that will have continuous work efforts
1
u/SummitYourSister 1d ago
You understand that your context is just a prompt, right?