Sql server agent service is not starting up on my local computer it says SQLSERVER AGENT (SQL SERVER) Service on your local computer started and stopped. Some services start and stops
what does your event viewer say under application events?
What Edition of SQL Server did you install?
SQL 2017 Express
This Edition does not support SQL Server Agent - even if the service has been installed it isn't supported.
Check your error logs. If you don't find anything in your SQL error logs then check your event logs.
Go through the following thread: