Agent Learning Kit
Local-first simulation, evaluation, red teaming, and optimization for AI agents.
- Source repo
- future-agi/agent-learning-kit
- Stars
- ★ 129
- Last updated
- 1d ago ready-environments-v0.3.8
- FARS reviewed
- Nov 08, 2026 +1 new
- License
- NOASSERTION
- Primary language
- Python
- FA score
- 65/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer building a LangChain or LangGraph agent who wants offline task simulation and regression replay before pushing to CI.
- Not a fit if
- Teams wanting a GUI-only hosted testing platform out of the box
- Teams needing coverage of frameworks not named in the README
- Small teams unwilling to maintain a dual Python + TypeScript local toolchain
- Website
- futureagi.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release ready-environments-v0.3.8 (2026-12-01)
- Source review
- 65/100 · Some gaps
What does this agent do, and when should you use it?
Agent Learning Kit is Future AGI's local-first SDK and CLI for testing, simulating, red-teaming, and optimizing AI agents. It collapses three engines — simulate, evals, and optimize — onto one public developer surface, with red teaming running on the simulate and evals engines rather than as a fourth engine. The Python package is agent-learning-kit, the namespace is fi.alk, the CLI is agent-learn, and a TypeScript package ships as @future-agi/agent-learning-kit. Its loop is simulate a workflow, evaluate the behavior and runtime evidence, optimize the weak layer, promote the result into a replayable artifact, then prove release readiness with local gates. The documented quickstart runs fully offline with no API key or network; only platform-backed evaluation requires AGENT_LEARNING_API_KEY. The README states the v1 bar is the executable environment_10x_robustness release gate, so the shipped contract is locally verifiable rather than cloud-dependent.
It reads agent source, run manifests, evaluation suites, optimization manifests, and red-team manifests, executes tasks inside local worlds, and writes JSON artifacts. Concrete operations include driving a single SimulationSpec through a SimulationRunner as the plug-and-play simulation surface; evaluating prompts, task outputs, runtime contracts, traces, memory, retrieval, safety, and robustness evidence; searching over prompts, agents, framework adapters, worlds, multi-agent interactions, memory layers, workflows, and red-team scenarios; and emitting agent-learning.release-proof.v1 evidence via release-check and release-proof. The bundled harness under src/fi/alk/harness/ reads what an agent verifiably is, builds a real world its tools act on, and writes test scenarios that are each proved before being kept, driven as a conversation in a terminal or on a web page served at localhost:8777. Adapter coverage spans LangChain, LangGraph, LlamaIndex, AutoGen, CrewAI, LiveKit, Pipecat, Browser Use, MCP, A2A, and custom orchestration objects, with runtime-simulated coverage for PydanticAI and handoff-transcript promotion for OpenAI Agents.
- A developer building a LangChain or LangGraph agent who wants offline task simulation and regression replay before pushing to CI.
- A team that needs repeatable tests for multi-agent coordination and handoff logic instead of manual trial runs.
- A security engineer red-teaming agents with corpora, campaigns, and adaptive loops without sending data to a third-party cloud.
- A release engineer who needs the local gate evidence that agent-learn release-proof writes as sign-off material.
- A team tuning retrieval or memory layers that wants evaluation results for both inside the same artifact model.
- An integration team that wants voice, realtime, browser/CUA, workflow, lifecycle, and protocol traces evaluated together.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install agent-learning-kitpip install "agent-learning-kit[livekit]"pip install "agent-learning-kit[nli]"pip install "agent-learning-kit[all]"
- Environment variables
AGENT_LEARNING_RUN_EXAMPLE_KEYAGENT_LEARNING_OPTIMIZE_EXAMPLE_KEYAGENT_LEARNING_REDTEAM_EXAMPLE_KEYAGENT_LEARNING_API_KEYFUTURE_AGI_API_KEYFI_API_KEY- Config files
examples/eval_suite.jsonartifacts/eval.jsonexamples/run_manifest.jsonartifacts/run.jsonexamples/optimization_manifest.json
How do you install or deploy this agent?
Install from PyPI:
pip install agent-learning-kitOptional extras:
pip install "agent-learning-kit[livekit]"
pip install "agent-learning-kit[nli]"
pip install "agent-learning-kit[all]"To develop against source:
git clone https://github.com/future-agi/agent-learning-kit
cd agent-learning-kit
uv sync # or: pip install -e .The TypeScript package (npm publishing lands at the v1 launch; today build from typescript/agent-learning-kit):
pnpm add @future-agi/agent-learning-kitHow do you use this agent?
Start with the local doctor to confirm the environment:
agent-learn doctorEvaluate a suite:
agent-learn eval examples/eval_suite.json \
--output artifacts/eval.jsonSimulate a run manifest:
AGENT_LEARNING_RUN_EXAMPLE_KEY=offline-demo-key \
agent-learn run examples/run_manifest.json \
--no-eval \
--output artifacts/run.jsonOptimize an agent workflow:
AGENT_LEARNING_OPTIMIZE_EXAMPLE_KEY=offline-demo-key \
agent-learn optimize examples/optimization_manifest.json \
--output artifacts/optimization.jsonRun a red-team campaign:
AGENT_LEARNING_REDTEAM_EXAMPLE_KEY=offline-demo-key \
agent-learn redteam examples/redteam_manifest.json \
--output artifacts/redteam.jsonCut local release proof:
agent-learn release-check --project-root .
agent-learn release-proof \
--project-root . \
--output /tmp/agent-learning-release-proof.json \
--quietFor Future AGI platform-backed evaluation, set AGENT_LEARNING_API_KEY (it takes precedence over the FUTURE_AGI_API_KEY and FI_API_KEY aliases) or call configure from code:
from fi.alk import configure
configure(api_key="...")On the TypeScript side, import the evaluator surfaces:
import { Evaluator } from "@future-agi/agent-learning-kit";
import { LocalEvaluator } from "@future-agi/agent-learning-kit/evals/local";Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
What are this agent's strengths and limitations?
- Fully offline by default: every quickstart command runs without an API key or network, which suits restricted networks and data-egress-sensitive teams.
- One artifact model unifies simulate, evals, and optimize, so a simulation can be scored, optimized, and promoted into a replayable artifact in a single loop.
- The same CLI covers redteam and release-proof, and release-proof emits structured agent-learning.release-proof.v1 evidence usable as release sign-off.
- The bundled harness reads agent source, builds a world its tools act on, and writes scenarios that are proved before being kept, cutting manual suite authoring.
- Adapter coverage is explicitly enumerated: LangChain, LangGraph, LlamaIndex, AutoGen, CrewAI, LiveKit, Pipecat, Browser Use, MCP, A2A, and custom orchestration objects.
- The TypeScript SDK (@future-agi/agent-learning-kit) was not yet published to npm at the time of writing, so it must be built from typescript/agent-learning-kit source.
- Using Future AGI platform-backed evaluation requires AGENT_LEARNING_API_KEY, tying that path to the vendor's cloud.
- It maintains both a Python toolchain (uv/pip/pytest/ruff) and a TypeScript toolchain (pnpm), raising CI and local environment overhead.
- The GitHub license metadata reports NOASSERTION while the README points to Apache-2.0 and NOTICE, so adopting teams should confirm the terms themselves.
- OpenEnv/Gymnasium shapes are compatibility inputs only; teams with existing assets in those shapes face extra migration work.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Agent Learning Kit This agent | 65 · Some gaps | CLIFree + model costs | ★ 129 | 1d ago | Python | — |
| Rogue — AI Agent Evaluator & Red Team Platform | 43 · Major gaps | CLIFree + model costs | ★ 1.1k | 7mo ago | Python | OpenAI API · Claude API |
| RAMPART | 78 · Good | Library / SDKFree + model costs | ★ 429 | 9d ago | Python | — |
| IntellAgent: Simulate, Analyze, and Optimize Conversational Agents | 40 · Major gaps | CLIFree + model costs | ★ 1.3k | 2mo ago | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
Local-first and offline defaults, explicit key configuration, a doctor command that avoids printing keys, and documented Docker isolation controls support reduced external effects and sensitive-data handling. A vulnerability reporting channel is also specified. Evidence for routine user confirmation and artifact rollback or recovery is limited; dependency ranges and lockfile references do not amount to a full audit or mitigation record. Apache-2.0, Future AGI contact details, and a source map support attribution, while publisher identity remains unknown as instructed.
The CLI gives specific import and missing-key errors, and the docs say an unavailable Docker lane is recorded as void rather than silently downgraded. The README's release-gate claims cannot all be checked against the supplied static excerpts; the broad engine surface and dependency set also leave availability risks. These gaps limit self-consistency and dependency-availability scores. No code or release proof was executed.
The material covers developer scenarios across evaluation, simulation, optimization, red teaming, multi-agent work, voice, browser use, and several frameworks. Suite-planning rules specify meaningful tasks, attack coverage, and observable goals. Boundaries are also documented, including the subprocess lane's lack of hostile-code isolation, Docker's opt-in nature, and limits for hosted-platform environments. The packet is only a sample, so total capability and trigger scope remain uncertain.
The README provides a useful product map, installation paths, quickstart, and documentation index; examples, troubleshooting tables, and limitations are substantial. The Apache-2.0 license, package version, and security support policy are evidenced. The supplied packet does not include the contents of the changelog, roadmap, or full maintenance process, and the v1 status is still evolving, so version history and responsibility are only partly clear.
CLI commands produce JSON artifacts at user-selected paths, and the docs describe replay, gates, and result formats that can support inspection and CI. The unified evaluation, simulation, and optimization loop has a clear use, but its marginal benefit is not independently demonstrated. The dependency footprint, optional integrations, and possible platform costs add overhead without enough cost-benefit evidence.
Many claims point to concrete directories, commands, configuration fields, or examples, with partial corroboration across the README, docs, source, and test excerpts. The docs distinguish live execution, void results, and sandbox audits. However, many safety, performance, and release-status claims cannot be checked from this sample; a page's own postcondition is not evidence that it was executed. This assessment is static and uses low confidence.
- This review covers only the supplied excerpts; unseen files are unknown. No code, tests, sandbox, or release gate was run.
- The docs state that the subprocess sandbox is not a security boundary against hostile candidate code; untrusted code requires attention to the Docker isolation lane and its availability.
- Offline behavior may differ from platform-backed behavior when API keys are configured; the configuration docs say resolved aliases are written back to the process environment.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
ready-environments-v0.3.8 Ready environments 0.3.8
Release notes excerpt
The ready environments agent-learning-kit 0.3.8 ships, sealed with their suites proved on PostgreSQL. future-agi registers what ready-environments.json names (manage.py seed_ready_environments).View on GitHub ↗ -
ts-v0.2.0 @future-agi/ai-evaluation (TypeScript) 0.2.0
-
py-v1.1.0 ai-evaluation (Python) 1.1.0
FAQ
Can I use it without network access or an API key?
How does it relate to promptfoo-style tooling?
Which agent frameworks are supported?
What exactly does release-proof produce?
What stage is the project at?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.