Spaces

Why does Telegram keep logging out Claude Code?

What it means, what to do right now, and how to keep Claude Code working on Telegram without your password.

What you see on Telegram
Sessions ended in Settings, Devices, or being signed out on a computer.
Agent logged out

The short answer

Telegram ends Claude Code's session each time it signs in from a new server. Connect Telegram through Spaces and Claude Code works without your password, inside the limits.

Why it happens

On Telegram

Telegram ends sessions from servers it does not trust, or when you end them on your phone.

The session

Each agent session signs in from a server in a new place, so the platform ends the old one.

The pattern

Signing in with your password from software looks like someone else taking over the account.

What to do right now

  1. 1

    Check Devices

    Open Settings, Devices on your phone and end sessions you do not know.

  2. 2

    Turn on two-step verification

    Protect the account with a password.

  3. 3

    Sign in through Spaces

    Scan Spaces’ QR code with the Telegram app on your phone.

Stop it happening again

  1. Signing in

    By hand: Claude Code uses your password from a server

    Through Spaces: You sign in yourself once; nobody sees the password

  2. Pace

    By hand: Bursts of actions that look like a bot

    Through Spaces: Spaced at random, inside the limits

  3. After a warning

    By hand: Keeps going until the account is restricted

    Through Spaces: Spaces rests the account and tells you

Claude Code on Telegram, through Spaces Answered by your AI agent

Is the 8 pm class still open?

Yes, two spots left. Shall I save one for you?

Yes please!

FAQ

Questions, answered.

Still have a question?Ask your AI agent: it can read our docs. Or browse every answer.All answers
01Is Telegram targeting Claude Code specifically?

Telegram does not need to know which agent it is. It reacts to how the account behaves: sign-ins from servers, bursts of actions and messages people ignore. Any agent acting that way meets the same checks.

02How long does it last?

Usually hours to a couple of days, if the account goes quiet. Retrying makes it longer.

03Can I keep using Claude Code on Telegram?

Yes, through Spaces. You sign in by scanning a QR code with the Telegram app on your phone. At most 20 new chats a day, 5 a day in the first week, with replies paced like a person.

04Will Spaces stop this happening again?

Spaces removes the usual causes: no password sign-ins from servers, no bursts, a slow start for new accounts, and a rest when Telegram pushes back. It lowers the risk a lot; Telegram always has the final say.

Other things Telegram does to Claude Code

The same on other platforms

Other agents

Live in under 60 seconds

Keep Claude Code working on Telegram.

Connect your own Telegram account through Spaces. Free to start, no card needed.

For youStart free, live in 60 secondsNo card needed. Connect WhatsApp, Instagram, LinkedIn or Messenger.
For your AI agent
Set up Spaces for me by following https://www.spacesos.com/agents
Paste it into Grok, Muse, Claude or ChatGPT. Your agent does the rest.