maximem-synap-openai-agents
Synap memory for the OpenAI Agents SDK: create_search_tool, create_store_tool, SynapRunHooks,
synap_st_instructions and synap_call_model_input_filter.
Deeper scope ladders
On an account whose scope ladder has more levels than customer and user, pass the level as scope_path
(level key to value). It is fixed when the tool or hooks are built, and sent only when set. The model cannot
see or change it: it is not a parameter of either tool.
path = {"customer": "acme", "team": "payments", "user": "dana"}
search = function_tool(create_search_tool(sdk, user_id="dana", customer_id="acme", scope_path=path))
hooks = SynapRunHooks(sdk, user_id="dana", customer_id="acme", conversation_id=conv_id, scope_path=path)
maximem_synap.ScopeLadder.address(values) builds user_id, customer_id and scope_path from level values.
Without scope_path nothing changes.
Needs a newer SDK. A path needs a maximem-synap release that has get_scope_ladder and scope_path on fetch, send_message and record_message (and scope on memories.create). With an older SDK, a turn that carries a path is dropped and an error is logged: it is never filed at a wider scope. Leave scope_path unset on an older SDK.
Metadata
Release files for maximem-synap-openai-agents 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maximem_synap_openai_agents-0.2.4.tar.gz | 24.2 kB | Without provenance | Details for maximem_synap_openai_agents-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maximem_synap_openai_agents-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for maximem_synap_openai_agents-0.2.4-py3-none-any.whl |
Total release size: 37.2 kB
Release files / maximem_synap_openai_agents-0.2.4.tar.gz
| Download URL | maximem_synap_openai_agents-0.2.4.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae0da9c6295dc72dec57712e1a301bb3adfe96a1a8fc317c1b1fc872c3481152
|
|
BLAKE2b-256 checksum How to use checksums |
6007cf69624b279bbd665e16dcb03650838ae5637631b5d76236aa5e1e3262c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Release files / maximem_synap_openai_agents-0.2.4-py3-none-any.whl
| Download URL | maximem_synap_openai_agents-0.2.4-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ea3bbeed9cd5925e2dfc89da90c95061a1d0d47f1997c815ee377370b4a1aba8
|
|
BLAKE2b-256 checksum How to use checksums |
205ce7dcbea3b926bf9a5a1b9b73a8af6f73727c3b795da47f0a6e87d2730a6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Security for maximem-synap-openai-agents 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.