Documentation
Quickstart guides for building constraint solving applications with SolverForge.
Getting Started
Start Here
1. Install the Agent Skill
Install the CLI and the solverforge-modeling skill, then describe your
problem to Claude Code, Codex, or opencode.
Maintenance Planning Walkthrough
Follow one agent run from a plain-language depot maintenance problem to a solved plan served by an API shell.
CLI Quickstart
Install solverforge-cli, scaffold a project, grow a small task model, and solve it.
SolverForge Hospital Use Case
Follow a longer worked example that carries the generic CLI shell into a concrete hospital planning application.
SolverForge Lessons Use Case
Study a lesson-timetabling example with teachers, cohorts, rooms, weekly timeslots, two scalar variables, retained jobs, and timetable views.
SolverForge Deliveries Use Case
Study a route-optimization example with list variables, road-network data, retained jobs, and delivery insertion recommendations.
SolverForge FSR Use Case
Follow a field-service routing example with technicians, skills, parts, shifts, road-network travel, retained jobs, and route geometry.
Prerequisites
- Rust toolchain: Rust
1.95or newer, installed via rustup.rs - Cargo: Included with the Rust toolchain
- Familiarity with Rust basics (structs, traits, closures, derive macros)
Fastest Path to a Running App
With a coding agent:
cargo install solverforge-cli --locked
git clone https://github.com/SolverForge/solverforge-cli
cd solverforge-cli
./scripts/install-skill --agent claude # or: --agent codex, --agent opencode
Restart the agent and describe your problem; the Agent Skill page has a prompt template.
By hand:
cargo install solverforge-cli --locked
solverforge new my-scheduler
cd my-scheduler
solverforge server
Open http://localhost:7860 to see the generated app shell.
Shaping the Model After Scaffolding
solverforge generate fact resource --field category:String --field load:i32
solverforge generate entity task --field label:String --field priority:i32
solverforge generate variable resource_idx --entity Task --kind scalar --range resources --allows-unassigned
solverforge generate data --size large
The CLI does not ask you to pick a modeling shape up front. Scalar variables, list variables, and models that contain both are introduced through generation after scaffolding. Constraints come next: the CLI quickstart generates two, replaces their placeholder rules, and solves the result.
Where to Read More
- Agent Skill
- Maintenance planning walkthrough
- Use cases showcase: narrated walkthroughs and annotated screenshots of eight planning apps
- CLI onboarding guide
- SolverForge Hospital Use Case
- SolverForge Lessons Use Case
- SolverForge Deliveries Use Case
- SolverForge FSR Use Case
- SolverForge API documentation
- Core GitHub repository