Source: https://seerepo.com/compare/keras-team/keras/vs/tensorflow/tfjs
Markdown source: https://seerepo.com/compare/keras-team/keras/vs/tensorflow/tfjs.md
Description: keras and tfjs share 4 technologies: h5py, Rich, TensorFlow, and ml-dtypes. keras is written in Python and tfjs in TypeScript.

# keras vs tfjs

keras and tfjs share 4 technologies: h5py, Rich, TensorFlow, and ml-dtypes. keras is written in Python and tfjs in TypeScript.

- [keras-team/keras](https://seerepo.com/r/keras-team/keras): Deep Learning for humans
- [tensorflow/tfjs](https://seerepo.com/r/tensorflow/tfjs): A WebGL accelerated JavaScript library for training and deploying ML models.

## What they share and what sets them apart

- In common: h5py, Rich, TensorFlow, ml-dtypes
- Only in keras: torch, scikit-learn, ai-edge-litert, onnxruntime, pillow
- Only in tfjs: tensorboard-data-server, werkzeug, React, @react-native-async-storage/async-storage, react-native, Preact, prompt-toolkit, jaxlib, Keras, opt-einsum, optax, orbax-checkpoint, tensorflow-io-gcs-filesystem, tf-keras, flax, jax, tensorflow-hub, markdown, markupsafe, progress, expo-gl, expo-camera, jpeg-js, glamor, vega-embed, d3-selection, vega-lite

## Side by side

| | keras | tfjs |
|---|---|---|
| Size | 324,787 lines written, 624 code files | 383,524 lines written, 2,527 code files |
| Who writes it | 0.5% of its commits signed by AI. With Gemini CLI, Jules, Claude Code, and Cursor | 0% of its commits signed by AI |
| Activity | Last push November 5, 2026, 11,732 commits, 64,419 stars | Last push June 23, 2026, 6,042 commits, 19,155 stars |
| Tests | 318 test files. 34.8% of its code files have a test that imports them | 72 test files. 1.9% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, keras or tfjs?

tfjs, with 383,524 lines written; keras has 324,787.

The proof: [tensorflow/tfjs's code at commit 7f5309f](https://github.com/tensorflow/tfjs/tree/7f5309fef0a47545e34049903dbdae0f97285f7e)

### Which has more GitHub stars, keras or tfjs?

keras, with 64,419 stars; tfjs has 19,155.

The proof: [keras-team/keras on GitHub](https://github.com/keras-team/keras)

### Which has more tests, keras or tfjs?

keras, with 318 test files; tfjs has 72.

The proof: [keras-team/keras's code at commit 104de14](https://github.com/keras-team/keras/tree/104de145739fc5e6c64504edb3ab3736a645ff1b)

### Which was updated more recently, keras or tfjs?

keras: its last push was on November 5, 2026, and tfjs's on June 23, 2026.

The proof: [keras-team/keras's commits on GitHub](https://github.com/keras-team/keras/commits)

### Which has more commits signed by AI, keras or tfjs?

keras: an AI signed 0.5% of its commits, with Gemini CLI, Jules, Claude Code, and Cursor.

The proof: [the commits each tool signed in keras-team/keras](https://seerepo.com/r/keras-team/keras/ai)

## Sources

- keras-team/keras: Read on November 5, 2026, at commit 104de14 (https://github.com/keras-team/keras/tree/104de145739fc5e6c64504edb3ab3736a645ff1b)
- tensorflow/tfjs: Read on November 6, 2026, at commit 7f5309f (https://github.com/tensorflow/tfjs/tree/7f5309fef0a47545e34049903dbdae0f97285f7e)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
