Developer building blocks

FlagEmbedding (BGE)

Free models and tools that help AI search text and find the most relevant passages.

Your data
Stays on your device
Coding needed
Developers only
Cost
Free
Drafted with AIResearch-backedMostly for developers

What it does

FlagEmbedding is the home of the BGE models. They turn text into lists of numbers (embeddings) so a computer can tell which passages mean similar things, which powers smart search and document-answering chatbots.

It also offers rerankers that put the best matches first, and tools to adapt the models to your own data. Some models handle more than 100 languages.

Who it's for

Developers building search features or chatbots that answer from documents.

Can I use it without coding?

Developers only. It is a Python package used in code. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it