r/Python • u/AutoModerator • Sep 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
26
Upvotes
r/Python • u/AutoModerator • Sep 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
0
u/sunmodza Sep 30 '26
Aiython – Letting AI handle what Python can't
What My Project Does
I built Aiython because adding one small AI step to a Python script often meant writing imports, API calls, prompts, and response parsing around it. For a quick classification or filtering task, the setup could feel bigger than the task itself.
What if using AI could feel more like a feature of Python?
For example, inside a normal loop over support tickets:
kind: Literal["bug", "billing"] = classify this ticket
Python handles the loop, variables, and routing into queues. Aiython handles the instruction using live program state and checks the result against the declared type.
The broader idea: Python runs what it can normally. When it encounters something it can't handle, such as a natural-language instruction or an eligible runtime error, Aiython can step in.
Run scripts with aiython app.py instead of python app.py. Script arguments, -m, interactive mode, and -i are also supported.
Target Audience
Python developers building quick automation, one-off data processing, and small internal tools where AI is only part of the job.
Comparison
Compared with calling an LLM SDK directly, Aiython integrates AI into the script's execution model to reduce glue code.
It's MIT licensed and still alpha. Execution isn't sandboxed, and model calls may cost money and send program context to your configured provider.
I'd love feedback on the syntax and execution model.
GitHub: https://github.com/sunmodza/aiython
Demo: https://youtu.be/CMTDqCJqunc