I'm intrigued by the concept of a web framework specifically tailored for AI, where the main developer would be an AI agent. Essentially, humans would just set goals, constraints, and approvals while the AI takes care of planning, implementing changes safely, verifying them, and deploying updates. I'm curious about what the core components or 'primitives' of such a framework would be if it were being designed.
5 Answers
I like the idea! You could incorporate functionalities such as managing I/O operations, overseeing modules and dependencies, handling unit and integration testing, and facilitating feature-specific deployments. These components would add significant value to your framework!
AI-powered frameworks sound like the future! It could be an incredible opportunity for developers in the coming years.
You might want to look into Elixir's Ash framework as a model. It's quite elegant and could inspire aspects of your design.
To build this kind of framework, you might want to start with a structure that includes clear documentation and perhaps a backend akin to LLMS.txt for processing. Also, consider that visual interfaces might not be as dominant in the coming years. Websites could evolve into simpler, more semantic pages. Therefore, focus on creating a fast framework that relies primarily on HTML with minimal CSS and Javascript. Astro is a solid example of a framework targeting those goals. Aiming for a speedier, native experience could benefit both AI and human users.
The aim of any framework is to enhance code readability and ease of editing while minimizing bugs. A framework that works well for humans should also be effective for AI like LLMs. You might consider adjusting the syntax to make it easier for AI to interpret, but ultimately, human oversight will always be necessary to catch any security issues or bugs introduced by AI-generated code.
Yes, exactly! I'd love a framework that guarantees minimal token usage, reduces hallucinations, and enables efficient reading without needing extensive context.

This sounds interesting.