Dependencies Guide
Complete list of dependencies for Arc Memory
Dependencies Guide
This guide provides a comprehensive list of dependencies required by Arc Memory, along with installation instructions and troubleshooting tips.
Core Dependencies
These dependencies are required for the basic functionality of Arc Memory:
Dependency | Version | Description |
---|---|---|
Python | >=3.9 | Programming language |
Git | >=2.25.0 | Version control system |
SQLite | >=3.31.0 | Database engine |
PyGithub | >=1.55.0 | GitHub API client |
Click | >=8.0.0 | Command-line interface toolkit |
Rich | >=10.0.0 | Terminal formatting library |
Pydantic | >=1.9.0 | Data validation library |
Requests | >=2.25.0 | HTTP library |
Typer | >=0.4.0 | CLI builder |
Networkx | >=2.6.0 | Graph algorithms library |
Optional Dependencies
These dependencies are optional but recommended for enhanced functionality:
Dependency | Version | Description | Used For |
---|---|---|---|
Docker | >=20.10.0 | Containerization platform | Sandbox environments |
E2B SDK | >=0.8.0 | E2B cloud sandbox client | Cloud sandbox environments |
Langchain | >=0.0.200 | LLM framework | Explanation generation |
Smol Agents | >=0.1.0 | Agent framework | Simulation workflow |
Pandas | >=1.3.0 | Data analysis library | Metrics analysis |
Matplotlib | >=3.5.0 | Plotting library | Visualization |
Installation
Basic Installation
To install Arc Memory with core dependencies:
Full Installation
To install Arc Memory with all optional dependencies:
Individual Optional Dependencies
To install Arc Memory with specific optional dependencies:
System Requirements
Minimum Requirements
- CPU: 2 cores
- RAM: 4 GB
- Disk Space: 1 GB + repository size
- Operating System: Linux, macOS, or Windows 10+
Recommended Requirements
- CPU: 4+ cores
- RAM: 8+ GB
- Disk Space: 5 GB + repository size
- Operating System: Linux or macOS
External Services
Arc Memory may interact with the following external services:
Service | Purpose | Required? |
---|---|---|
GitHub API | Fetching PR and issue data | Yes, for GitHub repositories |
E2B Cloud | Cloud sandbox environments | No, optional for simulations |
Hugging Face | Model hosting for LLM features | No, optional for explanations |
Dependency Details
Python
Arc Memory requires Python 3.9 or higher. We recommend using Python 3.10 for optimal performance.
Installation
- Linux: Use your distribution’s package manager or pyenv
- macOS: Use Homebrew (
brew install python@3.10
) or pyenv - Windows: Download from python.org
Git
Git 2.25.0 or higher is required for accessing repository history.
Installation
- Linux: Use your distribution’s package manager (
apt install git
,yum install git
, etc.) - macOS: Use Homebrew (
brew install git
) or download from git-scm.com - Windows: Download from git-scm.com
SQLite
SQLite 3.31.0 or higher is required for the knowledge graph database.
Installation
- Linux: Use your distribution’s package manager (
apt install sqlite3
,yum install sqlite
, etc.) - macOS: Included with the OS, or use Homebrew (
brew install sqlite
) - Windows: Download from sqlite.org
Docker (Optional)
Docker 20.10.0 or higher is required for Docker sandbox environments.
Installation
- Linux: Follow the official Docker installation guide
- macOS: Download Docker Desktop
- Windows: Download Docker Desktop
Troubleshooting
Common Issues
Missing Git
If you see an error like Command 'git' not found
:
- Install Git using the instructions above
- Ensure Git is in your PATH
- Restart your terminal or command prompt
SQLite Version Issues
If you see an error about SQLite version:
- Check your SQLite version:
sqlite3 --version
- Update SQLite if needed
- If you can’t update system SQLite, consider using a Python SQLite package:
pip install pysqlite3
GitHub API Rate Limiting
If you see GitHub API rate limit errors:
- Authenticate with a GitHub token:
arc auth gh --token YOUR_TOKEN
- Reduce the scope of your build:
arc build --max-commits 1000 --days 30
- Use incremental builds when possible:
arc build --incremental
Docker Permission Issues
If you see permission errors with Docker:
- Add your user to the docker group:
sudo usermod -aG docker $USER
- Log out and log back in
- Verify with:
docker run hello-world
Dependency Conflicts
If you experience dependency conflicts:
- Use a virtual environment:
python -m venv venv && source venv/bin/activate
- Install Arc Memory in the virtual environment:
pip install arc-memory
- Consider using
pip-tools
to manage dependencies:pip install pip-tools
Version Compatibility
Arc Memory Version | Python Versions | Git Versions | SQLite Versions |
---|---|---|---|
0.1.x | 3.9, 3.10 | >=2.25.0 | >=3.31.0 |
0.2.x | 3.9, 3.10, 3.11 | >=2.25.0 | >=3.31.0 |
0.3.x | 3.9, 3.10, 3.11 | >=2.30.0 | >=3.35.0 |
See Also
- Installation Guide - For detailed installation instructions
- Troubleshooting Guide - For more troubleshooting tips
- Test Environment Setup - For setting up a test environment