Skip to main content
Product / Python Room4 min read

Use the Python Room

The Python Room is Yantra’s first live dedicated room route. Here is what works today, how room feedback behaves, and what to expect from voice and in-browser execution.

01

Product

What The Python Room Is

The Python Room is the first real room route in Yantra. It opens from `/dashboard/rooms/python` after you sign in and gives you a focused place to write Python, run it in the browser, and get targeted help when runtime errors happen.

Protected route

You must be signed in to open the room. It sits inside the learner app, not the public marketing surface.

In-browser runtime

Python runs through Pyodide in the browser, so the first warmup can take a few seconds.

Targeted help

When a runtime error happens, Yantra can explain the likely issue and suggest one next fix.

02

Product

How Feedback And Voice Work

Step 1

Run the code

Use the editor and run the current Python task directly in the room.

Step 2

Trigger room feedback on runtime errors

If the code throws, Yantra sends the runtime-error payload through the dedicated room feedback route for a short hint-oriented reply.

Step 3

Use voice if that fits your session

The room can transcribe speech with Sarvam, send the text through Yantra, and synthesize the reply back to audio.

Current Backend Shape

Python Room help is routed through the live backend stack

Room feedback targets the Python AI service first and can fall back to Gemini. Voice is handled by Next.js server routes plus Sarvam, not by a separate Python voice worker.

03

Product

Current Limits

  • Only runtime errors trigger dedicated room feedback today
  • Successful-but-wrong output is not evaluated yet
  • The first Pyodide startup can feel slower than later runs
  • The broader room grid is still evolving; Python is the current fully live dedicated room route

Related Guides

Keep going