Replies: 20 comments 23 replies
|
你好,我使用的是WorkBuddy这种由内置大模型调用,且内置大模型调用的api对用户和mcp工具透明,因此Vibe-Trading无法得到内置模型的api key,这样的话应该如何为swarm多智能体功能配置大模型环境呢? |
|
你好,我如果是使用nvidia nim的api key,但是使用的模型是mistralai的模型,那提供给swarm的.env该怎么写呢? |
|
你好,我想问一下,如果我想构建自己的工作流,比如构建每日的自动化投资工作流,我可以自己调用vibe-trading的金融skill来搭建吗?在不使用自然语言的情况下。其实相当于是把vibe-trading当作是一个工具箱,这样可以吗? |
|
Hello @warren618 I found your project and I’m interested in speaking with you about possible collaboration. |
|
Hi @barteksibiga, thanks for reaching out and glad you found the project interesting! The best way to reach me directly is via the email on my GitHub profile (haozhe_wu@connect.hku.hk). Feel free to drop me a line with some details on what kind of collaboration you have in mind. |
|
如果我想让数据更稳定一些,数据源能如何做啊 |
|
Hi I am trying to clone the Vibe-Trading on my local machine by following these steps. git clone https://github.com/HKUDS/Vibe-Trading.git .venv\Scripts\Activate.ps1 # Windows PowerShell pip install -e . 'Vibe-Trading' is not recognized as an internal or external command, |
|
hi, 我有一个关于系统提示词的问题 @warren618 |
|
Thanks for the detailed repro — the steps you followed match the README exactly, so this isn't a docs mismatch, but let's find out why The A couple of things to check: (1) after activating, does your prompt show a If it's the execution-policy issue, that's common enough on fresh Windows setups that we should add a one-line README note ( |
|
Hi Thank you for your response. I removed everything and followed each step
again
At activation step I do see the (.venu) is showing in the front
[image: image.png]
CP command is not valid for CMD Prompt
[image: image.png]
So I do this step in the windows explorer and since I am using ollama on a
different machine with QWQ model I maintained the following entries into my
.env file
[image: image.png]
I was able to run the .exe from explorer
[image: image.png]
Is this how it should appear? How do I use it from here if this is the
right location?
Thank you for your guidance so far. Much appreciated.
…On Thu, Jul 16, 2026 at 2:59 AM Haozhe Wu ***@***.***> wrote:
Thanks for the detailed repro — the steps you followed match the README
exactly, so this isn't a docs mismatch, but let's find out why
vibe-trading isn't on PATH in your shell.
The vibe-trading command is installed by pip install -e . into
.venv\Scripts\ as part of the venv — that mechanism itself works
(verified). The most common reason it doesn't show up after that on Windows
is that .venv\Scripts\Activate.ps1 silently failed to run because of
PowerShell's default execution policy, so pip install -e . actually ran
against your system/base Python instead of the venv.
A couple of things to check: (1) after activating, does your prompt show a
(.venv) prefix — did you see a red "running scripts is disabled" error at
that step? (2) if you closed/reopened your terminal between install and
running, you'll need to reactivate — it doesn't persist across sessions;
(3) as a quick diagnostic that sidesteps PATH entirely, try running
.venv\Scripts\vibe-trading.exe directly.
If it's the execution-policy issue, that's common enough on fresh Windows
setups that we should add a one-line README note (Set-ExecutionPolicy
-Scope Process -ExecutionPolicy RemoteSigned) — let us know what you find.
—
Reply to this email directly, view it on GitHub
<#29?email_source=notifications&email_token=B4XCBJEMNBLAZW6TTUNLQVT5FB4NZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGU3TQNRYUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17657868>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/B4XCBJHPEXZ3DAIZSVE7PQL5FB4NZAVCNFSNUABIKJSXA33TNF2G64TZHMYTCOJYGMYDMOBRGI5UI2LTMN2XG43JN5XDWOJYG4ZTGMBYUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/B4XCBJAFDWZ7WALB46C3QZD5FB4NZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGU3TQNRYUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/B4XCBJD56ZQJANFTAGXSKJL5FB4NZA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZWGU3TQNRYUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Title: start_research_goal MCP tool fails with "session_id is required" — LLM has no way to provide it agent/src/tools/goal_tool.py and agent/src/tools/init.py have a session_injected_classes mechanism (StartResearchGoalTool etc.) that's explicitly designed so "the LLM never knows the session id" — session_id gets injected by the host at registration time. Environment: vibe-trading (installed via pip, .venv on Windows) Happy to share the full run directory / trace.jsonl if useful. |
|
I think this is probably not a user-side prompting issue. It looks like there are two different paths with slightly different assumptions:
That means the model is being asked to provide an internal/session-scoped value it does not naturally know. A short-term workaround is to call the tool with any stable per-conversation id, for example something like For a code fix, I would make the MCP path match the local-agent path: make |
|
@newgo 我也赞同这个判断:金融研究类 agent 里,"分析/研究"这段如果只写成通用原则,模型很容易把“语言推理”误当成“数据查询”,尤其是 ETF 名称、实时价格、财务指标、A/H/US 不同市场代码映射这几类。 我会把它拆成更硬的三层规则,而不是只加强语气:
如果要改代码,我觉得可以在 |
|
对,我同意研究方法本身不应该被写成一个固定模板。不同用户会有不同的分析框架,比如价值分析、技术分析、事件驱动、组合归因、宏观/行业比较,这些确实应该开放给用户自己写 prompt。 我想区分的是两层东西:
所以我不是建议把“研究方法”固定死,而是建议把“市场数据必须 tool-backed”变成底层规则。这样用户仍然可以自由写自己的研究 prompt,但 agent 在基础事实层面不会因为模型记忆或猜测而 hallucinate。 换句话说:研究路径可以开放,但数据来源和证据链应该收紧。这样对金融 agent 会更稳。 |
|
Thanks, this is exactly the distinction I was trying to make. I
completely agree that research methodology should remain flexible and
user-defined. My concern was only about the factual layer. For a financial
agent, enforcing tool-backed market data (symbol resolution, prices,
fundamentals, ETF constituents, etc.) at the system level would
significantly reduce hallucinations while preserving full freedom for users
to design their own research workflows.
…On Tue, 21 Jul 2026 at 10:04, Yimin Du ***@***.***> wrote:
对,我同意研究方法本身不应该被写成一个固定模板。不同用户会有不同的分析框架,比如价值分析、技术分析、事件驱动、组合归因、宏观/行业比较,这些确实应该开放给用户自己写
prompt。
我想区分的是两层东西:
1. Research method / reasoning template:这个应该灵活,由用户或具体 workflow 决定。
2. Data-grounding policy:这个最好由系统层固定下来,比如先解析
symbol,再调用数据工具;没有工具结果时,不要编造价格、财务指标、ETF 名称、成分股或实时行情。
所以我不是建议把“研究方法”固定死,而是建议把“市场数据必须 tool-backed”变成底层规则。这样用户仍然可以自由写自己的研究
prompt,但 agent 在基础事实层面不会因为模型记忆或猜测而 hallucinate。
换句话说:研究路径可以开放,但数据来源和证据链应该收紧。这样对金融 agent 会更稳。
—
Reply to this email directly, view it on GitHub
<#29?email_source=notifications&email_token=BMB6RDP2MXIAIA7FGTB2MT35F4BXBA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZXGEYDSOBZUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17710989>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BMB6RDMSO7ENTZUGOXULK2D5F4BXBAVCNFSNUABIKJSXA33TNF2G64TZHMYTCOJYGMYDMOBRGI5UI2LTMN2XG43JN5XDWOJYG4ZTGMBYUF3AE>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/BMB6RDJH4I3WOZUHCDPIUE35F4BXBA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZXGEYDSOBZUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/BMB6RDME2TCSQKOY5UCZNXD5F4BXBA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZXGEYDSOBZUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Yes, exactly. I think the practical implementation point is to make the factual layer a small contract, not just another prompt instruction. For example, the agent/runtime could require something like:
That way the system does not lock users into one research template, but it does lock down the part that is most dangerous in a finance agent: ungrounded market facts. If this becomes a docs or prompt PR later, I would probably frame it as a "finance evidence contract" rather than as a fixed analysis workflow. |
|
@newgo Thanks for sharing the trace. This is actually a stronger example than simply “the model did not call tools”. From the trace, the agent did call For example, I see three guardrails that would help here:
This is the kind of case where a “finance evidence contract” would be useful: tool calls happened, but the final natural-language answer still escaped the evidence. |
|
你好,我在本地 Web UI 使用 OpenAI Codex(gpt-5.4)测试个股研究时,发现一个可能影响投资研究准确性的 Agent 工作流问题。 复现提问:
观察到的行为:
我理解问题不应只看“SpaceX 实际是否上市”,而是:
期望行为:
这个问题可能会导致用户拿到方向完全错误的投资研究结论。 |
|
I think this SpaceX example is the same class of failure as the trace above, but one step earlier in the workflow: the system is choosing a research route before the instrument identity is locked. For finance workflows, I would put a small identity gate before any specialized skill such as The important rule is that downstream agents should not be allowed to override that identity with model memory. If So I would separate this into two guardrails:
That would preserve flexible research workflows, while preventing the most dangerous failure mode: a plausible but wrong investment answer caused by an early routing assumption. |






Uh oh!
There was an error while loading. Please reload this page.
🙏 Got questions? Ask here!
This is the place for setup help, usage questions, and development discussions. Lower barrier than opening an issue.
Common topics
Before asking, check the README — it covers most setup questions.
No question is too basic. Ask away!
All reactions