Jul 10, 2023
Experimental: interface agent!
This nightly build comes with experimental interface agent support!
The goal: you write an interface specification, and an agent writes both the tests and the implementation for you. It makes sure that the tests pass, so you don't even need to look at the implementation at all.
We think this may enable a new kind of programming, that's kind of different to what we're all used to. Please experiment with it and let us know your thoughts in the Discord channel.
How to use it:
- It only works in Typescript with vitest or mocha as test runners right now.
- Hit Cmd-Shift-I, and give your new interface a name.
- Write the methods you want your interface to have.
- Hit Cmd-Shift-Enter, and the AI will write the interface for you!