Kotlin based command line tool (Assistant Kommander)

Hey all I love the Kotlin ecosystem and went on a code mission to write a command line tool in Kotlin that gives a command line experience for the Assistants API where you can install assistants as Plugins (just implementing the plugin part now)!

I found that defining functions in the Assistants API web UI was a bit awkward to started to write a tool called Assistant Kommander (ASK).

Have a look at the README.md and if it sounds interesting give it a whirl, currently it has one built in Assistant called @coder that you can install and try.

I would call it an early ALPHA and not 100% sure the direction but the assistant I started with is called @coder and that uses function tools to access the file system, create files, etc, its very basic but quite cool!

If something like this interests you feel free to contribute ideas, features, etc.

As mentioned I am looking at implementing the plugin system so assistants can be provided and loaded via ServiceLoader at runtime and looking at a development flow to easily write new assistants, import and install them into your OpenAI account conveniently. Gives a nice approach for Kotlin engineers to define assistants and assistant functions.

Lemme know! :slight_smile:

1 Like

Would like to share progress on my command line tool:

Here is an example of the kind of conversations you can have with it as of 0.8.1 (releasing soon)

I am sure many of these tools are being created though if anyone who is into Kotlin out there wants to give it a spin and welcome any feedback and PR’s! :slight_smile:

1 Like

Inspiring project, thanks for sharing! I actually wonder why GitHub Copilot Chat & Co. are still less powerful than this.

1 Like

Hey thanks!

Copilot and others I have tried, particularly rely on copilot a bit too much very good line completions.

I guess the approach with ask is conversational first since it’s built on the assistants api.

Ask does have a long way to go I just added voice transcription so that adds another level though it can be challenging to get code done correctly with this approach however I have had some surprising success adding new features to the ask codebase with ask itself.

Hope I can make it more reliable and interesting as time goes on!

Thanks again! :pray:

1 Like