Writer Framework is an open-source framework for creating AI applications. Build user interfaces using a visual editor; write the backend code in Python.
Writer Framework is fast and flexible with a clean, easily-testable syntax. It provides separation of concerns between UI and business logic, enabling more complex applications.
Writer Framework is fully state-driven and provides separation of concerns between user interface and business logic.
import writer as wf
def handle_increment(state):
state["counter"] += 1
wf.init_state({
"counter": 0
})
The user interface is a template, which is defined visually. The template contains reactive references to state, e.g. @{counter}
, and references to event handlers, e.g. when Button is clicked, trigger handle_increment
.
*End-to-end figure, including DOM mutation. Tested locally on a Macbook Air M2. Measurement methodology.
pip install
away.Getting started with Writer Framework is easy. It works on Linux, Mac and Windows.
pip install writer
writer hello
pip
.The following commands can be used to create, launch Writer Framework Builder and run an application.
writer create my_app
writer edit my_app
writer run my_app
Full documentation, including how to use Writer's AI module and deployment options, is available at Writer.
Writer is the full-stack generative AI platform for enterprises. Quickly and easily build and deploy generative AI apps with a suite of developer tools fully integrated with our platform of LLMs, graph-based RAG tools, AI guardrails, and more. Learn more at writer.com.
This project is licensed under the Apache 2.0 License.