Architecture

How CodeSky builds production software

CodeSky turns a description into a running full-stack application — user interface, API, database schema, authentication and background jobs generated together as one coherent codebase. This page explains what happens between the prompt and the deployed app: the generation pipeline, the stack it produces, how models are selected, how code reaches your own repository, and how releases ship. If you are evaluating whether the output is code you would be willing to own and maintain, start here.

The generation pipeline

Generation is staged rather than single-shot. Each stage produces an artefact the next one depends on, which is what keeps the schema, the API and the interface describing the same application instead of three plausible but incompatible versions of it.

  1. Intent and planning

    Your prompt is expanded into a concrete build plan — the screens involved, the entities behind them, the operations each screen needs, and the order the work has to happen in. Planning runs before any code is written, so the schema and the API are designed against the same model rather than reconciled afterwards.

  2. Schema and data model

    Entities, relationships, constraints and indexes are derived from the plan and expressed as migrations. Because the data model is generated first, the API layer and the UI are both written against a schema that already exists instead of one inferred from screens.

  3. Code generation

    UI, API endpoints, authentication, authorization rules and background jobs are generated together as one coherent codebase — not as isolated snippets stitched together. Shared types flow from the schema through the API to the components that consume them.

  4. Build and live preview

    Every change is compiled and served to a live preview immediately. You refine by clicking an element directly or by prompting, and each edit is analysed, applied and written to a clean, reviewable history rather than overwriting what came before.

  5. Deploy

    Deploy from the builder to a target you saved once: your own server, Vercel, Netlify, AWS, Azure, Google Cloud or a GitHub Actions workflow. CodeSky shows each step as it runs and returns the live URL, and you can promote a build from test to production.

What CodeSky generates

Every layer below is generated for each project — not assembled from a fixed template you then have to grow out of. See the full feature set for how each layer behaves while you are building.

Layers of a CodeSky-generated application
LayerWhat you getNotes
FrontendModern component framework, typed end to endRouting, state, forms and data fetching are generated together with the components — including full right-to-left layouts.
APIREST endpoints with validation and error handlingGenerated against the schema, so request and response types stay in step with the data model.
DatabasePostgreSQL, MySQL, SQL Server, SQLite or MongoDBChosen at project creation; the schema and data-access layer are generated for that choice.
AuthSession and token based authenticationRoles and permission checks are enforced on the server, not merely hidden in the interface.
JobsScheduled and background workLong-running or recurring tasks are generated as first-class jobs rather than request-time side effects.
DeliveryYour hosting: your server, Vercel, Netlify, AWS, Azure or Google CloudDeploy targets are saved once and reused; every run and its steps are kept in the deploy history.

Model routing

No single model is best at every task, so CodeSky lets you choose. You pick the AI model for each build from the models your plan includes — Claude and Gemini among them — and can switch between builds when one handles a task better than another.

For work that must stay on your own hardware, the CodeSky desktop app can run local models offline through Ollama, so prompts and code never leave the machine.

Your code, in your repository

CodeSky works with GitHub, GitLab, Bitbucket and Azure DevOps. From the Source Control dialog you create or connect a repository and push your code to it; when you reopen a project linked to GitHub, CodeSky first pulls the latest changes from its main branch, so work done by your engineers is not overwritten. Inside CodeSky, every change is also kept in version history, and you can restore any earlier version.

That also defines the exit. You can download the project at any point, and the generated code carries no runtime dependency on the platform — an application built on CodeSky keeps running whether or not it stays on CodeSky.

Deployment and infrastructure

CodeSky deploys to hosting you control. You save a deploy target once — your own server over SFTP/SSH, Vercel, Netlify, AWS (S3 and CloudFront, Elastic Beanstalk, ECS Fargate), Azure App Service, Google Cloud (Storage with CDN, Cloud Run) or a GitHub Actions workflow — then deploy from the builder. CodeSky sends the project to that host, shows each step as it runs, and returns the live URL when the host provides one.

Targets can be tagged test, preprod and prod, and a build can be promoted from one to the next, with admin approval for shared production targets. Every run is kept in the deploy history. Deployment in detail · See the end-to-end walkthrough.

Security and access control

Authorization is generated as server-side enforcement. Role and permission checks live in the API layer, so hiding a control in the interface is a presentation decision rather than the security boundary — a request that should not be permitted is rejected by the server regardless of which client sends it.

Applications are generated with authentication, session handling and input validation in place from the start. Organisations with specific compliance, residency or review requirements can talk to us about enterprise deployments.

Arabic and right-to-left by default

Right-to-left support is part of generation rather than a retrofit. Generated applications handle Arabic content, full RTL layouts and multi-language interfaces as a normal case, which means mirrored layouts, correct text direction and localised content are handled when the code is written instead of being patched in after a redesign.

Local development with CodeSky Desktop

For engineers who would rather work on their own machine, CodeSky Desktop is a complete AI-powered IDE: inline editing over a selection, a visual debugger with real breakpoints, AI in the terminal, AI-written commit messages, and Model Context Protocol support for connecting your own tools and data sources.

It also runs local models through Ollama, with a hardware-aware picker that matches the model to what your machine can actually run — useful when code cannot leave your network. Repository conventions and a .codeskyrules file let you hold generated code to the standards your codebase already follows.

Frequently asked technical questions

Do I own the code CodeSky generates?

Yes. You can push it to your own GitHub, GitLab, Bitbucket or Azure DevOps repository, or download the project at any time, and nothing about the generated code depends on staying on the platform.

Which databases does CodeSky support?

PostgreSQL, MySQL, SQL Server, SQLite and MongoDB. You pick the database when the project is created, and the generated schema, migrations and data-access layer are written for that choice.

Which AI models does CodeSky use?

You choose the model for each build from the models your plan includes, Claude and Gemini among them. The CodeSky desktop app can also run local models offline through Ollama.

Can I run CodeSky locally?

CodeSky Desktop is a full AI-powered IDE for your own machine, with inline editing, a visual debugger with breakpoints, terminal AI, AI-written commit messages and Model Context Protocol support. It can also run local models through Ollama, with a hardware-aware picker that matches the model to your machine.

Does CodeSky support Arabic and right-to-left layouts?

Yes, as a first-class capability rather than a retrofit. Generated applications support Arabic content, full RTL layouts and multi-language interfaces, and the platform itself is available in both directions.

How are database migrations handled after launch?

Schema changes are generated as migrations and applied automatically as part of the deployment pipeline, so the running database and the deployed code move together instead of drifting apart.

Build something and read the code

The fastest way to judge generated code is to generate some. Describe an application, let CodeSky build it, then open the repository and look at what it wrote.