Mert-Ali-Ozdemir

Istanbul Transit Crowd Agent — Communication skill for Claude Code

Communication community

Transit assistant that finds routes with transfers and shows crowding levels, alternatives and the least crowded time per line.

How to install Istanbul Transit Crowd Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Mert-Ali-Ozdemir/istanbul-transit-crowd-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Istanbul Transit Crowd Agent does

Transit assistant that finds routes with transfers and shows crowding levels, alternatives and the least crowded time per line. Built on Claude Agent SDK with in-process MCP tools and chat memory, a Streamlit UI with TR/EN switch and occupancy chart, plus pytest tests and GitHub Actions CI.

Alternatives in Communication

  • Chat Langchain — A documentation assistant deployed as a Managed Deep Agent 6.4k ★
  • Nekro Agent — NekroAgent 是一个面向多人互动场景的跨平台 Agent 框架,集 Claude Code 沙盒执行、工作区编排、长期记忆、结构化 MCP 管理与可视化控制台于一体,兼具高扩展性、多模态交互、实时状态推送和自动化 800 ★
  • Claude To IM — Host-agnostic bridge connecting Claude Code SDK to IM platforms (Telegram, Discord, Feishu) 432 ★

README

🚇 Istanbul Transit Crowd Agent / İstanbul Toplu Taşıma Yoğunluk Agent'ı

![tests](https://github.com/Mert-Ali-Ozdemir/istanbul-transit-crowd-agent/actions/workflows/tests.yml/badge.svg) ![Python](https://img.shields.io/badge/Python-3.11%2B-3776AB?logo=python&logoColor=white) ![Claude Agent SDK](https://img.shields.io/badge/Claude-Agent%20SDK-D97757) ![Streamlit](https://img.shields.io/badge/Streamlit-UI-FF4B4B?logo=streamlit&logoColor=white)

[🇬🇧 English](#-english) · [🇹🇷 Türkçe](#-türkçe)


🇬🇧 English

![Screenshot (English)](docs/screenshot-en.png)

What does it do?

You type something like "I'm going from Kadıköy to Taksim at 18:00". The agent finds the routes between the two stops, checks how crowded each line on those routes is at that time, and recommends the least crowded option with the reason. It understands follow-up questions like "what about 23:00?" and shows the results in a chart. It works in Turkish and English.

Features

  • Route finding: routes between two stops (lines to take and transfer stops) are computed in Python; the model never makes up routes.
  • Crowding and alternatives: occupancy rate and level for each line, plus alternatives for busy lines.
  • Least crowded time: ranks the time slots for questions like "when is the ferry least crowded?".
  • Weekday / weekend: if no day is given, today is used.
  • Chat memory: follow-up questions are answered in context (up to 8 questions, then a new conversation starts).
  • Chart: below each answer, the occupancy of the relevant lines with 50% and 80% threshold lines.

AI agent vs. chatbot

A chatbot only writes text from what it already knows. This agent **decides on its own which tool to call, when, and with which input**: it finds the route, checks crowding on each line, looks for alternatives if needed, and writes an answer based on the tool results. Which tool gets called is not hard-coded.

How it works

flowchart LR
    A[User question]