Settings

Theme

AI as the Engine of Application State

jonwoodlief.com

2 points by jonfw a month ago · 3 comments

Reader

dpe82 a month ago

This seems really interesting though I'm struggling to picture how the AI and UI interact? Is the UI just a reflection of the folders/files on disk that the AI updates? Are there UI interactions (buttons, etc.) that trigger the AI to do something, somehow? More detail would be super helpful!

  • jonfwOP a month ago

    Thank you for the kind words and feedback! Maybe I could have been more clear on the implementation details.

    You were on the money with “UI just a reflection of the folders/files on disk that the AI updates.

    There is no real UI integration with the AI, other than the UI embedding the chat interface of a coding agent (using an embedded terminal)

    The UI just uses a filesystem watcher to keep track of updates to the relevant directories or files.

    • dpe82 a month ago

      Ok cool - yeah that's a very reasonable place to start. I've been toying with ideas for "AI driven UIs" but haven't really experimented with much concrete yet. I feel like there's a lot of space to play here though. Eg. let the AI also create controls that are backed by prompts, etc.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection