agentmem 0.1.0

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

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

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

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