Skip to main content
Magpie is one engine with two ways to use it. You pick one of them. They do not run together.

Use the library when one program owns the data

For example: one agent app, a script, a test, a notebook. You add magpiedb to your code and there is nothing else to run.
One writer per store. Only one process may write to a store folder at a time. A second writer is refused; read-only opens are fine.
Start here: Rust · Node.js · Python.

Use the server when many programs share the data

For example: several agent services, in different languages or on different machines, that all send their traces to one place. They send them with OpenTelemetry, which most agent frameworks already speak. With many app instances, send to one magpie-server: it is the one writer. Start here: Quick start · Send traces with OpenTelemetry · Run it in production.

A simple rule

If it runs only on your laptop or inside one app, use the library. If it runs for a team or a company, use the server. The two ways write the same kind of store. More about the one-writer rule and what else Magpie does not do yet: Limits.