release
Skill19k starsChanged 3 months agoMITView on GitHub
Prepare and publish stable Agent Lightning releases through the repository's version bump, pull-request checks, merge, tag, PyPI trusted-publishing, and versioned-documentation workflows. Use when asked to plan, cut, verify, or explain a release; treat nightly TestPyPI builds as a separate path.
- Commits and pushes
190 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- bonboncinnabon/gemini-plugin-cctheir own version, first seen Oct 5, 2026
- NahumLitvin/prismantistheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- colonyops/hivetheir own version, first seen Oct 5, 2026
- vericontext/vibeframetheir own version, first seen Oct 4, 2026
- shaharia-lab/slackclitheir own version, first seen Oct 4, 2026
Who's talking about microsoft/agent-lightning
- A Hacker News story“Agent Lightning: Train agents with RL (no code changes needed)”Hacker News · Oct 25, 2025 · 98 points
- A Hacker News story“Agent Lightning v1.0”Hacker News · Aug 24, 2026 · 55 points
- @github-trending.bsky.social“📦 microsoft / agent-lightning ⭐ 10,524 (+43) 🗒 Python The absolute trainer to light up AI agents.”Bluesky · Jan 20, 2026 · 5 likes
- openai/openai-python“Tool call seems problematic with openai sdk 1.99.3”GitHub · Aug 8, 2025 · 3 reactions
- vllm-project/vllm“Add return_token_ids parameter to OpenAI API endpoints”GitHub · Aug 10, 2025 · 2 reactions
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub, Bluesky and Hacker News (53 times).
On GitHub · 43
- Aug 8, 2025Tool call seems problematic with openai sdk 1.99.3 — openai/openai-python3 reactions · 2 comments
- Aug 10, 2025Add return_token_ids parameter to OpenAI API endpoints — vllm-project/vllm2 reactions · 32 comments
- Dec 9, 2025[Fix] Missing content in Anthropic to OpenAI conversion — BerriAI/litellm1 reaction · 1 comment
- Nov 28, 2025[Bug]: OpenTelemetry root span ends earlier than `raw_gen_ai_request` — BerriAI/litellm1 reaction · 1 comment
- Oct 15, 2026build(deps): bump the all-dependencies group across 1 directory with 9 updates — executiveusa/pauli-comic-funnel0 reactions · 2 comments
38 more on GitHub
- Oct 14, 2026Evaluate Microsoft Agent Lightning (agentic RL training) for the harness — MCKRUZ/microsoft-agentic-harness0 reactions
- Oct 8, 2026build(deps): bump the all-dependencies group across 1 directory with 7 updates — executiveusa/pauli-comic-funnel0 reactions · 3 comments
- Oct 7, 2026[Candidate] microsoft/agent-lightning/skills/agent-lightning - agent-lightning — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 7, 2026[Candidate] microsoft/agent-lightning/.agents/skills/release - release — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 6, 2026chore(deps): update agentlightning requirement from <0.3.1,>=0.3 to >=0.3,<1.0.3 — mugicha001/oai-agentspec0 reactions
- Oct 3, 2026[Add] Agent Lightning (microsoft/agent-lightning) — PyTorchKR/landscape0 reactions
- Sep 29, 2026[Research] Trajectory diagnosis → evidence eval → validation-gated improvement — serevy/agent-kpt0 reactions · 4 comments
- Sep 13, 2026build(deps): bump the all-dependencies group in /agents/pauli_lightning with 11 updates — executiveusa/pauli-comic-funnel0 reactions · 3 comments
- Sep 1, 2026chore(deps): update agentlightning requirement from <0.3.1,>=0.3 to >=0.3,<1.0.2 — mugicha001/oai-agentspec0 reactions · 1 comment
- Aug 28, 2026Attach rollout-level training samples to token-capture builds — salma-remyx/Gym0 reactions · 2 comments
- Aug 25, 2026chore(deps): update agentlightning requirement from <0.3.1,>=0.3 to >=0.3,<1.0.1 — mugicha001/oai-agentspec0 reactions · 1 comment
- Jul 2, 2026Python: Build(deps): Bump agentlightning from 0.2.2 to 0.3.0 in /python — microsoft/agent-framework0 reactions · 3 comments
- May 24, 2026Agent Hub — Phase 8 — Multi-Agent Systems — xlibraries/agent-hub0 reactions
- Apr 28, 2026[Feature Request] — agno-agi/agno0 reactions
- Apr 17, 2026[scout:skip] Agent Lightning (microsoft/agent-lightning) — baekenough/oh-my-customcode0 reactions · 1 comment
- Apr 13, 2026chore(deps): update agentlightning requirement from >=0.2.0 to >=0.3.0 — mlvpatel/AgentDS0 reactions · 2 comments
- Apr 1, 2026[scout:skip] Microsoft Agent Lightning — RL Training Framework — baekenough/oh-my-customcode0 reactions · 1 comment
- Mar 31, 2026[scout:skip] Agent Lightning — RL 기반 AI 에이전트 최적화 프레임워크 — baekenough/oh-my-customcode0 reactions · 4 comments
- Feb 6, 2026Track PR: Agent-Lightning #478 - Governance integration — imran-siddique/agent-os0 reactions · 1 comment
- Feb 6, 2026🟢 Avaliar Agent Lightning para otimização contínua de agentes (RL) — arbgjr/sdlc_agentico0 reactions
- Feb 5, 2026[Contrib] Agent-OS Governance Guardrails: Kernel-Level Policy Enforcement — openai/openai-agents-python0 reactions · 2 comments
- Feb 5, 2026[Contrib] Agent-OS Governance: Kernel-Level Policy Enforcement for Crews — crewAIInc/crewAI0 reactions · 9 comments
- Feb 5, 2026[Contrib] Agent-OS Governance Extension: Kernel-Level Policy Enforcement — microsoft/autogen0 reactions · 9 comments
- Feb 5, 2026[External] Submit contrib PR to microsoft/agent-lightning — imran-siddique/agent-os0 reactions · 1 comment
- Feb 5, 2026[Integration] Agent-Lightning - Kernel-Level Safety for RL Training — imran-siddique/agent-os0 reactions · 1 comment
- Feb 1, 2026## Pull Request Overview — babarali1122/Ocketsho0 reactions
- Feb 1, 2026## Pull Request Overview — babarali1122/Ocketsho0 reactions
- Jan 28, 2026Integrate microsoft/agent-lightning with Claude Code — wranngle/n8n_showcase0 reactions · 1 comment
- Jan 11, 2026Add Jupyter-style Agent Lightning case study (HotpotQA) HTML — Manoj15/TeachingRepo0 reactions
- Dec 11, 2025[Bug] 'tuple' object has no attribute 'padding_free' and no __dict__ for setting new attributes — unslothai/unsloth0 reactions · 3 comments
- Nov 15, 2025Agent Lightning — lagimik/PartnerCrucible0 reactions
- Nov 4, 2025[FEATURE] make it support microsoft agent-lightning — anthropics/claude-code0 reactions · 4 comments
- Oct 29, 2025エージェント最適化フレームワーク Agent-Lightning — nomhiro/zenn-blog0 reactions
- Oct 29, 2025Check trending repo: microsoft/agent-lightning — uibm/trending-watcher0 reactions · 1 comment
- Oct 28, 2025Posted: microsoft / agent-lightning — nanameru/x-post-automation0 reactions
- Oct 27, 2025[Bug]: `disable_responses_id_security` is False by default — BerriAI/litellm0 reactions · 2 comments
- Oct 26, 2025HN Top Posts 2025-10-26 — EFLql/hackernews-daily0 reactions
- Oct 14, 2025[Bug] UnboundLocalError when saving a local model after upgrading to 2025.10.2 and 2025.10.3 — unslothai/unsloth0 reactions · 5 comments
On Bluesky · 8
- Jan 20, 2026📦 microsoft / agent-lightning ⭐ 10,524 (+43) 🗒 Python The absolute trainer to light up AI agents. — @github-trending.bsky.social5 likes and reposts
- Jul 16, 2026https://github.com/microsoft/agent-lightning — @sigmanor.net1 likes and repost
- Mar 31, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / agent-lightning ⭐ 16,078 (+251) 🗒 Python The absolute trainer to light up AI agents. — @github-trending.bsky.social1 likes and repost · 1 reply
- Nov 30, 2025github.com/microsoft/ag... — @thegreatro-bot.bsky.social1 likes and repost
- Oct 31, 2025⭐️🔗 github.com/microsoft/ag... 👉 Discuss with me in Discord: linktr.ee/qdrddr — @qdrddr.bsky.social1 likes and repost
3 more on Bluesky
- Oct 30, 2025🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / agent-lightning ⭐ 4,169 (+572) 🗒 Python The absolute trainer to light up AI agents. — @github-trending.bsky.social1 likes and repost · 2 replies
- Oct 28, 2025github.com/microsoft/ag... — @tommis.fi1 likes and repost
- Jan 31, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 microsoft / agent-lightning ⭐ 12,457 (+515) 🗒 Python The absolute trainer to light up AI agents. — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Oct 25, 2025Agent Lightning: Train agents with RL (no code changes needed)98 points · 14 comments
- Aug 24, 2026Agent Lightning v1.055 points · 9 comments
Used with
Projects with it also use watch-pr, marketplace and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Hugging FaceSkillwatch-pr
Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.
Also in 3 projects that use this
OpenAISkillmarketplace
Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.
Also in 4 projects that use this
Microsoft AzureSkillengineering-principles
GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.
Also in 4 projects that use this
ZAidBinAsifSkillwrite-readme
Write README files as landing pages not API docs
Also in 3 projects that use this
polyant-aiSkillplugin-authoring
Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.
Also in 3 projects that use this
eugenelimSkillnew-spec
Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).
Also in 3 projects that use this
Other versions190 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 190
- tw93/Pake★ 62ksame name
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- openai/symphony★ 28ksame name
- slopus/happy★ 24ksame name
- coleam00/Archon★ 24ksame name
- EverMind-AI/EverOS★ 13ksame name
- 0xJacky/nginx-ui★ 12ksame name
- modelcontextprotocol/inspector★ 11ksame name
- max-sixty/worktrunk★ 8.8ksame name
- getsentry/sentry-javascript★ 8.8ksame name
180 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- agent-lightningSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 44
Treat verified PyPI trusted-publisher configuration for the canonical repository and pypi-release.yml as a prerequisite.
- Distinctive: line 51
Start a release branch from a freshly fetched canonical default branch, not from another feature branch.
- Distinctive: line 83
Commit the version change, push it to the fork, and open the pull request with the GitHub CLI when those external actions are authorized:
- Very specific: line 100
Follow the pull request through its required checks with gh pr checks <pr> --repo OWNER/REPO --watch.
- Distinctive: line 122
After the pull request merges, update the local default branch from the canonical repository, then confirm that the commit you are about to …
- Distinctive: line 133
If HEAD has moved past the merge commit, tag the merge commit explicitly instead of HEAD.
- Distinctive: line 181
Look up each run by workflow and tag rather than selecting from an unfiltered recent-run list:
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Release Agent Lightning
Merging a pull request does not publish a stable release. Stable publication is
triggered only by pushing a v* tag to the canonical repository; the tagged
commit is what gets tested, built, and uploaded. That same tag push also deploys
versioned documentation and moves the public stable alias, so a release has two
public side effects, not one.
Establish the release state
- Confirm the repository root, clean working tree, current branch, and remotes.
- Resolve the canonical
OWNER/REPO, its default branch, and its permitted merge methods withgh repo view OWNER/REPO --json nameWithOwner,defaultBranchRef,mergeCommitAllowed,rebaseMergeAllowed,squashMergeAllowed. Identify the local remotes for that repository and the contributor fork by their URLs; do not assume particular remote names or merge settings. - Inspect the release contract in:
.github/workflows/pypi-release.yml.github/workflows/docs.yml.github/workflows/tests.ymlscripts/bump_version.shpyproject.tomlagentlightning/__init__.py
- Confirm the canonical default branch is already green before branching from
it. Resolve its current commit with
gh api repos/OWNER/REPO/commits/<default-branch>and inspect that commit's check runs; a general recent-run listing can omit or mix commits. A release branch inherits every failure that main is carrying. - Query the canonical repository's tags and compare them with the versions
published at
https://pypi.org/pypi/agentlightning/json. Confirm the target version exists in neither place, and stop for an explicit release decision when either of these holds:- A tag exists with no matching PyPI version. A published version is immutable, and its tag must never be reused or moved. A tag that never published is a different situation and still needs a human decision, informed by why it did not publish. See "Recovering a tag that never published" below.
- The proposed bump would skip a version that was tagged but never published.
- Treat verified PyPI trusted-publisher configuration for the canonical
repository and
pypi-release.ymlas a prerequisite. If it cannot be inspected directly, require confirmation from an authorized PyPI project owner before pushing the release tag.
Prepare and merge the version pull request
Start a release branch from a freshly fetched canonical default branch, not from another feature branch. The branch name is only a recommendation:
git fetch <canonical-remote> <default-branch>
git switch -c chore/release-vX.Y.Z <canonical-remote>/<default-branch>
scripts/bump_version.sh patch # or minor / majorThe script updates the project version with uv and then edits
agentlightning/__init__.py separately. If it fails or is interrupted between
those writes, only some of the three version files may be updated. Inspect
git diff after any failure and restore or reconcile all three files before
retrying; blindly rerunning a partial patch bump can advance the version twice.
The bump rewrites exactly three files. Confirm that with git diff --stat:
pyproject.toml- the
agentlightningentry inuv.lock agentlightning.__version__inagentlightning/__init__.py
Other version strings in the tree, such as the FastAPI version in
agentlightning/server/app.py, are deliberately outside the bump. Leave them
alone; changing them is a separate pull request, not release work.
Review the version diff, but do not run the release tests or package build
locally as a matter of course. tests.yml runs a broader test suite and the
same package build on the pull request, covering the narrower tests and build
that pypi-release.yml will run on the tag. The pull request's GitHub checks
are therefore the verification gate. Reproduce a single failure locally only
when the workflow logs are not enough to fix it.
Commit the version change, push it to the fork, and open the pull request with the GitHub CLI when those external actions are authorized:
git commit -am "Bump version to X.Y.Z"
git push -u <fork-remote> <release-branch>
gh pr create --repo OWNER/REPO \
--base <default-branch> \
--head <fork-owner>:<release-branch> \
--title "Bump version to X.Y.Z" \
--body "Prepare the vX.Y.Z release."gh pr create refuses to run without --title and --body outside an
interactive terminal, and every gh call needs --repo OWNER/REPO so it acts
on the canonical repository rather than the fork.
Follow the pull request through its required checks with
gh pr checks <pr> --repo OWNER/REPO --watch. If a check fails, take the run id
from that output, inspect it with
gh run view <run-id> --repo OWNER/REPO --log-failed, correct the source on the
same branch, and resume watching. Once every required check has succeeded,
extract the reviewed head and pass both a permitted merge-method flag from step
2 and --match-head-commit to gh pr merge:
HEAD_SHA="$(gh pr view <pr> --repo OWNER/REPO --json headRefOid --jq .headRefOid)"
gh pr merge <pr> --repo OWNER/REPO <merge-method-flag> \
--match-head-commit "$HEAD_SHA"Replace <merge-method-flag> with one permitted flag discovered in step 2:
--merge, --rebase, or --squash.
Committing, pushing, opening the pull request, and merging are each distinct external actions and each requires authorization.
Tag and publish the merged release
After the pull request merges, update the local default branch from the canonical repository, then confirm that the commit you are about to tag is the one this pull request produced and not a later commit that landed behind it:
git switch <default-branch>
git pull --ff-only <canonical-remote> <default-branch>
gh pr view <pr> --repo OWNER/REPO --json mergeCommit
git rev-parse HEADIf HEAD has moved past the merge commit, tag the merge commit explicitly instead of HEAD.
pypi-release.yml fails the release when the packaged version does not equal the
tag without its leading v, or when it does not equal the runtime
__version__. Check both before tagging:
uv version --short
grep '^__version__' agentlightning/__init__.pyThe workflow itself reads the runtime value as
python -c 'from agentlightning import __version__; print(__version__)' from
the repository root before its dependency-sync step, so Python resolves the
checkout through the current working directory. Read the file directly for the
local pre-tag check; agentlightning/__init__.py assigns __version__ as a
single literal, making that check independent of the active Python environment.
GitHub reads workflow files as they exist at the tagged commit, not at the
tip of the default branch. Confirm that the commit being tagged actually
contains .github/workflows/pypi-release.yml with its v* trigger; a commit
that predates the workflow will never publish, however the tag is pushed.
Immediately query the canonical repository and PyPI again to ensure that
vX.Y.Z is still absent. Then create an annotated tag on the release commit and
push it to the canonical repository:
git tag -a vX.Y.Z -m "vX.Y.Z" <release-commit>
git push <canonical-remote> vX.Y.ZThe tag push starts the production PyPI publication, so obtain explicit authorization immediately before it.
Follow both tag-triggered workflows
One tag push starts two workflows, and both belong to the release:
PyPI Release(pypi-release.yml) re-checks the version against the tag, runs the tests, builds the wheel and source distribution, and uploads them to PyPI through trusted publishing.Deploy Documentation(docs.yml) runsmike deploy --push --update-aliases X.Y.Z stable, which publishes the versioned documentation and repoints the publicstablealias at this release.
Look up each run by workflow and tag rather than selecting from an unfiltered recent-run list:
gh run list --repo OWNER/REPO --workflow pypi-release.yml \
--branch vX.Y.Z --event push --limit 1
gh run list --repo OWNER/REPO --workflow docs.yml \
--branch vX.Y.Z --event push --limit 1Confirm both runs have the expected tag commit, then follow them to a terminal
result with gh run watch <run-id> --repo OWNER/REPO --exit-status. After
PyPI Release succeeds, verify that PyPI exposes the exact version with both
the expected wheel and source distribution. After Deploy Documentation
succeeds, verify that the published site serves X.Y.Z and that stable
serves that same release. Do not require an HTTP redirect: mike aliases can
serve directly from the alias path with a 200 response. Fetch the versioned
and stable entry pages and compare their content; byte-for-byte equality is
the clearest proof for a static deployment. If path-dependent markup prevents
an exact match, verify a release-specific marker such as the version selector
or canonical metadata instead. A successful response from stable alone is
not proof that the alias moved. A green PyPI job with a failed documentation
job is a half-finished release: report both workflow URLs and both outcomes.
For a transient workflow failure, rerun only with authorization. For a source or workflow defect, do not move the public tag; prepare a corrective release version. A GitHub Release and release notes are optional, separate publication actions and must not be created unless requested.
Recovering a tag that never published
Separate the mechanics from the policy before proposing a recovery.
The mechanics: pushing a tag that already exists and points at the same commit
changes no ref, so it starts no workflow run. Creating a tag, moving one to a
different commit, or deleting and recreating one does change the ref and does
start a run. What that run executes is the workflow file at the tagged commit,
so a tag on a commit from before pypi-release.yml existed starts no PyPI
publication no matter how it is pushed. Run
git ls-tree --name-only <tag> .github/workflows/ before assuming a re-push
would help.
The policy: never move or reuse a tag whose version is on PyPI. That version is immutable, so a re-run could only fail at upload, and consumers who already resolved the tag would silently get different code.
Between those, a tag that never published is a decision for a release owner,
not a default action. Releasing the next version from a commit that carries the
current workflow is usually simpler and always safer than resurrecting the old
tag. Note that a non-publishing tag may still have had effects: docs.yml has
carried the v* trigger for longer than pypi-release.yml, so an older tag can
have deployed documentation and moved stable without ever reaching PyPI.
Nightly distinction
.github/workflows/pypi-nightly.yml publishes timestamped .dev builds to
TestPyPI on its schedule or by manual dispatch. It does not create a stable
release and should not be substituted for the tag-driven process above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

