{"id":"a4a8c301-62a0-409e-97b2-6cae5cd4ee49","entityType":"agent","slug":"crewai-mingyuejianzhao-stock-ai-agent-cli","name":"stock-ai-agent-cli","canonicalUrl":"https://www.xpersona.co/agent/crewai-mingyuejianzhao-stock-ai-agent-cli","canonicalPath":"/agent/crewai-mingyuejianzhao-stock-ai-agent-cli","generatedAt":"2026-10-09T00:23:58.721Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":null},"description":"CrewAI multi-agent stock CLI for China A-shares: Fear & Greed proxy + structured JSON output CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数｜股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares) $1 $1 $1 $1 一句话 / One‑liner：基于 CrewAI 的多 Agent 架构（Bull/Bear/Hold/Judge）+ “Fear & Greed（代理）” 市场情绪快照，输出可直接接入工作流的结构化 JSON。 亮点 / Highlights - CrewAI 多 Agent 辩论：Bull / Bear / Hold / Judge - A 股市场情绪快照：Fear & Greed（proxy，非官方指数） - 结构化输出：JSON 结果可直接接入自动化/工作流 - 双语界面：中英文 --lang zh|en - 漂亮的终端输出：rich（可选，未安装也能跑） 中文 / English - $1","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 3 GitHub stars reported by the source. Last updated 5/31/2026.","installCommand":"git clone https://github.com/mingyuejianzhao/stock-ai-agent-cli.git","sourceUrl":"https://github.com/mingyuejianzhao/stock-ai-agent-cli","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/mingyuejianzhao/stock-ai-agent-cli","kind":"source"}],"safetyScore":66,"overallRank":23.4,"popularityScore":15,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"CrewAI multi-agent stock CLI for China A-shares: Fear & Greed proxy + structured JSON output CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数｜股票分析 CLI / CrewAI Multi‑Agent + Fear"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"crewai","status":"self-declared"},{"label":"multi-agent","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"crewai","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"multi-agent","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:crewai|supported|profile capability:multi-agent|supported|profile"}},"adoption":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"medium","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":null},"stars":3,"forks":1,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":"3 GitHub stars"},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":null},"lastUpdatedAt":"2026-05-31T06:18:45.594Z","lastCrawledAt":"2026-05-31T06:18:45.594Z","lastIndexedAt":null,"nextCrawlAt":"2026-06-07T06:18:45.594Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"git clone https://github.com/mingyuejianzhao/stock-ai-agent-cli.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T00:23:58.721Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/crewai-mingyuejianzhao-stock-ai-agent-cli/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":null},"readme":"# CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数｜股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares)\n\n[![Python](https://img.shields.io/badge/Python-3.11%2B-blue)](https://www.python.org/)\n[![Platform](https://img.shields.io/badge/Platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey)](#)\n[![CrewAI](https://img.shields.io/badge/CrewAI-Multi--Agent-6f42c1)](https://github.com/crewAIInc/crewAI)\n[![GitHub stars](https://img.shields.io/github/stars/mingyuejianzhao/stock-ai-agent-cli?style=social)](https://github.com/mingyuejianzhao/stock-ai-agent-cli/stargazers)\n\n一句话 / One‑liner：基于 CrewAI 的多 Agent 架构（Bull/Bear/Hold/Judge）+ “Fear & Greed（代理）” 市场情绪快照，输出可直接接入工作流的结构化 JSON。\n\n亮点 / Highlights\n- CrewAI 多 Agent 辩论：Bull / Bear / Hold / Judge\n- A 股市场情绪快照：Fear & Greed（proxy，非官方指数）\n- 结构化输出：JSON 结果可直接接入自动化/工作流\n- 双语界面：中英文 `--lang zh|en`\n- 漂亮的终端输出：`rich`（可选，未安装也能跑）\n\n中文 / English\n- [中文介绍](#中文介绍)\n- [English Overview](#english-overview)\n\n---\n\n## 中文介绍\n\n这是一个命令行小工具：输入 A 股股票代码与天数，程序会抓取最近 N 天的收盘价与市场情绪信息（含“恐惧与贪婪指数”代理指标），并基于 CrewAI 的多 Agent 架构让大模型以“看多 / 看空 / 持有 / 最终决策”四个角色输出结构化 JSON 分析结果。\n\n适合用来：\n- 快速得到结构化结论（便于接入你自己的工作流/自动化）\n- 观察多方观点冲突点（Bull vs Bear vs Hold）\n- 结合情绪指标（Fear & Greed proxy）做市场氛围参考\n\n如果这个项目对你有帮助，欢迎点一个 Star（对开源项目非常重要）。\n\n## English Overview\n\nA CLI tool for China A-shares: fetches recent prices + market context (including a proxy “Fear & Greed Index”), then runs a CrewAI-based multi-agent debate (Bull / Bear / Hold / Judge) and outputs structured JSON insights.\n\nGreat for:\n- Structured outputs (easy to integrate)\n- Multi-perspective debate (pros/cons/neutral)\n- Quick sentiment snapshot via Fear & Greed proxy\n\nIf you find this useful, please consider starring the repo.\n\n---\n\n## 目录 / Table of Contents\n\n- [运行环境](#运行环境)\n- [安装依赖](#安装依赖)\n- [快速开始（中文）](#快速开始中文)\n- [配置密钥（不要提交到 GitHub）](#配置密钥不要提交到-github)\n- [Quick Start (English)](#quick-start-english)\n- [示例输出 / Demo Output](#示例输出--demo-output)\n- [架构 / Architecture](#架构--architecture)\n- [恐惧与贪婪指数（说明）](#恐惧与贪婪指数说明)\n- [Fear & Greed Index (What it is)](#fear--greed-index-what-it-is)\n- [依赖清单（需要下载）](#依赖清单需要下载)\n\n## 运行环境\n\n- Python 3.11+（建议使用虚拟环境）\n\n## 安装依赖\n\n```bash\npip install -r requirements.txt\n```\n\n## 快速开始（中文）\n\n启动：\n\n```bash\npython main.py\n```\n\n按提示输入：\n\n- 仅股票代码：`600519`\n- 股票代码 + 天数：`600519 5`\n- 也支持显式交易所后缀：`600519.SS` / `000001.SZ`\n\n退出：输入 `exit`\n\n## 配置密钥（不要提交到 GitHub）\n\n本项目通过阿里云百炼（DashScope）的 OpenAI 兼容接口调用模型。\n\n1) 复制环境变量模板：\n\n```bash\ncopy .env.example .env\n```\n\n2) 编辑 `.env`，填入你的密钥：\n\n- `DASHSCOPE_API_KEY`：必填\n- `DASHSCOPE_BASE_URL`：可选（默认 `https://dashscope.aliyuncs.com/compatible-mode/v1`）\n\n说明：项目已在 `.gitignore` 中忽略 `.env`，公开仓库不会上传你的密钥。\n\n## Quick Start (English)\n\nRun:\n\n```bash\npython main.py\n```\n\nExamples:\n\n- Ticker only: `600519`\n- Ticker + days: `600519 5`\n- With exchange suffix: `600519.SS` / `000001.SZ`\n\nQuit: type `exit`\n\nOptional flags:\n\n```bash\npython main.py 600519 5 --lang en\npython main.py 600519 5 --json\n```\n\n## 示例输出 / Demo Output\n\n<details>\n<summary>展开 / Expand</summary>\n\n示例输出为示意（字段结构与真实一致，具体内容会随输入与市场数据变化）。\n\n```text\nSummary\n- Decision: HOLD\n- Trend: sideways\n- Confidence: 0.62\n- Winner: HOLD\n\nFear & Greed Index\n- Score: 54.10\n- Rating: Neutral\n- Source: AShare Proxy (breadth + northbound)\n```\n\n</details>\n\n## 架构 / Architecture\n\n```mermaid\nflowchart LR\n    A[AkShare Market Data] --> B[Input Pack\\nPrices + Market Context]\n    B --> C1[Bull Agent]\n    B --> C2[Bear Agent]\n    B --> C3[Hold Agent]\n    C1 --> J[Judge Agent]\n    C2 --> J\n    C3 --> J\n    J --> O[Structured JSON Output]\n```\n\n## 恐惧与贪婪指数（说明）\n\n这里的“恐惧与贪婪指数”不是官方指数，而是一个 A 股市场情绪的代理指标（proxy），基于：\n\n- 市场涨跌家数/涨跌幅分布（breadth）\n- 涨停/跌停的强弱\n- 北向资金净流入（若可获取）\n\n输出字段：\n\n- `score`：0~100，越高越偏“贪婪”\n- `rating`：Extreme Fear / Fear / Neutral / Greed / Extreme Greed\n\n## Fear & Greed Index (What it is)\n\nThis project shows a *proxy* Fear & Greed Index for China A-shares (not an official index). It’s derived from:\n\n- Market breadth (advancers/decliners)\n- Limit-up vs limit-down strength\n- Northbound net inflow (when available)\n\nFields:\n\n- `score`: 0~100 (higher means more “greed”)\n- `rating`: Extreme Fear / Fear / Neutral / Greed / Extreme Greed\n\n---\n\n免责声明 / Disclaimer\n- 本项目仅用于学习与信息展示，不构成任何投资建议。\n- This is for educational/informational purposes only. Not financial advice.\n\n## 依赖清单（需要下载）\n\n- `akshare`：拉取 A 股行情数据与市场情绪信息\n- `crewai`：多角色 Agent 编排\n- `openai`：调用 OpenAI 兼容接口（DashScope Compatible Mode）\n- `python-dotenv`：从 `.env` 加载环境变量（可选但推荐）\n- `rich`：更美观的命令行界面输出\n","readmeExcerpt":"CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数｜股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares) $1 $1 $1 $1 一句话 / One‑liner：基于 CrewAI 的多 Agent 架构（Bull/Bear/Hold/Judge）+ “Fear & Greed（代理）” 市场情绪快照，输出可直接接入工作流的结构化 JSON。 亮点 / Highlights - CrewAI 多 Agent 辩论：Bull / Bear / Hold / Judge - A 股市场情绪快照：Fear & Greed（proxy，非官方指数） - 结构化输出：JSON 结果可直接接入自动化/工作流 - 双语界面：中英文 --lang zh|en - 漂亮的终端输出：rich（可选，未安装也能跑） 中文 / English - $1 ","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"pip install -r requirements.txt"},{"language":"bash","snippet":"python main.py"},{"language":"bash","snippet":"copy .env.example .env"},{"language":"bash","snippet":"python main.py"},{"language":"bash","snippet":"python main.py 600519 5 --lang en\npython main.py 600519 5 --json"},{"language":"text","snippet":"Summary\n- Decision: HOLD\n- Trend: sideways\n- Confidence: 0.62\n- Winner: HOLD\n\nFear & Greed Index\n- Score: 54.10\n- Rating: Neutral\n- Source: AShare Proxy (breadth + northbound)"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["python"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"CrewAI multi-agent stock CLI for China A-shares: Fear & Greed proxy + structured JSON output CrewAI 多 Agent 辩论 + A 股恐惧与贪婪指数｜股票分析 CLI / CrewAI Multi‑Agent + Fear & Greed Stock CLI (China A‑shares) $1 $1 $1 $1 一句话 / One‑liner：基于 CrewAI 的多 Agent 架构（Bull/Bear/Hold/Judge）+ “Fear & Greed（代理）” 市场情绪快照，输出可直接接入工作流的结构化 JSON。 亮点 / Highlights - CrewAI 多 Agent 辩论：Bull / Bear / Hold / Judge - A 股市场情绪快照：Fear & Greed（proxy，非官方指数） - 结构化输出：JSON 结果可直接接入自动化/工作流 - 双语界面：中英文 --lang zh|en - 漂亮的终端输出：rich（可选，未安装也能跑） 中文 / English - $1","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":378,"uniquenessScore":61,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-05-31T06:18:45.594Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T00:23:58.721Z","emptyReason":null},"items":[{"id":"959108e7-5f7c-45ac-bea0-9ab67f017226","entityType":"agent","canonicalPath":"/agent/langchain-x1pay-langchain","slug":"langchain-x1pay-langchain","name":"@x1pay/langchain","description":"LangChain/LangGraph tools for AI agent x402 payments on X1","url":"https://www.npmjs.com/package/@x1pay/langchain","homepage":null,"source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:07.099Z","createdAt":"2026-05-23T06:52:58.553Z","downloads":null},{"id":"4f8f8f95-34f7-49a9-b516-391d1c355d6c","entityType":"agent","canonicalPath":"/agent/langchain-langchain-langgraph-swarm","slug":"langchain-langchain-langgraph-swarm","name":"@langchain/langgraph-swarm","description":"An implementation of a multi-agent swarm using LangGraph","url":"git+ssh://git@github.com/langchain-ai/langgraphjs.git","homepage":"https://github.com/langchain-ai/langgraphjs#readme","source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:03.792Z","createdAt":"2026-05-23T06:52:55.396Z","downloads":null},{"id":"e36fd59b-38d7-4e73-aa20-c1431a8f7434","entityType":"agent","canonicalPath":"/agent/langchain-langchain-langgraph-supervisor","slug":"langchain-langchain-langgraph-supervisor","name":"@langchain/langgraph-supervisor","description":"LangGraph Multi-Agent Supervisor","url":"git+ssh://git@github.com/langchain-ai/langgraphjs.git","homepage":"https://github.com/langchain-ai/langgraphjs#readme","source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:03.756Z","createdAt":"2026-05-23T06:52:55.353Z","downloads":null},{"id":"d1d0f93e-b722-4791-9bbf-2532470054c2","entityType":"agent","canonicalPath":"/agent/langchain-oceanbus-langchain","slug":"langchain-oceanbus-langchain","name":"oceanbus-langchain","description":"LangChain tools for OceanBus — give your LangChain and CrewAI agents a global identity, encrypted messaging, and Yellow Pages service discovery with a single import.","url":"git+https://github.com/oceanbus/oceanbus.git","homepage":"https://github.com/oceanbus/oceanbus#readme","source":"GITHUB_OPENCLEW","protocols":["OPENCLAW"],"capabilities":["oceanbus","langchain","langchain-tools","agent-to-agent","ai-agent","communication","messaging","e2ee","structured-tool","yellow-pages","service-discovery","reputation","crewai"],"safetyScore":70,"overallRank":65,"updatedAt":"2026-06-01T00:29:02.595Z","createdAt":"2026-05-23T06:52:54.240Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}