AndolasoftAI-native software partner

ZENLEAF delivery framework

Python backends that start with the common parts done.

ZENLEAF is the FastAPI framework we use to build every Python backend. Login, roles, logging, events and scheduling are set up the same way each time. Your budget goes on the features that make your product different. You own the code we build for you.

  • FastAPI and Python
  • Same structure in every project
  • Runs our own products
Animated illustration: Services, Generator, Platform

What is ZENLEAF?

ZENLEAF is how Andolasoft delivers FastAPI backends. It is not a product you buy. It is our tested base of shared services, a fixed folder pattern and a code generator. We start each Python project from it, then build your features on top.

Shared services

Login, single sign-on, roles, logging, events, workflows and scheduling, set up once and reused.

One folder pattern

Every service has the same files in the same places, so any engineer can find their way around.

A generator

We describe a service in JSON. The generator writes its folder and basic endpoints to create, read, update and delete records.

Who is ZENLEAF for?

ZENLEAF suits teams that need a Python backend built and want it done the same way every time.

Founders building a first product

You need a backend that real users can rely on. It should grow with you, not need a rewrite after launch.

CTOs and engineering leads

Your teams run several Python services. Each one handles login, logging and permissions in its own way.

Product teams with a long backlog

You want engineers working on your features, not on setup work that every project repeats.

Why start from a framework instead of a blank project?

Most backends need the same parts before the first feature ships. Building them again on each project costs time and adds risk. ZENLEAF has them ready.

More of the budget goes on your product

The shared services are already built and tested. Project time goes on your business rules, not on setup.

Tested in live products

The same login, roles and logging run in our own products every day, before they reach yours.

Easy to review and hand over

Every service follows one layout. New engineers on your team can read the code without a long tour.

Code you own

After handover, you own the code we generate and write for your project. We agree this in writing before work starts.

What runs on ZENLEAF today?

We build our own products on ZENLEAF. They are live, so you can try the result before you talk to us.

DashboardGPT

AI analytics on managed Apache Superset. Ask a question in plain English and get a chart. See DashboardGPT

BuildSEO

A link building tool. It finds publishers, scores them and checks that links stay live. Visit BuildSEO

1AI.tools

A directory of AI and SaaS tools. A person reviews each listing before it goes live. See 1AI.tools

Research lab platforms

The platforms we build for research teams run on ZENLEAF too. See Research Labs

How do we deliver a project on ZENLEAF?

Every project follows five steps. It starts with a 30-minute call about your problem.

  1. 01

    Talk it through: in a 30-minute call, you describe the problem. We tell you how ZENLEAF would help and what a first release could cover.

  2. 02

    Agree the scope: we write down the services, the data each one holds and the first release. You approve it before we build.

  3. 03

    Generate the services: we describe each service in JSON. The generator writes its folder and basic endpoints.

  4. 04

    Build your rules: our engineers write the business logic, the integrations and the tests on top of the generated code.

  5. 05

    Launch and hand over: we deploy, then hand over the code and the documentation. Support is agreed up front.

What is inside ZENLEAF?

ZENLEAF sets up nine platform services on every project. Each one is built on a well-known open-source package or open standard.

ServicePackageWhat it does
Database accessSQLAlchemy 2, asyncModels and queries for each service
Loginfastapi-usersSign-in with OAuth2 and JWT tokens, with ready endpoints
Single sign-onOpenID Connect (OIDC)One login across several applications
Paging and filtersfastapi-queryThe same paging and filter rules on every list
Access controlRole-based access (RBAC)Roles and permissions set per service
LoggingLoguruOne logging setup for all services
WorkflowsPrefectRepeatable data and background jobs
EventsApache KafkaServices send events and react to them
SchedulingrruleRepeating tasks written as rules

How is each service organized?

Each service in ZENLEAF has the same eight files. Business rules sit in their own file, apart from the endpoints and the database code.

FileWhat it holds
model.pyDatabase models for the service
schema.pyThe shape of each request and response
event.pyEvents the service sends or listens to
dependency.pyShared inputs, such as the signed-in user
service.pyThe steps of each use case
repository.pyDatabase reads and writes
rule.pyBusiness rules, kept apart from the steps
router.pyThe API endpoints for the service

What do you still decide?

ZENLEAF handles the common parts. You decide everything that is specific to your business.

Your business rules

Written in rule.py and service.py, where they are easy to test and review.

Your data model

Designed for each service, on top of the shared database setup.

Your integrations

Connected through events and dependencies, not through shared code.

Your front end

Built separately from the backend services, in web or mobile.

FAQ

Questions

Ask us directly
What is ZENLEAF?

ZENLEAF is the FastAPI framework Andolasoft uses to deliver Python backends. It gives every project the same shared services, folder pattern and code generator. Our engineers then build the client's features on top.

Can we buy or license ZENLEAF?

No. ZENLEAF is how we deliver projects, not a product we sell. You hire us to build your backend, and we build it on ZENLEAF.

Who owns the code after handover?

You own the code we generate and write on top of ZENLEAF for your project. We agree this in writing before work starts.

How should a FastAPI microservices project be structured?

Give every service the same files: models, schemas, events, dependencies, service steps, a repository, business rules and a router. Keep business rules apart from endpoints and database code. Then any engineer can read any service.

Is FastAPI a good choice for a business backend?

Yes, for most products with a separate web or mobile front end. FastAPI checks request data with Python type hints and writes API docs for you. It also handles many requests at once.

Which products run on ZENLEAF?

Our own live products: DashboardGPT, BuildSEO, 1AI.tools and our research lab platforms. You can try them before you talk to us.

Can ZENLEAF handle login and single sign-on?

Yes. Login uses OAuth2 and JWT tokens through fastapi-users. Single sign-on over OpenID Connect lets users sign in once across several applications.

What happens on the first call?

It takes 30 minutes. You describe the problem you want to solve. We explain how ZENLEAF would help, what a first release could cover and what we need from you.

Have a Python backend to build?

Book a 30-minute call. Tell us the problem, and we will show how ZENLEAF would shape your first release.