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.gitVerify
bash
lantern --help
lantern --versionSupported Frameworks
AgentLantern automatically detects the framework — no extra dependencies to install.
| Framework | Detection |
|---|---|
| CrewAI | crewai in project dependencies |
| LangGraph | langgraph in project dependencies |
| AutoGen | autogen-agentchat or pyautogen in project dependencies |
| Smolagents | smolagents in project dependencies |
| Google ADK | google-adk in project dependencies |
| OpenAI Agents SDK | openai-agents in project dependencies |
| Other Python frameworks | No AgentLantern integration dependency; conventional Agent APIs are detected from source |
| Additional Python SDKs | PydanticAI, LlamaIndex, Semantic Kernel, Agno, LangChain, Haystack, Strands, CAMEL-AI, MetaGPT, BeeAI, or Swarm dependency/import |
| JavaScript/TypeScript | Mastra, Vercel AI SDK, Strands, BeeAI, or conventional agent constructors in source |
| Semantic Kernel .NET/Java | NuGet, Maven, or Gradle dependency plus supported agent construction |
Update
bash
pip install --upgrade "agentlantern @ git+https://github.com/brellsanwouo/agentlantern.git"
# or
uv tool install --force git+https://github.com/brellsanwouo/agentlantern.gitUninstall
bash
pip uninstall agentlantern
# or
uv tool uninstall agentlanternTroubleshooting
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