TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Modus, serverless framework for intelligent APIs powered by WebAssembly

22 pointsby mj15867 months ago
Modus is an open-source, serverless framework for building APIs powered by WebAssembly. It simplifies integrating AI models, data, and business logic with sandboxed execution.<p>We built Modus to put code back at the heart of development.<p>You write a function.<p><pre><code> export function sayHello(name: string): string { return `Hello, ${name}!`; } </code></pre> Then, Modus:<p>- extracts the metadata of your functions<p>- compiles your code with optimizations based on the host environment<p>- caches the compiled module in memory for fast retrieval<p>- prepares an invocation plan for each function<p>- extracts connections, models, and other configuration details from the app’s manifest<p>- generates an API schema and activates the endpoint<p>You query the endpoint.<p><pre><code> query SayHello { sayHello(name: &quot;world&quot;) } </code></pre> In a few milliseconds, Modus:<p>- loads your compiled code into a sandboxed execution environment with a dedicated memory space<p>- runs your code, aided by host functions that power the Modus APIs<p>- securely queries data and AI models as needed, without exposing credentials to your code<p>- responds via the API result and releases the execution environment<p>Now you have a production ready scalable endpoint for your AI-enabled app. AI-ready when you’re ready. Launch and iterate.<p>Read more in the announcement blog post: <a href="https:&#x2F;&#x2F;hypermode.com&#x2F;blog&#x2F;introducing-modus-code-first-intelligent-apis" rel="nofollow">https:&#x2F;&#x2F;hypermode.com&#x2F;blog&#x2F;introducing-modus-code-first-inte...</a><p>Come join our Discord, we’d love to hear your feedback: <a href="https:&#x2F;&#x2F;discord.hypermode.com" rel="nofollow">https:&#x2F;&#x2F;discord.hypermode.com</a><p>Follow us on GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;hypermodeinc&#x2F;modus">https:&#x2F;&#x2F;github.com&#x2F;hypermodeinc&#x2F;modus</a><p>Modus docs: <a href="https:&#x2F;&#x2F;docs.hypermode.com&#x2F;modus" rel="nofollow">https:&#x2F;&#x2F;docs.hypermode.com&#x2F;modus</a><p>Modus quickstart video: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;3CcJTXTmz88" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;3CcJTXTmz88</a>

2 comments

lharries7 months ago
Congrats on the launch! Curious what the main benefit of using a web assembly runtime is? And any plans for python support or mainly focusing on Go for now?
评论 #42000288 未加载
iamtherhino7 months ago
Hi Folks -- I&#x27;m one of the people who worked on this project along with the rest of Hypermode team. Happy to answer questions or hear your feedback!