Agno plugin for SoloHQ Context Memory — adds persistent context memory to Agno agents
Project description
solohq-agno
Agno framework integration for SoloHQ context memory.
Installation
pip install solohq-agno
Quick Start
from agno.agent import Agent
from agno.models.anthropic import Claude
from solohq_memory import SqliteVecStorage
from solohq_agno import (
AgnoContextMemory,
AgnoLLMAdapter,
AgnoEmbeddingAdapter,
MemoryToolkit,
)
# Set up storage and adapters
model = Claude(id="claude-sonnet-4-6")
storage = SqliteVecStorage("memory.db", dimensions=1536)
llm_adapter = AgnoLLMAdapter(model)
embedding_adapter = AgnoEmbeddingAdapter(model)
# Create plugin
memory = AgnoContextMemory(
storage=storage,
llm=llm_adapter,
embedder=embedding_adapter,
)
# Create agent with memory
agent = Agent(
model=model,
plugins=[memory],
tools=[MemoryToolkit(memory)],
)
agent.print_response("What do you remember about our project?")
Components
AgnoContextMemory (Plugin)
Attaches pre/post hooks to Agno agent:
- pre_hook — classifies message, loads context, injects artifacts/history/blocks into system prompt
- post_hook — records episode, updates context state, detects relationships, creates session blocks
MemoryToolkit (Tools)
10 agent-callable tools:
search_memory— search across all contextssave_artifact— save a versioned artifactlist_contexts— list all contextsswitch_context— switch active contextrecall_episode— recall past episodesindex_file— index a file (store path + summary)upload_file— upload file content to memoryindex_directory— index all files in a directoryread_indexed_file— read an indexed file's contentrefresh_index— refresh stale file indexes
Adapters
AgnoLLMAdapter— wraps Agno model asLLMProviderAgnoEmbeddingAdapter— wraps Agno model asEmbeddingProvider
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solohq_agno-0.1.0.tar.gz.
File metadata
- Download URL: solohq_agno-0.1.0.tar.gz
- Upload date:
- Size: 56.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa72ff4847b0e7f3c6a829ac9fe1cc3e017eda8daa9af5b16548ea1b2e25dfd9
|
|
| MD5 |
b44c7d420da2913ebbae00d506ec6834
|
|
| BLAKE2b-256 |
69886102025addf9cdfc2d477c7c2667eff767dc4e404bcb2c0e5d96cd125715
|
Provenance
The following attestation bundles were made for solohq_agno-0.1.0.tar.gz:
Publisher:
publish.yml on whaleventure13/solohq-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
solohq_agno-0.1.0.tar.gz -
Subject digest:
aa72ff4847b0e7f3c6a829ac9fe1cc3e017eda8daa9af5b16548ea1b2e25dfd9 - Sigstore transparency entry: 983802605
- Sigstore integration time:
-
Permalink:
whaleventure13/solohq-agent@cd2ba08eb09a95b64fda16d8781ab89e8f4a6617 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/whaleventure13
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd2ba08eb09a95b64fda16d8781ab89e8f4a6617 -
Trigger Event:
release
-
Statement type:
File details
Details for the file solohq_agno-0.1.0-py3-none-any.whl.
File metadata
- Download URL: solohq_agno-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c0a5b05a4336bc0e0fa1ee2564b8bfce4526966e398a28ae511b31293af04a1
|
|
| MD5 |
143348efaf83c7fb95550bf916db1057
|
|
| BLAKE2b-256 |
64199c2bee3b4e5d6671fc16f8457fba80db7c5226565ff427f3d725837eda44
|
Provenance
The following attestation bundles were made for solohq_agno-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on whaleventure13/solohq-agent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
solohq_agno-0.1.0-py3-none-any.whl -
Subject digest:
2c0a5b05a4336bc0e0fa1ee2564b8bfce4526966e398a28ae511b31293af04a1 - Sigstore transparency entry: 983802606
- Sigstore integration time:
-
Permalink:
whaleventure13/solohq-agent@cd2ba08eb09a95b64fda16d8781ab89e8f4a6617 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/whaleventure13
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd2ba08eb09a95b64fda16d8781ab89e8f4a6617 -
Trigger Event:
release
-
Statement type: