Chapter 4
Add-ons
Note
Add-ons need a development build or a release newer than 4.12.1.
An add-on is a separate program that gives LocalAI new tools, such as reading a mailbox, making an office document or running code in an isolated runtime. The host installs it, starts it and limits what it may do.
- User guide: find, install, turn on, update and remove add-ons.
- Catalogue: what each add-on adds, who installs it and who turns it on.
- Build your own add-on: a tutorial with one tool and one skill.
- Build an add-on in your own repository: use the Go SDK packages from another module and pack a zip file with
addonpkg. - Paired clients: inference with a client key, and the routes, event stream and host operations of an add-on client.
- Contract reference: the full specification for add-on authors.
- Testing add-ons: how to run focused add-on tests.