Anthropic updates Claude AI to write and run Javascript code

Claude
(Image credit: Anthropic)

Anthropic has announced a significant update to its Claude AI chatbot allowing it to both write and execute Javascript code.

Through a new analysis tool, Claude users can process data, conduct analysis and produce real-time insights with a higher degree of mathematical accuracy, making it a much more powerful and reliable tool in industries outside of the creative context where this accuracy matters.

For example, it can perform complex calculations, analyze large data sets and generate interactive visualizations based on CSV files, which can be hard to digest.

Claude goes hands-on with Javascript

Anthropic claims Claude’s added capabilities mean that responses will be “mathematically precise and reproducible,” something that other chatbots have proven incapable of doing.

“Instead of relying on abstract analysis alone, it can systematically process your data—cleaning, exploring, and analyzing it step-by-step until it reaches the correct result," the company wrote in a blog post.

Anthropic also detailed how marketers could upload customer interaction data to let Claude suggest customer engagement optimizations, or how product managers can use it to analyze customer engagement to inform sprint planning and development focus areas.

The feature adds Claude to a growing list of AI models that integration code execution abilities, such as Google’s Gemini models which offer Python-based code execution and OpenAI, which offers Advanced Data Analysis on flagship models.

However, the company’s decision to go down the route of Javascript makes it particularly useful in the realms of web-based data processing and interactive elements.

Claude’s new Javascript abilities are available to Claude.ai users, who can enable the update through their account settings as a preview.

More from TechRadar Pro

Craig Hale

With several years’ experience freelancing in tech and automotive circles, Craig’s specific interests lie in technology that is designed to better our lives, including AI and ML, productivity aids, and smart fitness. He is also passionate about cars and the decarbonisation of personal transportation. As an avid bargain-hunter, you can be sure that any deal Craig finds is top value!

Read more
PLACEHOLDER
What is Claude: It’s time to talk about this clever AI chatbot
An image of Claude 3 artwork
Claude will eventually start speaking up during your chats
Claude Extended Thinking
How Claude’s 3.7's new ‘extended' thinking compares to ChatGPT o1's reasoning
ChatGPT Canvas
OpenAI is making ChatGPT's Canvas feature smarter and sleeker
LunarLink
What is LunarLink? Everything we know about the AI model platform
Homepage of Manus, a new Chinese artificial intelligence agent capable of handling complex, real-world tasks, is seen on the screen of an iPhone.
Manus AI may be the new DeepSeek, but initial users report problems
Latest in Pro
An image of network security icons for a network encircling a digital blue earth.
Why multi-CDNs are going to shake up 2025
URL phishing
HaveIBeenPwned owner suffers phishing attack that stole his Mailchimp mailing list
Ransomware
Cl0p resurgence drives ransomware attacks to new highs in 2025
Millwall FC The Den
The UK's first football club mobile network is here - but you probably won't guess which team has launched it
A person using a smartphone with a cybersecurity lock symbol appearing over it.
The growing threat of device code phishing and how to defend against It
Cybersecurity
Why OT security needs exposure management to break the cycle of endless patching
Latest in News
Microsoft Surface Laptop and Surface Pro devices on a table.
Hate Windows 11’s search? Microsoft is fixing it with AI, and that almost makes me want to buy a Copilot+ PC
Oura Ring 4
Activity tracking on Oura Ring is about to get a whole lot better, but I've got bad news about your step count
Google Maps on a phone being held in someone's hand
Google Maps is getting two key upgrades, for easier route planning and quicker access to Gemini AI
URL phishing
HaveIBeenPwned owner suffers phishing attack that stole his Mailchimp mailing list
Gemini on a smartphone.
Gemini 2.5 is now available for Advanced users and it seriously improves Google’s AI reasoning
Ransomware
Cl0p resurgence drives ransomware attacks to new highs in 2025