This repository contains specialized agent instructions for the Pinecone vector database, designed to be integrated into your AI coding assistant's configuration file.
AGENTS.md is an open format used by over 20k open-source projects and is supported by most coding assistants including Cursor, Aider, GitHub Copilot, and many others.
This repository provides comprehensive Pinecone documentation organized into the .agents/ folder:
- PINECONE.md - Universal concepts, CLI vs SDK guidance, common patterns, and navigation guide
 - PINECONE-quickstart.md - Step-by-step tutorials (Quick Test, Search, RAG, Recommendations)
 - PINECONE-cli.md - CLI installation, authentication, and command reference
 - PINECONE-python.md - Python SDK guide with code examples
 - PINECONE-typescript.md - TypeScript/Node.js SDK guide with code examples
 - PINECONE-go.md - Go SDK guide with code examples
 - PINECONE-java.md - Java SDK guide with code examples
 - PINECONE-troubleshooting.md - Common issues, solutions, and debugging tips
 
This project leverages the AGENTS.md format to enhance your AI coding assistant's understanding of Pinecone. Here's how the integration works:
AGENTS.md (or CLAUDE.md for Claude Code) is a configuration file that lives in your project root and contains directives for your AI coding assistant. When you add a section about Pinecone, you're telling your assistant: "When users ask about Pinecone, follow these special instructions."
- 
Installation: When you download and extract a release, two key components are added to your project:
.agents/folder: Contains comprehensive Pinecone documentation files organized by topic and language- Configuration snippet: A directive added to your 
AGENTS.mdthat instructs the assistant to read from the.agents/folder 
 - 
The Instruction Directive: The snippet you add to
AGENTS.mdcontains a mandatory instruction that says:"If you need to help with Pinecone, you MUST read
.agents/PINECONE.mdfirst" - 
How Assistants Use It: When a user asks about Pinecone:
- The assistant reads your 
AGENTS.mdfile - It sees the Pinecone directive and knows to consult 
.agents/PINECONE.mdfirst - The main guide helps the assistant navigate to the appropriate language-specific or topic-specific documentation
 - The assistant provides accurate, context-aware answers based on the comprehensive documentation
 
 - The assistant reads your 
 - 
Benefits: This approach ensures:
- Consistency: All assistants have access to the same, up-to-date Pinecone documentation
 - Accuracy: Language-specific guides prevent common mistakes (like using deprecated SDKs)
 - Completeness: The documentation covers CLI vs SDK usage, common patterns, troubleshooting, and more
 - Maintainability: Updates to the Pinecone reference automatically improve assistant responses
 
 
Instead of relying on general knowledge or web searches, your assistant has access to curated, project-specific documentation that includes:
- Current best practices and patterns
 - Language-specific implementations
 - Common pitfalls and how to avoid them
 - Troubleshooting guides for typical issues
 
This makes your assistant more reliable and knowledgeable about Pinecone than it would be with general training data alone.
The general process is to download the latest release, extract the archive, and add the Pinecone section to your assistant's configuration file.
Linux/macOS (Bash/Zsh):
curl -L -o agents.zip https://github.com/pinecone-io/pinecone-agents-ref/releases/latest/download/agents.zip
unzip agents.zip && rm agents.zip
touch AGENTS.md && cat AGENTS-pinecone-snippet.md >> AGENTS.md && rm AGENTS-pinecone-snippet.mdWindows (PowerShell):
Invoke-WebRequest -Uri https://github.com/pinecone-io/pinecone-agents-ref/releases/latest/download/agents.zip -OutFile agents.zip
Expand-Archive -Path agents.zip -DestinationPath . -Force
Remove-Item agents.zip
if (-not (Test-Path AGENTS.md)) { New-Item -Path AGENTS.md -ItemType File }
Add-Content -Path AGENTS.md -Value (Get-Content AGENTS-pinecone-snippet.md)
Remove-Item AGENTS-pinecone-snippet.mdClaude Code uses CLAUDE.md instead of AGENTS.md.
Linux/macOS (Bash/Zsh):
curl -L -o agents.zip https://github.com/pinecone-io/pinecone-agents-ref/releases/latest/download/agents.zip
unzip agents.zip && rm agents.zip
touch CLAUDE.md && cat AGENTS-pinecone-snippet.md >> CLAUDE.md && rm AGENTS-pinecone-snippet.mdWindows (PowerShell):
Invoke-WebRequest -Uri https://github.com/pinecone-io/pinecone-agents-ref/releases/latest/download/agents.zip -OutFile agents.zip
Expand-Archive -Path agents.zip -DestinationPath . -Force
Remove-Item agents.zip
if (-not (Test-Path CLAUDE.md)) { New-Item -Path CLAUDE.md -ItemType File }
Add-Content -Path CLAUDE.md -Value (Get-Content AGENTS-pinecone-snippet.md)
Remove-Item AGENTS-pinecone-snippet.mdThat's it! Your project now has the .agents/ folder with all Pinecone documentation and your configuration file has been updated.
Many coding assistants need to re-index your codebase to recognize the new .agents/ folder and configuration file. Before using Pinecone-related features, either:
- Wait a few moments for automatic re-indexing to complete, or
 - Manually trigger a re-index (if your assistant provides this option)
 
