Introducing PAS Code

Scheer PAS Code is the development environment of the Scheer PAS platform for building business applications and services with the help of AI.

  • You develop locally, in your own editor, with familiar standard technologies: TypeScript, Angular, and Nest.js.

  • PAS Code is designed to work with AI coding assistants. Every project comes with the skills and rules your assistant needs to work by the platform’s conventions.

  • The platform builds, publishes, deploys, and runs the software after you push it.

This page gives a short overview of PAS Code. Follow the links for more details.

The Idea of PAS Code

A business application needs a technical base before the first function can operate. This base includes the project structure, the frameworks, the build scripts, the containers, the pipelines, the configuration, and the monitoring. PAS Code supplies this base for you.

PAS Code integrates scaffolding, development, testing, deployment, and operation into one consistent workflow:

  • Local development
    You develop locally, in your own editor, with standard technologies such as TypeScript, Angular, and Nest.js.

  • AI support
    PAS Code is made for development with an AI coding assistant that supports you, following the PAS conventions and rules of the platform.

  • Deployment and operation on the platform: After you push the software, the platform builds and versions your project, deploys it to an platform, and keeps it running.

You decide what the application should do. PAS Code makes sure that the application fits with the platform.

The Building Blocks

PAS Code consists of three parts. Each part owns one stage of the path from source code to running software:

Part

Location

Function

PAS Code

Your IDE

The local development framework, consisting of the PAS CLI and a set of development skills and libraries.

Scheer PAS Platform and Control Hub

The platform (in the browser)

Build, publish, deploy, operate, and monitor your projects.

Refer to What Is the Control Hub? for more information.

What You Can Build

A PAS Code project is a versioned, deployable unit that is built, published, and deployed as a whole. It consists of one or more components:

Component

Description

Command

App

A web frontend (Angular) that users open in the browser.

pas generate app

Service

A backend component (Nest.js) that provides functions and data to apps and to other services.

pas generate service

Agent

An AI agent that answers questions and performs tasks on the platform. An agent is a feature of a service and is deployed together with it.

pas generate agent

Bundle

A group of components that are deployed together.

pas generate bundle

Refer to Key Concepts for the definitions of these and of other terms.

Overview of the Workflow

Every project follows the same cycle:

Step

Action

Command or tool

1 one square blue

Connect your computer to a Scheer PAS platform.

pas platform login <url>

2 two square blue

Create a project.

pas new <name>

3 three square blue

  • Specify and write your features with your AI coding assistant. The assistant generates the necessary components.

  • Use the pas generate commands to generate the project components manually.

AI coding assistant
pas generate <type>

4 four square blue

Run and test the project on your computer.

pas start

5 five square blue

Commit and push your changes. The pipeline builds and publishes a new version.

git push

6 six square blue

Deploy the version to an environment and operate it.

The Control Hub

To get a first impression, you do not even need a platform: steps 2 two square blue --> 4 four square blue work entirely on your computer.

Next Steps

Step

More Information

Install the PAS CLI and create your first project locally.

Getting Started With PAS Code

Walk through the complete workflow, from the platform connection to your first deployment.

Developing with PAS Code: From Initial Setup to First Push

Learn how to work with your assistant through the phases of spec-driven development.

Developing With an AI Coding Assistant

Deploy and operate your projects on the platform.

The Control Hub

📗