FaustoS88/Pydantic-AI-Pinescript-Expert

PineScript Expert: A Retrieval-Augmented Generation (RAG) agent using Pydantic AI that provides accurate Pine Script v6 guidance. It answers questions, offers code examples, and generates custom indicators/strategies for TradingView. Combines vector search with LLM capabilities for precise Pine Script programming assistance.

55
/ 100
Established

Implements a two-tier RAG pipeline with hybrid BM25+vector search, recursive chunking, and Anthropic Contextual Retrieval, achieving 0.833 faithfulness and 92% context relevance on code generation tasks. Built on PostgreSQL with pgvector for semantic storage, supports both OpenAI and OpenRouter LLM backends, and exposes the agent through Streamlit web UI, interactive CLI, and programmatic Python API for integration into trading workflows.

No Package No Dependents
Maintenance 13 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

42

Forks

16

Language

Python

License

MIT

Last pushed

Mar 09, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/FaustoS88/Pydantic-AI-Pinescript-Expert"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.