AI Agent
An AI Agent in Frontegg.ai is a server-side identity-aware agent definition that acts as the central integration point between your AI logic and the Frontegg platform. You configure and manage agents directly in the Frontegg portal under [ENVIRONMENT] → AI Agents → Agents.
Each agent includes the following key configuration fields:
Field | Description |
---|---|
Name | A human-readable label to identify the agent in the dashboard. |
Description | A short internal note describing the agent’s purpose or functionality. |
Agent ID | A unique identifier used to reference the agent in your code and SDK setup. |
Model Provider | Specifies which LLM provider the agent will work with (e.g., OpenAI). |
Orchestration Platform | Indicates the framework used for agent execution, such as LangChain. |
Agent URL | The redirect URL used after authentication. Also used internally across the environment as a dynamic redirect target for various flows. |
Login URL | Defines the location of your login interface: - For hosted login, this should end with /oauth - For embedded login, it typically matches your app’s base URL. This URL is used for login redirection across your Frontegg environment. |
API Key | A secret used to authenticate requests from the Frontegg platform to your agent or services. |
The agent itself does not include any logic or integrations directly — rather, it is a metadata object that your runtime code connects to using the Frontegg SDK. You reference the Agent ID, Client ID, Secret, and Base URL in your .env
file or config, which the SDK uses to authenticate the agent, fetch available tools and resolve user context during runtime.
AI Agent creation and management
To manage AI agents in your environment, navigate to [ENVIRONMENT] → AI Agents → Agents.
Creating an AI Agent
To create an agent:
- Click Create Agent
- Fill in the following fields:
- Name – A human-readable name for the agent.
- Description – A short summary of the agent’s purpose.
- Model Provider – Select from:
Anthropic
,Google
,Meta
,Mistral
,OpenAI
, orOther
. - Orchestration Platform – Select from:
Autogen
,CrewAI
,LangChain
, orOther
. - Agent URL – The URL your users are redirected to after authentication.
- Click Save to create the agent.
Deleting an AI Agent
To delete an agent:
- Select the AI agent from the list.
- Scroll to the bottom of the page.
- Click the Delete button and confirm the action.
Deleting an AI agent
Deleting an AI agent
Deleting an agent is permanent and cannot be undone.