alphacouncil-agent 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/alphacouncil-bear_researcher.md +39 -0
- package/.claude/agents/alphacouncil-bull_researcher.md +40 -0
- package/.claude/agents/alphacouncil-earnings_deep_dive.md +49 -0
- package/.claude/agents/alphacouncil-forward_expectations.md +48 -0
- package/.claude/agents/alphacouncil-ib_event_analysis.md +40 -0
- package/.claude/agents/alphacouncil-insider_sec.md +39 -0
- package/.claude/agents/alphacouncil-macro_regime.md +31 -0
- package/.claude/agents/alphacouncil-market_data.md +37 -0
- package/.claude/agents/alphacouncil-market_narrative.md +45 -0
- package/.claude/agents/alphacouncil-news_industry_management.md +49 -0
- package/.claude/agents/alphacouncil-portfolio_manager.md +22 -0
- package/.claude/agents/alphacouncil-quant_factor.md +38 -0
- package/.claude/agents/alphacouncil-social_pulse.md +49 -0
- package/.claude/agents/alphacouncil-valuation_long_short.md +45 -0
- package/.claude-plugin/marketplace.json +30 -0
- package/.claude-plugin/plugin.json +28 -0
- package/.codex-plugin/plugin.json +32 -0
- package/.grok/agents/alphacouncil-bear_researcher.md +41 -0
- package/.grok/agents/alphacouncil-bull_researcher.md +42 -0
- package/.grok/agents/alphacouncil-earnings_deep_dive.md +50 -0
- package/.grok/agents/alphacouncil-forward_expectations.md +49 -0
- package/.grok/agents/alphacouncil-ib_event_analysis.md +41 -0
- package/.grok/agents/alphacouncil-insider_sec.md +40 -0
- package/.grok/agents/alphacouncil-macro_regime.md +32 -0
- package/.grok/agents/alphacouncil-market_data.md +38 -0
- package/.grok/agents/alphacouncil-market_narrative.md +46 -0
- package/.grok/agents/alphacouncil-news_industry_management.md +50 -0
- package/.grok/agents/alphacouncil-portfolio_manager.md +24 -0
- package/.grok/agents/alphacouncil-quant_factor.md +39 -0
- package/.grok/agents/alphacouncil-social_pulse.md +50 -0
- package/.grok/agents/alphacouncil-valuation_long_short.md +46 -0
- package/.grok/config.toml +4 -0
- package/.mcp.json +11 -0
- package/.opencode/agent/alphacouncil-bear_researcher.md +45 -0
- package/.opencode/agent/alphacouncil-bull_researcher.md +46 -0
- package/.opencode/agent/alphacouncil-earnings_deep_dive.md +54 -0
- package/.opencode/agent/alphacouncil-forward_expectations.md +53 -0
- package/.opencode/agent/alphacouncil-ib_event_analysis.md +45 -0
- package/.opencode/agent/alphacouncil-insider_sec.md +44 -0
- package/.opencode/agent/alphacouncil-macro_regime.md +36 -0
- package/.opencode/agent/alphacouncil-market_data.md +42 -0
- package/.opencode/agent/alphacouncil-market_narrative.md +50 -0
- package/.opencode/agent/alphacouncil-news_industry_management.md +54 -0
- package/.opencode/agent/alphacouncil-portfolio_manager.md +28 -0
- package/.opencode/agent/alphacouncil-quant_factor.md +43 -0
- package/.opencode/agent/alphacouncil-social_pulse.md +54 -0
- package/.opencode/agent/alphacouncil-valuation_long_short.md +50 -0
- package/AGENTS.md +96 -0
- package/CHANGELOG.md +112 -0
- package/CLAUDE.md +144 -0
- package/LICENSE +21 -0
- package/README.ja.md +282 -0
- package/README.md +361 -0
- package/README.zh-CN.md +282 -0
- package/data/industry-map.json +74 -0
- package/docs/attribution.md +99 -0
- package/docs/personas.md +59 -0
- package/docs/report-contract.md +110 -0
- package/mcp/lib/codex.mjs +152 -0
- package/mcp/lib/constants.mjs +139 -0
- package/mcp/lib/council-options.mjs +111 -0
- package/mcp/lib/errors.mjs +46 -0
- package/mcp/lib/feeds.mjs +140 -0
- package/mcp/lib/fsutil.mjs +69 -0
- package/mcp/lib/gates.mjs +208 -0
- package/mcp/lib/grounding.mjs +252 -0
- package/mcp/lib/headings.mjs +65 -0
- package/mcp/lib/industry.mjs +208 -0
- package/mcp/lib/lang.mjs +24 -0
- package/mcp/lib/macro.mjs +167 -0
- package/mcp/lib/markdown.mjs +337 -0
- package/mcp/lib/markets-kr-jp.mjs +180 -0
- package/mcp/lib/markets.mjs +261 -0
- package/mcp/lib/narrative.mjs +235 -0
- package/mcp/lib/options.mjs +216 -0
- package/mcp/lib/orchestrator.mjs +541 -0
- package/mcp/lib/output-modes.mjs +144 -0
- package/mcp/lib/packets.mjs +256 -0
- package/mcp/lib/personas/frontmatter.mjs +80 -0
- package/mcp/lib/personas/registry.mjs +215 -0
- package/mcp/lib/preflight.mjs +174 -0
- package/mcp/lib/prompts.mjs +151 -0
- package/mcp/lib/quotes.mjs +108 -0
- package/mcp/lib/rpc.mjs +737 -0
- package/mcp/lib/run-store.mjs +140 -0
- package/mcp/lib/screen.mjs +283 -0
- package/mcp/lib/sec.mjs +131 -0
- package/mcp/lib/social.mjs +261 -0
- package/mcp/lib/tables.mjs +150 -0
- package/mcp/lib/text.mjs +27 -0
- package/mcp/lib/weights.mjs +150 -0
- package/mcp/server.mjs +92 -0
- package/opencode.json +20 -0
- package/package.json +61 -0
- package/personas/_shared/_debate_base.md +46 -0
- package/personas/_shared/_evidence_base.md +56 -0
- package/personas/_shared/_master_base.md +77 -0
- package/personas/analysts/earnings_deep_dive.md +118 -0
- package/personas/analysts/forward_expectations.md +115 -0
- package/personas/analysts/ib_event_analysis.md +100 -0
- package/personas/analysts/insider_sec.md +98 -0
- package/personas/analysts/macro_regime.md +66 -0
- package/personas/analysts/market_data.md +94 -0
- package/personas/analysts/market_narrative.md +94 -0
- package/personas/analysts/news_industry_management.md +117 -0
- package/personas/analysts/quant_factor.md +97 -0
- package/personas/analysts/social_pulse.md +102 -0
- package/personas/analysts/valuation_long_short.md +109 -0
- package/personas/debate/bear_researcher.md +96 -0
- package/personas/debate/bull_researcher.md +98 -0
- package/personas/debate/portfolio_manager.md +64 -0
- package/personas/masters/masters-adversarial/burry.md +137 -0
- package/personas/masters/masters-adversarial/dalio.md +139 -0
- package/personas/masters/masters-adversarial/druckenmiller.md +144 -0
- package/personas/masters/masters-adversarial/short_seller.md +145 -0
- package/personas/masters/masters-adversarial/soros.md +137 -0
- package/personas/masters/masters-modern/aschenbrenner.md +147 -0
- package/personas/masters/masters-options/natenberg.md +168 -0
- package/personas/masters/masters-options/sinclair.md +166 -0
- package/personas/masters/masters-options/taleb.md +163 -0
- package/personas/masters/masters-quant/asness.md +142 -0
- package/personas/masters/masters-quant/simons.md +143 -0
- package/personas/masters/masters-quant/thorp.md +143 -0
- package/personas/masters/masters-value/buffett.md +123 -0
- package/personas/masters/masters-value/duan_yongping.md +142 -0
- package/personas/masters/masters-value/li_lu.md +146 -0
- package/personas/masters/masters-value/munger.md +117 -0
- package/personas/masters/masters-value-classic/fisher.md +140 -0
- package/personas/masters/masters-value-classic/graham.md +137 -0
- package/personas/masters/masters-value-classic/klarman.md +138 -0
- package/personas/masters/masters-value-classic/lynch.md +133 -0
- package/personas/masters/masters-value-classic/marks.md +145 -0
- package/personas/verifiers/rederivation.md +97 -0
- package/personas/verifiers/refuter.md +99 -0
- package/personas/verifiers/source_fidelity.md +91 -0
- package/skills/agent-skills-governance/SKILL.md +42 -0
- package/skills/alphacouncil-agent/SKILL.md +259 -0
- package/skills/investment-banking/SKILL.md +70 -0
- package/skills/public-equity-investing/SKILL.md +74 -0
package/README.ja.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
<a name="readme-top"></a>
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
<img src="assets/banner.png" alt="AlphaCouncil Agent" width="100%" />
|
|
6
|
+
|
|
7
|
+
### ใฟใผใใใซใฎไธญใฎใใใซใใจใผใธใงใณใๆ่ณๅงๅกไผ
|
|
8
|
+
|
|
9
|
+
ใขใใชในใ่ฉ่ญฐไผใๆ้ โ ๅบๅ
ธไปใใฎๆ นๆ ใๅ้ โ ๅผทๆฐ/ๅผฑๆฐใใฃใใผใ โ PM ใๅคๅฎ:**่ฒทใ ยท ใชใผใใผใฆใงใคใ ยท ไธญ็ซ ยท ใขใณใใผใฆใงใคใ ยท ๅฃฒใ**
|
|
10
|
+
|
|
11
|
+
[English](README.md) ยท [ไธญๆ](README.zh-CN.md) ยท **ๆฅๆฌ่ช**
|
|
12
|
+
|
|
13
|
+
<p>
|
|
14
|
+
<img src="https://img.shields.io/github/actions/workflow/status/Zhao73/alphacouncil-agent/check.yml?style=for-the-badge&label=build&logo=githubactions&logoColor=white&color=1a7a6a" alt="build" />
|
|
15
|
+
<img src="https://img.shields.io/badge/License-MIT-c9a227?style=for-the-badge" alt="MIT" />
|
|
16
|
+
<img src="https://img.shields.io/badge/Node-%3E%3D18-339933?style=for-the-badge&logo=node.js&logoColor=white" alt="node" />
|
|
17
|
+
<img src="https://img.shields.io/github/stars/Zhao73/alphacouncil-agent?style=for-the-badge&logo=github&color=0d4d4d" alt="stars" />
|
|
18
|
+
</p>
|
|
19
|
+
<p>
|
|
20
|
+
<img src="https://img.shields.io/badge/OpenAI_Codex-412991?style=for-the-badge&logo=openai&logoColor=white" alt="codex" />
|
|
21
|
+
<img src="https://img.shields.io/badge/Claude_Code-D97757?style=for-the-badge&logo=anthropic&logoColor=white" alt="claude code" />
|
|
22
|
+
<img src="https://img.shields.io/badge/MCP-compatible-000000?style=for-the-badge" alt="mcp" />
|
|
23
|
+
</p>
|
|
24
|
+
|
|
25
|
+
<p>
|
|
26
|
+
<a href="#-ไฝฟใๆน"><b>ไฝฟใๆน</b></a> ยท
|
|
27
|
+
<a href="docs/INSTALL.md"><b>ใคใณในใใผใซ</b></a> ยท
|
|
28
|
+
<a href="#-ใขใผใญใใฏใใฃ"><b>ใขใผใญใใฏใใฃ</b></a> ยท
|
|
29
|
+
<a href="#-ๅ
่ฒฌไบ้
"><b>ๅ
่ฒฌไบ้
</b></a>
|
|
30
|
+
</p>
|
|
31
|
+
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
<div align="center">
|
|
37
|
+
|
|
38
|
+
<img src="assets/run-example.png" alt="A real AlphaCouncil run: six master lenses reaching the same call for different reasons" width="100%" />
|
|
39
|
+
|
|
40
|
+
<sub><i>ๅฎ้ใฎๅฎ่ก็ตๆใ6ใคใฎใฌใณใบใฏใใใใๅผทๆฐใงใฏใชใใ็ธ้ใฏ็ต่ซใงใฏใชใ็็ฑใซใใใพใใ</i></sub>
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
AlphaCouncil Agent ใฏใ**ไธๅ ดๆ ชๅผใฎใชใตใผใ**ๅใใฎ Codex / Claude Code ใใฉใฐใคใณใงใใ่คๆฐใฎใขใใชในใใปใตใใจใผใธใงใณใใ็ตฑๆฌใใๅบๅ
ธไปใใฎๆ นๆ ใ้ใใๅผทๆฐ/ๅผฑๆฐใฎใใฃใใผใใ่กใใใใผใใใฉใชใชใใใผใธใฃใผ่ฆ็นใฎๆ็ตใฌใใผใใ็ๆใใพใใ
|
|
45
|
+
|
|
46
|
+
### โจ AlphaCouncil ใไฝฟใ็็ฑ
|
|
47
|
+
|
|
48
|
+
| | |
|
|
49
|
+
|---|---|
|
|
50
|
+
| ๐๏ธ **ไธไบบใฎๆ่ฆใงใฏใชใใๅงๅกไผ** | 11 ใฎๅฐ้ใขใใชในใใจใผใธใงใณใ(ๆ ชไพกใปๆฑบ็ฎใปใใชใฅใจใผใทใงใณใปใฏใชใณใใปใคใณใตใคใใผ/SECใปIB ใคใใณใโฆ)ใไธฆๅใง็จผๅใ |
|
|
51
|
+
| ๐๐ป **่จญ่จใใใใฆๅฏพ็ซ็** | ๆง้ ๅใใใๅผทๆฐ vs ๅผฑๆฐใฎใใฃใใผใใใPM ใจใผใธใงใณใใ่ฃๅฎใๅฎ้ใฎใฌใผใใฃใณใฐใๆ็คบใ |
|
|
52
|
+
| ๐ **็ฃๆปๅฏ่ฝใๅนป่ฆใชใ** | ใในใฆใฎไธปๅผตใ source ID ใซ็ดใฅใใๆฌ ่ฝใใผใฟใฏใใใผใฟๆฌ ่ฝใใปใฏใทใงใณใซๆ็คบใใๆฑบใใฆ้ ใใชใใ |
|
|
53
|
+
| โฑ๏ธ **ใใซใๆ้ใฎๅคๅฎ** | ่ฒทใ/ไธญ็ซ/ๅฃฒใใซๅ ใใ1ใ4้ฑใป3ใ6ใๆใป12ใๆใฎ่ฆ้ใใๅๅฅใซๆ็คบใ |
|
|
54
|
+
| ๐ **ใใผใฟใใณใใผไธ่ฆใปAPIใญใผไธ่ฆ** | ้่ใใผใฟ APIใปใใผใฑใใใใผใฟใใฃใผใใป่จผๅธๅฃๅบงใญใฐใคใณใฏไธๅไธ่ฆใใขใใชในใใฏใจใผใธใงใณใ่ช่บซใฎใฆใงใๆค็ดข(**Codex ใฎใฆใงใๆค็ดข** / **Claude Code ใฎ WebSearch + WebFetch**)ใงๆ นๆ ใใชใขใซใฟใคใ ใซๅ้ โโ ่ชฒ้ใฏๆขๅญใฎ Codex / Claude Code ใตใในใฏใฎใฟใMIT ใฉใคใปใณในใ |
|
|
55
|
+
| ๐ **ๅๆขฑใฎ่ชฟๆปใใฌใคใใใฏ** | ๅ
ฌ้ๆ ชๅผๆ่ณใจๆ่ณ้่กใคใใณใๅๆใฎๆนๆณ่ซใ**ใญใผใซใซในใญใซ**ใจใใฆๅๆขฑ(`skills/public-equity-investing`ใ`skills/investment-banking`)โโ Codex ๅฐ็จใฎใชใขใผใใฏใผใฏใใญใผใซไพๅญใใใClaude Code ใงใๅ็ญใฎ่ชฟๆปๆทฑๅบฆใ |
|
|
56
|
+
| ๐ **ๅฎใใผใฑใใใใผใฟใปใญใผไธ่ฆ** | ๅ
่ตใฎ `get_quote` ใ Yahoo + Stooq ็ต็ฑใงๆๆฐใปๆๆฐๅ
็ฉ(ๅค้ๅซใ)ใปFXใป้ๅฉใปใใฉใปๅๅใปๅๅฅๆ ชใฎ้
ๅปถ(~15ๅ)ใใผใฟใๅๅพ โโ API ใญใผไธ่ฆใใขใใชในใใฏๆจๆธฌใงใฏใชใๅฎๆฐใๅผ็จใ |
|
|
57
|
+
|
|
58
|
+
ใใฎใชใใธใใชใฏใขใใใญใผใ็จใฎใฝใผในใณใใผใงใใๅฎ่กๆๆ็ฉใฏใชใใธใใชใฎๅคใ`~/.alphacouncil-agent/runs/<run_id>/` ใซๆธใๅบใใใพใใ
|
|
59
|
+
|
|
60
|
+
## ๐ ๅ
่ฒฌไบ้
|
|
61
|
+
|
|
62
|
+
ๆฌใฝใใใฆใงใขใฏ**ๆ่ฒใป็ ็ฉถ็ฎ็ใฎใฟ**ใๅฏพ่ฑกใจใใฆใใใ**ๆ่ณๅฉ่จใงใฏใใใพใใ**ใใใใชใ่จผๅธใฎๅฃฒ่ฒทใฎๆจๅฅจใปๅง่ชใงใใใใพใใใAI ใ็ๆใใๅๆใฏไธๅฎๅ
จใปๅคใใป่ชคใฃใฆใใๅฏ่ฝๆงใใใใพใใๆ่ณๅคๆญใฎๅใซใๅฟ
ใใ่ช่บซใง่ชฟๆปใใๆ่ณๆ ผใฎๅฐ้ๅฎถใซใ็ธ่ซใใ ใใใไฝ่
ใฏใใใชใๆๅคฑใซใคใใฆใ่ฒฌไปปใ่ฒ ใใพใใใ
|
|
63
|
+
|
|
64
|
+
## ใคใณในใใผใซ
|
|
65
|
+
|
|
66
|
+
Codex ใจ Claude Code ใฎๅฎๅ
จใชใปใใใขใใๆ้ ใฏ **[docs/INSTALL.md](docs/INSTALL.md)** ใๅ็
งใใฆใใ ใใใ**Windows ใฆใผใถใผ**ใฏ [Windows ใปใฏใทใงใณ](docs/INSTALL.md#windows) ใๅ็
งใ
|
|
67
|
+
|
|
68
|
+
**ๅๆๆกไปถ:** Node.js โฅ 18ใheadless ใงใชใตใผใใๅฎ่ตฐใใใใซใฏใ**ใคใณในใใผใซๆธใฟใใค่ช่จผๆธใฟใฎ Codex CLI** ใๅฟ
่ฆใงใ(ๅใขใใชในใ worker ใฏ `codex exec` ใจใใฆ่ตทๅใใพใ)ใCodex ใ็กใๅ ดๅใฏใใคใณในใใผใซใฌใคใใฎ **visible ใฏใผใฏใใญใผ**ใไฝฟใฃใฆใใ ใใใ
|
|
69
|
+
|
|
70
|
+
```text
|
|
71
|
+
# Codex
|
|
72
|
+
codex plugin marketplace add Zhao73/alphacouncil-agent
|
|
73
|
+
# ใใฎๅพ codex โ /plugins ใงใคใณในใใผใซ โ /reload-plugins
|
|
74
|
+
|
|
75
|
+
# Claude Code
|
|
76
|
+
/plugin marketplace add Zhao73/alphacouncil-agent
|
|
77
|
+
/plugin install alphacouncil-agent@alphacouncil
|
|
78
|
+
/reload-plugins
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## ๐ ไฝฟใๆน
|
|
82
|
+
|
|
83
|
+
ใจใผใธใงใณใใซใใฎใพใพ่ฉฑใใใใใ ใใ@ ใงใจใผใธใงใณใใๅผใณใใใฃใใซใผใ่ณชๅใๆทปใใพใ:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
@alphacouncil-agent 7203.T ใใญใณใฐ/ใทใงใผใใฎใใใใจใใฆๅๆใใฆ
|
|
87
|
+
@alphacouncil-agent ็พๅจใฎๆฐดๆบใง AAPL ใฏ่ฒทใ?
|
|
88
|
+
@alphacouncil-agent 12ใๆใฎ่ฆ็นใง TSLA ใจ RIVN ใๆฏ่ผใใฆ
|
|
89
|
+
@alphacouncil-agent ใใจใฟ(7203)ใๅๆใใฆ
|
|
90
|
+
@alphacouncil-agent ๅธฎๆ็็ 700.HK ็ฐๅจ่ฝไธ่ฝไนฐ
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
ใใฃใใไธใงใใฎใพใพ่ชญใใ 1 ๆฌใฎใฌใใผใใ่ฟใฃใฆใใพใ:
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
ๅคๅฎ:ใชใผใใผใฆใงใคใ (็ขบไฟกๅบฆ:ไธญ)
|
|
97
|
+
โโ ใขใใชในใไฝๆฅญใญใฐ .... 11 ใฎๆ นๆ ใจใผใธใงใณใใๅบๅ
ธไปใไธปๅผต 38 ไปถ
|
|
98
|
+
โโ ๅผทๆฐใทใใชใช .......... ้่ฆใฎ่ปขๆ็นใใใผใธใณๆกๅคงใ่ช็คพๆ ช่ฒทใ
|
|
99
|
+
โโ ๅผฑๆฐใทใใชใช .......... ใใชใฅใจใผใทใงใณใ้กงๅฎข้ไธญใใตใคใฏใซใชในใฏ
|
|
100
|
+
โโ ็ญๆ / ไธญๆ / ้ทๆ .... 1ใ4้ฑ ยท 3ใ6ใๆ ยท 12ใๆใฎ่ฆ้ใ
|
|
101
|
+
โโ ใซใฟใชในใใจใชในใฏ .... ๆฑบ็ฎใใฌใคใใณในใ่ฆๅถ
|
|
102
|
+
โโ ใใผใฟใฎๆฌ ่ฝ .......... ๆ็คบ็ใซๅๆใใๆฑบใใฆ้ ใใชใ
|
|
103
|
+
โโ ๅบๅ
ธใใผใใซ .......... ใในใฆใฎไธปๅผตใ <task>:<source_id> ใซๅฏพๅฟไปใ
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
็ฐกๆฝใชใฆใผใถใผๅใ่ฆ็ดใฏ `~/.alphacouncil-agent/runs/<run_id>/user_response.md` ใซๆธใๅบใใใพใใ
|
|
107
|
+
ๅฎๅ
จใชใฌใใผใใฏ `~/.alphacouncil-agent/runs/<run_id>/final_report.md` ใซๆธใๅบใใใ
|
|
108
|
+
ๅใใใฃใฌใฏใใชใซๅใขใใชในใใฎ Markdown ใใกใคใซใจ `artifact_index.md` ใไฟๅญใใใพใใ
|
|
109
|
+
|
|
110
|
+
## ไฝใใงใใใ
|
|
111
|
+
|
|
112
|
+
ๆขๅฎใฏใใซๅฎ่กใงใใใ็ฐกๆใตใใชใผใงใฏใใใพใใ๏ผ
|
|
113
|
+
|
|
114
|
+
- ๆ ชไพกใจๅคๅใ
|
|
115
|
+
- ๆฑบ็ฎใฎๆทฑๆใ๏ผๆฑบ็ฎ่ชฌๆไผใๅซใ๏ผ
|
|
116
|
+
- ๅฐๆฅไบๆณใ็นใ่พผใพใใไธๆฏใ/ไธๆฏใ้พๅคใใปใซใตใคใใฎๆ ผไปใป็ฎๆจๆ ชไพกๆนๅฎ
|
|
117
|
+
- ใฏใชใณใใใกใฏใฟใผ๏ผใขใกใณใฟใ ใใใฌใณใใใใฉใใฃใชใใฃใๆตๅๆงใ็ธๅฏพๅผทๅบฆใๆทท้ๅบฆ
|
|
118
|
+
- ใใชใฅใจใผใทใงใณใจใญใณใฐ/ใทใงใผใ่ซ็น๏ผๅไธ็ฎๆจๆ ชไพกใงใฏใชใไพกๆ ผใฌใณใธ๏ผ
|
|
119
|
+
- ใใฅใผในใๆฅญ็ๅๅใใตใใฉใคใใงใผใณใ็ตๅถ้ฃใฎ็บ่จใจ่กๅใฎ็
งๅ
|
|
120
|
+
- SECๆๅบๆธ้กใForm 4 ใคใณใตใคใใผๅๅผใ่ช็คพๆ ช่ฒทใใๅธ่ๅใ่ฒ ๅตใจ่ณๆฌ้
ๅ
|
|
121
|
+
- M&Aใใจใฏใคใใฃ/ใใใใปใใกใคใใณในใ่ช็คพๆ ช่ฒทใใชใฉใฎใคใใณใๅๆ
|
|
122
|
+
- 21ๅใฎๆ่ณๅฎถใฌใณใบใๅใไบๅฎใ**็ฌ็ซใซ**่ชญใ
|
|
123
|
+
- ใใซใใใขใใใผใใใฉใชใชใใใผใธใฃใผใฎ่ฃๅฎ
|
|
124
|
+
|
|
125
|
+
ๆ็ตใฌใใผใใฏใใฃใใไธใงใใฎใพใพ่ชญใใพใใใขใใชในใไฝๆฅญ่จ้ฒใใใผใฟใจๆๅบๆธ้กใฎ่ฆ็ดใใใซ/ใใข่จ่ซใPM่ฃๅฎใใจใณใใชใผไพกๆ ผๅธฏใ็ญไธญ้ทๆใฎ่ฆๆนใใใผใฟใฎใฃใใใ็ขบไฟกๅบฆใๅบๅ
ธ่กจใๅซใฟใพใใ
|
|
126
|
+
|
|
127
|
+
## ๐ง ใใผใซ โโ 27ๅใใในใฆใญใผไธ่ฆ
|
|
128
|
+
|
|
129
|
+
ไปฅไธใฎใใใใAPIใญใผใใขใซใฆใณใใ่จญๅฎใใกใคใซใๅฟ
่ฆใจใใพใใใ
|
|
130
|
+
|
|
131
|
+
| ้ ๅ | ใใผใซ | ใใผใฟใฝใผใน |
|
|
132
|
+
|---|---|---|
|
|
133
|
+
| **ๆๅบๆธ้ก** | `screen_ticker` `screen_candidates` `list_us_universe` `compose_research_brief` | SEC EDGAR XBRL |
|
|
134
|
+
| **็ฑณๅฝๅค** | `market_financials` `market_coverage` | ๅฐๆนพ่จผๅใฏใญใผไธ่ฆ๏ผDARTใปEDINETใฏ็กๆใญใผ๏ผ้ฆๆธฏใปไธญๅฝใฏๆๆธใฎใฟ |
|
|
135
|
+
| **ๅธๅ ดใใผใฟ** | `get_quote` `get_macro_snapshot` | Yahoo / Stooqใใใฏใญ21็ณปๅ๏ผๆดพ็5ๆๆจ |
|
|
136
|
+
| **ใชใใทใงใณ** | `get_options_chain` | CBOE้
ๅปถๆฐ้
โโ IVใฟใผใ ๆง้ ใ25ฮในใญใฅใผใๅปบ็ใใฐใชใผใฏใน |
|
|
137
|
+
| **ใใฅใผใน** | `get_news` `get_market_narrative` | YahooใGoogle NewsใSEC AtomใFRBใWSJใCNBC |
|
|
138
|
+
| **ใฝใผใทใฃใซ** | `get_social_pulse` `verify_x_post` | RedditใHacker NewsใBluesky |
|
|
139
|
+
| **ๆฅญ็** | `industry_brief` `industry_peers` `industry_coverage` `list_industries` | ๅ
จ็ฑณๅฝ็ป้ฒไผๆฅญใฎSICๅ้ก๏ผๅณ้ธใใชใฅใผใใงใผใณๅฐๅณ |
|
|
140
|
+
| **ใฏใผใฏใใญใผ** | `analyze_symbol` `plan_visible_run` `collect_evidence` `read_run` ใปใ9ๅ | โ |
|
|
141
|
+
|
|
142
|
+
**ใใใฆ่กใใชใใใจใ** ไปฅไธใฏใในใฆใใผใซใฎๅบๅ่ชไฝใซๆ่จใใใฆใใพใใไธๆตใงๅผ็จใใใใฎใฏใใคใญใผใใ ใใใงใ๏ผ
|
|
143
|
+
|
|
144
|
+
- **IVใใผใปใณใฟใคใซใฏ็ฎๅบไธ่ฝใ** ใชใใทใงใณใใงใผใณใฏๅฑฅๆญดใฎใชใในใใใใทใงใใใงใใใใ่ช่บซใฎ้ๅปใจๆฏในใฆ้ซใ/ไฝใใใจใใไธปๅผตใฏใในใฆๆช่งฃๆฑบไบ้
ใจใใฆๅ ฑๅใใใพใใ
|
|
145
|
+
- **X / Twitter ใซ็กๆใฎๆข็ดข็ต่ทฏใฏๅญๅจใใพใใ**๏ผ2026ๅนด7ๆๆ็น๏ผใNitterๆค็ดขใฏๆฉ่ฝๅๆญขใX APIใฏๆ็จฟๅไฝ่ชฒ้ใxAIใฏๅผใณๅบใๅไฝ่ชฒ้ใ**ใใญใฎFinTwitๅฑคใฏๅฏพ่ฑกๅคใงใใใRedditใฏใใฎไปฃๆฟใซใฏใชใใพใใใ**
|
|
146
|
+
- **ๅ
ฅๅใๆฌ ใใในใฏใชใผใใณใฐ่ฆๅใฏ `skipped` ใงใใใๆฑบใใฆๅๆ ผๆฑใใซใใพใใใ**
|
|
147
|
+
- **่งฃๆๅฏ่ฝใชใฟใคใ ในใฟใณใใๆใใชใใใฅใผในใฏ้คๅค**ใใใใๆๆฐใใจใใฆ่กจ็คบใใใพใใใ
|
|
148
|
+
- **`iv = 0` ใฎๅปบ็ใฏ้คๅคใ** CBOEใฏๆบๆๅฐๆฅๆธใฟใใใฃใผใITMใง0ใ่ฟใใพใใใ0ใๅนณๅใซๆททๅ
ฅใใใจๆฌ ๆๅคใงใฏใชใใ่ฝใก็ใใ้ๆใใซ่ฆใใฆใใพใใพใใ
|
|
149
|
+
|
|
150
|
+
## ๐๏ธ ใในใฟใผ้ฃ โโ 21ใฎใฌใณใบ
|
|
151
|
+
|
|
152
|
+
ๅ
ฌ้ใใใๆนๆณ่ซใฎๅๆงๆใงใใใ**ๆฌไบบใฎ็บ่จใงใฏไธๅใใใพใใ**ใๅใฌใณใบใฏ่ชใใฎๆ่้ ๅบใๆๅใซ่ฆใใใฎใๅ
ธๅ็ใชๅใใใใใใใฆ**่ช่บซใฎๅคฑๆใขใผใ**ใๆ็คบใใพใ โโ ่ชๅใใฉใ้้ใใ่จใใชใๅธญใฏใ้้ใฃใใจใใซๆใๆใใพใใใ
|
|
153
|
+
|
|
154
|
+
| ๅ็ฐฟ | ใฌใณใบ |
|
|
155
|
+
|---|---|
|
|
156
|
+
| ใใชใฅใผ | ใใใงใใ ยท ใใณใฌใผ ยท ๆฎตๆฐธๅนณ ยท ๆ้ฒ |
|
|
157
|
+
| ๅคๅ
ธใใชใฅใผ | ใฐใฌใขใ ยท ใใฃใใทใฃใผ ยท ใชใณใ ยท ใใผใฏใน ยท ใฏใฉใผใใณ |
|
|
158
|
+
| ๅฏพๆ | ใฝใญใน ยท ใใฉใใฑใณใใฉใผ ยท ใใชใช ยท ใใผใช ยท ใทใงใผใใปใฉใผ |
|
|
159
|
+
| ใฏใชใณใ | ใตใคใขใณใบ ยท ใขในใใน ยท ใฝใผใ |
|
|
160
|
+
| ใชใใทใงใณ | ใฟใฌใ ยท ใใฟใณใใผใฐ ยท ใทใณใฏใฌใข |
|
|
161
|
+
| ็พไปฃ | ใขใใทใงใณใใฌใใผ |
|
|
162
|
+
|
|
163
|
+
ใในใฟใผใฏใขใใชในใใจ**ๅใ็ขบๅฎไบๅฎ**๏ผๆๅบๆธ้กใๆ ชไพกใ่ฒกๅใใใฏใญ๏ผใ่ชญใฟใพใใใขใใชในใใฎใใฑใใใฏๅฅ้ใใไบๅฎใงใฏใชใไปๅธญใฎ่งฃ้ใใจใใฆๆ็คบใฎใใๆธกใใใพใใใใฎๅ้ขใใใ่ฆ็นใงใ๏ผใขใใชในใใ็ฒๅฉ็ใ่ฆใ็ฎๆใงใใณใฌใผใฏใคใณใปใณใใฃใๆง้ ใ่ฆใ โโ ใใใใใ็ฌ่ชใซๅๆจ้ธๆใใฆใใใใใฎ้ฃๅฎนใซๆๅณใใใใพใใ่ฉณ็ดฐใฏ [docs/attribution.md](docs/attribution.md)ใ
|
|
164
|
+
|
|
165
|
+
## ๐งฉ ใขใผใญใใฏใใฃ
|
|
166
|
+
|
|
167
|
+
```mermaid
|
|
168
|
+
flowchart TD
|
|
169
|
+
U["@alphacouncil-agent"] --> G[("Established facts<br/>filings ยท quotes ยท macro ยท options")]
|
|
170
|
+
G --> AG{{"Analyst council"}}
|
|
171
|
+
G --> MS{{"Master bench<br/>21 lenses"}}
|
|
172
|
+
AG --> A1["Market data"]
|
|
173
|
+
AG --> A2["Earnings"]
|
|
174
|
+
AG --> A3["Valuation"]
|
|
175
|
+
AG --> A4["Quant factors"]
|
|
176
|
+
AG --> A5["Insider / SEC"]
|
|
177
|
+
AG --> A6["News / narrative"]
|
|
178
|
+
A1 --> EV[("Evidence base")]
|
|
179
|
+
A2 --> EV
|
|
180
|
+
A3 --> EV
|
|
181
|
+
A4 --> EV
|
|
182
|
+
A5 --> EV
|
|
183
|
+
A6 --> EV
|
|
184
|
+
EV -.->|"interpretation,<br/>not fact"| MS
|
|
185
|
+
EV --> VF{{"Verifiers"}}
|
|
186
|
+
VF -->|"failed checks<br/>down-weight the seat"| PM
|
|
187
|
+
MS --> BULL["Bull"]
|
|
188
|
+
MS --> BEAR["Bear"]
|
|
189
|
+
EV --> BULL
|
|
190
|
+
EV --> BEAR
|
|
191
|
+
BULL --> PM{{"Portfolio manager"}}
|
|
192
|
+
BEAR --> PM
|
|
193
|
+
PM --> R[["final_report.md"]]
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
ใในใฟใผใฏไบๅฎใใๅๅฒใใใขใใชในใใฎใใฑใใใใใฏๅๅฒใใพใใใ21ใฎใฌใณใบใซไธไบบใฎใขใใชในใใฎๅๆจ้ธๆใไธใใใฐใๅ
จๅกใๅใ็ฒ็นใๅ
ฑๆใใพใ โโ ๅคงใใใใใคๅฎๅ
จใซ็ธ้ขใใ่ชคๅทฎใงใใใ้ฃๅฎนใๆใค็็ฑใใฎใใฎใๅคฑใใใพใใ
|
|
197
|
+
|
|
198
|
+
ไธป่ฆใใกใคใซ:
|
|
199
|
+
|
|
200
|
+
- `.codex-plugin/plugin.json` โโ Codex ใใฉใฐใคใณใฎใกใฟใใผใฟ
|
|
201
|
+
- `.claude-plugin/plugin.json` โโ Claude Code ใใฉใฐใคใณใฎใใใใงในใ
|
|
202
|
+
- `.mcp.json` โโ MCP server ใฎ้
็ท
|
|
203
|
+
- `skills/alphacouncil-agent/SKILL.md` โโ ๅฎ่กๆใฎๆ็คบ
|
|
204
|
+
- `mcp/server.mjs` โโ JSON-RPC MCP server ใจใฏใผใฏใใญใผๅฎ่ฃ
|
|
205
|
+
- `scripts/selfcheck.mjs` โโ ๆๅฐ้ใฎๅๅธฐใปใซใใใงใใฏ
|
|
206
|
+
|
|
207
|
+
## ๐ Codex ็ vs Claude Code ็
|
|
208
|
+
|
|
209
|
+
ไธก็ใฏใฏใผใฏใใญใผใJSON ใใฑใใๅฅ็ดใ็ฃๆป็จๆๆ็ฉใAPI ใญใผไธ่ฆใฎใฉใคใ Web ๅ่จผใขใใซใๅ
่ฒฌไบ้
ใๅ
ฑๆใใพใใClaude Code ็ใฏๅงๅกไผใฎใ**ๅใใๆน**ใใ ใใๅคใใพใใ
|
|
210
|
+
|
|
211
|
+
| | Codex ็ | Claude Code ็ |
|
|
212
|
+
|---|---|---|
|
|
213
|
+
| ๅงๅกไผใฎๅฎ่ก | `codex exec` ใฏใผใซใผใๅๆๅฎ่กใซไธ้ | 11 ใขใใชในใใไธฆๅ `Task` ใตใใจใผใธใงใณใใจใใฆไธๆฌ่ตทๅ |
|
|
214
|
+
| ใขใใชในใใใจใฎๆ่ | ๅฅใใญใปใน | ๅฅใตใใจใผใธใงใณใใใใใใ็ฌ็ซใใๅฎๅ
จใชๆ่ใฆใฃใณใใฆ |
|
|
215
|
+
| ๅ่จผ | `codex exec --search` | ๅใขใใชในใ่ช่บซใฎๆ่ใง `WebSearch` + `WebFetch` |
|
|
216
|
+
| ๆ นๆ โ ใใฃใใผใ | ้ๆฌก | ๅฎ่กใใงใผใบใใทใณใซใใใใผใใใชใข |
|
|
217
|
+
| ใใฃใใผใใฎๆทฑใ | 3 ใฉใฆใณใ(ไธปๅผต/ๅ่ซ/Q&A)ใserver ๅฎ่ก | 3 ใฉใฆใณใใๅใฉใฆใณใใงๅผทๆฐใปๅผฑๆฐใไธฆๅ |
|
|
218
|
+
| ไธปๅผตใฎๆค่จผ | ๆฌ ่ฝใฝใผในใฒใผใ(ๅฎ่กใซใใฉใฐ + ใฌใใผใใซใใใผ) | + ไธปๅผตใใจใฎๆตๅฏพ็ๆค่จผ:ๅผ็จ URL ใฎๅๅๅพใปๅๅฐๅบใปๅ่จผ *(ใในใ้งๅ)* |
|
|
219
|
+
| ๅฎๅ
จๅฎ่กใฎๅผทๅถ | ไธๅฎๅ
จใชๅฎ่กใ `incomplete` ใจใใผใฏ(server ใฒใผใ) | ๅใฒใผใ + ใใฃใใผใๅใฎใใผใใใชใข |
|
|
220
|
+
| ใขใใซใจใณในใ | ๅไธใขใใซ | **ๅฝนๅฒใใจใซ้ธๆ** โ ๅ่จผใฏ Sonnetใใใฃใใผใ/ๅคๅฎใฏ Opus 4.8(ๅ
จ Opus / ๅ
จ Sonnet ใๅฏ) |
|
|
221
|
+
| ่จ่ช | ใฆใผใถใผใฎ่จ่ช | ๅ
จใตใใจใผใธใงใณใ + ใฉใคใ workflow ใ้ใใฆใฆใผใถใผใฎ่จ่ช |
|
|
222
|
+
|
|
223
|
+
**ๆญฃ็ดใชในใณใผใ:** ๅใใขใใซใใกใใชใผใปๅใใใญใณใใใปๅใ็ฃๆปๅฅ็ด โโ ๅผทใฟใฏๆ่ใฎๅ้ขใๅธธๆไธฆๅใใกใณใขใฆใใๆฑบๅฎ็ใฒใผใใงใใใใใ่ณขใใขใใซใงใฏใใใพใใใ**v0.3.0** ไปฅ้ใๅ
ฑๆ server ใฏ 3 ใฉใฆใณใใฎใใฃใใผใใใๆฌ ่ฝใฝใผใน / ๅฎๅ
จๅฎ่ก / ใฌใใผใๅ่ณชใใฎใฒใผใใ็ฐกๆฝใชๅผใๆธกใ่ฆ็ดใๅฎๅ
จใฌใใผใใใใกใคใซ็ดขๅผใWindows ใใคใใฃใ Codex CLI ่ตทๅใๆไพใใพใใ**v0.3.1** ไปฅ้ใ`addyosmani/agent-skills` ในใฟใคใซใฎๅๆญขใฒใผใใจๅฎไบๅบๆบใๆใค `agent-skills-governance` skill ใๅๆขฑใใพใใClaude Code ็ใฏใใใซใฉใฆใณใใใจใฎไธฆๅๅฎ่กใจใในใ้งๅใฎไธปๅผตใใจๆค่จผใ่ฟฝๅ ใใพใใใฉใคใ Web ใฎ้ฎฎๅบฆใจใใคใฆใฉใผใซใฏไธก็ใซ็ญใใๅฝใฆใฏใพใใพใใ
|
|
224
|
+
|
|
225
|
+
## ใใผใฟๅฅ็ด
|
|
226
|
+
|
|
227
|
+
ๆ นๆ ใตใใจใผใธใงใณใใฏ JSON ใใฑใใใ่ฟใใพใ:
|
|
228
|
+
|
|
229
|
+
```json
|
|
230
|
+
{
|
|
231
|
+
"task": "market_data",
|
|
232
|
+
"symbol": "7203.T",
|
|
233
|
+
"as_of": "YYYY-MM-DD",
|
|
234
|
+
"summary": "string",
|
|
235
|
+
"claims": [
|
|
236
|
+
{ "claim": "string", "evidence": "string", "confidence": "high|medium|low", "source_ids": ["market_data:S1"] }
|
|
237
|
+
],
|
|
238
|
+
"metrics": {},
|
|
239
|
+
"sources": [
|
|
240
|
+
{ "id": "market_data:S1", "title": "string", "url": "https://example.com", "published_at": "YYYY-MM-DD or unknown", "retrieved_at": "YYYY-MM-DD" }
|
|
241
|
+
],
|
|
242
|
+
"open_questions": ["missing data item"],
|
|
243
|
+
"confidence": "high|medium|low"
|
|
244
|
+
}
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
ใในใฆใฎ source ID ใฏ `<task>:<source_id>` ใฎใฐใญใผใใซในใณใผใใงใใๆฌ ่ฝใใผใฟใฏ `open_questions` ใซ่จ่ผใใๆ็ตใฌใใผใใฎใใผใฟๆฌ ่ฝใปใฏใทใงใณใซใๅๆ ใใๅฟ
่ฆใใใใพใใ
|
|
248
|
+
|
|
249
|
+
## ใญใผใซใซๅฎ่ก
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
npm run check
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
ใปใซใใใงใใฏใฎๆค่จผๅ
ๅฎน:MCP server ใฎๆงๆใใใผใซ schema ใฎๅ
ฌ้ใsource ID ใฎในใณใผใใใใใฉใซใใฎๅฎ่ตฐๆๅใๅฏ่ฆใฉใณใฎ่จ้ฒใ`events.jsonl`/`status.json`/`all_agents.md`/`source_manifest.json`ใ`final_report.md`/`user_response.md`/`artifact_index.md`/`report_quality.json`ใใขใใชในใ Markdown ใใกใคใซใใใใณๆ็ตใฌใใผใใฎๅฟ
้ ใปใฏใทใงใณใ
|
|
256
|
+
|
|
257
|
+
## ๅ่
|
|
258
|
+
|
|
259
|
+
ใใใฏ็ฌ็ซใใใใฉใฐใคใณๅฎ่ฃ
ใงใใใซใใจใผใธใงใณใใฎๆ่ณๅงๅกไผใฏใผใฏใใญใผ(ใขใใชในใใใผใ ใๆ นๆ ใฎๅ
ฑๆใๅผทๆฐ/ๅผฑๆฐใใฃใใผใใใใผใใใฉใชใชใใใผใธใฃใผใซใใ็ตฑๅ)ใๆก็จใใฆใใพใใ
|
|
260
|
+
|
|
261
|
+
API ใญใผใ่จผๅธๅฃๅบงใฎ่ช่จผๆ
ๅ ฑใ้ๅ
ฌ้ๆธ้กใ็ๆใใใๅฎ่กๆๆ็ฉใฏๆฑบใใฆใณใใใใใชใใงใใ ใใใ
|
|
262
|
+
|
|
263
|
+
## โญ Star ๆจ็งป
|
|
264
|
+
|
|
265
|
+
<div align="center">
|
|
266
|
+
|
|
267
|
+
<a href="https://star-history.com/#Zhao73/alphacouncil-agent&Date">
|
|
268
|
+
<img src="https://api.star-history.com/svg?repos=Zhao73/alphacouncil-agent&type=Date" width="640" alt="Star History Chart" />
|
|
269
|
+
</a>
|
|
270
|
+
|
|
271
|
+
<br/><br/>
|
|
272
|
+
|
|
273
|
+
<picture>
|
|
274
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.png" />
|
|
275
|
+
<img src="assets/logo.png" alt="AlphaCouncil" width="120" />
|
|
276
|
+
</picture>
|
|
277
|
+
|
|
278
|
+
AlphaCouncil ใๅฝนใซ็ซใฃใใใโญ ใใใใ ใใใจๅฑใฟใซใชใใพใใ
|
|
279
|
+
|
|
280
|
+
<a href="#readme-top">โ ใใใใซๆปใ</a>
|
|
281
|
+
|
|
282
|
+
</div>
|
package/README.md
ADDED
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
<a name="readme-top"></a>
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
<img src="assets/banner.png" alt="AlphaCouncil Agent" width="100%" />
|
|
6
|
+
|
|
7
|
+
<p>
|
|
8
|
+
<img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=20&duration=2800&pause=700&color=1A7A6A¢er=true&vCenter=true&width=620&lines=Spawn+a+council+of+analyst+agents;Gather+sourced+evidence%2C+hide+nothing;Run+a+bull+vs+bear+debate;Get+a+PM+verdict%3A+Buy+%C2%B7+Hold+%C2%B7+Sell" alt="tagline" />
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
**English** ยท [ไธญๆ](README.zh-CN.md) ยท [ๆฅๆฌ่ช](README.ja.md)
|
|
12
|
+
|
|
13
|
+
<p>
|
|
14
|
+
<img src="https://img.shields.io/github/actions/workflow/status/Zhao73/alphacouncil-agent/check.yml?style=for-the-badge&label=build&logo=githubactions&logoColor=white&color=1a7a6a" alt="build" />
|
|
15
|
+
<img src="https://img.shields.io/badge/License-MIT-c9a227?style=for-the-badge" alt="MIT" />
|
|
16
|
+
<img src="https://img.shields.io/badge/Node-%3E%3D18-339933?style=for-the-badge&logo=node.js&logoColor=white" alt="node" />
|
|
17
|
+
<img src="https://img.shields.io/github/stars/Zhao73/alphacouncil-agent?style=for-the-badge&logo=github&color=0d4d4d" alt="stars" />
|
|
18
|
+
</p>
|
|
19
|
+
<p>
|
|
20
|
+
<img src="https://img.shields.io/badge/OpenAI_Codex-412991?style=for-the-badge&logo=openai&logoColor=white" alt="codex" />
|
|
21
|
+
<img src="https://img.shields.io/badge/Claude_Code-D97757?style=for-the-badge&logo=anthropic&logoColor=white" alt="claude code" />
|
|
22
|
+
<img src="https://img.shields.io/badge/OpenCode-1a7a6a?style=for-the-badge&logoColor=white" alt="opencode" />
|
|
23
|
+
<img src="https://img.shields.io/badge/Grok_Build-000000?style=for-the-badge&logo=x&logoColor=white" alt="grok build" />
|
|
24
|
+
</p>
|
|
25
|
+
<p>
|
|
26
|
+
<img src="https://img.shields.io/badge/MCP-compatible-000000?style=for-the-badge" alt="mcp" />
|
|
27
|
+
<img src="https://img.shields.io/badge/API_keys-none_required-2ea043?style=for-the-badge" alt="no api keys" />
|
|
28
|
+
<img src="https://img.shields.io/badge/dependencies-zero-2ea043?style=for-the-badge" alt="zero dependencies" />
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
<p>
|
|
32
|
+
<a href="docs/INSTALL.md"><b>Install</b></a> ยท
|
|
33
|
+
<a href="#-usage"><b>Usage</b></a> ยท
|
|
34
|
+
<a href="#-tools--27-all-keyless"><b>Tools</b></a> ยท
|
|
35
|
+
<a href="#-the-bench--21-investor-lenses"><b>The bench</b></a> ยท
|
|
36
|
+
<a href="#-architecture"><b>Architecture</b></a> ยท
|
|
37
|
+
<a href="CHANGELOG.md"><b>Changelog</b></a> ยท
|
|
38
|
+
<a href="#-disclaimer"><b>Disclaimer</b></a>
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
<div align="center">
|
|
46
|
+
|
|
47
|
+
<img src="assets/run-example.png" alt="A real AlphaCouncil run: six master lenses reaching the same call for different reasons" width="100%" />
|
|
48
|
+
|
|
49
|
+
<sub><i>A real run. Six lenses, none constructive โ and the disagreement is in the reasons, not the call.</i></sub>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
AlphaCouncil Agent is a Codex and Claude Code plugin for full public-equity research workflows. It coordinates multiple analyst agents, gathers sourced evidence, runs bull/bear debate, and produces a portfolio-manager style final report.
|
|
54
|
+
|
|
55
|
+
### โจ Why AlphaCouncil
|
|
56
|
+
|
|
57
|
+
| | |
|
|
58
|
+
|---|---|
|
|
59
|
+
| ๐๏ธ **A council, not one opinion** | Eight specialist analysts by default, eleven available โ market data, earnings, forward expectations, quant, valuation, news and supply chain, insider/SEC, IB events, macro, narrative, crowding. |
|
|
60
|
+
| ๐ญ **21 investor lenses that disagree** | Buffett, Munger, Graham, Lynch, Marks, Klarman, Soros, Dalio, Burry, Simons, Thorp, Taleb and more read the **same facts** and reach different conclusions. Each names its own failure mode, because a seat that cannot say how it goes wrong will not flag it when it does. |
|
|
61
|
+
| ๐๐ป **Adversarial by design** | A structured bull vs bear debate, refereed by a portfolio manager who issues an actual rating โ and three verifiers that re-source, re-derive and attack every load-bearing claim. A failed check **down-weights the seat that made it**. |
|
|
62
|
+
| ๐ **Auditable, never hallucinated** | Every claim maps to a source ID. A screen rule with missing inputs is `skipped`, never a pass. An undated headline is excluded, not shown as recent. Gaps are a section, not an omission. |
|
|
63
|
+
| ๐ฐ **Entry price bands, not one number** | Three conditional bands with what each depends on. "The cycle position is undetermined" changes what the bands are conditional on; it does not excuse leaving them out. |
|
|
64
|
+
| ๐ **27 tools, zero API keys, zero dependencies** | SEC EDGAR, CBOE options, Yahoo/Stooq quotes, 21 macro series, news and social โ all keyless. `node mcp/server.mjs` and nothing else. |
|
|
65
|
+
| ๐ฅ๏ธ **One council on four hosts** | Claude Code, Codex, OpenCode and Grok Build run the **same** workflow, the same bench and the same gates. |
|
|
66
|
+
|
|
67
|
+
This repository is the uploadable source copy. Runtime outputs are written outside the repo under `~/.alphacouncil-agent/runs/<run_id>/`.
|
|
68
|
+
|
|
69
|
+
## ๐ Disclaimer
|
|
70
|
+
|
|
71
|
+
This software is for **educational and research purposes only**. It is **not
|
|
72
|
+
investment advice**, not a recommendation to buy or sell any security, and not a
|
|
73
|
+
solicitation. AI-generated analysis can be incomplete, outdated, or wrong. Do
|
|
74
|
+
your own research and consult a licensed financial professional before making any
|
|
75
|
+
investment decision. The authors accept no liability for any loss.
|
|
76
|
+
|
|
77
|
+
## Install
|
|
78
|
+
|
|
79
|
+
See **[docs/INSTALL.md](docs/INSTALL.md)** for full Codex and Claude Code setup. **Windows users:** see the [Windows section](docs/INSTALL.md#windows).
|
|
80
|
+
|
|
81
|
+
**Prerequisites:** Node.js >= 18. The headless research path also needs an
|
|
82
|
+
installed, authenticated **Codex CLI** (each analyst worker runs as `codex
|
|
83
|
+
exec`). On Windows, v0.3.0+ launches the CLI through `cmd.exe` and feeds prompts
|
|
84
|
+
over stdin so native `codex.cmd` installs work without WSL in the normal case.
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
# Codex
|
|
88
|
+
codex plugin marketplace add Zhao73/alphacouncil-agent
|
|
89
|
+
# then run `codex`, open /plugins, install, and /reload-plugins
|
|
90
|
+
|
|
91
|
+
# Claude Code
|
|
92
|
+
/plugin marketplace add Zhao73/alphacouncil-agent
|
|
93
|
+
/plugin install alphacouncil-agent@alphacouncil
|
|
94
|
+
/reload-plugins
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## ๐ Usage
|
|
98
|
+
|
|
99
|
+
Just talk to it. Mention the agent and a ticker or a question:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
@alphacouncil-agent analyze AAPL as a long/short pitch
|
|
103
|
+
@alphacouncil-agent is AAPL a buy at current levels?
|
|
104
|
+
@alphacouncil-agent compare TSLA vs RIVN for a 12-month horizon
|
|
105
|
+
@alphacouncil-agent ๅธฎๆ็็ 700.HK ็ฐๅจ่ฝไธ่ฝไนฐ
|
|
106
|
+
@alphacouncil-agent ใใจใฟ(7203)ใๅๆใใฆ
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
You get back a single, chat-readable report:
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
VERDICT: Overweight (confidence: medium)
|
|
113
|
+
โโ Analyst work log ........ 11 evidence agents, 38 sourced claims
|
|
114
|
+
โโ Bull thesis ............. demand inflection, margin expansion, buyback
|
|
115
|
+
โโ Bear thesis ............. valuation, customer concentration, cycle risk
|
|
116
|
+
โโ Short / medium / long ... 1-4wk ยท 3-6mo ยท 12mo views
|
|
117
|
+
โโ Catalysts & risks ....... earnings, guidance, regulatory
|
|
118
|
+
โโ Data gaps ............... explicitly listed, never hidden
|
|
119
|
+
โโ Source table ............ every claim mapped to <task>:<source_id>
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The concise handoff is written to `~/.alphacouncil-agent/runs/<run_id>/user_response.md`.
|
|
123
|
+
The full report is written to `~/.alphacouncil-agent/runs/<run_id>/final_report.md`,
|
|
124
|
+
with analyst Markdown files and `artifact_index.md` in the same run directory.
|
|
125
|
+
|
|
126
|
+
## What It Does
|
|
127
|
+
|
|
128
|
+
Default stock-analysis runs are full runs, not lite summaries:
|
|
129
|
+
|
|
130
|
+
- Market data and price action
|
|
131
|
+
- Earnings deep dive, including the earnings call
|
|
132
|
+
- Forward expectations, implied beat/miss thresholds, and sell-side target revisions
|
|
133
|
+
- Quant factor view: momentum, trend, volatility, liquidity, relative strength, crowding
|
|
134
|
+
- Valuation and long/short pitch, with price bands rather than a single target
|
|
135
|
+
- News, industry context, supply chain, and management's words checked against their actions
|
|
136
|
+
- SEC filings, Form 4 insider transactions, buybacks, dilution, debt and capital allocation
|
|
137
|
+
- Investment-banking event analysis for M&A, ECM, debt, buybacks and strategic transactions
|
|
138
|
+
- A bench of 21 investor lenses reading the same facts independently
|
|
139
|
+
- Bull researcher, bear researcher and portfolio-manager synthesis
|
|
140
|
+
|
|
141
|
+
The final report is readable directly in chat. It carries analyst work logs, data and filing
|
|
142
|
+
summaries, the bull/bear debate, the PM verdict, entry price bands, short/medium/long-term
|
|
143
|
+
views, data gaps, confidence and a source table.
|
|
144
|
+
|
|
145
|
+
## ๐ง Tools โ 27, all keyless
|
|
146
|
+
|
|
147
|
+
Nothing below needs an API key, an account, or a config file. Install and run.
|
|
148
|
+
|
|
149
|
+
| Area | Tools | Source |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| **Filings** | `screen_ticker` `screen_candidates` `list_us_universe` `compose_research_brief` | SEC EDGAR XBRL |
|
|
152
|
+
| **Non-US filings** | `market_financials` `market_coverage` | TWSE keyless; DART/EDINET on a free key; HK/CN documents only |
|
|
153
|
+
| **Market data** | `get_quote` `get_macro_snapshot` | Yahoo / Stooq, 21 macro series + 5 derived |
|
|
154
|
+
| **Options** | `get_options_chain` | CBOE delayed quotes โ IV term structure, 25-delta skew, open interest, Greeks |
|
|
155
|
+
| **News** | `get_news` `get_market_narrative` | Yahoo, Google News, SEC Atom, Fed, WSJ, CNBC |
|
|
156
|
+
| **Social** | `get_social_pulse` `verify_x_post` | Reddit, Hacker News, Bluesky |
|
|
157
|
+
| **Industry** | `industry_brief` `industry_peers` `industry_coverage` `list_industries` | SIC across all US filers + curated maps |
|
|
158
|
+
| **Workflow** | `analyze_symbol` `plan_visible_run` `collect_evidence` `read_run` and 5 more | โ |
|
|
159
|
+
|
|
160
|
+
**What it deliberately will not do.** Every one of these is stated in the tool output itself,
|
|
161
|
+
not only in the docs, because the payload is what gets quoted downstream:
|
|
162
|
+
|
|
163
|
+
- **IV percentile is not computable.** The chain is a snapshot with no history, so any claim
|
|
164
|
+
that volatility is high or low against its own past is reported as an open question.
|
|
165
|
+
- **X / Twitter has no free discovery channel** as of 2026-07. Nitter search is dead, the X
|
|
166
|
+
API bills per post and xAI bills per call. Professional FinTwit is **not** covered, and
|
|
167
|
+
Reddit is not a substitute for it.
|
|
168
|
+
- **A screen rule whose inputs are missing is `skipped`, never a pass.**
|
|
169
|
+
- **A news item with no parsable timestamp is excluded**, not shown as recent.
|
|
170
|
+
- **A contract reporting `iv = 0`** โ CBOE does this for expired and deep-in-the-money
|
|
171
|
+
contracts โ is dropped rather than averaged in, because a zero does not look like a gap,
|
|
172
|
+
it looks like a calm stock.
|
|
173
|
+
|
|
174
|
+
## ๐๏ธ The bench โ 21 investor lenses
|
|
175
|
+
|
|
176
|
+
Reconstructions of publicly documented methods, not anything the named people said. Each
|
|
177
|
+
states how it thinks, what it notices first, its characteristic challenge, and **its own
|
|
178
|
+
failure mode** โ a seat that cannot name how it goes wrong will not flag it when it does.
|
|
179
|
+
|
|
180
|
+
| Roster | Lenses |
|
|
181
|
+
|---|---|
|
|
182
|
+
| Value | Buffett ยท Munger ยท Duan Yongping ยท Li Lu |
|
|
183
|
+
| Classic value | Graham ยท Fisher ยท Lynch ยท Marks ยท Klarman |
|
|
184
|
+
| Adversarial | Soros ยท Druckenmiller ยท Dalio ยท Burry ยท short seller |
|
|
185
|
+
| Quant | Simons ยท Asness ยท Thorp |
|
|
186
|
+
| Options | Taleb ยท Natenberg ยท Sinclair |
|
|
187
|
+
| Modern | Aschenbrenner |
|
|
188
|
+
|
|
189
|
+
Masters read the **same established facts** the analysts read โ filings, quotes, financials,
|
|
190
|
+
macro โ and receive the analyst packets separately, labelled as other seats' readings rather
|
|
191
|
+
than as fact. That separation is the point: the bench is worth having only because Munger
|
|
192
|
+
looks at incentives where an analyst looked at margins. See [docs/attribution.md](docs/attribution.md).
|
|
193
|
+
|
|
194
|
+
## ๐งฉ Architecture
|
|
195
|
+
|
|
196
|
+
```mermaid
|
|
197
|
+
flowchart TD
|
|
198
|
+
U["@alphacouncil-agent<br/>ticker / question"] --> G[("Established facts<br/>filings ยท quotes ยท macro ยท options")]
|
|
199
|
+
G --> AG{{"Analyst council"}}
|
|
200
|
+
G --> MS{{"Master bench<br/>21 lenses"}}
|
|
201
|
+
AG --> A1["๐ Market data"]
|
|
202
|
+
AG --> A2["๐ฐ Earnings"]
|
|
203
|
+
AG --> A3["โ๏ธ Valuation"]
|
|
204
|
+
AG --> A4["๐งฎ Quant factors"]
|
|
205
|
+
AG --> A5["๐๏ธ Insider / SEC"]
|
|
206
|
+
AG --> A6["๐ฐ News / narrative"]
|
|
207
|
+
A1 --> EV[("Evidence base<br/>sourced packets")]
|
|
208
|
+
A2 --> EV
|
|
209
|
+
A3 --> EV
|
|
210
|
+
A4 --> EV
|
|
211
|
+
A5 --> EV
|
|
212
|
+
A6 --> EV
|
|
213
|
+
EV -.->|"read as interpretation,<br/>not as fact"| MS
|
|
214
|
+
EV --> VF{{"Verifiers<br/>fidelity ยท re-derive ยท refute"}}
|
|
215
|
+
VF -->|"failed checks<br/>down-weight the seat"| PM
|
|
216
|
+
MS --> BULL["๐ Bull"]
|
|
217
|
+
MS --> BEAR["๐ป Bear"]
|
|
218
|
+
EV --> BULL
|
|
219
|
+
EV --> BEAR
|
|
220
|
+
BULL --> PM{{"Portfolio manager"}}
|
|
221
|
+
BEAR --> PM
|
|
222
|
+
PM --> R[["final_report.md<br/>verdict + entry price bands"]]
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
The masters branch off the facts, not off the packets. Feeding 21 lenses one analyst's
|
|
226
|
+
selection of what mattered would give them all the same blind spot โ a large and perfectly
|
|
227
|
+
correlated error โ and would remove the reason for having a bench at all.
|
|
228
|
+
|
|
229
|
+
Key files:
|
|
230
|
+
|
|
231
|
+
- `.codex-plugin/plugin.json` - Codex plugin metadata.
|
|
232
|
+
- `.mcp.json` - MCP server wiring.
|
|
233
|
+
- `assets/logo.png` - plugin icon used by Codex.
|
|
234
|
+
- `skills/alphacouncil-agent/SKILL.md` - runtime instructions for Codex.
|
|
235
|
+
- `mcp/server.mjs` - JSON-RPC MCP server and workflow implementation.
|
|
236
|
+
- `scripts/selfcheck.mjs` - minimal regression check.
|
|
237
|
+
|
|
238
|
+
## ๐ Codex vs Claude Code edition
|
|
239
|
+
|
|
240
|
+
Both editions share the same workflow, JSON packet contract, audit artifacts, the no-API-keys / live-web evidence model, and the same disclaimer. The Claude Code edition changes only *how* the council is run.
|
|
241
|
+
|
|
242
|
+
| | Codex edition | Claude Code edition |
|
|
243
|
+
|---|---|---|
|
|
244
|
+
| Council execution | `codex exec` workers, concurrency-capped | All 11 analysts as parallel `Task` subagents, one fan-out |
|
|
245
|
+
| Per-analyst context | Separate process | Separate subagent, full isolated context window |
|
|
246
|
+
| Evidence | `codex exec --search` | `WebSearch` + `WebFetch` in each analyst's own context |
|
|
247
|
+
| Evidence โ debate | Sequential | Hard barrier on the run's phase machine |
|
|
248
|
+
| Debate depth | 3 rounds (case / rebuttal / Q&A), server-run | 3 rounds, bull + bear in parallel per round |
|
|
249
|
+
| Claim verification | Missing-source gate (run flagged, report banner) | + per-claim adversarial verify: re-fetch cited URL, re-derive, refute *(host-driven)* |
|
|
250
|
+
| Full-run enforcement | Incomplete runs marked `incomplete` (server gate) | Same gate, plus a hard barrier before debate |
|
|
251
|
+
| Model & cost | One model | **Pick per role** โ evidence on Sonnet, debate/verdict on Opus 4.8 (or all-Opus / all-Sonnet) |
|
|
252
|
+
| Language | User's language | User's language across every subagent + the live workflow |
|
|
253
|
+
|
|
254
|
+
**Honest scope:** same model family, same prompts, same audit contract โ the win is context isolation, always-on parallel fan-out, and deterministic gates, *not* a smarter model. As of **v0.3.0** the shared server runs the 3-round debate, enforces missing-source / full-run / report-quality gates, writes concise and full report artifacts, and supports native Windows Codex CLI launching. As of **v0.3.1**, the plugin also bundles `agent-skills-governance`, an `addyosmani/agent-skills`-style anti-laziness skill with explicit stop gates and exit criteria. The Claude Code edition adds parallel per-round execution and host-driven per-claim verification. Live-web staleness and paywalls limit both editions equally.
|
|
255
|
+
|
|
256
|
+
## Data Contract
|
|
257
|
+
|
|
258
|
+
Evidence agents return JSON packets:
|
|
259
|
+
|
|
260
|
+
```json
|
|
261
|
+
{
|
|
262
|
+
"task": "market_data",
|
|
263
|
+
"symbol": "AAPL",
|
|
264
|
+
"as_of": "YYYY-MM-DD",
|
|
265
|
+
"summary": "string",
|
|
266
|
+
"claims": [
|
|
267
|
+
{
|
|
268
|
+
"claim": "string",
|
|
269
|
+
"evidence": "string",
|
|
270
|
+
"confidence": "high|medium|low",
|
|
271
|
+
"source_ids": ["market_data:S1"]
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"metrics": {},
|
|
275
|
+
"sources": [
|
|
276
|
+
{
|
|
277
|
+
"id": "market_data:S1",
|
|
278
|
+
"title": "string",
|
|
279
|
+
"url": "https://example.com",
|
|
280
|
+
"published_at": "YYYY-MM-DD or unknown",
|
|
281
|
+
"retrieved_at": "YYYY-MM-DD"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"open_questions": ["missing data item"],
|
|
285
|
+
"confidence": "high|medium|low"
|
|
286
|
+
}
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
All source IDs are task-scoped as `<task>:<source_id>`. Missing data must be reported in `open_questions` and in the final report's data-gap section.
|
|
290
|
+
|
|
291
|
+
## Run Locally
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
npm run check
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
The check validates:
|
|
298
|
+
|
|
299
|
+
- MCP server syntax
|
|
300
|
+
- tool schema exposure
|
|
301
|
+
- source ID scoping
|
|
302
|
+
- default real-run behavior
|
|
303
|
+
- visible-run recording
|
|
304
|
+
- `events.jsonl`, `status.json`, `all_agents.md`, `source_manifest.json`
|
|
305
|
+
- `final_report.md`, `user_response.md`, `artifact_index.md`, `report_quality.json`
|
|
306
|
+
- one Markdown file per evidence analyst plus bull, bear, and portfolio manager
|
|
307
|
+
- final report includes analyst work log, bull/bear debate record and data gaps
|
|
308
|
+
|
|
309
|
+
## Codex Install Shape
|
|
310
|
+
|
|
311
|
+
The plugin expects this local layout:
|
|
312
|
+
|
|
313
|
+
```text
|
|
314
|
+
.codex-plugin/plugin.json
|
|
315
|
+
.mcp.json
|
|
316
|
+
skills/alphacouncil-agent/SKILL.md
|
|
317
|
+
mcp/server.mjs
|
|
318
|
+
scripts/selfcheck.mjs
|
|
319
|
+
package.json
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
`.mcp.json` runs:
|
|
323
|
+
|
|
324
|
+
```json
|
|
325
|
+
{
|
|
326
|
+
"mcpServers": {
|
|
327
|
+
"alphacouncil-agent": {
|
|
328
|
+
"command": "node",
|
|
329
|
+
"args": ["./mcp/server.mjs"],
|
|
330
|
+
"cwd": "."
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
## Notes
|
|
337
|
+
|
|
338
|
+
This is an independent Codex plugin implementation. It uses a multi-agent investment-committee workflow: analyst teams, evidence sharing, bull/bear debate and portfolio-manager synthesis.
|
|
339
|
+
|
|
340
|
+
No API keys, brokerage credentials, private filings or generated run artifacts should be committed.
|
|
341
|
+
|
|
342
|
+
## โญ Star History
|
|
343
|
+
|
|
344
|
+
<div align="center">
|
|
345
|
+
|
|
346
|
+
<a href="https://star-history.com/#Zhao73/alphacouncil-agent&Date">
|
|
347
|
+
<img src="https://api.star-history.com/svg?repos=Zhao73/alphacouncil-agent&type=Date" width="640" alt="Star History Chart" />
|
|
348
|
+
</a>
|
|
349
|
+
|
|
350
|
+
<br/><br/>
|
|
351
|
+
|
|
352
|
+
<picture>
|
|
353
|
+
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.png" />
|
|
354
|
+
<img src="assets/logo.png" alt="AlphaCouncil" width="120" />
|
|
355
|
+
</picture>
|
|
356
|
+
|
|
357
|
+
If AlphaCouncil saved you time, consider leaving a โญ โ it genuinely helps.
|
|
358
|
+
|
|
359
|
+
<a href="#readme-top">โ Back to top</a>
|
|
360
|
+
|
|
361
|
+
</div>
|