AI Skill
Operate PineconeX from your AI agent
A ready-made skill that lets Claude, Claude Code or ChatGPT drive your PineconeX account in plain language — validate a Pine Script® v6 strategy, run a backtest or a parameter sweep, check whether the edge is statistically real, and launch or stop a live bot. Your API key stays on your own machine.
Included on every plan, including the free tier. No credit card required.
What it is
The PineconeX AI Skill is a documented instruction set plus an OpenAPI specification that teaches an AI agent how to use the PineconeX web API. Load it once and the agent knows the endpoints, the workflow and the traps — which objective to optimise for, why a significance test on a swept winner has to repeat the same search that produced it, and which defaults quietly ruin a result. It is the platform's own operating knowledge, not a generic API wrapper.
What your agent can do
Everything you can do in the web interface, with one deliberate exception: the agent never decides what to trade.
Strategies
- Create a strategy from Pine Script® v6 source, or import one from your connected GitHub repository
- Validate it against the interpreter before spending a job
- List, read, update and delete your own strategies
- Read compile errors, warnings and declared inputs in full
Testing & optimization
- Run a backtest over any supported symbol and timeframe
- Sweep parameters with grid, random or RBF search
- Optimise on a built-in objective or your own formula
- Run a permutation significance test and read the p-value
- Stress a configuration across synthetic markets
Live bots
- Launch a live bot on a broker account you have already connected
- Monitor status and order events while it runs
- Stream or fetch the bot's log
- Stop a running bot
Results & data
- Fetch metrics, trade logs and equity curves as JSON
- Request a descriptive AI analysis of one run or a comparison of several
- Download and cache historical OHLCV for a symbol
- List available symbols, data sources and cached datasets
Works with
The skill is plain Markdown plus an OpenAPI spec, and the API underneath is ordinary REST with a Bearer key. Any agent that can run a shell command reads the skill directly; anything else imports the OpenAPI spec as an action.
Claude Code
Reference the skill in your repository and drive the whole platform from the terminal, alongside the code you are writing.
Skill fileClaude Cowork
Anthropic's desktop agent runs shell commands, so it reads the same skill. Allowlist pineconex.com in its network policy first — the sandbox proxy blocks anything else.
Skill fileCodex
Point OpenAI's coding agent at the skill and it operates your account from its own sandbox shell.
Skill fileGemini CLI
Load the skill as context and run backtests or sweeps straight from the command line.
Skill fileGitHub Copilot
Copilot's agent mode in VS Code runs the same shell calls against your account.
Skill fileChatGPT
Import the bundled openapi.yaml as a ChatGPT Action and talk to your account from a conversation — no shell required.
OpenAPI actionAny agent
Anything else that speaks HTTP — your own agent, a script, a scheduled job. The reference documents every endpoint.
OpenAPI actionWhy a skill, and not an MCP server
Every client above can already call an HTTP API. Putting an MCP server in front of that would add a process to run and a hop to trust without adding a single capability — so we ship the knowledge instead of the plumbing.
Nothing in the middle
An MCP server is another process to install, run and keep alive. The skill is a file your agent reads. Your agent talks to the API directly, and nothing new ever holds your key.
Instructions, not just endpoints
A tool manifest lists what can be called. The skill also carries how the platform is actually used — which objective to optimise, when a p-value is misleading, which defaults quietly ruin a run. That part is most of the value.
The API is the contract
Whatever you drive it from, it is the same documented REST API and the same OpenAPI spec. Nothing is tied to one protocol, so any transport we add later is additive rather than a migration.
Setup
Three steps, a couple of minutes, and no server to run — the skill talks to the API from wherever your agent already is.
Mint an API key
Sign in and create a personal API key under Account → API keys. Keys are shown once, can be revoked at any time, and are scoped to your own account.
Put it in your environment
Export PINECONEX_API_KEY in your shell profile, or place it wherever your agent keeps credentials. The skill reads the variable, so the key itself never appears in the conversation.
Point your agent at the skill
Reference the public skill repository, or import references/openapi.yaml as a ChatGPT Action. There is nothing to install and no service to keep running.
export PINECONEX_API_KEY=pcx_live_…Then just ask
“Validate my breakout strategy, backtest it on AAPL daily from 2020 to 2024, then sweep the lookback and tell me whether the result is significant.”
Control and safety
Your key stays with you
The skill reads PINECONEX_API_KEY from your own environment and is instructed never to print or echo it. Nothing is proxied through a third party — your agent talks to the PineconeX API directly.
Your strategy code stays private
Pine Script® source is only ever sent to your own PineconeX account. The optional AI analysis sees the performance numbers, never the code.
Live trading is confirmed, never assumed
A live bot trades a real broker account. The skill instructs the agent to confirm the symbol, the broker and your intent before launching or stopping one, and to surface quota and rate-limit errors instead of retrying blindly.
It operates the platform, not the market
The agent runs the strategies you wrote. It does not choose instruments for you, does not place discretionary orders, and does not recommend what to buy or sell. Nothing PineconeX produces is investment advice.
Availability
The AI Skill is part of the PineconeX web API, which is available on every plan including the free tier — what a paid plan buys is capacity, not access. Backtests, parameter sweeps and live trading run on all plans; significance and stress testing require Premium.
Start on the free tier
Create an account, mint a key, and have your agent run its first backtest in a few minutes. No credit card required.