Your AGI is an adjustment of your gross income, so it includes all sources of income (wages, dividends, capital gains, business income, retirement distributions, etc.) but it then reduces the full amount with any above-the-line adjustments you are eligible for. These will depend on your situation but may include educator expenses, student loan interest, alimony payments, or contributions to a retirement account.