Commit graph

21 commits

Author SHA1 Message Date
MaheshtheDev
d8b969ce78 docs: clarity on document limit for connectors (#841) 2026-04-09 15:17:49 +00:00
MaheshtheDev
6ce7357ffb docs: clarify metadata-only PATCH does not reindex (#784)
Updates docs to match the new behavior where metadata-only PATCH updates do not trigger reindexing:

- **update-delete-memories/overview.mdx** — Distinguishes content changes (reindex) vs metadata-only (no reindex), adds a note about `accepted`-style updates
- **document-operations.mdx** — Clarifies that only content changes trigger reprocessing
- **add-memories.mdx** and **add-memories/overview.mdx** — Add notes on metadata-only behavior
- **memory-api/ingesting.mdx** — Splits update behavior into content vs metadata-only
- **memory-api/creation/adding-memories.mdx** — Adds note for the “Adding Additional Metadata to Files” flow
2026-03-17 20:48:52 +00:00
Dhravya
984297b62d
Add Supermemory integration for Microsoft Agent Framework (#775)
## Summary

This PR introduces comprehensive Supermemory integration for the Microsoft Agent Framework, providing three complementary approaches to add persistent memory capabilities to agents: middleware for automatic memory injection, context providers for session-based memory management, and tools for explicit memory operations.

## Key Changes

- **SupermemoryChatMiddleware**: Automatic memory injection middleware that fetches relevant memories from Supermemory before LLM calls and optionally saves conversations. Supports three modes:
  - `"profile"`: Injects all static and dynamic profile memories
  - `"query"`: Searches for memories relevant to the current user message
  - `"full"`: Combines both profile and query modes

- **SupermemoryContextProvider**: Idiomatic context provider following the Agent Framework pattern (similar to built-in Mem0 integration). Integrates with the session pipeline via `before_run()` and `after_run()` hooks for automatic memory retrieval and storage.

- **SupermemoryTools**: FunctionTool-compatible tools that agents can use for explicit memory operations:
  - `search_memories()`: Search for specific memories
  - `add_memory()`: Add new memories
  - `get_profile()`: Retrieve user profile

- **Utility Functions**: Helper functions for:
  - Memory deduplication across static, dynamic, and search result sources
  - Profile-to-markdown conversion for LLM consumption
  - Message extraction and conversation formatting
  - Logging with configurable verbosity

- **Exception Hierarchy**: Custom exceptions for better error handling:
  - `SupermemoryConfigurationError`: Missing/invalid configuration
  - `SupermemoryAPIError`: API request failures
  - `SupermemoryNetworkError`: Network connectivity issues
  - `SupermemoryMemoryOperationError`: Memory operation failures

- **Comprehensive Documentation**: README with quick start examples, configuration options, and API reference for all three integration approaches.

- **Test Suite**: Unit tests covering middleware, context provider, tools, and utility functions with proper mocking and error scenarios.

## Implementation Details

- Supports both async (aiohttp) and sync (requests) HTTP clients with automatic fallback
- Handles multiple message formats (dict, objects with attributes, content arrays)
- Configurable memory storage with optional conversation grouping via `conversation_id`
- Environment variable fallback for API key configuration (`SUPERMEMORY_API_KEY`)
- Background task management for non-blocking memory operations in middleware
- Proper async/sync compatibility for the Supermemory SDK

https://claude.ai/code/session_012idB5y6UGK3zmeFULgTc4z
2026-03-10 01:49:45 +00:00
Dhravya Shah
87b361c26b
docs changes (#678)
Some checks failed
Publish AI SDK / publish (push) Has been cancelled
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 16:55:32 -08:00
MaheshtheDev
b8e98c7dba add(docs): migration guide from zep to supermemory (#612)
Some checks failed
Publish AI SDK / publish (push) Has been cancelled
add docs for Migration Guide from zep to supermemory
2025-12-20 00:47:52 +00:00
Dhravya Shah
ff35a6bffc fix: change support email to the one on slack 2025-12-18 17:50:37 -08:00
MaheshtheDev
1028c33e58 add(docs): connections configure, fetch resources (#611) 2025-12-07 19:02:52 +00:00
Mahesh Sanikommu
25f935717b
feat (docs): web crawler connector (#593) 2025-11-24 17:12:25 -08:00
Naman
e704c23b94
chore: improved docs for document/by-id endpoint, added a couple of warnings based on mintlify questions (#550)
Co-authored-by: Naman Bansal <namanbansal@Namans-Macbook-Air.local>
2025-11-10 22:28:57 -07:00
Mahesh Sanikommu
555a8ab5b3
Merge pull request #498 from max-programming/main
docs: fixed naming convention of SDK usage examples
2025-10-22 11:19:09 -07:00
MaheshtheDev
18008fb23f chore: update to new supermemory support email (#503)
updated the new supermemory support email to `support@supermemory.com`
2025-10-21 18:52:45 +00:00
Usman Sabuwala
1585c0d651
Fixed naming convention of SDK usage examples 2025-10-19 20:08:27 +05:30
Naman Bansal
c352f41b18 feat: zapier page 2025-10-13 17:10:57 +08:00
Dhravya Shah
a622318325 remove comments 2025-10-07 17:32:21 -07:00
Dhravya Shah
1a6526dcc7 docs: fix indent 2025-10-07 17:32:04 -07:00
Dhravya Shah
4d6fd37c99 fix: model names 2025-10-03 02:41:49 -07:00
Dhravya Shah
c65f4e97ac fix: docs 2025-10-03 02:37:30 -07:00
Dhravya Shah
53bc296155 feat: Claude memory integration 2025-09-29 13:40:56 -07:00
Dhravya Shah
2093b316d9 migrate docs to public 2025-09-28 16:42:06 -07:00
Dhravya Shah
90fd19f215 update: Readme 2025-09-13 22:09:40 -07:00
Dhravya Shah
daa5d039f3 make docs public 2025-09-10 19:13:33 -07:00