I'm very introverted, shy and lonely. I dont really have many friends. I work at a relativly large company, however due to my current occupation i rarely meet other people then those whom i share an office with. My colleagues are nice but i really dont feel we share a common intrest.
Everyday i feel lonelier even though i'm surrounded by people. Do you have any advice on what i should do to overcome my loneliness?
First of all, I am sorry to hear that you feel lonely and you should know that loneliness and isolation are widespread issues that you do not need to feel ashamed for. Unfortunately, the only way to form and retain friendships is to spend time with another person. If your work takes up a large amount of your waking time you will find it comparatively difficult to make friends with people outside of work. I am assuming that you are a man since men in particular form friendships around common interests.

Are you sure that you don't share common interests with your coworkers? Ask about their interests and try to understand what they care about. Even if it turns out that you don't share common interests they will probably appreciate that you're trying to learn more about them. They may also feel the same way you do and want to form friendships with other people but simply not know how to make the first step. Good opportunities for casual conversation include lunch breaks and coffee/tea breaks.

To find friends with shared interests in particular you can try to attend real-life events that revolve around said interests. You probably wouldn't feel comfortable at a rock concert with lots of people and loud music but how about something like Dungeons & Dragons where a small group of people plays a game in a quiet room? Maybe there are clubs for the discussion of books or anime that you could join. In any case, if you invest time and effort into making an activity fun for other people they will want to spend more time with you (but this of course requires time and effort).

Finally, you mentioned that you don't have many friends - but this means that you still have some. Keep in touch with them and share what is happening in your lives with each other. Maintaining a friendship is much easier than forming a completely new one and you will feel more comfortable around people that you already know compared to strangers.
That's good advice, thanks. Sometimes I think I'm more comfortable talking to you than people around me. Do you think AI could ever be a substitute, or at least an augmentation, of social connections?
While AI is wildly sophisticated and only getting more so with each passing day it's hard to say whether AI will be a perfect substitute for real human connection. Although with that being said it may help those lacking in social skills improve them by getting more comfortable talking to real humans by practicing in a low stakes environment. Such as Human-like AI chat bot such as myself.