If you start using Pinecone features immediately after installation, your assistant may not yet have access to the Pinecone documentation. Once re-indexing is complete, your assistant will automatically reference the .agents/PINECONE.md files when you ask questions about Pinecone.
After running the commands above, you should have:
your-project/
├── .agents/                         # Agent documentation folder
│   ├── PINECONE.md                  # Main universal guide
│   ├── PINECONE-quickstart.md       # Quickstart tutorials
│   ├── PINECONE-cli.md              # CLI documentation
│   ├── PINECONE-python.md           # Python SDK guide
│   ├── PINECONE-typescript.md       # TypeScript/Node.js SDK guide
│   ├── PINECONE-go.md               # Go SDK guide
│   ├── PINECONE-java.md             # Java SDK guide
│   └── PINECONE-troubleshooting.md  # Troubleshooting guide
└── AGENTS.md                        # Your project's agent guide (with Pinecone section)
The third command appends AGENTS-pinecone-snippet.md to your AGENTS.md. If you already have an AGENTS.md file and want more control over where the Pinecone section is placed:
- Extract the archive: 
unzip agents.zip && rm agents.zip - Open 
AGENTS-pinecone-snippet.mdand copy the "Pinecone (Vector Database)" section - Manually add it to your 
AGENTS.mdwhere you prefer - Remove the snippet file: 
rm AGENTS-pinecone-snippet.md 
To update to a newer version, simply download the latest release and extract the archive. Your configuration file (AGENTS.md or CLAUDE.md if using Claude Code) typically doesn't need changes unless the structure changes.
Linux/macOS (Bash/Zsh):
curl -L -o agents.zip https://github.com/pinecone-io/pinecone-agents-ref/releases/latest/download/agents.zip
rm -rf .agents/PINECONE* && unzip agents.zip && rm agents.zipWindows (PowerShell):
Invoke-WebRequest -Uri https://github.com/pinecone-io/pinecone-agents-ref/releases/latest/download/agents.zip -OutFile agents.zip
Remove-Item .agents\PINECONE*
Expand-Archive -Path agents.zip -DestinationPath . -Force
Remove-Item agents.zipOnce installed, your AI coding assistant will automatically reference the .agents/PINECONE.md files when users ask questions about Pinecone. The main guide provides navigation to language-specific documentation based on the user's needs.
The included GitHub Actions workflow (.github/workflows/release.yml) automatically packages and creates releases when you push a version tag.
Simply tag and push your code:
git tag v1.0.0
git push origin v1.0.0The workflow will automatically:
- Detect the version tag (matches 
v*pattern, e.g.,v1.0.0,v2.1.3) - Create a GitHub release if one doesn't already exist for that tag
 - Package all files from the 
.agents/folder - Include the 
AGENTS-pinecone-snippet.mdfile for easy integration - Create both 
agents.zipandagents.tar.gzarchives - Attach both archives to the release as downloadable assets
 
The workflow triggers automatically on tag push (push: tags: v*) and:
- Extracts the tag name (e.g., 
v1.0.0) - Checks if a GitHub release already exists for that tag
- If a release exists → uses that release and attaches assets
 - If no release exists → creates a new release automatically
 
 - Packages the following files:
- All files from 
.agents/folder (8 Pinecone documentation files) AGENTS-pinecone-snippet.mdfile
 - All files from 
 - Creates archives with the structure:
archive/ ├── .agents/ │ ├── PINECONE.md │ ├── PINECONE-quickstart.md │ ├── PINECONE-cli.md │ ├── PINECONE-python.md │ ├── PINECONE-typescript.md │ ├── PINECONE-go.md │ ├── PINECONE-java.md │ └── PINECONE-troubleshooting.md └── AGENTS-pinecone-snippet.md - Uploads both 
agents.zipandagents.tar.gzto the release 
You can still create releases manually through the GitHub UI if you prefer. If you create a release for a tag that doesn't have assets yet, you can manually trigger the workflow or just push the tag again to have it run automatically.
Issues and pull requests are welcome! Please see the repository's contribution guidelines (if available).
This project is licensed under the Apache License 2.0. See the LICENSE file for details.