---
title: Welcome to LlamaIndex.TS | LlamaIndex OSS Documentation
description: LlamaIndex.TS is the leading framework for utilizing context engineering to build LLM applications in JavaScript and TypeScript.
---

LlamaIndex.TS is a **framework for utilizing context engineering to build generative AI applications** with large language models. From rapid-prototyping RAG chatbots to deploying multi-agent workflows in production, LlamaIndex gives you everything you need — all in idiomatic TypeScript.

Built for modern JavaScript runtimes like  **Node.js**,  **Deno**,  **Bun**,  **Cloudflare Workers**, and more.

### [Introduction](#introduction)

[Context engineering, agents & workflows — what do they mean?](#introduction)

### [Use cases](#use-cases)

[See what you can build with LlamaIndex.TS.](#use-cases)

### [Getting started](#getting-started)

[Your first app in 5 lines of code.](#getting-started)

### [LlamaCloud](https://docs.cloud.llamaindex.ai/)

[Managed parsing, extraction & retrieval pipelines.](https://docs.cloud.llamaindex.ai/)

### [Community](#community)

[Join thousands of builders on Discord, Twitter, and more.](#community)

### [Related projects](#related-projects)

[Connectors, demos & starter kits.](#related-projects)

## Introduction

### What are agents?

[Agents](/typescript/framework/tutorials/agents/1_setup/index.md) are LLM-powered assistants that can reason, use external tools, and take actions to accomplish tasks such as research, data extraction, and automation. LlamaIndex.TS provides foundational building blocks for creating and orchestrating these agents.

### What are workflows?

[Workflows](/typescript/framework/tutorials/workflows/index.md) are multi-step, event-driven processes that combine agents, data connectors, and other tools to solve complex problems. With LlamaIndex.TS you can chain together retrieval, generation, and tool-calling steps and then deploy the entire pipeline as a microservice.

### What is context engineering?

LLMs come pre-trained on vast public corpora, but not on **your** private or domain-specific data. Context engineering bridges that gap by injecting the right pieces of your data into the LLM prompt at the right time. The most popular example is [Retrieval-Augmented Generation (RAG)](/typescript/framework/getting_started/concepts/index.md), but the same idea powers agent memory, evaluation, extraction, summarisation, and more.

LlamaIndex.TS gives you:

- **Data connectors** to ingest from APIs, files, SQL, and dozens more sources.
- **Indexes & retrievers** to store and retrieve your data for LLM consumption.
- **Agents and Engines** to query and use chat+reasoning interfaces over your data.
- **Workflows** for fine-grained orchestration of your data and LLM-powered agents.
- **Observability** integrations so you can iterate with confidence.

You can learn more about these concepts in our [concepts guide](/typescript/framework/getting_started/concepts/index.md).

## Use cases

Popular scenarios include:

- [LLM-Powered Agents](/typescript/framework/tutorials/agents/1_setup/index.md)
- [Indexing and Retrieval](/typescript/framework/tutorials/rag/index.md)
- [Extracting Structured Data](/typescript/framework/tutorials/structured_data_extraction/index.md)
- [Custom Orchestration with Workflows](/typescript/framework/tutorials/workflows/index.md)

## Getting started

The fastest way to get started is in StackBlitz below — no local setup required:

Want to learn more? We have several tutorials to get you started:

- [Installation + Runtime Guide](/typescript/framework/getting_started/installation/index.md)
- [Create your first agent](/typescript/framework/tutorials/agents/1_setup/index.md)
- [Learn how to index data and chat with it](/typescript/framework/tutorials/rag/index.md)
- [Learn how to write your own workflows and agents](/typescript/framework/tutorials/workflows/index.md)

---

## LlamaCloud

Need an end-to-end managed pipeline? Check out **[LlamaCloud](https://cloud.llamaindex.ai/)**: best-in-class document parsing (LlamaParse), extraction (LlamaExtract), and indexing services with generous free tiers.

---

## Community

- [Twitter](https://twitter.com/llama_index)
- [Discord](https://discord.gg/dGcwcsnxhU)
- [LinkedIn](https://www.linkedin.com/company/llamaindex/)

We 💜 contributors! View our [contributing guide](https://github.com/run-llama/LlamaIndexTS/blob/main/CONTRIBUTING.md) to get started.

## Related projects

- [Python framework GitHub](https://github.com/run-llama/llama_index)
- [Python docs](https://docs.llamaindex.ai/)
- [create-llama](https://www.npmjs.com/package/create-llama) — scaffold a new project in seconds!
- [UI Components](https://ui.llamaindex.ai/) — build chat applications with our Next.js components.
