In the planning of community,the top-down static allocation method often leads to a mismatch between supply and demand,creating an urgent need for a bottom-up planning and design approach that prioritizes people's needs and activities.To address this,the study constructs an agent-based simulation model of pedestrian activities that takes the living circle and its residents as the primary agents,and incorporates street networks,functional facilities,and street interfaces into the decision-making system for walking activities.The model reproduces the emergence process from micro-level individual decision-making to macro-level activity patterns,reveals the interaction mechanisms between spatial environment and walking behavior,and provides a human-centered computational experiment platform and decision support for the optimization of community space.The results show that the model effectively fits actual walking activities,validating its reliability.At a small scale,proximity,residential and commercial development intensity,public transport station distribution,functional mix,and street width-height ratio significantly influence walking activities.Their interplay indicates that a combination of high proximity,high density,high functional mix,and an appropriate street width-height ratio at a small scale enhances walking attractiveness.Based on these findings,spatial optimization strategies for the community are proposed,including improving walking network connectivity,creating vibrant nodes,and transforming negative street interfaces.