agentmem 0.1.1

Local-first memory engine for AI coding agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use agentmem::config::Config;
use agentmem::types::ProjectName;

fn main() -> agentmem::Result<()> {
    let cwd = std::env::current_dir()?;
    let config = Config::for_project_root(ProjectName::new("example-config")?, cwd)?;

    let path = agentmem::config::resolve_local_config_path()?;
    config.save(&path)?;

    println!("config written to {}", path.display());
    Ok(())
}