embed

The embedded agent SDK

Ed puts a tool-calling AI agent inside your Tauri, Swift or Rust app. The model runs on your user's device and can only call the functions you register.

cargo add ed-agent
use ed_agent::{Ed, GgufModelConfig};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let ed = Ed::new();
    // Downloads the weights on first use, then loads them from the local cache.
    ed.load(GgufModelConfig::qwen25_1_5b(), None, None).await?;

    let reply = ed.send("Summarise this thread.").await;
    println!("{}", reply.reply.unwrap_or_default());
    Ok(())
}

Start with Tauri, Swift or Rust.

What you get

Building something real with it?

We are looking for design partners.

Questions

What is Ed?

Ed is an embedded agent SDK. Your app registers functions as tools, and a model running on the user's device can ask to call them.

Which apps can use Ed?

Rust apps, Tauri v2 apps, and Swift apps on Apple platforms.

Does Ed send data to a server?

The ed-agent SDK runs the model on the device. Conversation and tool results stay there unless a tool you write sends them elsewhere. Model weights are downloaded on first use.

Can the model do anything it likes in my app?

No. It can only call tools you register. Ed runs read-only tools directly and asks your approval handler before every mutating one, unless the user allowed it for the session.

What does Ed cost?

The SDK is free under MIT or Apache-2.0. Ed Pro is an optional yearly support subscription for companies.