• Stars
    star
    17,246
  • Rank 1,486 (Top 0.04 %)
  • Language
    C++
  • License
    MIT License
  • Created about 1 year ago
  • Updated about 2 months 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 OpenAI alternative. Self-hosted, community-driven 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. It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.



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
474
star
2

LocalAGI

100% Local AGI with LocalAI
Python
244
star
3

luet

πŸ“¦ 🐳 0-dependency Container-based Package Manager using SAT solver and QLearning
Go
240
star
4

poco

🚒 poCo - portable Containers. Create statically linked, portable binaries from container images (daemonless)
Go
81
star
5

yip

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

golauncher

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

docker-companion

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

edgevpn-gui

Graphical front-end for EdgeVPN
Go
18
star
9

anagent

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

go-stable-diffusion

C++
12
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
7
star
14

vhproxy

VHProxy public git repository
Perl
7
star
15

linuxbundles

🐧 Standalone, local-runnable binaries of popular linux distributions
Shell
7
star
16

luet-k8s

Luet extension to build packages on kubernetes
Go
7
star
17

WebService-GialloZafferano

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

go-ggllm.cpp

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

go-piper

C++
5
star
20

entities

πŸ” Declarative modern identity manager for UNIX systems in Go
Go
4
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

WebApp-GitInsight

WebApp in mojolicious for GitInsight
CSS
3
star
27

docker-sabayon-spinbase-amd64

Sabayon spinbase docker repository
Shell
2
star
28

docker-sabayon-builder-amd64

Sabayon builder base image docker repository
Shell
2
star
29

ekcp

🌠 Ephemeral kubernetes cluster provider
JavaScript
2
star
30

Algorithm-Sat-Backtracking

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

boson

a docker polling job processor
Go
2
star
32

gluedd-cli

Deepdetect jpeg streamer predictor
Go
2
star
33

go-kdetect

golang kernel driver detector
Go
2
star
34

go-processmanager

Go
2
star
35

Algorithm-QLearning

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

go-udp-proxy

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

k8s-resource-scheduler

🏯 Simple (toy/experimental) CPU/Memory pod scheduler
Go
1
star
38

android-builds-recipes

🐳 Android builds recipes for various devices/ROM with docker
Shell
1
star
39

go-mirror-redirector

Simple mirror redirector in golang
Go
1
star
40

fleet-sample

Dockerfile
1
star
41

builder-witchcraft

Shell
1
star
42

go-findpeaks

Go
1
star
43

openqa-scheduler-go

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

perl_training

TeX
1
star
45

blog

My blog, now migrated to hugo on github
HTML
1
star
46

Mojolicious-Plugin-Angular-MaterialDesign

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

cobra-extensions

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

poco-github-action

Github action for poco app bundler
Go
1
star
49

twopence

C
1
star