What the Open Source Definition requires
The Open Source Initiative (OSI) publishes the Open Source Definition. A license must allow free redistribution, give access to the source code, and allow derived works. It must not restrict anyone from using the program in a specific field.
Permissive and copyleft licenses
A permissive license, such as MIT or Apache-2.0, lets you use, change and share the code. You keep the copyright notice in your copies. A copyleft license, such as AGPL-3.0, requires that changed versions stay under the same license.
What AGPL means for a hosted service
Section 13 of AGPL-3.0 covers programs that users reach over a network. If you change the program, you must offer its source to those users. A provider that runs a changed AGPL platform must give its users the source of that version.
Source-available is not open source
A source-available license lets you read the code, but it can restrict use. OSI says a license that bans uses, such as commercial use, is not open source. Read the license file before you trust the word "open source". For a platform you can run yourself, see self-hosted.