Skip to content

Agents

Overview

Architecture

Agents

How to run

Local

Before running codes, you need to install the dependencies.

$ poetry install

To see some components are properly working, you can see the available commands as below.

$ poetry run python main.py --help

To run the Streamlit app, you can run the following commands.

$ poetry run streamlit run main.py streamlit-app

Docker

# see the available commands
$ docker run --rm \
    -v ${PWD}/.env:/app/.env \
    ks6088ts/workshop-llm-agents:latest \
    python main.py --help

# mount the .env file to the container and expose the port 8501
$ docker run --rm \
    -v ${PWD}/.env:/app/.env \
    -p 8501:8501 \
    ks6088ts/workshop-llm-agents:latest

Use cases

Chatbot with Tools

Graph:

Chatbot with Tools

Screenshot:

Chatbot with Tools Web Interface

References

Research Agent with Human-in-the-loop

Graph:

Research Agent with Human-in-the-loop

Screenshot:

Research Agent with Human-in-the-loop

YouTube: Research Agent using Azure

References

Documentation Agent

Graph:

Documentation Agent

Screenshot:

Documentation Agent

Tools Agent

Graph:

Tools Agent

Screenshot:

Tools Agent