r/AIprogrammingLanguage • • 3d ago

Ambient Knowledge -- actively exploiting the knowledge of a specific model...

I have done a load of experiments etc on AI 'assisted' programming -- when frontier models start to charge realistic fees, most people won't have access... but you can have loads of free local models downloaded today that can never be taken away.

I have played around with many ideas on using small local models to do professional programming - every new model generation means rethinking again all over.

But... I am currently working on an IDE, designed to empower good devs to be ultra productive using cheap local AI.

I have just been working on the idea of 'ambient knowledge'. When using a small AI, it is very important to know the best model for what you are doing... which small model is best at the language you are developing for? What does it know? You are getting its training for *free* - it is obviously best to lean on its established, learned, knowledge rather than trying to force an ignorant model to do something you want, but it doesn't understand.

To this end, my IDE lets the user connect to any model they like... but to be sensible it needs to know how well the model supports the language you are using. So I got AI to write an ambient knowledge assesment app - given a platform, model and dev language, it runs tests to assess how well the AI supports that language (how much ambient knowlege you can rely on it having).

Anyway - having done the app, I was really surprised at some results... I won't list every thing, but am happy to highlight why devs really need to consider this(!) - FWIW I had AI decide and write the tests - it was about knowledge of typical libraries etc that you'd expect an app to likely use.

Some results...
That amazingly poor deepseek/python result(!)
6 Upvotes

1 comment sorted by

1

u/antonation 3d ago

This is a really neat idea. Probably something beyond this is to probe for design principles and patterns, though I guess there's less fragmentation compared to particular language support.

Since we're in the business of making AI programming languages here, it would be interesting to break your probes down by language features (borrow checking for example).

> you can have loads of free local models downloaded today that can never be taken away.

Who knows. I recall an idea floating around that model inference would be gated at the hardware level, so it wouldn't be infeasible for them to create a GPU/NPU that refuses to run an unsigned/unauthorized model. There are worries about models "phoning home" without the user knowing (though I can't back the claim).