pinecone-research

Implements agent RAG pipelines and namespace-based long-term memory using Pinecone vector indexes.

Updated Sep 10, 2026
One-click install
npx skills add https://github.com/loteiron/ZeusAgent --skill pinecone-research-loteiron
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pinecone-research
Source: https://github.com/loteiron/ZeusAgent/tree/main/optional-skills/research/pinecone-research
Command: npx skills add https://github.com/loteiron/ZeusAgent --skill pinecone-research-loteiron

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pinecone-client, langchain-pinecone, langchain-openai, and includes scripts (resource) components.

What problem does it solve? Agents lose context between sessions, and building retrieval-augmented generation pipelines requires wiring together embedding models, vector indexes, and query logic. This Skill provides ready-to-use scripts and patterns for persisting agent memory and retrieving relevant context with Pinecone. ## Core Features & Use Cases - Session-Scoped Memory: Store and recall conversation memory in isolated Pinecone namespaces per session, with cross-session search available through the global namespace. - Document RAG Pipeline: Index directories of text documents into a Pinecone index with batched upserts, then query them with embedding-based similarity search. - Index Management: Create serverless indexes on demand, inspect vector counts per namespace, and clean up stale session data to control costs. - Use Case: An agent handling multi-day research sessions stores each day's findings under a session namespace, then recalls relevant prior decisions when the user asks about earlier architecture discussions. ## Quick Start Set the PINECONE_API_KEY and OPENAI_API_KEY environment variables, then ask the agent to store a memory or query the agent-memory index using the provided scripts.

Frequently Asked Questions about pinecone-research

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a RAG pipeline with Pinecone and LangChain?▼

Install pinecone-client, langchain-pinecone, and langchain-openai, then create a serverless index and use PineconeVectorStore with OpenAIEmbeddings to index documents. The rag_pipeline.py script automates indexing a directory of .txt files and querying them with similarity search.

How to store agent memory across sessions in Pinecone?▼

Use Pinecone namespaces to isolate memory per session ID, upserting embedded text with session and timestamp metadata. The memory_manager.py script supports store, recall, cleanup, and stats actions for namespace-based session memory.

Does Pinecone support searching across multiple namespaces?▼

Yes, querying an index without specifying a namespace searches the default namespace, while per-namespace queries scope results to one session. Cross-session recall is achieved by querying without a namespace filter or aggregating per-namespace queries.

What are the limitations of Pinecone free tier for agent memory?▼

The free tier provides one index with up to 100K vectors at 1536 dimensions. For larger workloads, prune old namespaces regularly and use serverless indexes with pay-per-use pricing to control costs.

Why does Pinecone memory recall return no results?▼

Recall fails when the PINECONE_API_KEY or OPENAI_API_KEY environment variables are unset, the index does not exist, or the queried namespace is empty. Verify credentials and check index stats with the stats action before querying.