https://github.com/auth0-samples/agent0
https://github.com/auth0-samples/agent0
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/auth0-samples/agent0
- Owner: auth0-samples
- Created: 2025-04-03T23:53:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-05T01:42:11.000Z (7 months ago)
- Last Synced: 2025-12-08T05:46:51.800Z (6 months ago)
- Language: TypeScript
- Size: 861 KB
- Stars: 2
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is Agent0
A full stack demo app for First party Tool calling for AI Agent.

Follow [this link](/docs/agent0.md) to learn more about Agent0.
## Pre-requisites
- [Auth0 tenant domain](https://manage.auth0.com)
- Auth0 SPA client ID with its callback, logout URIs set to `http://localhost:8080`
- [API created in auth0 tenant](https://auth0.com/docs/get-started/auth0-overview/set-up-apis) with identifier configured as `agent0-api`
- [OpenAI API Key](https://platform.openai.com/api-keys)
- Node version 22
## Installation
Rename `.env.example` file to `.env` and replace `AUTH0_DOMAIN`, `AUTH0_CLIENT_ID` and `OPENAPI_API_KEY` with relevant values
Install dependencies for API
```
cd server
npm i
cd ..
```
Install dependencies for SPA
```
cd client
npm i
cd ..
```
## Running Agent0
### Server
Open a new terminal window and execute `npm run server`
### Client
Open a new terminal window and execute `npm run client`
## Login to Agent0
Open [http:localhost:8080](http://localhost:8080) and SignUp to start using Agent0
To test the first party Tool Calling, try
> "Who am I? Give me all the details you have"