Skip to main content
In this section, you’ll learn (to):
  • build an assistant
  • embed a tool (Google search)

Install leicht

First things first, install the leicht package. You can install it using pip or from source.

Build an Assistant

We’ll be building an assistant using the Assistant class. The LLM of choice in this example is G4F 1. Here, we’ll add the “search” tool to allow the LLM to look up resources online.
app.py
1G4F – Although G4F is free, it should ONLY be used for trial and NOT for production.

Read More

Learn more about Leicht.

Prompts

Master the Prompts API and get a tailored voice.

Build Your Tool

Build your own tool using the Tools API.

Host on a Custom Domain

Keep your docs on your own website’s subdomain.