From 529527020b3af7945ea2f0ff04abf113fdc13b82 Mon Sep 17 00:00:00 2001 From: X-iZhang Date: Thu, 29 Jan 2026 23:01:24 +0000 Subject: [PATCH] update --- README.md | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35f55b3..341df92 100644 --- a/README.md +++ b/README.md @@ -89,14 +89,15 @@ python -m EvoScientist ### Script Inference ```python -from EvoScientist import agent +from EvoScientist import EvoScientist_agent from langchain_core.messages import HumanMessage from EvoScientist.utils import format_messages + thread = {"configurable": {"thread_id": "1"}} question = "Hi?" last_len = 0 -for state in agent.stream( +for state in EvoScientist_agent.stream( {"messages": [HumanMessage(content=question)]}, config=thread, stream_mode="values", @@ -107,6 +108,28 @@ for state in agent.stream( last_len = len(msgs) ``` +
+ Output + +```json + +╭─────────────────────────────────────────────────── 🧑 Human ────────────────────────────────────────────────────╮ +│ Hi? │ +╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +╭───────────────────────────────────────────────────── 📝 AI ─────────────────────────────────────────────────────╮ +│ Hi! I'm here to help you with experimental research tasks. I can assist with: │ +│ │ +│ - **Planning experiments** - designing stages, success criteria, and workflows │ +│ - **Running experiments** - implementing baselines, training models, analyzing results │ +│ - **Research** - finding papers, methods, datasets, and baselines │ +│ - **Analysis** - computing metrics, creating visualizations, interpreting results │ +│ - **Writing** - drafting experimental reports and documentation │ +│ │ +│ What would you like to work on today? │ +╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ +``` + +
### Web Interface