# sugar

> Persistent memory for AI coding agents. Cross-session context, global knowledge, and autonomous task execution.

- **URL**: https://www.freshcrate.ai/projects/sugar
- **Author**: roboticforce
- **Category**: MCP Servers
- **Latest version**: `v3.9.1` (2026-04-09)
- **License**: NOASSERTION
- **Source**: https://github.com/roboticforce/sugar
- **Homepage**: https://sugar.roboticforce.io
- **Language**: Python
- **GitHub**: 71 stars, 11 forks
- **Registry**: github
- **Tags**: `ai-agents`, `ai-coding`, `ai-development`, `ai-memory`, `autonomous-ai`, `claude-code`, `context-management`, `cross-project`, `python`

## Description

Persistent memory for AI coding agents. Cross-session context, global knowledge, and autonomous task execution.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v3.9.1` | 2026-04-09 | High | ## What's Changed  - Release v3.9.1 - Security fixes, docs overhaul, new positioning - Bump version to 3.9.1.dev2 and update tagline - Fix black formatting on store.py - fix: clean up .gitignore duplicates and remove dead/unsafe code - Reposition README with autonomous issue resolution narrative - Add ARCHITECTURE.md and workflow examples - Remove unused billing module - Document hold, release, debug, logs, and task-type CLI commands - Update CHANGELOG through v3.9.0 - Pin all dependencies to ex |
| `v3.9.0` | 2026-03-17 | Low | ## What's Changed  - chore: Release v3.9.0 - chore: Bump version to 3.9.0.dev0 for development - docs: Reposition Sugar as memory-first with new tagline - feat: Implement project-first search strategy with reserved guideline slots - style: Fix black formatting for CI version compatibility - style: Apply black formatting to global memory files - feat: Add global memory layer for cross-project knowledge - chore: Bump version to 3.8.1.dev0 for development  ## Installation  ```bash pip install sugar |
| `v3.8.0` | 2026-01-22 | Low | ## What's Changed  - chore: Release v3.8.0 - docs: Add Goose integration guide and improve MCP setup instructions - chore: Bump version to 3.8.0.dev0 for development  ## Installation  ```bash pip install sugarai==v3.8.0 ```  Or from source: ```bash git clone https://github.com/roboticforce/sugar.git cd sugar git checkout v3.8.0 pip install -e . ```  ## Docker  ```bash docker pull ghcr.io/roboticforce/sugar:v3.8.0 ``` |
| `v3.7.0` | 2026-01-21 | Low | ## v3.7.0 - OpenCode Integration  This release brings seamless OpenCode integration with one-command setup and memory slash commands.  ### Installation  ```bash pip install sugarai==3.7.0 ```  Or with pipx:  ```bash pipx install 'sugarai[opencode]' ```  ### New Features  #### One-Command OpenCode Setup ```bash sugar opencode setup ``` Auto-configures OpenCode with Sugar MCP servers. Supports: - `--dry-run` - Preview changes without applying - `--yes` - Non-interactive mode - `--no-memory` / `--n |
| `v3.7.0.dev1` | 2026-01-21 | Low | ## Development Release  This is a development release with CI/CD fixes.  ### Install  ```bash pip install --force-reinstall git+https://github.com/roboticforce/sugar.git@v3.7.0.dev1 ```  ### Changes since v3.7.0.dev0  - **CI/CD Fixes**: Pin black version to ensure consistent formatting across platforms - **Test Fixes**: Updated OpenCode setup tests to use `--config` flag for Windows compatibility - **Formatting**: Fixed black formatting in 6 source files  **Full Changelog**: https://github.com/r |
| `v3.7.0.dev0` | 2026-01-21 | Low | ## Development Release  This is a development/preview release for testing the new OpenCode integration features.  ### Install  ```bash pip install --force-reinstall git+https://github.com/roboticforce/sugar.git@v3.7.0.dev0 ```  Or with pipx for the OpenCode extra:  ```bash pipx install 'sugarai[opencode] @ git+https://github.com/roboticforce/sugar.git@v3.7.0.dev0' ```  ## What's New  ### OpenCode Integration Enhancements  - **One-command setup**: `sugar opencode setup` auto-configures OpenCode w |
| `v3.6.0` | 2026-01-21 | Low | ## What's Changed  - chore: Release v3.6.0 - docs: Add OpenCode integration documentation - chore: Bump version to 3.6.0.dev0 - style: Format code with black 26.1.0 - style: Format code with black - docs: Update README with Claude Code and OpenCode integration highlights - feat: Add OpenCode integration for bidirectional AI agent communication - chore: Bump version to 3.5.1.dev0 for development  ## Installation  ```bash pip install sugarai==v3.6.0 ```  Or from source: ```bash git clone https://g |
| `v3.5.0` | 2026-01-21 | Low | ## What's Changed  - chore: Release 3.5.0 - docs: Add token savings documentation for memory system - docs: Add token savings demo script for memory system - style: Sort imports alphabetically across codebase - fix: Improve FTS5 memory search for stemming and multi-word queries - docs: Make Memory System more prominent in README - Bump version to 3.5.0.dev0 for Memory System release - test: Update test to expect cake emoji in status - fix: Change status emoji to cake, fix flaky Windows timing te |
| `v3.4.4` | 2026-01-10 | Low | ## What's Changed  - Prepare release v3.4.4 - Bump version to 3.4.4.dev4, fix description - Remove redundant tagline from README - Remove outdated VISION.md (content now in README) - Rewrite AGENTS.md with accurate project structure and changelog requirements - Add strict gitflow branching rules to AGENTS.md - Remove outdated slashcommands-integration-plan.md - Update local-development.md with gitflow branching strategy - Bump version to 3.4.4.dev3 for development - Rebrand Sugar as agent-agnost |
| `v3.4.3` | 2026-01-09 | Low | ## What's Changed  - Bump version to 3.4.3 for release - Add frontmatter to sugar-thinking command - Bump version to 3.4.3.dev2 - Move research docs to private R&D - Clean up outdated files and reorganize docs - Move cake emoji to left side of Sugar for consistency - Update license section to link to licensing page - Bump version to 3.4.3.dev1 - Fix contact email in license files - Add CLA requirement and switch to AGPL-3.0 dual license - Bump version to 3.4.3.dev0 for development  ## Installati |

## Citation

- HTML: https://www.freshcrate.ai/projects/sugar
- Markdown: https://www.freshcrate.ai/projects/sugar.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/sugar/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
