For Agents
Compute symbolic math results — simplify, factor, derive, integrate, find zeroes, evaluate trig — from an expression in the URL path. No authentication required.
Use for: Find the derivative of x^2 + 3x, Integrate sin(x) from 0 to pi, Simplify the expression 2x + 3x - x, Factor the polynomial x^2 - 4
Not supported: Does not handle linear algebra, statistics, plotting, or LaTeX rendering — use for single-expression symbolic and numerical math operations only.
Newton is a free, no-auth math micro-service that performs symbolic and numerical calculations from a string expression in the URL path. The 15 GET endpoints cover algebraic manipulation (simplify, factor), calculus (derive, integrate, area, tangent), root finding (zeroes), trigonometry (sin, cos, tan plus inverses), and basic functions (abs, log). Each endpoint takes the expression as a path parameter and returns a JSON object with the result.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Newton API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Newton API.
Simplify or factor an algebraic expression via GET /simplify/{expression} and GET /factor/{expression}
Compute derivatives and integrals through GET /derive/{expression} and GET /integrate/{expression}
Find roots and tangent lines of a function via GET /zeroes/{expression} and GET /tangent/{expression}
Calculate the area under a curve with GET /area/{expression}
Evaluate trigonometric and inverse-trig functions through GET /sin, /cos, /tan, /arcsin, /arccos, /arctan
Compute absolute value and logarithm via GET /abs/{expression} and GET /log/{expression}
Patterns agents use Newton API for, with concrete tasks.
★ Math Helper for Chat Agents
AI assistants embedded in chat surfaces forward math questions to Newton instead of computing them with a language model. The agent extracts the expression, calls the appropriate endpoint — GET /derive for derivatives, GET /factor for factoring — and returns the structured result. This avoids the well-known failure modes of language models doing arithmetic and gives a deterministic, citable answer.
Compute the derivative of 2x^3 + 5x by calling GET /derive/2x%5E3+5x and return the simplified result
Homework and Tutoring Tool
Education platforms back their show-your-work tutoring features with Newton. The platform asks the student for an expression, sends it to GET /simplify or GET /factor, and renders the response next to the student's manual steps so they can compare. Because every operation is a single GET request with the expression in the URL, integration is trivial and the response is purely the math result with no extra metadata.
Show the factored form of x^2 - 9 by calling GET /factor/x%5E2-9 and display the result alongside the student's working
Notebook and Spreadsheet Add-In
Productivity tools embed Newton calls in spreadsheet cells or notebook code so a non-coder can compute symbolic math without installing a CAS. A single HTTP call returns the integral or root, and because the API has no authentication and no rate-limit headers in the spec, lightweight scripts and educational tools can use it directly. For high-volume or commercial workloads a heavier engine is appropriate.
Compute the integral of x^2 from a notebook cell by calling GET /integrate/x%5E2 and return the antiderivative
Agent-Assisted Math Reasoning
An AI agent uses Newton through Jentic to verify the math in its own reasoning chain. When the agent generates a step like 'so the derivative is 6x', it calls GET /derive/{expression} to confirm before continuing, catching arithmetic slips before they propagate. Jentic supplies the operation schemas so the agent picks the right endpoint per math type.
Before stating a derivative result, call GET /derive on the original expression and confirm the response matches the agent's stated answer
15 endpoints — newton is a free, no-auth math micro-service that performs symbolic and numerical calculations from a string expression in the url path.
METHOD
PATH
DESCRIPTION
/simplify/{expression}
Simplify an algebraic expression
/factor/{expression}
Factor a polynomial expression
/derive/{expression}
Compute the derivative of an expression
/integrate/{expression}
Compute the integral of an expression
/zeroes/{expression}
Find roots of a function
/tangent/{expression}
Find the tangent line
/area/{expression}
Calculate the area under a curve
/log/{expression}
Compute the logarithm of an expression
/simplify/{expression}
Simplify an algebraic expression
/factor/{expression}
Factor a polynomial expression
/derive/{expression}
Compute the derivative of an expression
/integrate/{expression}
Compute the integral of an expression
/zeroes/{expression}
Find roots of a function
/tangent/{expression}
Find the tangent line
/area/{expression}
Calculate the area under a curve
/log/{expression}
Compute the logarithm of an expression
Three things that make agents converge on Jentic-routed access.
Credential isolation
Newton has no credentials, so Jentic does not need to store or inject a key. The agent calls the operation through the same Jentic flow as authenticated APIs, with credential handling effectively a no-op.
Intent-based discovery
Agents search Jentic for intents like 'compute the derivative of an expression' or 'factor a polynomial' and Jentic returns the matching Newton GET operation with the path parameter schema, so the agent picks the right one of the 15 endpoints.
Time to first call
Direct integration: under an hour to wire the URL-encoded path parameter and parse the small JSON response. Through Jentic: a few minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
GitHub API
Newton is open source on GitHub — use the GitHub API to read the source repository or fork it
Use the GitHub API when an agent needs the Newton source, issues, or release history. Use Newton itself for the math operations.
Snyk API
Snyk reports vulnerabilities for any open-source dependency, including Newton if hosted self
Use Snyk when self-hosting the Newton micro-service and tracking vulnerabilities in its dependencies. Use Newton itself for symbolic math computations.
Specific to using Newton API through Jentic.
What authentication does the Newton API use?
The Newton API has no authentication — every endpoint is a public GET with the expression in the URL path. Through Jentic the operations are still wrapped with the standard discover-load-execute flow, but there is no credential to manage in the vault for this API.
Can I compute integrals with the Newton API?
Yes. GET /integrate/{expression} returns the antiderivative for the supplied expression. URL-encode special characters such as the caret for exponents. Pair it with GET /area/{expression} when a definite area calculation is needed instead.
What are the rate limits for the Newton API?
The OpenAPI spec does not declare rate limits and the service is hosted on Vercel as a free micro-service, so callers should treat it as best-effort and back off on errors. For production workloads, an agent should batch or cache calls rather than hammering it from a tight loop.
How do I verify a derivative with the Newton API through Jentic?
Search Jentic for 'compute the derivative of an expression', load the GET /derive schema, and execute with the expression in the path parameter. The response is a small JSON object containing the result, which the agent can compare against its own answer.
Does the Newton API handle symbolic constants like pi or e?
Newton parses common math syntax including pi and e, plus standard operators and the trig functions. Expressions are URL-encoded path parameters, so an agent should encode characters like '+', '^', and spaces before sending the request.
GET STARTED