• Stars
    star
    24,299
  • Rank 906 (Top 0.02 %)
  • Language
    C++
  • License
    MIT License
  • Created over 1 year ago
  • Updated 21 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿค– The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-grade hardware. No GPU required. Runs gguf, transformers, diffusers and many more models architectures. Features: Generate Text, Audio, Video, Images, Voice Cloning, Distributed inference



LocalAI

LocalAI forks LocalAI stars LocalAI pull-requests

๐Ÿ’ก Get help - โ“FAQ ๐Ÿ’ญDiscussions ๐Ÿ’ฌ Discord ๐Ÿ“– Documentation website

๐Ÿ’ป Quickstart ๐Ÿ“ฃ News ๐Ÿ›ซ Examples ๐Ÿ–ผ๏ธ Models ๐Ÿš€ Roadmap

testsBuild and Releasebuild container imagesBump dependenciesArtifact Hub

LocalAI is a drop-in replacement REST API that's compatible with OpenAI API specifications for local inferencing. It allows you to run LLMs (and not only) locally or on-prem with consumer grade hardware, supporting multiple model families that are compatible with the ggml format, pytorch and more. Does not require GPU.

Follow LocalAI

Follow LocalAI_API Join LocalAI Discord Community

Connect with the Creator

Follow mudler_it Follow on Github

Share LocalAI Repository

Follow _LocalAI Share on Telegram Share on Reddit Buy Me A Coffee


In a nutshell:

  • Local, OpenAI drop-in alternative REST API. You own your data.
  • NO GPU required. NO Internet access is required either
    • Optional, GPU Acceleration is available in llama.cpp-compatible LLMs. See also the build section.
  • Supports multiple models
  • ๐Ÿƒ Once loaded the first time, it keep models loaded in memory for faster inference
  • โšก Doesn't shell-out, but uses C++ bindings for a faster inference and better performance.

LocalAI was created by Ettore Di Giacinto and is a community-driven project, focused on making the AI accessible to anyone. Any contribution, feedback and PR is welcome!

Note that this started just as a fun weekend project in order to try to create the necessary pieces for a full AI assistant like ChatGPT: the community is growing fast and we are working hard to make it better and more stable. If you want to help, please consider contributing (see below)!

๐Ÿ”ฅ๐Ÿ”ฅ Hot topics / Roadmap

Hot topics:

๐Ÿš€ Features

๐Ÿ“– ๐ŸŽฅ Media, Blogs, Social

๐Ÿ’ป Usage

Check out the Getting started section in our documentation.

Community

WebUI

Model galleries

Other:

๐Ÿ”— Resources

Citation

If you utilize this repository, data in a downstream project, please consider citing it with:

@misc{localai,
  author = {Ettore Di Giacinto},
  title = {LocalAI: The free, Open source OpenAI alternative},
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/go-skynet/LocalAI}},

โค๏ธ Sponsors

Do you find LocalAI useful?

Support the project by becoming a backer or sponsor. Your logo will show up here with a link to your website.

A huge thank you to our generous sponsors who support this project:

Spectro Cloud logo_600x600px_transparent bg
Spectro Cloud
Spectro Cloud kindly supports LocalAI by providing GPU and computing resources to run tests on lamdalabs!

And a huge shout-out to individuals sponsoring the project by donating hardware or backing the project.

๐ŸŒŸ Star history

LocalAI Star history Chart

๐Ÿ“– License

LocalAI is a community-driven project created by Ettore Di Giacinto.

MIT - Author Ettore Di Giacinto

๐Ÿ™‡ Acknowledgements

LocalAI couldn't have been built without the help of great software already available from the community. Thank you!

๐Ÿค— Contributors

This is a community project, a special thanks to our contributors! ๐Ÿค—

More Repositories

1

edgevpn

โ›ต The immutable, decentralized, statically built p2p VPN without any central server and automatic discovery! Create decentralized introspectable tunnels over p2p with shared tokens
Go
574
star
2

LocalAGI

100% Local AGI with LocalAI
Python
392
star
3

luet

๐Ÿ“ฆ ๐Ÿณ 0-dependency Container-based Package Manager using SAT solver and QLearning
Go
261
star
4

poco

๐Ÿšข poCo - portable Containers. Create statically linked, portable binaries from container images (daemonless)
Go
84
star
5

