User Guide¶
This guide covers how to build, solve, and simulate economic models with scikit-agent.
What is scikit-agent?¶
scikit-agent is a Python package for agent-based economic modeling that follows scikit-learn conventions. Models are built from composable blocks, each representing a stage or aspect of economic behavior. Several solution methods are available, including value function iteration and neural-network methods; for a model with several decisions or several agents, one of these methods combines with a schedule that decides when each decision is solved. Monte Carlo simulators generate synthetic panel data from a model and its decision rules, handling heterogeneity, aging, and other complex dynamics. The API follows familiar Python conventions throughout.
Getting Started¶
If you’re new to scikit-agent, start here:
Installation - Install scikit-agent and set up your environment
Quickstart Guide - Build and simulate your first model in minutes
Core Concepts¶
Learn about the fundamental concepts and components:
Block Guide - Understanding model structure and building custom models
Reading Model Diagrams - Reading a model’s diagram: the shapes, the plates, and what is not drawn
Simulation Guide - Monte Carlo simulation and analysis
Algorithms Guide - Solution methods for solving your models
Solving Models with the Maliar Method - Neural-network solution via the Maliar method
Environments Guide - Interactive adapters for reinforcement-learning algorithms
Constraining an Optimization Problem - The ways to constrain decisions and how solvers enforce them
Topics Covered¶
Need Help?¶
Examples: Browse the Examples for complete working examples
API Reference: See API Reference for detailed class and function documentation
GitHub Issues: Report bugs or request features at github.com/scikit-agent/scikit-agent
Contributing¶
scikit-agent is an open-source project and welcomes contributions, including bug reports, new features, code, documentation, and examples. See our contribution guidelines in the repository for how to get involved.
Head to the Quickstart Guide guide to get started.