Loading repository data…
Loading repository data…
ferris-joy / repository
Flock is a native desktop AI agent application built with Rust and Tauri, enabling multi-provider LLM support, tool orchestration, memory, and skills systems. It provides structured automation, persistent sessions, and accessibility-driven agent workflows for powerful cross-app control.
English | 简体中文
A multi AI agent desktop application built with Rust and Tauri.
Note: This project is built on top of langgraph-rust, which is my personal Rust implementation of the LangGraph framework.
Refactoring History: Flock has been completely rewritten from the ground up. The original version was a Python-based application using LangGraph, LangChain, and FastAPI as the backend. The current version is a native desktop application with a Rust backend, powered by Tauri for the desktop shell. This rewrite brings significant improvements in performance, reliability, and user experience.
Legacy Code: The original Python codebase is preserved in the
legacy/pythonbranch for reference.
Flock is a desktop application that provides an interactive interface for AI agents with tool orchestration capabilities. It supports multiple LLM providers and features a rich set of built-in tools, skills system, and memory management.
| Crate | Purpose |
|---|---|
flock-core | Core types, configuration, database, IPC interface, cryptography |
flock-agent | Agent engine, session management, tool execution, memory, graph orchestration |
flock-tools | Tool registry, built-in tools, MCP integration, math/weather tools |
flock-skills | Skill discovery, loading, frontmatter parsing, hooks, permissions |
flock-ui/src-tauri | Tauri desktop app backend |
This project relies on langgraph-rs, which is automatically resolved as a Git dependency in Cargo.toml.
# Clone the repository
git clone https://github.com/Onelevenvy/flock.git
cd flock
# Install frontend dependencies
cd flock-ui
npm install
cd ..
# Build and run the desktop app
cd flock-ui
npm run tauri dev
# Build Rust backend
cargo build
# Run tests
cargo test
# Lint
cargo clippy --workspace
# Frontend development
cd flock-ui
npm run dev
npm run lint
This project leverages langgraph-rust for agent graph orchestration. The LangGraph framework provides:
While langgraph-rust is not the official LangGraph Rust implementation, it provides the core features needed for building AI agents with tool orchestration capabilities.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
For questions or feedback, please open an issue on GitHub.