Show HN: Debug your AI application in web browser (github.com)

1 points by yol ↗ HN
Hi HN,

I'm Bryan. I built an open-source project for debugging your AI applications interactively through a web UI with just a few lines of setup.

You can require user input mid-execution, pause/resume, and look at traces in real time.

Here's a demo of how debugging looks like: https://www.loom.com/share/6d419cfe20884b3994121697377b2a7e

Here's how to setup:

- Start local debug server `pip install pixie-sdk && pixie`

- Link application to Pixie

```python # register entry point function or generator @pixie.app async def my_agent(query): results = await search(query)

    # Pauses here, prompts for input in web UI
    selection = yield pixie.InputRequired(int)
    
    return await summarize(results[selection])
```

- Open gopixie.ai to debug

Would this save you time? Would love to hear your thoughts!

1 comment

[ 5.1 ms ] story [ 9.7 ms ] thread