or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
We Need a Modular API System for Agents and RAG
Currently, agents and RAGs are often tightly coupled to a single front-end. This creates a situation where each front-end is responsible user interface (as it should) but also functional elements (agents, RAG).
Agents and RAGs are not front-end processes; they should be independent of it, interface-agnostic, thus allowing for more flexibility and modularity.
The Problem
When front-ends are tied to agents and RAGs, it limits experimentation, because user needs to start from scratch. It forces open source solutions to accidentally compete, ending with monolithic front-ends that have to deliver everything to everyone (whether it’s chatting, analyzing text, or managing code).
This forces every new front-end to stretch too thin, with inefficiency, increased complexity, and redundancy. And reducing overall quality.
More importantly, it hinders innovation in front-end design since each one needs to handle everything on its own.
Open source lacks resources already, we need to be lean and mean.
The Solution
By decoupling the front-end from the backend and providing an system for accessing agents and RAGs across different front-ends, solutions can afford to become far more specialized and modular.
This means front-ends can focus on specific tasks, while still leveraging the same powerful backend resources.
Front-ends can specialize in areas like conversation, audio processing, reading, and more, without being required to reimplement the core logic each time.
Why This is Beneficial
Our take
Moving towards an API-driven modular approach opens up so many possibilities. Not only does it free up the development of front-ends, but it also future-proofs the system by allowing the backend (agents and RAGs) to evolve independently from the user-facing interfaces. This makes the system easier to maintain, more scalable, and faster to adapt to new use cases or interfaces as they emerge.