Drag to orbit · scroll / pinch to zoom. Toggle agents below, then send a task and watch every hop.
Stuffing research + instructions + history into a single prompt hits context limits and degrades attention ("lost in the middle"). The shared-state pattern fixes this:
Try it: switch the memory store OFF above and watch the coding agent go in blind — quality drops because nothing carries between hops.
store(key, findings).read(keys) → plan → generate → store output.import streamlit as st
st.title("Multi-Agent Assistant")
task = st.text_input("What should I build?")
if st.button("Run") and task:
route = router(task) # cheap LLM classify
notes = research(task) # agent 1
store.write("notes", notes) # shared state
code = coder(store.read("notes"), task)
st.code(code, language="python")