Observed since 20 Oct, 15:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Standing-wants corpus for LLM agents -- intention lifecycle, salience decay, embedding dedup, and private deliberation tools
Standing-wants corpus for LLM agents. An intention is agent-authored deliberation output -- a want the agent is holding onto ("ask Pace about the migration", "check whether the wake threads are firing") -- with its own status lifecycle, salience decay, and restraint brakes so the agent surfaces a want at most occasionally rather than every turn.
Part of the 3tears framework.
pip install 3tears-agent-intention
kind=intention)Memory is a hard-delete-only user-fact taxonomy with immutable scope columns and no
lifecycle. An intention is all lifecycle: open -> asked -> granted / dropped, a
partial index for "find the open wants", and a validated status value set. Riding the
shared memory_type PG enum would pollute a user-fact taxonomy with an agent-internal
control construct and force an irreversible enum add on six consumers.
Enhance-first is still honoured: intention consumes the reusable salience/decay
substrate the agent/memory enhancement built (the same salience column shape and
the shared apply_salience_decay helper), rather than reinventing it.
intentions tablePartition on agent_id; composite PK (agent_id, intention_id); CAS on date_updated
(mirrors memory). Columns: status (PG enum intention_status), content,
embedding (pgvector, 1024 wide unless configured -- see below; for dedup on log), salience (NUMERIC(5,4), reuses the
decay substrate), last_decayed_at (decay anchor), last_surfaced_at (cooldown
anchor), source_memory_id / source_conversation_id (soft-ref provenance, no FK).
intentions.embedding is a plain pgvector vector(N), and N is a deployment setting: agent-memory's width, so one embedding provider serves both corpora. It defaults to 1024, so a host that configures nothing is unaffected. Give the same embedding_dim to threetears.agent.intention.migrations.register(runner, embedding_dim=...), IntentionsCollection(..., embedding_dim=...) and intentions_table(metadata, embedding_dim=...).
ybhnsw up to 16,000 (no halfvec there, so the column stays vector). register refuses a width below 1 or above 16,000; v001 refuses a width above 2,000 on PostgreSQL before any statement runs.ValueError naming both widths, before any SQL runs.await verify_embedding_width(store, embedding_dim) (threetears.agent.intention.embedding_width, also exported from the package root) raises EmbeddingWidthMismatch when intentions.embedding is another width.await resize_embedding_width(store, embedding_dim) drops ix_intentions_embedding_hnsw, alters the column with USING NULL, recreates the index under its own name and options, and returns how many embeddings it cleared. Every want keeps its content and loses its embedding, so re-embed them. Nothing runs it automatically. Run it with writes to these tables stopped: on YugabyteDB the column change is a table rewrite, and writes made while it runs may be lost ("Concurrent DMLs may not be reflected in the new table", yugabyte-db issue 19860).user_id WHERE clause, not RBACEvery metallm user shares one agent_id, so the partition isolates nothing and the
agent-owner RBAC short-circuit sees every want. user_id is the only boundary: the
collection's user-facing reads take user_id as a required parameter, and every
consumer read filters on it.
The package version moves in lockstep with the rest of the 3tears monorepo -- every package tracks the framework git tag.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.72.0 | 20 Oct 2026 | 8 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Public sponsor counts have not been collected. These signals belong to the repository owner.
github · 1 observations shown. Missing days are unknown.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-20 | 0 | 2026-10-20T17:18:19.8928356Z |
Observed since 20 Oct, 15:37 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:fa0e9ee48ebf0c945b0a173d52910a48ce7140d6d6179804d80d690e1d655810