SCOPEWEAVER
The purpose of this website is to document the design and implementation of scopeweaver project for developer. This would allow for:
- Situational awarness on the state of the project
- Efficient future planning
- Unambigous implementation across all independent teams
- Single source of truth
What is Scopeweaver
A narrow-agent platform for reliable, on-device file and context management.
Scope Weaver is a multi-agent system designed to handle large contexts by decomposing domain knowledge into specialized, modular skills with embedded retrieval. Originally conceptualized to help manage complex embedded software development (like C++ codebases and automotive standards), the platform utilizes small, focused models to orchestrate tasks safely and deterministically.
Our first implementation is a file management agent that serves as the foundation for future, more complex capabilities.
Planned features
- Skill based architecture: skills act as deterministic classes containing specific tools
- Virtual file system sandbox: the agent shall act withing an isolated environment, as a guarrail
- Git like safety lifecycle: changes made by the agent can be rolled back to specific snapshots
- Text files support: the context window of the LLM consumes the text files in the system for efficient and informed operations
- Human in the loop: ultimate will and authority is maintained by the user
System Architecture
The platform is strictly separated into three core layers:
1. Frontend (macOS Native)
A SwiftUI application featuring a minimal, Spotlight-style chat interface. It embeds a WebView to render the interactive file-system graph and action timeline in real-time.
2. Agent Pipeline (The Brain)
The orchestration loop where a user prompt is processed. The pipeline handles task planning (via the Thinker model), skill retrieval, parameter validation, and deterministic execution via the primitive dispatcher.
3. Sandbox & Storage (The Environment)
The working environment containing the FileSystemGraph (structural state), ContentIndex (semantic state of files), and SkillIndex (semantic state of available tools). It handles all commit/rollback semantics and system logging.
Repository Structure
Scope Weaver follows a clean monorepo architecture separating the interface, backend logic, and the modular skill definitions.
π scope-weaver/
βββ π README.md
βββ π docs/ # Project documentation & architectural specs
β
βββ π skills/ # The Skill System (Agent capabilities)
β βββ π skill_template/ # Skeleton template for new skills
β βββ π manage-files/ # Core CRUD operations (list, create, move, etc.)
β βββ π search-files/ # Semantic & structural search
β
βββ π backend/ # Python Backend (Agent Pipeline & Sandbox)
β βββ π pyproject.toml # Dependencies
β βββ π main.py # API/WebSocket Server
β βββ π scope_weaver/ # Core pipeline, retrieval, and environment logic
β βββ π tests/ # Pytest suite
β
βββ π frontend/ # UI / UX & Visualization
βββ π ScopeWeaverMac/ # Native macOS SwiftUI App
βββ π web-viz/ # Graph Visualization (vis.js/D3) loaded via WebView
Developing Skills
Skills in Scope Weaver are not individual tools, but rather domain-specific βclassesβ that declare exact method signatures and invoke deterministic primitives.
To add a new capability to the agent, copy the skills/skill_template folder. You must define a SKILL.md file containing the YAML frontmatter (description, tags) and Markdown-based tool declarations. The pipeline automatically embeds the description into the SkillIndex on startup, allowing the agent to dynamically route user requests to your new skill based on semantic similarity.