run-llama/LlamaIndexTS

Data framework for your LLM applications. Focus on server side solution

TypeScript

3,082

2,387 commits

updated Mar 11, 2026

See the code

README

[!CAUTION]

Deprecation Notice

This project is deprecated and no longer maintained.

For LlamaCloud/LlamaParse usage, check out our docs: https://developers.llamaindex.ai/python/cloud/

Thank you to everyone who contributed to and used LlamaIndex.TS.

LlamaIndex logo

LlamaIndex.TS (Deprecated)

Data framework for your LLM application.

NPM Version NPM License NPM Downloads Discord Twitter

Use your own data with large language models (LLMs, OpenAI ChatGPT and others) in JS runtime environments with TypeScript support.

Documentation: https://ts.llamaindex.ai/

Try examples online:

Open in Stackblitz

What is LlamaIndex.TS?

LlamaIndex.TS aims to be a lightweight, easy to use set of libraries to help you integrate large language models into your applications with your own data.

Compatibility

Multiple JS Environment Support

LlamaIndex.TS supports multiple JS environments, including:

  • Node.js >= 20 ✅
  • Deno ✅
  • Bun ✅
  • Nitro ✅
  • Vercel Edge Runtime ✅ (with some limitations)
  • Cloudflare Workers ✅ (with some limitations)

For now, browser support is limited due to the lack of support for AsyncLocalStorage-like APIs

Supported LLMs:

  • OpenAI LLms
  • Anthropic LLms
  • Groq LLMs
  • Llama2, Llama3, Llama3.1 LLMs
  • MistralAI LLMs
  • Fireworks LLMs
  • DeepSeek LLMs
  • ReplicateAI LLMs
  • TogetherAI LLMs
  • HuggingFace LLms
  • DeepInfra LLMs
  • Gemini LLMs

Getting started

npm install llamaindex
pnpm install llamaindex
yarn add llamaindex

Setup in Node.js, Deno, Bun, TypeScript...?

See our official document: https://ts.llamaindex.ai/docs/llamaindex/getting_started

Adding provider packages

In most cases, you'll also need to install provider packages to use LlamaIndexTS. These are for adding AI models, file readers for ingestion or storing documents, e.g. in vector databases.

For example, to use the OpenAI LLM, you would install the following package:

npm install @llamaindex/openai
pnpm install @llamaindex/openai
yarn add @llamaindex/openai

Playground

Check out our NextJS playground at https://llama-playground.vercel.app/. The source is available at https://github.com/run-llama/ts-playground

Core concepts for getting started:

See our documentation: https://ts.llamaindex.ai/docs/llamaindex/getting_started/concepts

Contributing:

Please see our contributing guide for more information. You are highly encouraged to contribute to LlamaIndex.TS!

Community

Please join our Discord! https://discord.com/invite/eN6D2HQ4aX

agent
chatbot
claude-ai
create-llama
embedding
groq-ai
javascript
llama
llama3
llama-index
llamaindex
llm
node
nodejs
openai
react
typescript

run-llama/LlamaIndexTS

Data framework for your LLM applications. Focus on server side solution

TypeScript

3,082

2,387 commits

updated Mar 11, 2026

See the code

README

[!CAUTION]

Deprecation Notice

This project is deprecated and no longer maintained.

For LlamaCloud/LlamaParse usage, check out our docs: https://developers.llamaindex.ai/python/cloud/

Thank you to everyone who contributed to and used LlamaIndex.TS.

LlamaIndex logo

LlamaIndex.TS (Deprecated)

Data framework for your LLM application.

NPM Version NPM License NPM Downloads Discord Twitter

Use your own data with large language models (LLMs, OpenAI ChatGPT and others) in JS runtime environments with TypeScript support.

Documentation: https://ts.llamaindex.ai/

Try examples online:

Open in Stackblitz

What is LlamaIndex.TS?

LlamaIndex.TS aims to be a lightweight, easy to use set of libraries to help you integrate large language models into your applications with your own data.

Compatibility

Multiple JS Environment Support

LlamaIndex.TS supports multiple JS environments, including:

  • Node.js >= 20 ✅
  • Deno ✅
  • Bun ✅
  • Nitro ✅
  • Vercel Edge Runtime ✅ (with some limitations)
  • Cloudflare Workers ✅ (with some limitations)

For now, browser support is limited due to the lack of support for AsyncLocalStorage-like APIs

Supported LLMs:

  • OpenAI LLms
  • Anthropic LLms
  • Groq LLMs
  • Llama2, Llama3, Llama3.1 LLMs
  • MistralAI LLMs
  • Fireworks LLMs
  • DeepSeek LLMs
  • ReplicateAI LLMs
  • TogetherAI LLMs
  • HuggingFace LLms
  • DeepInfra LLMs
  • Gemini LLMs

Getting started

npm install llamaindex
pnpm install llamaindex
yarn add llamaindex

Setup in Node.js, Deno, Bun, TypeScript...?

See our official document: https://ts.llamaindex.ai/docs/llamaindex/getting_started

Adding provider packages

In most cases, you'll also need to install provider packages to use LlamaIndexTS. These are for adding AI models, file readers for ingestion or storing documents, e.g. in vector databases.

For example, to use the OpenAI LLM, you would install the following package:

npm install @llamaindex/openai
pnpm install @llamaindex/openai
yarn add @llamaindex/openai

Playground

Check out our NextJS playground at https://llama-playground.vercel.app/. The source is available at https://github.com/run-llama/ts-playground

Core concepts for getting started:

See our documentation: https://ts.llamaindex.ai/docs/llamaindex/getting_started/concepts

Contributing:

Please see our contributing guide for more information. You are highly encouraged to contribute to LlamaIndex.TS!

Community

Please join our Discord! https://discord.com/invite/eN6D2HQ4aX

agent
chatbot
claude-ai
create-llama
embedding
groq-ai
javascript
llama
llama3
llama-index
llamaindex
llm
node
nodejs
openai
react
typescript

Significant stargazers

(top 24 of 26)

Guy Korland

279 followers · starred Sep 2023

藍+85CD

256 followers · starred Apr 2024

Jeswin

74 followers · starred May 2025

Naor Peled

108 followers · starred Apr 2025