Show HN: OpenChart – OSS TradingView alternative with your own AI agent
OpenChart is an open-source TradingView-style desktop charting app (Electron, Node.js/Bun, Effect runtime) that embeds AI agents into statistical/technical analysis, real-time market alerts and agentic opportunity research. It ships a custom DSL called Tea (inspired by TradingView's Pine Script) for writing indicators, and a conversation interface built on assistant-ui and the AG-UI event protocol so users converse with agents while charting.
What it claims
OpenChart is a desktop charting app from longsurf-ai that puts AI agents into technical and statistical analysis, market alerts and research. The page gives no benchmarks or capability numbers. Its value to an engineer is practical: how to run it, what it costs, and what licence it ships under. The authors say the project is not built to monetize software, but to explore humans and agents managing assets together.
How to use it
- Prebuilt binary: the only one offered is Desktop for macOS on Apple Silicon, delivered as a disk image.
- From source: the page pins these exact toolchain versions: Node.js 24, npm 11.11.1, Bun 1.4.2, plus the Just command runner. Then run:
git clone https://github.com/longsurf-ai/openchart.git
cd openchart
just install --frozen-lockfile
just desktopjust install also initializes and builds the Tea language toolchain. Tea is maintained by the same team, so a source build compiles the Tea compiler and runtime as well. The repo links a setup guide for your first chart and alert, and a development guide for building and packaging.
- Contributing: run
just checkbefore submitting a PR. Contributions can target the built-in indicators ("studies") or the Tea compiler and runtime. Tea adapts geometry algorithms from Mikola Lysenko's robust-orientation and from Kevin Lindsey's kld-intersections. - Stack and costs:
- UI components come from shadcn/ui, Radix UI and Base UI.
- Effect provides the runtime, concurrency and error handling. OpenCode is credited as a major inspiration and as the project through which the team found Effect.
- Desktop is free.
- AI usage is billed under your own agent provider's plan. You bring the provider; no bundled model is mentioned.
- The optional Cloud market data is priced separately. The page gives no figures.
Limits
- Not plain Apache 2.0. The licence is the "OpenChart License", based on Apache 2.0 with additional conditions. Commercial use has its own terms, and commercial licensing goes through legal@longsurf.ai. Read the licence file before you embed or redistribute it.
- Platform: no Windows, Linux or Intel-Mac binaries are listed. Other platforms mean building from source with no stated support.
- Market data: the page doesn't say which data sources work without the paid Cloud tier.
- Agents: the page doesn't say which agent providers or models are supported.
- Security: vulnerabilities go privately to security@longsurf.ai, not to public issues.
Organisations named here
- Longsurf
- TradingView
- longsurf.ai
- OpenCode
Technologies named here
- OpenChart
- Tea
- OpenCode
- Dify
- assistant-ui
- AG-UI
- Effect
- Jan
- TradingView's Pine Script
- shadcn/ui
- Radix UI
- Base UI
- Node.js
- npm
- Bun
- Just
- robust-orientation
- kld-intersections
- Electron
- React
Techniques named here
- Agentic research
Related in agents



