Build an application with AI agents

Web, API or mobile: agents write the code in your repository, and you review every merge request on its preview before release.

  • GitHub or GitLab repository, or one provided by ERHA
  • One branch per task in merge request mode
  • Hosting on your account or on ERHA Cloud
42merge
Booking application
Previewmr-42.booking.apps.erha.ai
  • Available slots endpointDone
  • Booking calendar on the webIn review
  • Booking screen on mobileRunning
Merge request ready to approveApprove

What slows application development down

Behind an application there is usually a web interface, an API and sometimes a mobile app, each with its own code, hosting and releases.

Several parts, one small team

The API, the web interface and the mobile app all move at once, so the team has to choose what waits.

Tasks stuck in the backlog

Pushed behind urgent work, small changes do not get shipped.

Separate tools

Tasks, repository, previews and hosting are spread across tools the team links by hand.

From task to release, in ERHA

A project groups its applications, each declared with its type: landing, web, API, mobile, library or other.

Web application

Nora, the frontend agent, handles the interface. In a repository, ERHA recognises Next.js, React, NestJS, Symfony, Laravel and WordPress.

API

Julien, the backend agent, handles the API. Migrations are written in the repository but not run, since the runner has no database.

Mobile application

Marc, the mobile agent, writes Expo, React Native, Flutter, iOS or Android code. Because the runner does not compile native iOS, Android or Flutter applications, the agent lists what is left to run. Expo builds are started through EAS from the console.

Repository and merge request

The repository stays on your GitHub or GitLab, unless ERHA provides it. In merge request mode, every task produces a branch and a merge request to review.

A preview per merge request

On ERHA Cloud, every open merge request is deployed as a preview with its own database, which can be empty, seeded from an SQL file or, for PostgreSQL, an anonymised copy of production.

Hosting and release

The application runs on your Vercel, Upsun or Qovery account, or on ERHA Cloud, with a custom domain and a TLS certificate. The host deploys the production branch.

Merge request !42Ready for review

Pay in three instalments at checkout

Hugo · 6 min ago·4 files changed

  • Build
  • Tests
  • Preview

store-git-pay-in-3.vercel.app

How to develop an application with ERHA

Start from an existing repository or one provided by ERHA. Your GitLab, GitHub and Jira tickets import into the board.

  1. 01Create the project and its applicationsDeclare one application per part of the product, with its repository, working branch and production branch. Two applications can share a repository (monorepo, one folder each).
  2. 02Write the tasksWrite them on the board or in the backlog. When you click Start, ERHA picks the agents the task needs and splits the work between them.
  3. 03Review, then releaseThe task moves to review with its merge request. Once the preview is tested and the branch merged, the host deploys the production branch.

Example: an appointment reminder across API, web and mobile

A startup is building a booking application made of an API, a web interface and an Expo mobile app, three applications of one project in a GitLab repository. The API and the web interface are hosted on ERHA Cloud.

  1. The CTO writes the task "Appointment reminder" and clicks Start.
  2. ERHA splits the task between Julien for the endpoint and the migration, Nora for the settings screen and Marc for the notification in the mobile app.
  3. The merge request comes up for review. The CTO tests the API and the web interface on the preview, then merges.
  4. ERHA Cloud deploys the production branch, and the mobile build is started through EAS from the console.

Outcome

The API and the web interface are live, and the mobile build has gone to Expo.

Frequently asked questions

Can the agents build a native mobile application?

They write the code, since Expo, React Native, Flutter, iOS and Android are among the recognised stacks. The runner, however, does not compile native iOS, Android or Flutter applications: the agent writes the code and lists what is left to run. For an Expo application, builds are started through EAS from the console.

Where does the agents' code live?

In the application's repository, whether it sits on your GitHub, on your GitLab or is provided by ERHA. In merge request mode, every task has its own branch and merge request there.

Does the application have to be hosted by ERHA?

No, hosting is up to you. An application can have no hosting in ERHA, use your Vercel, Upsun or Qovery account, or run on ERHA Cloud. Previews per merge request and managed databases (PostgreSQL, MySQL, Redis) are ERHA Cloud features, however, and its applications run in Europe.

Can an agent release without a review?

Not in merge request mode, where nothing is merged without your team. The delivery mode is set per application, and in direct delivery (push) the agent commits to the working branch.

Can we bring our existing tickets?

Yes. ERHA imports tickets from GitLab, GitHub and Jira with their labels, open ones only or all of them, over 3, 6 or 12 months. Synchronisation is optional and off by default.

How much does a development task cost?

Each seat brings monthly AI credit. Each agent's usage and the AI credit left are shown in euros on the Billing page. Beyond the credit, usage is billed at model rates, and overage is capped. ERHA Cloud is priced separately, at the same rate on every plan.

Hand your first task to an agent this week

Create your space in a few minutes, or book a demo to connect a first repository with the ERHA team.