Skip to content

Framework Coverage

AgentLantern 0.4.0 uses dedicated analyzers where an SDK exposes recognizable architecture, then falls back to conventional agent patterns for custom Python and JavaScript/TypeScript projects.

bash
lantern detect .    # explain which adapter matched and why
lantern inspect .   # print the normalized project model
lantern docs .      # generate architecture documentation
lantern lint .      # run deterministic checks
lantern play .      # launch the project in the Play UI

Dedicated adapters

EcosystemFrameworkStatic modelPlay capture
PythonCrewAIAgents, tasks, tools, delegation, configurationDeep lifecycle, tools, delegation, output
PythonLangGraphGraphs, nodes, routes, tools, invocationsGraph invocation lifecycle
PythonAutoGenAgents, teams, tools, streamsMessages, tools, usage, team lifecycle
PythonSmolagentsAgents, managed agents, toolsAgent task lifecycle
PythonGoogle ADKRoot agents, sub-agents, tools, workflowsRunner events and function calls
PythonOpenAI Agents SDKAgents, handoffs, tools, guardrails, runnersNative tracing processor
PythonPydanticAIAgents, models, prompts, decorated tools, runsAgent invocation lifecycle
PythonLlamaIndexFunction/ReAct agents, workflows, toolsAgent/workflow lifecycle
PythonSemantic KernelAgent types, plugins, orchestrationsInvocation lifecycle
PythonAgnoAgents, teams, tools, instructionsRun lifecycle
PythonLangChain AgentsAgent factories, tools, executors, invocationsRunnable lifecycle
PythonHaystack AgentsAgents, tools, pipelines, runsAgent lifecycle
Python / TypeScriptStrands AgentsAgents, tools, swarms, graphs, workflowsPython hooks; Node process and logs
PythonCAMEL-AIChat agents, workforces, role-playingAgent step lifecycle
PythonMetaGPTRole subclasses, teams, runsRole lifecycle
Python / TypeScriptBeeAIReAct/tool-calling agents and workflowsPython hooks; Node process and logs
PythonOpenAI Swarm (legacy)Agents, functions, transfers, client runsSwarm lifecycle
TypeScriptMastraAgents, tools, workflows, npm scriptsProcess, roster, logs, result
TypeScriptVercel AI SDK AgentsToolLoopAgent, models, tools, generate/streamProcess, roster, logs, result
.NET / JavaSemantic KernelAgent initializers, instructions, invocationsProcess, roster, logs, result

Generic adapters

The generic analyzers are checked after every dedicated adapter.

Python

Recognized patterns include:

  • Agent(...) and classes ending in Agent;
  • subclasses of Agent, BaseAgent, or AbstractAgent;
  • create_agent(...), build_agent(...), make_agent(...), and similar factories;
  • common tools, handoffs, managed_agents, teams, workflows, and run methods.

JavaScript and TypeScript

Recognized patterns include:

  • new Agent({...}) and new CustomAgent({...});
  • createAgent({...}), create_agent({...}), buildAgent({...}), and makeAgent({...});
  • tool objects, teams, workflows, swarms, and common execution methods.

Runtime fidelity

Static support and live runtime capture are separate capabilities. Python frameworks with public hooks expose richer Play events. Node, .NET, Java, and unknown frameworks retain the static roster, command lifecycle, stdout, errors, replay, and final output.

Use an explicit launcher when project conventions are unusual:

bash
lantern play . --command "your command here"

Extend AgentLantern

An internal framework with unusual APIs can publish a BaseAnalyzer through the agentlantern.analyzers Python entry-point group. Dedicated analyzers take precedence over the generic fallbacks.

Released under the MIT License.