Karpathy Agentic ML Engineer

Automated ML engineer powered by Claude Agent SDK and Google ADK, leveraging Scientific Agent Skills to train state-of-the-art models.

Stars
★ 1.6k
Last updated
3mo ago
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLIWeb app
Works with
Platform-specificClaude CodeCodex (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Python 3.13uvClaude CodeShell / CLINetwork accessLocal filesystem
Typical use
Data scientists exploring AutoML quickly using an agent to automate model training.
Not a fit if
  • Users unwilling to pay for external API keys like OpenRouter
  • Teams needing advanced end-to-end ML, who should use the paid K-Dense platform
Website
k-dense.ai ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-08-18

What does this agent do, and when should you use it?

Karpathy is an agentic Machine Learning Engineer built on the Claude Agent SDK and Google ADK, demonstrating how to automate ML model training. It leverages Scientific Agent Skills (130+ ready-to-use skills) to provide specialized workflows. The startup script start.py sets up a sandbox environment with pre-installed ML packages (PyTorch, transformers, scikit-learn) and scientific skills, then launches an ADK web interface (localhost:8000) where users can select the karpathy agent and interact via chat. This is a simple implementation showcasing the power of Scientific Agent Skills for ML. The project is not affiliated with Andrej Karpathy; the name is a tribute.

Karpathy sets up a sandbox environment via start.py, which copies .env configuration (requires OPENROUTER_API_KEY), clones Scientific Agent Skills into the sandbox, and starts the ADK web interface. Users visit http://localhost:8000, select the karpathy agent, and issue tasks through conversation. The agent uses the sandbox environment and skills to process files (datasets, scripts) placed by the user, train models, and outputs results to the sandbox directory. Manual setup can be done via python -m karpathy.utils and the interface can be started via adk web.

  1. Data scientists exploring AutoML quickly using an agent to automate model training.
  2. Researchers needing reproducible agent-skill workflows for scientific analysis, integrated into existing environments.
  3. Developers building their own agents with ADK, using Karpathy as a reference example.
  4. Teams wanting to train models on various providers via OpenRouter, configuring AGENT_MODEL.
  5. Educational demonstrations of combining Claude Agent SDK and Google ADK for machine learning.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
OPENROUTER_API_KEY AGENT_MODEL
Config files
.env
Runtime
Python 3.13+

How do you install or deploy this agent?

Clone the repository: git clone https://github.com/K-Dense-AI/karpathy.git. cd into the directory, install dependencies using uv: uv sync. Create a .env file with OPENROUTER_API_KEY and AGENT_MODEL. Requires Python 3.13+, uv, and Claude Code installed and authenticated.

How do you use this agent?

Run python start.py to create the sandbox and start the ADK web interface. Open http://localhost:8000, select the karpathy agent, and converse. For manual setup, run python -m karpathy.utils first, then adk web. Place datasets or scripts in the sandbox directory for the agent to access.

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.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Leverages Scientific Agent Skills with 130+ curated skills, saving time and effort.
  • Automated sandbox setup with common ML libraries (PyTorch, transformers), reducing configuration friction.
  • Integrated with ADK framework, providing a web interface for easy interaction.
  • Serves as a practical example of integrating Claude Agent SDK with Google ADK.
Limitations
  • Requires OPENROUTER_API_KEY, creating dependency on external API and potential costs.
  • Agent capabilities are limited; advanced ML workflows require the commercial K-Dense platform.
  • Tied to a specific tech stack (Python 3.13, uv, Claude Code), raising setup complexity.
  • Project is not affiliated with Andrej Karpathy, which could cause confusion.

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
Karpathy Agentic ML Engineer This agent 39 · Major gaps CLIFree + model costs ★ 1.6k 3mo ago Python Claude Code
optim-agent 68 · Some gaps Library / SDKFree + model costs ★ 798 3mo ago Python Codex · Claude Code
Gyoshu Research Lab 44 · Major gaps Agent plugin / skillFree + model costs ★ 243 9mo ago TypeScript Claude Code
AgentSwarms Data and Agent Platform 79 · Good Web appFree + model costs ★ 311 today TypeScript OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
39/ 100 5-point scale 2.0 / 5
Trust 8/29
Reliability 5/14
Adaptability 9/18
Convention 8/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

The code shows the main agent delegating through delegate_task, and the README says setup creates a sandbox and copies .env into it. The supplied files do not show permission limits, confirmation steps, detailed data flows, secret protection, controls on external effects, or rollback, so those areas have only thin support or are absent. Dependencies have minimum-version declarations but no evidence of security review, so dependency_security is 1. The README identifies the Scientific Agent Skills upstream project, and the license states copyright and license terms, supporting source_attribution at 2.

Reliability5 / 14 · 1.8/5

The README says the project uses the Claude Agent SDK and Google ADK, while the shown entry point directly uses Google ADK and the README also requires Claude Code; this relationship is unexplained, so self_consistency is 1. Python, uv, environment variables, and startup steps are documented, and dependencies are listed in pyproject.toml, supporting dependency_availability at 2. The supplied material does not show failure handling or user-readable error messages, so failure_messages is 0.

Adaptability9 / 18 · 2.5/5

The stated purpose targets machine-learning requests and mentions datasets, scripts, and available skills, covering ordinary users and scenarios sufficiently for a 2 in audience_and_scenarios. Capability boundaries and activation conditions remain broad; no task refusal limits or delegation rules are shown, so both score 1. Requirements for Python 3.13+, uv, Claude Code, an API key, and the local ADK web interface are explicit, supporting environment_fit at 2.

Convention8 / 18 · 2.2/5

The README is organized into prerequisites, setup, startup, manual use, and capability notes, and gives actionable installation steps, so information_architecture and install_notes score 2. Names appear across the README, Python package, and Agent, but no naming convention is explained, so naming_stability is 1. It includes startup commands and brief usage steps but no FAQ, so examples_and_faq is 1. The disclaimer and planned features provide limited information about limitations, so known_limitations is 1. The LICENSE file fully states the MIT terms, earning 3. No changelog or clear maintenance responsibility and update path are shown, so versioning_changelog is 0 and maintenance_responsibility is 1.

Effectiveness6 / 13 · 2.3/5

The README says outputs go to the sandbox and explains how to launch the web interface, making outputs reasonably findable, so output_usability is 2. The project describes itself as a simple demonstration of Scientific Agent Skills; the shown entry point has one main agent and a delegation tool, but the supplied evidence does not establish added results over a general agent, so marginal_value is 1. An external model API key and a sandbox environment are required, but costs, resource needs, and benefits are not discussed, so cost_benefit is 1.

Verifiability3 / 8 · 1.9/5

README setup and startup claims can be partly checked against pyproject.toml and the entry point, but capability and effectiveness claims remain largely project statements, so claim_traceability is 1. The files provide limited cross-checking for dependencies, environment variables, and startup, while implementation details and skill samples are insufficient, so cross_source_corroboration is 1. The material distinguishes disclaimers, prerequisites, and feature descriptions, but gives no outcome evidence or explicit labeling of inferences, so fact_inference_separation is 1.

Risks and how to mitigate them
  • Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • The README says the API key is copied into the sandbox; the supplied material does not show access controls for that directory or protections for handling the key.
  • The shown entry point depends on delegation tools and instruction files not included in the packet, and no failure handling, rollback, or execution evidence is supplied. Treat claims about model-training results as unverified.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision f92b680a48b9
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/karpathy.svg)](https://followagents.com/en/agents/karpathy)
<a href="https://followagents.com/en/agents/karpathy"><img src="https://followagents.com/badge/karpathy.svg" alt="FARS review"></a>

FAQ

Is an OpenRouter API key required?
Yes, the README explicitly states that OPENROUTER_API_KEY is required for the agent to function properly.
Can I run it offline?
No, the agent needs network access to OpenRouter API, cloning skills, and downloading dependencies.
How do I change the model the agent uses?
By setting the AGENT_MODEL variable in the .env file to your desired model name.
Where are the agent's outputs?
All outputs are saved in the sandbox directory, so monitor that directory while conversing with the agent.
Can I use my own datasets?
Yes, manually add datasets or scripts to the sandbox directory, and the agent can access them.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts