Chronos AI agent builder - up and running

chronos ai agent builder

Summary

This is part Chronos tutorial series.

In this tutorial we will deploy and run Chronos application on your local machine. You can use similar steps to run Chronos on the Linux based server instance.

Requirenments:

  • Node.js v20.20.0 and pnpm available (for building and running without docker). You will need this specific version. Use nvm if you have to.
  • Docker runtime (for building and running docker container images)
  • Access to pull images from Docker Hub.

Build and run with pnpm

To build with pnpm and run Chronos application locally within nodejs runtime, follow the steps below.

# clone the code repository from GitHub
git clone git@github.com:popularowl/chronos.git
cd chronos/chronos_app

# you should see all project files including package.json

# install nodejs dependency packages
node -v # should give you v20.20.0
pnpm install
pnpm build
pnpm start
# chronos application will run on localhost:3000
# go to Sign up link, and create a new user 
chronos login screen after pnpm start

Build and run with docker

To build the local docker container image and run container within Docker runtime, follow the steps below.

# clone the code repository from GitHub
# ignore if already have it cloned
git clone git@github.com:popularowl/chronos.git
cd chronos/chronos_app/docker

# you should see the Dockerfile.local and
# other docker compose files

# build local container image for Chronos
docker build -f Dockerfile.local -t chronos:local ..
docker run -d --name chronos -p 3001:3000 chronos:local
# chronos is now accessable on localhost:3001
docker stop chronos

# you should see the same login creen as above.
# go to signup to create new user and login
chronos agent flow screen after login

Next steps

After succesful login, you will see above Chronos application screens. Follow other Chronos tutorials to build your first agent and usecases.

Similar posts

Back to top