Skip to main contentSkip to footer
    Agent Library · TypeScript

    Building AI agents in TypeScript without standing up a Python service

    Mastra is the leading open-source TypeScript framework for AI agents, offering agents, workflows, memory and evaluations that run inside an existing Next.js or Node application. Teams that must stay in Python but want comparable type safety should use pydantic-ai. Both are free and open source, and both remove the need to deploy a separate Python service purely to host an agent.

    Free. 2 repositories, no payment. One email address opens the list.

    Almost every agent tutorial assumes Python. Almost every mobile and web product I get called into is TypeScript. That gap costs real money.

    It usually shows up as a second deployment target: a small Python service sitting next to the app, with its own container, its own secrets and its own on-call story, existing entirely because the agent library was written in the other language.

    Sometimes that's the right call. If your team has Python depth and the agent is doing heavy retrieval or data work, a separate service is honest architecture. But if the agent is three tools and a conversation, splitting your stack to run it is a tax you're paying for nothing, and it slows down every change you make afterwards.

    Mastra is the first TypeScript framework I've used that doesn't feel like a port. Agents, workflows, memory and an evaluation harness, designed to sit next to your Next.js app rather than behind it. Check the licence before you ship commercially. It isn't a plain MIT project, and for some buyers that matters more than anything technical on this page.

    If you're stuck on the Python side by circumstance rather than choice, pydantic-ai is the closest thing to the TypeScript experience: typed end to end, failing at the boundary instead of three calls later. That is most of what type safety buys you in agent code anyway.

    This week: find out whether your agent genuinely needs Python, or whether it needs Python because the first tutorial you read was in Python. Those are different answers.

    Where to send the 2 repositories

    Give me an email address and the full list opens on this page straight away, with a copy in your inbox you can search later, plus a note whenever we publish something new on AI and where mobile development is going. No payment, now or ever. That's the only trade.

    One email with the repositories, then new articles when we publish them. Unsubscribe link in every one, no forms, no “are you sure”. We don't sell or share your address.

    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

    If your product is TypeScript, start here

    Most agent tutorials assume Python. Most mobile and web products do not. These two close that gap.

    2 repositories, with the notes on each. Enter your email above to read them.

    The master list: all 100 repositories

    The free list above is the short version, and every repository on it is in here too. The Gods Repo Library is the whole catalogue: 100 repositories across 12 categories, each with a written note on what it is for and when to reach for it, and it carries the AI optimisation half, inference, serving, quantisation and evaluation, that the free list barely touches. Every figure in it is read from the GitHub API rather than typed by hand, and nothing archived or idle survives the build. Verified 2026-09-23.

    • Orchestration: where the agent lives19
    • Coding agents you can point at your own repo6
    • MCP, tools and the integration layer10
    • Browser and computer control5
    • Retrieval: giving the model your data9
    • Memory and vector stores7
    • Evaluation, observability and guardrails11
    • Prompt and output optimisation5
    • Inference, serving and routing10
    • Fine-tuning, quantisation and compression7
    • Getting the data in5
    • Courses, cookbooks and reference6
    $9.99once, for all 100 repositories, sent to your inbox
    • All 100 repositories with a written note on each, emailed to you
    • 88 of them are beyond the free list above
    • A permanent link to the live version, refreshed against the GitHub API
    • No subscription and no account, just the library

    Before you buy, the terms of this sale

    • The full catalogue is delivered to the email address I give, immediately, the moment my payment clears.
    • Because it is delivered in full straight away, all sales are final: no refunds, no partial refunds, no exceptions, for any reason.
    • I am asking for that immediate delivery and I give up any cancellation or cooling-off period that would otherwise apply to digital content.
    • If the email does not reach me, Frenchy Digital will re-send it to my address for as long as I need, and that re-send is the remedy rather than a refund.
    • The repositories listed are third-party open-source projects. Their availability and their licences are theirs to change, and I will check any licence myself before using it commercially.

    The same terms are in full in our terms and conditions, and you will be asked to accept them once more on the Stripe payment page.

    You can change the address at checkout, and that is where it is delivered. Secure checkout by Stripe, and we never see your card.

    Tip if it helped. Only if it helped.

    The library costs nothing and stays that way. You already have it, whether or not you type anything here. If it saved you an afternoon, name your own amount. It goes toward the time we spend testing these so you don't have to.

    Anything from $2. You can still change it on the next screen. Secure checkout by Stripe, and we never see your card.

    Questions people actually ask

    Ready to Build Your Application?

    Let's discuss your project. Our team will help you build solutions that transform your business.