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.
- Source repo
- K-Dense-AI/karpathy
- Stars
- ★ 1.6k
- Last updated
- 3mo ago
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 39/100 · Major gaps
At a glance
- How it runs
- 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
- 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
- Source review
- 39/100 · Major gaps 2 safety controls not found
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.
- Data scientists exploring AutoML quickly using an agent to automate model training.
- Researchers needing reproducible agent-skill workflows for scientific analysis, integrated into existing environments.
- Developers building their own agents with ADK, using Karpathy as a reference example.
- Teams wanting to train models on various providers via OpenRouter, configuring AGENT_MODEL.
- 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_KEYAGENT_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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
FAQ
Is an OpenRouter API key required?
Can I run it offline?
How do I change the model the agent uses?
Where are the agent's outputs?
Can I use my own datasets?
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.