Skip to content

Agama Lab

Design login flows and access policies in your own GitHub repository

Agama Lab is Gluu's browser-based designer for Agama login flows and Cedar authorization policies. Every save is a commit to your repository, and what you build runs on the Janssen Server or Gluu Flex, on infrastructure you choose.

  • Free to design
  • Sign in with GitHub
  • Runs on open-source Janssen
my-project.gama
# Released to your GitHub repository
code/          # flows (.flow files)
web/           # UI templates, assets
lib/           # libraries (optional)
project.json   # metadata (optional)
A .gama archive is a zipped Agama project.The .gama format
  • Open source underneath

    Agama is part of the Janssen Project, Apache 2.0 software at the Linux Foundation.

  • Your repository, your history

    Your project files stay in your repository. Each save is a commit you review and merge like any other code.

  • Ready-made projects

    The Project Catalog has flows for passkeys, one-time codes, social login, inbound SAML and more, reviewed by Gluu.

  • Flows and policies together

    One tool for login journeys (Agama) and authorization policies (Cedar).

Tools

Everything you need to design, test and release

Agama Lab works on the files in your GitHub repository. Pick the tool for the job.

  • Flow Designer

    Build Agama login flows with a low-code, drag-and-drop editor, and design the pages users see with the template editor.

    • Visual flow editor that generates the Agama code
    • UI template editor for the login pages
    • Several projects in one development repository; import and export flows
  • Policy Designer

    Write and test Cedar authorization policies with step-by-step wizards.

    • Visual editors for Cedar schemas and policies; import existing ones
    • Validate policies against the schema
    • Test token-based scenarios with the Cedarling
    • Policy stores kept in GitHub, ready for the Cedarling or the Gluu Flex Admin UI
  • Project Catalog

    Start from a project someone has already built and Gluu has reviewed.

    • Projects reviewed for license, documentation and organization
    • Each release is a .gama archive in the project's GitHub repository
    • The Janssen Server can fetch catalog projects directly

From a GitHub repository to your login page

  1. Connect GitHub

    Sign in with GitHub and install the Agama Lab GitHub app. You choose which repositories it can use.

  2. Design

    Open a catalog project or start a new one. Every save adds a commit to a branch in your repository, so you review and merge it like any other change.

  3. Release

    Publish the project to its own release repository. Agama Lab builds the .gama archive into the GitHub release.

  4. Deploy

    Add the .gama archive to the Janssen Server or Gluu Flex and give it its JSON configuration. Cedar policy stores go to the Cedarling or the Gluu Flex Admin UI.

A look inside

Draw the flow, and Agama Lab writes the code

Each box is a step in the flow: show a page, call your code, check a result, branch. Generate Code shows the Agama code behind the drawing, and Save commits it to your repository.

The Agama Lab Flow Designer: a project's files on the left and a password sign-in flow drawn as connected nodes

A look inside

Write Cedar policies with a wizard

Choose permit or forbid, then who, what and on which resources, step by step. The Policy Designer keeps the schema, policies and test cases together in a policy store in your repository.

The Agama Lab Policy Designer's policy wizard: choose permit or forbid, then the principals, actions and resources the policy covers

Project Catalog

Start from a flow that already works

Fork a reviewed project, change what you need and release it as your own.

The Agama Lab Project Catalog: cards for agama-openid, agama-hello, agama-pw, agama-securitykey, agama-typekey, agama-smtp, agama-totp, agama-passkey and agama-sms
  • Passwords and account recovery

    Username and password sign-in, with registration and forgot-password flows.

  • One-time codes

    TOTP apps such as Google Authenticator, and codes by SMS or email.

  • Passkeys and security keys

    FIDO sign-in with passkeys and hardware keys.

  • Social and external sign-in

    Sign in with an OpenID Connect provider or a social account.

  • Inbound SAML

    Accept sign-ins from a partner's SAML identity provider.

  • Biometrics

    Add a biometric step to a flow, such as typing dynamics.

