Skip to content

Installation

Requirements

  • Python 3.11 or higher

Install

bash
pip install "agentlantern @ git+https://github.com/brellsanwouo/agentlantern.git"

Or with uv (recommended):

bash
uv tool install git+https://github.com/brellsanwouo/agentlantern.git

Verify

bash
lantern --help
lantern --version

Supported Frameworks

AgentLantern automatically detects the framework — no extra dependencies to install.

FrameworkDetection
CrewAIcrewai in project dependencies
LangGraphlanggraph in project dependencies
AutoGenautogen-agentchat or pyautogen in project dependencies
Smolagentssmolagents in project dependencies
Google ADKgoogle-adk in project dependencies

Update

bash
pip install --upgrade "agentlantern @ git+https://github.com/brellsanwouo/agentlantern.git"
# or
uv tool install --force git+https://github.com/brellsanwouo/agentlantern.git

Uninstall

bash
pip uninstall agentlantern
# or
uv tool uninstall agentlantern

Troubleshooting

lantern: command not found

For uv tool installs, ensure ~/.local/bin is in your PATH:

bash
export PATH="$HOME/.local/bin:$PATH"

Wrong version in PATH

bash
which lantern   # should point to ~/.local/bin/lantern
uv tool install --force git+https://github.com/brellsanwouo/agentlantern.git

Next Steps

Released under the MIT License.