Agent Learning Kit

Local-first simulation, evaluation, red teaming, and optimization for AI agents.

Stars
★ 129
Last updated
1d ago ready-environments-v0.3.8
FARS reviewed
Nov 08, 2026 +1 new
License
NOASSERTION
Primary language
Python

At a glance

How it runs
CLILibrary / SDK
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Python (pip)uv (for source development)pnpm (for TypeScript package build)Shell / CLILocal filesystem
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.

  1. A developer building a LangChain or LangGraph agent who wants offline task simulation and regression replay before pushing to CI.
  2. A team that needs repeatable tests for multi-agent coordination and handoff logic instead of manual trial runs.
  3. A security engineer red-teaming agents with corpora, campaigns, and adaptive loops without sending data to a third-party cloud.
  4. A release engineer who needs the local gate evidence that agent-learn release-proof writes as sign-off material.
  5. A team tuning retrieval or memory layers that wants evaluation results for both inside the same artifact model.
  6. 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-kit
  • pip install "agent-learning-kit[livekit]"
  • pip install "agent-learning-kit[nli]"
  • pip install "agent-learning-kit[all]"
Environment variables
AGENT_LEARNING_RUN_EXAMPLE_KEY AGENT_LEARNING_OPTIMIZE_EXAMPLE_KEY AGENT_LEARNING_REDTEAM_EXAMPLE_KEY AGENT_LEARNING_API_KEY FUTURE_AGI_API_KEY FI_API_KEY
Config files
examples/eval_suite.json artifacts/eval.json examples/run_manifest.json artifacts/run.json examples/optimization_manifest.json

How do you install or deploy this agent?

Install from PyPI:

pip install agent-learning-kit

Optional 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-kit

How do you use this agent?

Start with the local doctor to confirm the environment:

agent-learn doctor

Evaluate a suite:

agent-learn eval examples/eval_suite.json \
  --output artifacts/eval.json

Simulate a run manifest:

AGENT_LEARNING_RUN_EXAMPLE_KEY=offline-demo-key \
  agent-learn run examples/run_manifest.json \
  --no-eval \
  --output artifacts/run.json

Optimize an agent workflow:

AGENT_LEARNING_OPTIMIZE_EXAMPLE_KEY=offline-demo-key \
  agent-learn optimize examples/optimization_manifest.json \
  --output artifacts/optimization.json

Run a red-team campaign:

AGENT_LEARNING_REDTEAM_EXAMPLE_KEY=offline-demo-key \
  agent-learn redteam examples/redteam_manifest.json \
  --output artifacts/redteam.json

Cut local release proof:

agent-learn release-check --project-root .
agent-learn release-proof \
  --project-root . \
  --output /tmp/agent-learning-release-proof.json \
  --quiet

For 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Some gaps
65/ 100 5-point scale 3.3 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 16/29
Reliability 6/14
Adaptability 14/18
Convention 15/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability14 / 18 · 3.9/5

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.

Convention15 / 18 · 4.2/5

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.

Effectiveness9 / 13 · 3.5/5

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.

Verifiability5 / 8 · 3.1/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 7e69ae596328 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/agent-learning-kit.svg)](https://followagents.com/en/agents/agent-learning-kit)
<a href="https://followagents.com/en/agents/agent-learning-kit"><img src="https://followagents.com/badge/agent-learning-kit.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 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 ↗
  2. ts-v0.2.0 @future-agi/ai-evaluation (TypeScript) 0.2.0
    Release notes excerpt
    TypeScript SDK release. See CHANGELOG.md for full notes.
    View on GitHub ↗
  3. py-v1.1.0 ai-evaluation (Python) 1.1.0
    Release notes excerpt
    Python SDK release. See CHANGELOG.md for full notes.
    View on GitHub ↗

FAQ

Can I use it without network access or an API key?
Yes. The quickstart doctor, eval, run, optimize, and redteam commands are designed to run fully offline; the AGENT_LEARNING_*_EXAMPLE_KEY prefixes only satisfy each manifest's required_env list and are CI wiring metadata, not real credentials. AGENT_LEARNING_API_KEY is only needed when you opt into Future AGI platform-backed evaluation.
How does it relate to promptfoo-style tooling?
The README lists promptfoo-style CLI usage among the v1 release gate items, indicating a comparable command-line workflow, but this kit keeps simulation, evaluation, optimization, and red teaming in one artifact model rather than evaluation alone.
Which agent frameworks are supported?
Probe-promoted coverage includes LangChain, LangGraph, LlamaIndex, AutoGen, CrewAI, LiveKit, Pipecat, Browser Use, MCP, A2A, and custom orchestration objects; PydanticAI and OpenAI Agents are covered through multi-framework runtime simulation and handoff-transcript promotion.
What exactly does release-proof produce?
It emits agent-learning.release-proof.v1 and covers release-check, full-repo ruff, pytest, the Python package build, the TypeScript package build and test, and git diff --check. Use --only <check> for partial proof or --dry-run to print the command plan without executing it.
What stage is the project at?
The README states all v1 gates are green on the proved release commit and that the v1 contract those gates assert is frozen and proved. Roadmap milestones marked mostly complete or in progress are extend-only and land post-v1 without weakening a gate.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts