Airstrip is an open-source enterprise generative AI platform. Airstrip combines the best-in-class open-source tools to provide a complete and secure platform that allows you to build generative AI apps easily.
- Teams and RBAC.
- LLM Integrations.
- API keys encryption.
- Memory layer for enhanced context. (Use your mem0 API key or run https://github.com/Airstrip-AI/mem0-rest/ for self-hosting Airstrip)
- LLM usage analytics.
- RAG and Chunking.
- Notion-style editing.
- [] ( 💡 ) Rate-limits
- [] ( 💡 ) REST APIs.
Legend | |
---|---|
💡 | Planned |
🚧 | WIP |
The fastest way to try Airstrip is signing up for free at Airstrip Cloud.
Note
We treat your API keys seriously. All API keys are encrypted and only decrypted at the point of usage. We also use Infisical for storing our keys securely and access to them are restricted.
Prereqs: Make sure you have Git and Docker installed.
cp airstrip-fe/sample.env airstrip-fe/.env
cp airstrip-be/sample.env airstrip-be/.env
docker compose up
That's all you need to get started. The default setup uses the sample encryption key in sample.env
. It is advisable to change it for production usage. If you are already using Infisical and you wish to store and use your encryption key in it, you may do so by updating the .env
file.
For details on the default values and how to change them, refer to this (optional) section.
- Upon creating an account, you will be assigned an organization which you are an owner of. You can invite people to your organization.
- There are 3 types of roles: Owner, Admin, and Member.
- There is no difference between Owner and Admin at the moment other than Admin is unable to change an Owner's role.
- Whatever an Admin can do, an Owner can do too. When you see the term "admin", it means "Admins and Owners" unless otherwise specified.
- The 3 roles also apply to team members.
- Each organization can have many teams. Only org admins can create teams.
- Org admins and team admins can invite members to the team.
- AI integrations can only be created by org admins and are created at the org level.
- AI integrations can be restricted to a team, i.e. only apps created in the team can use the AI integration.
- Org-wide AI integrations can be used by any team.
- Only org/team admins can create apps in the org/team respectively.
- Org-wide apps can be used by any org member.
- Team apps can only be used by the team's members or org admins.
You can skip this section if you are happy with the default values. Advisable to read and change the values if you are deploying on a server.
.env
is used as env_file
in docker-compose.yml
to provide environment variables. If you update the database values (e.g. credentials), make sure to update the SQL init script.
When building the Docker image, a pair of public/private key is generated inside the image. They are used to sign JWT tokens. You can use another pair of keys by setting the environment variables AIRSTRIP_JWT_PUBLIC_JWK
and AIRSTRIP_JWT_PRIVATE_JWK
to your keys' file paths.
AIRSTRIP_SMTP_HOST, AIRSTRIP_SMTP_PORT, AIRSTRIP_SMTP_USER, AIRSTRIP_SMTP_PASSWORD, and AIRSTRIP_EMAIL_SENDER
These values are for sending emails. These are left blank by default. Without these values, email functionality is disabled. Currently, email functionality is only used for sending a password reset link and organization invite link.
Update these values to store and use encryption key (for encrypting your API keys) in Infisical.
AIRSTRIP_USE_INFISICAL_FOR_ENCKEY=true
AIRSTRIP_INFISICAL_API_URL=
AIRSTRIP_INFISICAL_CLIENT_ID=
AIRSTRIP_INFISICAL_CLIENT_SECRET=
AIRSTRIP_INFISICAL_PROJECT_ID=
AIRSTRIP_INFISICAL_SECRET_NAME=
# defaults to prod
AIRSTRIP_INFISICAL_PROJECT_ENV=
# defaults to /
AIRSTRIP_INFISICAL_SECRET_PATH=
# defaults to shared
AIRSTRIP_INFISICAL_SECRET_TYPE=
The credentials are used in the environment variables and SQL init script. They have to be updated together.
Please submit any feature requests or issues in Github issues.