yip

๐Ÿ“Œ Yaml Instructions Processor - Simply applies a cloud-init style yaml file to the system
Go
70
star
6

golauncher

๐Ÿš€ Highly extensible, customizable application launcher and window switcher written in less than 300 lines of Golang and fyne
Go
63
star
7

docker-companion

squash and unpack Docker images, in Golang
Go
42
star
8

edgevpn-gui

Graphical front-end for EdgeVPN
Go
23
star
9

anagent

Minimalistic, pluggable Golang evloop/timer handler with dependency-injection
Go
15
star
10

go-stable-diffusion

C++
15
star
11

GitInsight

Predict your github contributions using Bayesian inference and Markov chain with perl and PDL
Perl
9
star
12

gh-k8s

Run multiple-node, decentralized k3s clusters on Github action runners for test and development!
Shell
9
star
13

go-pluggable

๐Ÿฑ go-pluggable is a light Bus-event driven plugin library for Golang
Go
8
star
14

linuxbundles

๐Ÿง Standalone, local-runnable binaries of popular linux distributions
Shell
8
star
15

vhproxy

VHProxy public git repository
Perl
7
star
16

luet-k8s

Luet extension to build packages on kubernetes
Go
7
star
17

go-piper

C++
7
star
18

WebService-GialloZafferano

Perl interface to GialloZafferano.it website to find cooking recipes
Perl
5
star
19

entities

๐Ÿ” Declarative modern identity manager for UNIX systems in Go
Go
5
star
20

go-ggllm.cpp

Golang bindings for ggllm.cpp
C++
5
star
21

img-controller

Kubernetes CRD controller to build docker images with img
Go
4
star
22

http

"http" IRC shellcode
Perl
4
star
23

docker-sabayon-base

Sabayon-base docker repository
PLpgSQL
3
star
24

App-whatthecommit

Add a prepare-commit-msg to your git repository that uses whatthecommit.com to generate random commit messages
Perl
3
star
25

go-nodepair

Golang library to handle transparent remote node pairing
Go
3
star
26

go-kdetect

golang kernel driver detector
Go
3
star
27

WebApp-GitInsight

WebApp in mojolicious for GitInsight
CSS
3
star
28

LocalAI-examples

LocalAI examples
Jupyter Notebook
3
star
29

blog

My blog, now migrated to hugo on github
HTML
2
star
30

docker-sabayon-spinbase-amd64

Sabayon spinbase docker repository
Shell
2
star
31

ekcp

๐ŸŒ  Ephemeral kubernetes cluster provider
JavaScript
2
star
32

Algorithm-Sat-Backtracking

A switchable Pure Perl SAT solver with backtracking
Perl
2
star
33

docker-sabayon-builder-amd64

Sabayon builder base image docker repository
Shell
2
star
34

boson

a docker polling job processor
Go
2
star
35

gluedd-cli

Deepdetect jpeg streamer predictor
Go
2
star
36

go-processmanager

Go
2
star
37

localai-github-action

LocalAI github action
2
star
38

Algorithm-QLearning

Algorithm::QLearning - Reinforcement Learning done in Pure Perl
Perl
1
star
39

go-udp-proxy

Little udp proxy needed just releases with binaries built with CI - not my code, found on the net
Go
1
star
40

k8s-resource-scheduler

๐Ÿฏ Simple (toy/experimental) CPU/Memory pod scheduler
Go
1
star
41

android-builds-recipes

๐Ÿณ Android builds recipes for various devices/ROM with docker
Shell
1
star
42

go-mirror-redirector

Simple mirror redirector in golang
Go
1
star
43

fleet-sample

Dockerfile
1
star
44

builder-witchcraft

Shell
1
star
45

go-findpeaks

Go
1
star
46

openqa-scheduler-go

Drop in replacement openQA scheduler written in Golang
Go
1
star
47

perl_training

TeX
1
star
48

poco-github-action

Github action for poco app bundler
Go
1
star
49

cobra-extensions

Create git-alike extensions for your cobra projects!
Go
1
star
50

Mojolicious-Plugin-Angular-MaterialDesign

Bundle MaterialDesign for angular in your mojolicious app
Perl
1
star
51

go-libp2p-simple-raft

A simple raft wrapper for libp2p
Go
1
star