Documentation

Learn. Build. Deploy.

Everything you need to get started with FemtoClaw—from one‑line installation to advanced configuration. Explore our guides, API references and examples to build agentic systems confidently.

Quick Start

Begin in Minutes

// Install the runtime
cargo install femtoclaw
// Run your first agent
femtoclaw run --brain local
femtoclaw run --brain remote --policy Strict

FemtoClaw is distributed as a single Rust crate. Installing via Cargo fetches a pre‑compiled binary for your platform and adds the femtoclaw command to your PATH. Use the run sub‑command with a local or remote brain. Strict policies are recommended for production deployments【93068253089653†L299-L315】.

The default configuration uses an in‑memory state backend. For durability across restarts, specify a persistent WAL directory or integrate with our storage capability modules.

CLI & SDK

Interact Programmatically

Command‑Line Interface

The femtoclaw binary exposes sub‑commands for running agents, generating default configuration files, testing capabilities and inspecting runtime state. Use --help to see all available commands.

// Inspect available commands
femtoclaw --help
// Generate a config file
femtoclaw init --config config.toml

Rust SDK

Build custom agentic workflows in Rust by depending on femtoclaw_runtime. The SDK exposes the prelude module, configuration builders, policies and trait implementations. Use it to embed FemtoClaw directly into your applications.

// Add to Cargo.toml
[dependencies]
femtoclaw_runtime = "*"
// Initialise in code
use femtoclaw_runtime::prelude::*;
let agent = Agent::new(Config::industrial());
Guides & Reference

Dive Deeper

Ready to explore all that FemtoClaw has to offer? Our guides cover advanced topics such as policy writing, custom capabilities and multi‑node clustering. The API reference documents every function and trait in the runtime.

Help & Community

We’re Here to Help

Stuck or have feedback? Join the conversation on GitHub Discussions and contribute to the future of safe agentic execution. We welcome bug reports, feature requests and pull requests from everyone.

Further Reading

Documentation Deep Dive

Learn more about installation, quick start, CLI commands and advanced usage – including how to configure brains and policies for different deployment scenarios【93068253089653†L299-L315】.

Quick Start & CLI Guide arrow_outward