
Product
A Fresh Look for the Socket Dashboard
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Beta command-line interface for Trieve API that enables users to upload files and interact with them using agentic RAG (Retrieval Augmented Generation). Simplifies document management and Q&A workflows.
Sign Up (1k chunks free) | Documentation | Discord | Matrix
A command-line interface for interacting with the Trieve API. The CLI enables users to upload files, check upload status, ask questions against their knowledge base, and configure their Trieve setup.
npm install -g trieve-cli
Before using the CLI, you need to configure it with your Trieve credentials:
trieve configure
This interactive command will prompt you for:
Alternatively, you can set these as environment variables:
TRIEVE_ORGANIZATION_ID
TRIEVE_DATASET_ID
TRIEVE_API_KEY
Upload a file to your Trieve dataset:
trieve upload [filePath] [-t, --tracking-id <trackingId>]
If no file path is provided, the CLI will prompt you to enter one interactively.
Check the status of your uploaded files:
trieve check-upload-status [-t, --tracking-id <trackingId>]
Without options, this will display an interactive menu to select files to check. If a tracking ID is provided, it will check the status of that specific file.
Ask a question against your Trieve dataset:
trieve ask [question]
If no question is provided, the CLI will prompt you to enter one interactively. The response will be streamed back with reference information that you can expand by pressing 'j'.
Customize the RAG system prompt and tool configurations:
trieve update-tool-config [-t, --tool-description <toolDescription>] [-q, --query-description <queryDescription>] [-s, --system-prompt <systemPrompt>]
This allows you to customize:
Watch our demo video to see the Trieve CLI in action:
# Upload a document
trieve upload ./documents/report.pdf
# Check if processing is complete
trieve check-upload-status
# Ask a question about the content
trieve ask "What are the key findings in the report?"
# Update the tool configuration for more specific search behavior
trieve update-tool-config --query-description "Create precise search queries focusing on technical terms and definitions"
To build the CLI from source:
# Install dependencies
npm install
# Build the TypeScript code
npm run build
# Run locally
npm start
MIT
FAQs
Beta command-line interface for Trieve API that enables users to upload files and interact with them using agentic RAG (Retrieval Augmented Generation). Simplifies document management and Q&A workflows.
The npm package trieve-cli receives a total of 86 weekly downloads. As such, trieve-cli popularity was classified as not popular.
We found that trieve-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Industry Insights
Terry O’Daniel, Head of Security at Amplitude, shares insights on building high-impact security teams, aligning with engineering, and why AI gives defenders a fighting chance.
Security News
MCP spec updated with structured tool output, stronger OAuth 2.1 security, resource indicators, and protocol cleanups for safer, more reliable AI workflows.