fleet-memory/scripts
DK09876 a757765ab2
feat: add AutoGen integration for Hindsight (#719)
* feat: add AutoGen integration for Hindsight

Adds hindsight-autogen package providing FunctionTool instances that give
AutoGen agents persistent long-term memory via retain/recall/reflect APIs.

- Package: hindsight_autogen with create_hindsight_tools() factory
- 31 unit tests covering tool creation, invocation, config fallback, errors
- Docs page and integrations.json entry
- README with quickstart and configuration reference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address PR review feedback for autogen integration

- Fix install instructions to include autogen-agentchat and autogen-ext[openai]
- Add autogen.svg icon to prevent broken image in integrations grid
- Change icon reference from .png to .svg in integrations.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add sleep between retain/recall and close clients in examples

- Add time.sleep(3) between retain and recall to wait for async processing
- Close Hindsight client and model client to avoid unclosed session warnings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use asyncio.sleep instead of time.sleep in async examples

time.sleep blocks the event loop; asyncio.sleep yields control.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address PR review feedback - validation, defaults, release script

- Add autogen to VALID_INTEGRATIONS in release-integration.sh
- Remove unused verbose config field
- Extract DEFAULT_BUDGET/MAX_TOKENS/RECALL_TAGS_MATCH constants in config.py,
  import from tools.py to eliminate default duplication
- Add Literal types for budget and recall_tags_match validation
- Modernize type hints to X | None with from __future__ import annotations
- Add [tool.ruff] line-length = 120 to match monorepo convention
- Add py.typed PEP 561 marker
- Re-raise HindsightError before broad Exception catch
- Expand asyncio.sleep(3) comment explaining when/why it's needed
- Remove verbose from docs configure() reference table

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 17:48:11 +02:00
..
benchmarks fix: improve async batch retain with large payloads (#366) 2026-02-16 12:51:42 +01:00
dev feat: observation history tracking and diff UI (#513) 2026-03-06 16:16:05 +01:00
hooks feat: introduce hindsight-api-slim and hindsight-all-slim packages (#560) 2026-03-13 13:50:03 +01:00
generate-clients.sh feat(typescript-client): Deno compatibility (#607) 2026-03-18 14:25:35 +01:00
generate-docs-skill.sh feat(skill): validate links, strip images, include openapi.json and changelog (#614) 2026-03-19 12:32:33 +01:00
generate-openapi.sh doc: changelog for 0.2.0 (and regenerate clients) (#99) 2026-01-05 12:36:29 +01:00
release-integration.sh feat: add AutoGen integration for Hindsight (#719) 2026-04-01 17:48:11 +02:00
release.sh feat: independent versioning for integrations (#565) 2026-03-18 17:53:46 +01:00
run-upgrade-tests.sh ci: add upgrade tests (#200) 2026-01-26 15:25:30 +01:00
setup-hooks.sh feat: support for gemini-3-pro and gpt-5.2 (#30) 2025-12-16 11:00:27 +01:00
smoke-test-slim.sh fix: remove broken minimax test and enhance slim smoke test with retain/recall (#564) 2026-03-13 14:10:32 +01:00
sync-cookbook.sh bump pg0 0.11.x and improve documentation (#33) 2025-12-16 13:33:01 +01:00
test-doc-examples.sh feat: use official go generator for Go client (#377) 2026-02-16 14:04:12 +01:00
update-docs-version.sh feat: add docs skill (#335) 2026-02-10 14:41:51 +01:00