ai-agent

IRL-Toolkit

IRL Toolkit developed by Sergey Levine (Taken from https://graphics.stanford.edu/projects/gpirl/)
63 stars35 forksMatlabUpdated 12/11/2016100% free · open source
What it does

Runs inverse reinforcement learning experiments (e.g., GPIRL) in MATLAB to infer reward functions from demonstrated behavior.

When to use it
  • •You have trajectory data and need to uncover the underlying reward shaping for robotics or simulation.
  • •You want to compare classic IRL algorithms (GPIRL, MaxEnt IRL) on a custom environment.
  • •You need a MATLAB‑based reference implementation for research or prototyping before moving to production.
Ready-to-paste prompt
gpirl(states, actions, struct('kernel','rbf','lengthScale',1.0,'sigma_n',0.01,'maxIter',200));
Heads up: GPIRL requires the CVX toolbox; if CVX is not installed or not on MATLAB's path, the demo will error with “Undefined function 'cvx_begin'”. Install CVX and run `cvx_setup` before any GPIRL call.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/irl-toolkit && curl -fsSL https://workflowstacks.com/api/skills/irl-toolkit/claude-skill -o ~/.claude/skills/irl-toolkit/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How IRL-Toolkit works
Codeflow
Free to inspect

IRL-Toolkit is a very large MATLAB project (~90k lines across 1048 code files, plus 7 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit 120 months ago, no license file, no tests found.

Size
Very large codebase
~90k lines · 1048 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
MATLAB
No API keys detected
MATLAB 49%HTML 30%C 20%
Where to start reading
  1. 1
    README.txt
    Start here — what it does and how to install it
What's in each folder
Utilities/cvx/Folder1914 files
Utilities/minFunc/Folder46 files
Utilities/plot2svg/Folder32 files
Utilities/export_fig/Folder21 files
GPIRL/Folder16 files
Human_Demos/Folder16 files
General/Folder13 files
NIPS11_Tests/Folder13 files
READMENo tests foundDocumentedNo CINo licenseLast update 120 mo ago
Quick Actions
Details
Creator
vvanirudh
Language
Matlab
Category
ai-agent
Published
5/21/2016

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/irl-toolkit.svg)](https://workflowstacks.com/skills/irl-toolkit?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.