
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
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:
Watch the Trieve CLI Demo Video on YouTube.
# 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 28 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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.