April 6, 2024, 9:36 a.m. | /u/Financial_Muffin396

Machine Learning www.reddit.com

Hey [](https://www.reddit.com/r/MachineLearning/),

[https://github.com/CaptureFlow/captureflow-py/](https://github.com/CaptureFlow/captureflow-py/)

I've built something called CaptureFlow, an open-source Python tool that combines AI (yes OpenAI API for now) codegen with execution tracing to suggest automatic fixes for production bugs. It captures detailed execution graphs, code, function call hierarchies, inputs/outputs and offers a pretty good pipeline for AI-driven code refactoring tasks.

**Why It's Interesting**: It opens room for Retrieval-Augmented-Generation (RAG) on steroids (shoutout to DevinAI console.logging itself) for code generation.

Keen to hear your insights and ideas. Let's brainstorm …

api bugs call code function good graphs inputs machinelearning openai openai api pipeline production python rag refactoring retrieval retrieval-augmented room something tasks tool tracing

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Developer AI Senior Staff Engineer, Machine Learning

@ Google | Sunnyvale, CA, USA; New York City, USA

Engineer* Cloud & Data Operations (f/m/d)

@ SICK Sensor Intelligence | Waldkirch (bei Freiburg), DE, 79183