Skip to content

apsquared/lg-agents

Repository files navigation

Sample AI Agent using LangGraph

This work is based on this repo which was created by JoshuaC215. Thanks!

This also uses the great product Browser Use to browse the web.

Follow Along

Follow along as I post about program on my websites and my Bluesky account @apsquared.

Disclaimer: I'm not an expert at Python or LangGraph, just a developer trying to play with AI Agents and hoping to help others.

Motivation

I wanted to create a simple AI agent that uses LangGraph and Browser Use and can be easily deployed.

Client

Part of what I wanted to do is to demonstrate a totally disconnected client that can be used to interact with the agent. The client project can be found here.

Settings

Updates settings .in .env and settings.py file (in core)

Commands

uv run src/run_service.py - run as a service

uv run src/run_agent.py - run as a single agent

uv run src/run_agent_stream.py - run as a single agent with streaming

Notes to self

UV Help: https://docs.astral.sh/uv/guides/projects/

Activate venv source .venv/bin/activate

Run service python src/run_service.py

About

LangGraph agent samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published