> ## Documentation Index
> Fetch the complete documentation index at: https://cet.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> CET is the Postman for LLM context — a visual toolkit for building, testing, and optimizing RAG pipelines.

# What is CET?

The **Context Engineering Toolkit (CET)** is a full-stack developer tool that gives you a visual interface to design, test, and analyze LLM context pipelines. Instead of hand-coding context management logic and guessing why your AI gives wrong answers, CET lets you see exactly what enters the model's context window — and measure the impact of every decision in real time.

## The Problem CET Solves

Every developer building LLM-powered applications faces the same invisible crisis:

> *"My AI gives wrong answers in production — but I have no idea what it's actually seeing."*

| Problem | Without CET | With CET |
| - | - | - |
| **Blind context assembly** | Hand-code injection, guess what fits | Visual canvas shows every token |
| **Silent RAG failures** | Hours of log parsing | Real-time relevance scores |
| **Zero cost visibility** | Monthly bill, no breakdown | Per-pipeline token & cost analytics |
| **No context versioning** | Hardcoded prompts in repos | Versioned pipeline configs |

## Who CET Is For

* **Backend engineers** debugging broken RAG chatbots
* **Solo AI developers** who re-code context management for every new project
* **ML engineers** looking to optimize and reduce LLM API costs

## How It Works

**1. Connect your OpenRouter key**

CET uses a BYOK (Bring Your Own Key) model. You supply your OpenRouter API key — CET stores it encrypted and routes all LLM calls through it. You pay OpenRouter directly. CET is free.

**2. Build your pipeline on the canvas**

Drag and drop nodes onto the visual pipeline canvas — System Prompt, RAG, Chat History, LLM, and Output nodes. Connect them to define execution order.

**3. Run and iterate in the Playground**

Send queries, see streamed responses, and inspect token usage, cost, and latency per run. Adjust your pipeline and re-run instantly.

> [card] [Try a Guided Example](https://cet.mintlify.site/docs/use-cases/api-docs-bot.md)
>
> Build a developer API docs bot end-to-end — with RAG, Chat History, and a tight token budget. Takes about 15 minutes.

## Tech Stack

* **Frontend:** Next.js 14, TypeScript, Tailwind CSS v4, Shadcn/ui, React Flow
* **Backend:** FastAPI (Python), Pydantic v2, LiteLLM
* **Database:** Supabase (PostgreSQL 15 + pgvector)
* **AI Layer:** LiteLLM proxy routing to Claude, GLM-5, and Gemini via OpenRouter
* **Infrastructure:** Docker (local), Vercel + Railway (production)

> [card] [Quickstart](https://cet.mintlify.site/docs/quickstart.md)
>
> Build your first pipeline in 5 minutes

> [card] [Connect OpenRouter](https://cet.mintlify.site/docs/connect-openrouter.md)
>
> Set up your BYOK API key


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.