A sample interaction:
py> def succ(n):
py> n + 1
py> succ(42)
None
ai> why is succ not working?
Thinking...
-> Listing globals
Inspecting: succ
Evaluating: succ(5)
Unlike typical AI coding assistants, the model isn’t just generating text — it can introspect the interpreter state and execute code inside the live session.Everything runs inside a Rust process embedding the Python interpreter, with a terminal UI where you can switch between Python and the agent via .
It’s very much a prototype, and definitely insecure, but I think the interaction model is interesting and potentially generalizable.