Develop
Core concepts
Understand how to build complete applications with Davia — from Python functions to a working app.
Davia helps you build complete applications by connecting your Python backend to a custom interface. Write your application logic in Python, launch the server, and describe how you want your app to work.
Core Concepts
Backend-First Development
- Write Python functions with clear inputs and outputs
- Davia exposes these through a local server
Two Ways to Expose Logic
@app.task
— for any standalone function (e.g. generate a report, summarize text, display a dataframe)@app.graph
— for structured AI agents using LangGraph
How the Connection Works
When you run your Davia app:
- Your Python backend starts running locally on your machine (
http://127.0.0.1:2025/
) - Davia automatically opens a browser window to dev.davia.ai
- The dev.davia.ai editor establishes a secure connection to your local server
- It discovers your exposed functions/graphs by connecting to your localhost endpoints
- Your code runs privately on your machine while you use Davia’s powerful editor interface
Once connected, your local functions will appear in the interface:
Application Generation
After connection, in the editor you can:
- See your available functions and tasks listed automatically
- Visually build your application interface
- Describe workflows and configure app behavior
- Test your app directly from the browser
- See changes to your Python code reflected after restarting your server, making iteration seamless
Davia creates the complete application. Test and iterate on both logic and user experience.
Deployment
Once you’re satisfied with your application, Davia handles deployment for you:
- Deploy both frontend and backend with a single click
- No need for manual infrastructure setup or configuration
- Your application is instantly available for your users