A walk-through of a different project every week:

Where it runs

Your code stays yours

You design in Agama Lab and run on your own identity server. Your flows, templates and policies live in your GitHub repository, with its history, reviews and access rules, and a .gama archive runs on any identity server that supports Agama.

  • Janssen ServerOpen source

    The open-source identity server from the Linux Foundation Janssen Project. Agama is built in, and it can fetch catalog projects directly.

  • Gluu FlexCommercial

    Gluu's commercially supported distribution of Janssen. Runs your Agama projects, and its Admin UI loads Cedar policy stores from the Policy Designer.

  • Gluu SoloHosted

    Gluu Flex, hosted and managed by Gluu.

Agama is the Janssen Project's language for login flows, with rules for running them and the .gama package format.

What people build with it

  • Custom login flows that integrate with existing backend systems
  • MFA rollouts with step-up rules per application
  • Single sign-on across multiple customer-facing applications
  • Inbound SAML and social login normalization
  • Authorization rules for your app, written once in Cedar and tested before release

Licenses and subscriptions

Where Gluu customers buy

Agama Lab is also where you get a Gluu Flex license or a Gluu Solo subscription. Designing flows and policies is free.

  • Gluu Flex license

    The Gluu Flex Admin UI is activated with a license from Agama Lab. Start with a free trial license, then buy online for deployments of up to 1,600 monthly active users, or talk to us for larger ones.

  • Gluu Solo subscription

    Subscribe to Gluu Solo, Gluu Flex hosted by Gluu, and manage it from Agama Lab.

Buying for a larger deployment?

Publish to the catalog

Built something others could use? Publish it from Agama Lab to its own public repository and register it in the Project Catalog. Gluu reviews each project for license, documentation and organization, and projects that pass earn developer swag.

Resources

Learn Agama

  • Documentation

    Agama Lab docs

    Flow Designer, Policy Designer, catalog and publishing.

  • Video

    Agama Project of the Week

    Short walk-throughs of catalog projects.

  • Reference

    Agama language

    The Agama language and .gama format, in the Janssen docs.

  • Policy engine

    Cedarling

    The engine that runs your Cedar policies.

FAQ

Questions about Agama Lab

Is Agama Lab free?

Yes. Designing flows and policies in Agama Lab is free. Gluu Flex licenses and Gluu Solo subscriptions are purchased there separately.

What is Agama?

Agama is the Janssen Project's framework for login flows: a language for writing web flows, rules for running them, and the .gama package format. Agama Lab is Gluu's visual tool for building Agama projects.

Where are my files stored?

In your GitHub repository. Agama Lab commits every change there, so your repository holds your project and its full history.

Which servers run Agama projects?

Identity servers that support Agama, such as the Janssen Server and Gluu Flex. You add the .gama archive and its configuration to the server.

Do I need Gluu Flex?

Agama Lab works with the open-source Janssen Server and with Gluu Flex. Gluu Flex adds commercial support and the Admin UI.

What is the Policy Designer for?

Writing and testing Cedar authorization policies. It keeps them as policy stores in GitHub, which the Cedarling and the Gluu Flex Admin UI can load.

How do I get a Gluu Flex license?

In Agama Lab. Start with a free trial license, purchase online for smaller deployments, or contact our sales team to discuss licensing options for larger enterprise environments.

Can I publish my project for others?

Yes. Publish it to its own public repository and register it in the Project Catalog; Gluu reviews it before it's listed.

Get started

Start designing

Sign in with GitHub, pick a catalog project or start from scratch, and release your first .gama archive.

  • Sign in with GitHub
  • Your files stay in your repository
  • Runs on Janssen or Gluu Flex

We use analytics cookies to measure which pages are useful, so we can improve them. If you accept, our analytics provider Reo.dev and its third-party partners also collect device and network data to identify the company you visit from. None of this is set if you reject. Essential cookies needed for the site to work are always on. See our privacy policy.