agent-lightning
Agent‑Lightning lets you quickly prototype, train, and evaluate autonomous LLM‑based agents with a few CLI commands.
- •You need a self‑contained way to turn a prompt‑based workflow into a loop‑back agent that can call tools and persist state.
- •You want to benchmark different prompting strategies (react‑loop, tool‑use, memory) without writing custom RL code.
- •Your startup is building a customer‑support bot that must plan, execute, and self‑correct on real‑time data.
agent-lightning run --config examples/travel_agent.yaml --input "Schedule a 2‑hour video call with the product team tomorrow at 10 AM PST and add it to my Google Calendar."
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/agent-lightning && curl -fsSL https://workflowstacks.com/api/skills/agent-lightning/claude-skill -o ~/.claude/skills/agent-lightning/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Agent-lightning is a medium Python project (~12k lines across 86 code files, plus 24 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2pyproject.tomlDependencies and the commands it exposes
- 3agentlightning/__init__.pyInside agentlightning/ — the main logic begins here
- 4examples/calc_x/.dockerignoreA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/agent-lightning && curl -fsSL https://workflowstacks.com/api/skills/agent-lightning/claude-skill -o ~/.claude/skills/agent-lightning/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/agent-lightning?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.