AI prompts
base on Modern Backend Framework that unifies APIs, background jobs, workflows, and AI Agents into a single core primitive with built-in observability and state management. <a href="https://motia.dev">
<img src="assets/github-readme-banner.png" alt="Motia Banner" width="100%">
</a>
<p align="center">
<a href="https://trendshift.io/repositories/14032" style="margin-right:8px;">
<img src="https://trendshift.io/api/badge/repositories/14032" alt="Motia" style="width: 250px; height: 55px; margin-right:8px;" width="250" height="55"/>
</a>
<a href="https://vercel.com/blog/summer-2025-oss-program#motia" target="_blank" style="margin-left:8px;">
<img alt="Vercel OSS Program" src="https://vercel.com/oss/program-badge.svg" style="width: 250px; height: 55px; margin-left:8px;" width="250" height="55"/>
</a>
</p>
<p align="center">
<strong>π₯ The Unified Backend Framework That Eliminates Runtime Fragmentation π₯</strong>
</p>
<p align="center">
<em>APIs, background jobs, workflows, and AI agents in one system. JavaScript, TypeScript, Python, and more in one codebase.</em>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/motia">
<img src="https://img.shields.io/npm/v/motia?style=flat&logo=npm&logoColor=white&color=CB3837&labelColor=000000" alt="npm version">
</a>
<a href="https://github.com/MotiaDev/motia/blob/main/LICENSE">
<img src="https://img.shields.io/badge/license-MIT-green?style=flat&logo=opensourceinitiative&logoColor=white&labelColor=000000" alt="license">
</a>
<a href="https://github.com/MotiaDev/motia">
<img src="https://img.shields.io/github/stars/MotiaDev/motia?style=flat&logo=github&logoColor=white&color=yellow&labelColor=000000" alt="GitHub stars">
</a>
<a href="https://twitter.com/motiadev" target="_blank">
<img src="https://img.shields.io/badge/Follow-@motiadev-1DA1F2?style=flat&logo=twitter&logoColor=white&labelColor=000000" alt="Twitter Follow">
</a>
<a href="https://discord.gg/motia" target="_blank">
<img src="https://img.shields.io/discord/1322278831184281721?style=flat&logo=discord&logoColor=white&color=5865F2&label=Discord&labelColor=000000" alt="Discord">
</a>
</p>
<p align="center">
<a href="https://www.motia.dev/manifesto">π‘ Motia Manifesto</a> β’
<a href="https://www.motia.dev/docs/getting-started/quick-start">π Quick Start</a> β’
<a href="https://www.motia.dev/docs/concepts/steps/defining-steps">π Defining Steps</a> β’
<a href="https://www.motia.dev/docs">π Docs</a>
</p>
---
## π― What is Motia?
**Motia solves backend fragmentation.**
Modern software engineering is disjointed β APIs live in one framework, background jobs in another, queues have their own tooling, and AI agents are springing up in yet more isolated runtimes. **This fragmentation demands a unified system.**
Motia unifies APIs, background jobs, workflows, and AI agents into a **single coherent system** with shared observability and developer experience. Similar to how React simplified frontend development, where everything is a component, **Motia simplifies backend development, where everything is a Step**.
Write **JavaScript, TypeScript, Python, and more** in the same workflow. **What used to take 5 frameworks to build now comes out of the box with Motia.**
[](https://motia.dev)
## π» Remix your own Motia App in Replit
[](https://replit.com/@motiadev/motia)
## π Quickstart
Get Motia project up and running in **under 60 seconds**:
### 1. Bootstrap a New Motia Project
```bash
npx motia@latest create # runs the interactive terminal
```
Follow the prompts to pick a template, project name, and language.

### 2. Start the Workbench
Inside your new project folder, launch the dev server:
```bash
npx motia dev # β http://localhost:3000
```
**That's it!** You have:
- β
REST APIs with validation
- β
Visual debugger & tracing
- β
Multi-language support
- β
Event-driven architecture
- β
Zero configuration

> π **[Full tutorial in our docs β](https://motia.dev/docs/getting-started/quick-start)**
## π― Step Types
| Type | Trigger | Use Case |
|------|---------|----------|
| **`api`** | HTTP Request | REST endpoints |
| **`event`** | Topic subscription | Background processing |
| **`cron`** | Schedule | Recurring jobs |
| **`noop`** | Manual | External processes |
> π **[Learn more about Steps β](https://motia.dev/docs/concepts/steps)**
---
## π― Examples
### π **[ChessArena.ai](https://chessarena.ai)** - Full-Featured Production App
A complete chess platform benchmarking LLM performance with real-time evaluation.
**[Live Website β](https://chessarena.ai)** | **[Source Code β](https://github.com/MotiaDev/chessarena-ai)**
> 
**Built from scratch to production deployment, featuring:**
- π **Authentication & user management**
- π€ **Multi-agent LLM evaluation** (OpenAI, Claude, Gemini, Grok)
- π **Python engine integration** (Stockfish chess evaluation)
- π **Real-time streaming** with live move updates and scoring
- π¨ **Modern React UI** with interactive chess boards
- π **Event-driven workflows** connecting TypeScript APIs to Python processors
- π **Live leaderboards** with move-by-move quality scoring
- π **Production deployment** on Motia Cloud
### π **More Examples**
**[View all 20+ examples β](https://github.com/MotiaDev/motia-examples)**
| Example | Description |
|---------|-------------|
| **[AI Research Agent](https://github.com/MotiaDev/motia-examples/tree/main/examples/ai-deep-research-agent)** | Web research with iterative analysis |
| **[Streaming Chatbot](https://github.com/MotiaDev/motia-examples/tree/main/examples/streaming-ai-chatbot)** | Real-time AI responses |
| **[Gmail Automation](https://github.com/MotiaDev/motia-examples/tree/main/examples/gmail-workflow)** | Smart email processing |
| **[GitHub PR Manager](https://github.com/MotiaDev/motia-examples/tree/main/examples/github-integration-workflow)** | Automated PR workflows |
| **[Finance Agent](https://github.com/MotiaDev/motia-examples/tree/main/examples/finance-agent)** | Real-time market analysis |
**Features demonstrated:** Multi-language workflows β’ Real-time streaming β’ AI integration β’ Production deployment
---
## π Language Support
| Language | Status |
|----------|--------|
| **JavaScript** | β
Stable |
| **TypeScript** | β
Stable |
| **Python** | β
Stable |
| **Ruby** | π§ Beta |
| **Go** | π Soon |
## π Resources
- **[π Documentation](https://motia.dev/docs)** - Complete guides and API reference
- **[π¬ Discord](https://discord.gg/motia)** - Community support and discussions
- **[π GitHub Issues](https://github.com/MotiaDev/motia/issues)** - Bug reports and feature requests
- **[πΊοΈ Roadmap](https://github.com/orgs/MotiaDev/projects/2)** - Upcoming features and progress
## π§ Roadmap
We have a public roadmap for Motia, you can view it [here](https://github.com/orgs/MotiaDev/projects/2/views/4).
Feel free to add comments to the issues, or create a new issue if you have a feature request.
| Feature | Status | Link | Description |
| ------- | ------ | ---- | ----------- |
| Python Types | Planned | [#485](https://github.com/MotiaDev/motia/issues/485) | Add support for Python types |
| Streams: RBAC | Planned | [#495](https://github.com/MotiaDev/motia/issues/495) | Add support for RBAC |
| Streams: Workbench UI | Planned | [#497](https://github.com/MotiaDev/motia/issues/497) | Add support for Workbench UI |
| Queue Strategies | Planned | [#476](https://github.com/MotiaDev/motia/issues/476) | Add support for Queue Strategies |
| Reactive Steps | Planned | [#477](https://github.com/MotiaDev/motia/issues/477) | Add support for Reactive Steps |
| Point in time triggers | Planned | [#480](https://github.com/MotiaDev/motia/issues/480) | Add support for Point in time triggers |
| Workbench plugins | Planned | [#481](https://github.com/MotiaDev/motia/issues/481) | Add support for Workbench plugins |
| Rewrite our Core in either Go or Rust | Planned | [#482](https://github.com/MotiaDev/motia/issues/482) | Rewrite our Core in either Go or Rust |
| Decrease deployment time | Planned | [#483](https://github.com/MotiaDev/motia/issues/483) | Decrease deployment time |
| Built-in database support | Planned | [#484](https://github.com/MotiaDev/motia/issues/484) | Add support for built-in database |
## π€ Contributing
We welcome contributions! Check our **[Contributing Guide](https://github.com/MotiaDev/motia/blob/main/CONTRIBUTING.md)** to get started.
---
<div align="center">
**[π Get Started](https://motia.dev)** β’ **[π Docs](https://motia.dev/docs)** β’ **[π¬ Discord](https://discord.gg/motia)**
[](https://www.star-history.com/#motiadev/motia&Date)
<sub>β **Star us if you find Motia useful!**</sub>
</div>
", Assign "at most 3 tags" to the expected json: {"id":"14032","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"