Repository navigation
API Reference parrot.tools.working_memory.task_memory.retention
Deterministic retention decisions and in-memory sweeping (FEAT-538).
Retention is the part of task memory most likely to destroy something a user still needed, so every rule here is explicit, configured, and decided by a pure function over captured inputs before any effect runs.
The module separates three things that are usually tangled together:
-
Selection — :func:
select_due_tasksand :func:select_due_artifactsare pure. Given a clock reading and a set of immutable views, they return the actions that are due. No I/O, no randomness, no wall clock of their own. Tests drive time by injection and never sleep. -
Ordering — :meth:
RetentionSweeper.run_onceappends each action's intent event before doing the destructive work, so the intent is auditable at the moment the work is attempted rather than after it succeeded. -
Effects — the genuinely destructive capabilities (journal purge,
archive, blob sweep) are narrow :class:
Protocols the host wires in. Delivery A ships the in-memory artifact sweeping and none of the durable ones; Delivery B's cleanup task supplies those.
.. warning::
The audit trail does not survive terminal deletion. Deleting a
terminal task necessarily removes the journal that recorded the
intent to delete it. When archive_uri is configured the archive
includes that final retention event, so the record moves rather than
disappears. Without an archive, deletion is deliberately
irreversible and leaves only bounded operational logs. This module
does not claim permanent in-journal audit after deleting the journal,
because that claim would be false.
.. warning::
Delivery A cannot promise retained bytes. When the byte budget forces out evidence that a task still references, the store records an invalidation and keeps a metadata tombstone. No eviction may silently remove evidence while leaving a step labeled valid.
Scheduling is a host concern. :meth:RetentionSweeper.run_once is a
plain idempotent coroutine: run it from an existing qworker deployment,
or use :class:PeriodicRetention for a single-process deployment with
explicit startup and shutdown. No queue dependency is introduced.
Type: str
Type: str
A written archive could not be read back and confirmed complete.
Raised only by :class:JsonlArchiveWriter internals; the sweeper
turns it into a deferral. It exists so "the archive is bad" is
distinguishable from "the write raised", because the two have
different causes and the same consequence: do not delete.
Writes a terminal task's journal somewhere durable, and verifies it.
The verification step is not optional. Deletion proceeds only
after :meth:verify confirms the archive is readable, because an
unverified archive plus a deleted journal is indistinguishable from
data loss.
Write a task's journal as JSONL and return its location.
write(uri: str, task_id: str, events: Sequence[JournalEvent]) -> str
| Parameter | Type | Default | Description |
|---|---|---|---|
uri |
str |
Configured archive destination. | |
task_id |
str |
The task being archived. | |
events |
Sequence[JournalEvent] |
Its complete journal, including the final retention event announcing the deletion. |
Returns: str — A reference to the written archive.
Confirm a written archive is readable and complete.
verify(reference: str, expected_events: int) -> bool
| Parameter | Type | Default | Description |
|---|---|---|---|
reference |
str |
What :meth:write returned. |
|
expected_events |
int |
How many events it should contain. |
Returns: bool — True only when the archive is verified.
Everything the artifact rules are allowed to look at.
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
||
ref |
EvidenceRef |
||
task_id |
Optional[str] |
||
created_at |
datetime |
||
is_current |
bool |
||
pinned_by |
Tuple[str, ...] |
() |
|
retained_bytes |
int |
0 |
|
owner_terminal_at |
Optional[datetime] |
None |
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Owning scope. | |
ref |
EvidenceRef |
The exact version. | |
task_id |
Optional[str] |
The task that produced it. | |
created_at |
datetime |
When the version was registered. | |
is_current |
bool |
Whether an alias still points at it. | |
pinned_by |
Tuple[str, ...] |
() |
Every task referencing it as evidence. Any pin defers deletion, including a task other than the producer. |
retained_bytes |
int |
0 |
Bytes still held for it. |
owner_terminal_at |
Optional[datetime] |
None |
When the producing task went terminal, if it has. Non-terminal evidence is protected regardless of age. |
Everything the orphan-blob rule is allowed to look at.
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
||
storage_ref |
str |
||
written_at |
datetime |
||
has_live_index |
bool |
False |
|
has_publish_lease |
bool |
False |
|
has_archive_reference |
bool |
False |
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Owning scope. | |
storage_ref |
str |
Backend reference to the bytes. | |
written_at |
datetime |
When the blob was written. | |
has_live_index |
bool |
False |
Whether an artifact row still references it. |
has_publish_lease |
bool |
False |
Whether a publish is still in flight. |
has_archive_reference |
bool |
False |
Whether an archive references it. |
Attributes:
| Attribute | Type | Description |
|---|---|---|
is_orphan |
bool |
Whether nothing at all references this blob. |
Removes orphan blobs from durable storage.
Return candidate orphan blobs for a scope.
list_orphans(scope: TaskScope) -> Sequence[BlobRetentionView]
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Trusted runtime scope. |
Returns: Sequence[BlobRetentionView] — The candidates, with their reference flags already resolved.
Delete one orphan blob.
sweep(scope: TaskScope, storage_ref: str) -> bool
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Trusted runtime scope. | |
storage_ref |
str |
The blob to delete. |
Returns: bool — True when bytes were removed.
One retention action that has come due.
| Parameter | Type | Default | Description |
|---|---|---|---|
policy |
str |
||
action |
str |
||
scope |
TaskScope |
||
task_id |
Optional[str] |
None |
|
due_at |
Optional[datetime] |
None |
|
target_refs |
Tuple[EvidenceRef, ...] |
() |
|
storage_ref |
Optional[str] |
None |
|
reason |
Optional[str] |
None |
|
archive_uri |
Optional[str] |
None |
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
policy |
str |
Which rule fired. | |
action |
str |
What it intends to do. | |
scope |
TaskScope |
Owning scope. | |
task_id |
Optional[str] |
None |
The task, when the action is task-scoped. |
due_at |
Optional[datetime] |
None |
When the action became due. |
target_refs |
Tuple[EvidenceRef, ...] |
() |
Artifact versions the action targets. |
storage_ref |
Optional[str] |
None |
The blob the action targets, when it targets one. |
reason |
Optional[str] |
None |
Human-readable explanation, stamped on the transition. |
archive_uri |
Optional[str] |
None |
Where the archive will be written, when configured. |
Build the journal payload announcing this intent.
to_payload() -> RetentionPayload
Returns: RetentionPayload — class:RetentionPayload for a retention_scheduled event.
Removes a purged task's Redis hot keys.
Terminal deletion removes the durable rows; the lease, recall and context keys for that task would otherwise linger until their TTLs expire. They are all TTL-bounded already, so this is tidiness rather than correctness — which is exactly why it never raises: a failure here must not turn a completed purge into a reported error.
| Parameter | Type | Default | Description |
|---|---|---|---|
association |
Any |
A TaskAssociationStore, which owns the key families and their naming. |
Delete the hot keys belonging to one task.
forget_task(scope: TaskScope, task_id: str) -> int
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Trusted runtime scope. | |
task_id |
str |
The purged task. |
Returns: int — How many keys were removed. 0 on any failure.
Type: str
How close a task's journal is to its configured ceilings.
| Parameter | Type | Default | Description |
|---|---|---|---|
event_count |
int |
||
soft_exceeded |
bool |
||
foreground_refused |
bool |
||
reserved_exhausted |
bool |
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
event_count |
int |
Events currently in the journal. | |
soft_exceeded |
bool |
Past journal_soft_limit. Recall must stop retaining optional recent-call material — it does not stop recalling, and nothing is discarded. |
|
foreground_refused |
bool |
Past journal_hard_limit. New ordinary work is refused. |
|
reserved_exhausted |
bool |
Past the hard limit plus the reserved headroom. Even terminal, recovery and retention events can no longer be appended. |
Removes a terminal task's journal and projection.
Delivery A supplies no implementation: without one, terminal expiry is reported as deferred rather than silently skipped.
Delete one task's journal and projection.
purge_task(scope: TaskScope, task_id: str) -> bool
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Trusted runtime scope. | |
task_id |
str |
The task to remove. |
Returns: bool — True when something was removed. Idempotent: a repeated purge of an already-deleted task returns False rather than failing.
Writes a terminal task's journal as JSONL and verifies it.
The format is one canonical JSON object per line, in sequence order, which is append-friendly, streamable and trivially countable — the last property is what makes verification cheap enough to be mandatory rather than aspirational.
Verification re-reads the object. It is not enough to trust the
write call's return value: the whole point is to catch a storage
layer that accepted bytes it did not durably keep. :meth:verify
downloads what was written, parses every line, and checks the count
against what was archived. Only then may the source be deleted.
Re-archiving is idempotent. A retry after a crash between write and delete finds byte-identical content already present and accepts it, rather than writing a second copy under a new name. That is what stops "crash, retry" producing duplicate archives.
| Parameter | Type | Default | Description |
|---|---|---|---|
blobs |
Any |
The blob store, reused for its verified file-manager access rather than duplicating that logic here. | |
scope |
TaskScope |
Trusted runtime scope, which fixes the archive sub-tree. | |
segment |
str |
'_archive' |
Archive path segment. |
Return the deterministic archive key for one task.
Deterministic on purpose: a retry must land on the same key so the second attempt is recognisably the same archive rather than a duplicate.
archive_key(task_id: str) -> str
| Parameter | Type | Default | Description |
|---|---|---|---|
task_id |
str |
The task being archived. |
Returns: str — The storage key.
Serialize a journal as canonical JSONL.
encode(events: Sequence[JournalEvent]) -> bytes
| Parameter | Type | Default | Description |
|---|---|---|---|
events |
Sequence[JournalEvent] |
The events, in sequence order. |
Returns: bytes — The encoded bytes, one event per line.
Write a task's journal as JSONL and return its location.
write(uri: str, task_id: str, events: Sequence[JournalEvent]) -> str
| Parameter | Type | Default | Description |
|---|---|---|---|
uri |
str |
Configured archive destination. Recorded in the intent event; the concrete location comes from the blob store's own scope sub-tree, so an archive can never be written outside it. | |
task_id |
str |
The task being archived. | |
events |
Sequence[JournalEvent] |
Its complete journal, INCLUDING the final retention event announcing the deletion. |
Returns: str — The storage key written.
Raises:
-
ArchiveVerificationError— If the write is refused. No reference is returned, so the caller cannot proceed to delete.
Confirm a written archive is readable and complete.
verify(reference: str, expected_events: int) -> bool
| Parameter | Type | Default | Description |
|---|---|---|---|
reference |
str |
What :meth:write returned. |
|
expected_events |
int |
How many events it should contain. |
Returns: bool — True only when the object reads back, every line parses, and the count matches. Any doubt returns False, which the sweeper treats as "do not delete".
Runs a sweeper on an interval, for single-process deployments.
A host with a qworker deployment should schedule
:meth:RetentionSweeper.run_once there instead. This exists so a
single-process deployment does not have to invent one, and it
introduces no queue dependency — it is an asyncio task with
explicit startup and shutdown.
| Parameter | Type | Default | Description |
|---|---|---|---|
sweeper |
RetentionSweeper |
The sweeper to run. | |
scopes |
Callable[[], Sequence[TaskScope]] |
A callable returning the scopes to sweep each cycle, so the set can change without restarting the loop. | |
interval_seconds |
float |
3600.0 |
Seconds between sweeps. |
Attributes:
| Attribute | Type | Description |
|---|---|---|
is_running |
bool |
Whether the loop is active. |
Start the loop. Idempotent.
start() -> None
Stop the loop and wait for it to finish. Idempotent.
stop() -> None
What a due action intends to do.
Which rule in the specification's retention table fired.
Applies due retention actions, intent first.
Idempotent by construction rather than by bookkeeping: every action
changes the state that made it due, so a second
:meth:run_once over an unchanged world selects nothing. The one
deliberate exception is a failed archive, which is retried —
"failed archive/deletion retries are idempotent" is a requirement,
not an accident.
| Parameter | Type | Default | Description |
|---|---|---|---|
store |
TaskMemoryStore |
The task store to read and append to. | |
service |
Optional[Any] |
None |
Optional command service used for lifecycle transitions, so pauses and cancellations go through exactly the same event rules as an agent's own. Without it, those transitions are reported as deferred rather than performed by a second, divergent code path. |
artifacts |
Optional[Any] |
None |
Optional artifact store, for in-memory version expiry. |
config |
Optional[TaskMemoryConfig] |
None |
Thresholds. Defaults to :class:TaskMemoryConfig. |
clock |
Callable[[], datetime] |
utc_now |
Injected clock. Tests pass a controllable one; nothing here ever sleeps to advance time. |
archive |
Optional[ArchiveWriter] |
None |
Optional archive writer. Required before a terminal journal may be deleted when archive_uri is configured. |
purge |
Optional[JournalPurge] |
None |
Optional journal purge capability. |
blobs |
Optional[BlobSweeper] |
None |
Optional orphan blob sweeper. |
hot_keys |
Optional[Any] |
None |
Optional :class:HotKeyCleaner, to drop a purged task's Redis keys instead of waiting out their TTLs. |
Apply every due retention action, once.
Idempotent: over an unchanged world a second call selects nothing and the report is a no-op. Every action appends its intent event before the destructive work.
run_once(scopes: Sequence[TaskScope]) -> SweepReport
| Parameter | Type | Default | Description |
|---|---|---|---|
scopes |
Sequence[TaskScope] |
The scopes to sweep. Scope is always explicit — there is no "sweep everything" that could cross a boundary. |
Returns: SweepReport — class:SweepReport describing what happened, including what was deliberately deferred.
What one :meth:RetentionSweeper.run_once did.
| Parameter | Type | Default | Description |
|---|---|---|---|
paused |
List[str] |
list() |
|
cancelled |
List[str] |
list() |
|
deleted |
List[str] |
list() |
|
archived |
List[str] |
list() |
|
expired_versions |
List[EvidenceRef] |
list() |
|
swept_blobs |
List[str] |
list() |
|
deferred |
List[Tuple[str, str]] |
list() |
|
invalidations |
List[Any] |
list() |
|
errors |
List[Tuple[str, str]] |
list() |
|
audit_destroyed |
List[Tuple[str, Optional[str]]] |
list() |
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
paused |
List[str] |
field(default_factory=list) |
Tasks paused for inactivity. |
cancelled |
List[str] |
field(default_factory=list) |
Tasks cancelled for abandonment. |
deleted |
List[str] |
field(default_factory=list) |
Tasks whose journal and projection were removed. |
archived |
List[str] |
field(default_factory=list) |
Tasks archived before deletion. |
expired_versions |
List[EvidenceRef] |
field(default_factory=list) |
Artifact versions whose bytes were released. |
swept_blobs |
List[str] |
field(default_factory=list) |
Orphan blobs removed. |
deferred |
List[Tuple[str, str]] |
field(default_factory=list) |
Actions that came due but were held back, with the reason — a cross-task pin, a failed archive, a missing capability. |
invalidations |
List[Any] |
field(default_factory=list) |
Receipts drained from the artifact store, which the caller turns into artifact_invalidated events. |
errors |
List[Tuple[str, str]] |
field(default_factory=list) |
Actions that failed, with their cause. |
audit_destroyed |
List[Tuple[str, Optional[str]]] |
field(default_factory=list) |
One (task_id, archive_reference) pair per task whose journal was deleted. The second element is None when no archive was configured, which is the honest record that the audit trail for that task is gone rather than relocated. Callers that need a permanent record must read this and write it somewhere outside the journal — the journal that recorded the intent no longer exists. |
Attributes:
| Attribute | Type | Description |
|---|---|---|
action_count |
int |
How many destructive actions actually completed. |
is_noop |
bool |
Whether the sweep changed nothing at all. |
Everything the task rules are allowed to look at.
| Parameter | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
||
task_id |
str |
||
status |
TaskStatus |
||
updated_at |
datetime |
||
terminal_at |
Optional[datetime] |
None |
|
inactivity_paused_at |
Optional[datetime] |
None |
|
last_activity_at |
Optional[datetime] |
None |
|
event_count |
int |
0 |
Fields:
| Field | Type | Default | Description |
|---|---|---|---|
scope |
TaskScope |
Owning scope. | |
task_id |
str |
The task. | |
status |
TaskStatus |
Its lifecycle status. | |
updated_at |
datetime |
When it last changed. | |
terminal_at |
Optional[datetime] |
None |
When it reached a terminal status, if it has. |
inactivity_paused_at |
Optional[datetime] |
None |
When the sweeper paused it for inactivity, if it did. |
last_activity_at |
Optional[datetime] |
None |
When the task last did real work. Distinct from updated_at on purpose — see :func:select_due_tasks. |
event_count |
int |
0 |
Journal size, for the capacity rules. |
Attributes:
| Attribute | Type | Description |
|---|---|---|
activity_anchor |
datetime |
The instant the inactivity clock is measured from. |
Classify a journal's size against the configured ceilings.
History is never silently discarded: passing a ceiling refuses new work rather than trimming old events.
journal_pressure(event_count: int, config: TaskMemoryConfig) -> JournalPressure
| Parameter | Type | Default | Description |
|---|---|---|---|
event_count |
int |
Events currently in the journal. | |
config |
TaskMemoryConfig |
The configuration supplying the ceilings. |
Returns: JournalPressure — class:JournalPressure classification.
Select the artifact versions whose retained bytes may be released.
Pure. Three protections, each of which must hold independently:
- Non-terminal evidence is protected. A version whose producing task is still live is never expired by age, however old.
- Any pin defers deletion, including a pin held by a task other than the producer. Cross-task evidence references are exactly the case a naive "is the owner done?" check gets wrong.
- Current versions are protected from the stale-version rule. Only non-current versions expire on the 24-hour clock; a current version of a terminal task follows the 90-day terminal rule instead.
select_due_artifacts(now: datetime, views: Sequence[ArtifactRetentionView], config: TaskMemoryConfig) -> Tuple[DueAction, ...]
| Parameter | Type | Default | Description |
|---|---|---|---|
now |
datetime |
The current instant, injected. | |
views |
Sequence[ArtifactRetentionView] |
Immutable views of the candidate versions. | |
config |
TaskMemoryConfig |
The configuration supplying the thresholds. |
Returns: Tuple[DueAction, ...] — The due actions, ordered by reference for stability.
Select orphan blobs old enough to sweep.
Pure. A blob is swept only when nothing references it — no live index row, no pending publish lease, no archive — and only after the grace period. Orphans are expected after a crash; a blob that is merely mid-publish is not an orphan, and sweeping it would delete bytes a reference is about to point at.
select_due_blobs(now: datetime, views: Sequence[BlobRetentionView], config: TaskMemoryConfig) -> Tuple[DueAction, ...]
| Parameter | Type | Default | Description |
|---|---|---|---|
now |
datetime |
The current instant, injected. | |
views |
Sequence[BlobRetentionView] |
Immutable views of the candidate blobs. | |
config |
TaskMemoryConfig |
The configuration supplying the grace period. |
Returns: Tuple[DueAction, ...] — The due actions, ordered by storage reference.
Select the task-level retention actions that are due.
Pure: no clock of its own, no I/O, no randomness. The same inputs always yield the same actions, which is what makes the sweeper testable at a boundary rather than approximately.
The three anchors are deliberately different instants, and confusing them is the classic way retention goes wrong:
- inactivity is measured from
activity_anchor— the last time the task did real work; - abandonment is measured from
inactivity_paused_at— the sweeper's own pause, not fromupdated_at. Usingupdated_atwould be a bug that hides itself: the sweeper's ownretention_scheduledintent event bumpsupdated_at, so the sweeper would keep resetting the very clock it was measuring and the task would never be cancelled; - terminal expiry is measured from
terminal_at.
select_due_tasks(now: datetime, views: Sequence[TaskRetentionView], config: TaskMemoryConfig) -> Tuple[DueAction, ...]
| Parameter | Type | Default | Description |
|---|---|---|---|
now |
datetime |
The current instant, injected. | |
views |
Sequence[TaskRetentionView] |
Immutable views of the candidate tasks. | |
config |
TaskMemoryConfig |
The configuration supplying every threshold. |
Returns: Tuple[DueAction, ...] — The due actions, in a stable order (by task id within policy).
- 1. MCP Server — exposing tools as a service
- 2. A2A — exposing agents and orchestrators as services
- 3. Toolkits for third party services and Cloud Security composition
- 4. Interaction surface — WebSockets, audio, integrations
- 5. Hardening — anti prompt injection, PBAC and tool gating
- 6. Cross cutting concerns and reference deployment
- 7. AgentCrew — Sequential, Parallel, Flow and Loop execution
- 8. AgentsFlow — DAG first orchestration with per node FSM
- 9. Ontologic RAG — graph first retrieval, intent routing & multi tenant knowledge
- 10. Observability — OpenLIT + OpenTelemetry
- Class Catalog by Module
- Module level Functions Catalog
- AI Parrot — Exposure, Interoperability & Hardening Architecture
- Agent Mesh
- AgentService — Standalone Runtime for Autonomous Agents
- AbstractClient: The Provider Client Family
- Anthropic client
- Bedrock Mantle Client
- TypeSafe System One Client (
JevClient) - Meta Model API Client (Muse Spark)
- OpenAI Compatible Client Base (
OpenAIBaseClient) - Per Loop LLM Client Cache
- Question Token Budgets (Bedrock Converse, Nova text, Bedrock Mantle)
- Agent Configure Lifecycle
- AgentTalk Integration Guide
- Agent Configuration via
agents.yaml - AgentFactory HTTP API
- Agent Studio — API Reference
- Agent CLI Daemon (agentd)
- FirefliesInsightsAgent
- Follow up Suggestion Chips (FEAT 752)
- Agents and Chatbots: The Bot Class Hierarchy
- Agent Studio — database storage (host guide)
- Ephemeral User Agents — Frontend Integration Handoff
parrot agent— Agent Terminal Workspace- Crew Handler
- Database Agent
- Running the CVE Experts
- Domain Experts (FEAT 778)
- FEAT 437
- Technical Voice Guide (AgentTalk Voice) for Frontend
- AgentDashboard — A2UI v1.0 Technical Reference for
navigator frontend next - Semantic UI Model → Adaptive Cards (FEAT 303)
- Exposing an AI Parrot Agent as an MCP Server
- AgentCrew User Guide
- AgentsFlow User Guide
- Crew Definition Storage
- A2UI Agent Functions Runtime — the v1.0 RPC leg (FEAT 469)
- Capabilities of an AI Parrot Analytical Agent (PandasAgent)
- Agent Security Guardrails (FEAT 761)
- SpawnSubAgentTool
- Testagent
- Agentic End to End Testing (FEAT 581)
- Uiagent
- WebAgent — Browser Interaction via Chrome DevTools
- WebNavigatorAgent — Catalogued Web Navigation on Your Chrome Profile
- ExecutionMemory Integration Guide
- Agent Brain
- Agent Memory
- Conversation History Ownership
- Conversation Memory Subsystem Overview
- Dream Cycle — episodic → wiki brain consolidation
- Durable Conversation Memory
- Memory Dynamics
- Per Turn Conversation Compaction
- Recoverable Task Memory (FEAT 538)
- Task Memory — Phase 0 Integration Map (FEAT 538 / TASK 2970)
- User Memory
- Bookstore Agentic Retrieval
- Bookstore in Codex
- Bookstore Conceptual Relations — the book graph (FEAT 533)
- Bookstore notebooks
- Contracts catalog performance (FEAT 539, AC14)
- Contracts pilot acceptance — Bob's twelve cases (FEAT 539, AC15)
- Contracts Card & Ontology (FEAT 539)
- Luau parser resource policy (FEAT 532 TASK 2896)
- Glossary of Terms (FEAT 917)
- GraphIndex core seams (FEAT 540)
- GraphIndex — Structured Knowledge Graph Indexing
- Local Knowledge Base
- Procedure Graph — Assembly Manuals (FEAT 601)
- Ontology backend programme
- Ontology vocabulary store
- PageIndex Agentic Retrieval and Citations
- PageIndex Generation Publication
- PageIndex Layout Structure Builder
- PageIndex Local MCP Toolkit
- PageIndex Segment Store
- PageIndex Tree Optimizer
- PageIndex — Tree Based RAG for Document Retrieval
- ArxivTool for AI Parrot
- Accounting metrics layer
- Tool Result Compression Pipeline (FEAT 380)
- DatasetManager Implementation Walkthrough
- FredAPITool Documentation
- EmployeesTool Employee Hierarchy Tool for AI Parrot
- HoobaToolkit
- Jira text templates (JiraToolkit)
- Expose Toolkits as Local MCP (
parrot mcp local) - MultiStoreSearch Toolkit — Multi Origin Retrieval for Agents
- Supervised Obscura Browser Integration
- OdooHelpdeskToolkit — Softhealer helpdesk on Odoo 19
- OdooToolkit Capabilities
- QuerysourceToolkit
- ReadOnlyRepoToolkit (FEAT 484)
- PythonREPLTool Sandbox: Worker Process Execution Model
- Research Tools for Agents
- gVisor Installation Guide for AI Parrot Secure Sandbox
- SDD Sandbox — OS Setup
- Governed semantic layer
- Tool optimizations for Claude Code and Codex (FEAT 543)
- AbstractTool Clone Method
- Toolbar API Documentation
- AudioNoteCaptureToolkit
- ExecutionPlanToolkit — Reference
- Host toolkits for Agent Studio
- Infographic Authoring for Data Agents (FEAT 326)
- InfographicToolkit — Reference
- Tool System Internals: Tools, Toolkits and ToolManager
- AI Parrot Tools Documentation
- What If Scenario Analysis
- Workday worker history
- DecisionFlowNode Usage Guide
- Multi Agent Orchestration: AgentCrew and AgentsFlow
- Docker Tool Executor & Execution Policy
- Generic Gate Host
- HeartbeatManager — Per Agent Autonomous Heartbeat Loop
- JobManager
- Node Types Reference
- OrchestratorAgent — Multi Party Conferencing (
confer) - Planogram compliance cycle (perceive → identify → compare)
- Planogram compliance — migrating configurations to the new cycle (FEAT 574, FEAT 612)
- Planogram perception spike — FEAT 574
- Scheduler backends in multi worker deployments
- Thales User Guide
- Per tenant skills (FEAT 707)
- Skill routing and trigger caching
- Skills system: discovery, toolkits and mixin
- Contextual Embedding Headers
- DocumentDB Usage Patterns
- DocumentDB Interface Guide
- DynamoDB Local (docker compose)
- Fully offline local agent with LanceDB (FEAT 542)
- LanceDB vector, full text and hybrid store (FEAT 542)
- Loader Metadata Standard
- Document Loaders for RAG
- Matryoshka Embedding Truncation
- Parent Child Retrieval (Small to Big)
- Storage Backends Guide
- User stores (Redis by default)
- Vector Stores and Embeddings Reference
- Vector Store Handler — API Reference
- A2A Secure Communication Demo
- Agent as a Local MCP Server (parrot toolkits install agent)
- add repository:
- GitHub MCP Installation and Usage
- MCP integration: client, server and agent tools
- Create and configure agent
- Roost — local inter agent sub protocol
- Roost carriers
- Roost performatives, protocols and obligations
- Simple Mcp Server
- SimpleMCPServer Configuration
- API Endpoints Reference
- Admin UI (FEAT 468)
- Infographic Render Endpoint — Reference
- EventBus v2 Configuration Reference (
[bus]/[bus.alerts]) - EventBus v2 Migration Notes (FEAT 310)
- EventBus v2 — Unified Event Fabric (FEAT 310)
- Session file store
- A2UI Dashboard + Widget Renderer — Frontend Build Guide
- Avatar Technical Guide (LiveAvatar Phase A) for Frontend
- Frontend Guide for SvelteKit: LiveAvatar FULL Mode and VoiceBot (FEAT 248)
- DEPRECATED: Native Voice Avatar (LiveAvatar Phase C) Technical Guide for Frontend
- Technical Guide to Structured Artifacts for Frontend
- VoiceBot · VoiceChatHandler · FEAT 245 — Frontend Guide for Realtime Conversation with Agents
- Server Layer: BotManager and HTTP Handlers
- Infographic Handler — Frontend API Contract
- Interactive Artifacts — Frontend API Contract
- Google Drive file manager
- SharePoint & OneDrive file managers
- WhatsApp Integration Implementation Summary
- WhatsApp Integration for AI Parrot
- P3 — parrot admin ui inventory (canvases / A2UI / infographic / builders)
- WhatsApp + AutonomousOrchestrator Integration
- Audio Form Voice Modes — Developer Guide
- Who owns an OAuth2 (3LO) credential
- CommCenter — Bulk Notification Sender (FEAT 417)
- FormDesigner → MS Teams: Adaptive Card renderer and bot submit path (FEAT 551)
- GitHub reviewer
- Google OAuth 2.0 — AI Parrot Integration
- Fireflies Agent Examples
- HITL Tool Call Confirmation (FEAT 235)
- Teams HITL Channel Setup Guide (FEAT 205)
- JiraSpecialist Prompt Layer Stack
- JiraSpecialist — Daily Standup Lanes
- Jira Transition Actions — Activating
TRIGGER_AGENTDispatch - Jupyter Output Mode Documentation
- Knowledge upload from chat (FEAT 647)
- LiveAvatar over your own LiveKit (Cloud or self hosted)
- Matrix Bridges for the AI Parrot Swarm (FEAT 463)
- Matrix Clients for the AI Parrot Swarm (FEAT 463)
- Migration Guide: FEAT 202 — ai parrot integrations
- Connections on Microsoft Teams
- MS Teams Toolkit for AI Parrot
- Nova Sonic Voice Protocol Reference
- Office 365 OAuth 2.0 (Delegated) — AI Parrot Integration
- PR Review Command — Setup Guide
- Queued chat commands
- Runbook — the
issuesnamespace (Jira ticket corpus) - Dev loop kick off from Slack (FEAT 555)
- Telegram Auth Open Mode (webview | browser)
- Telegram connections
- Telegram Bot Integration Guide
- FEAT 536 — VoiceBot Nova Dual Output + LiveAvatar: Real Live Operational Acceptance
- FEAT 537 — Nova VoiceBot avatar broadcast: operational acceptance
- FEAT 537 — Nova PCM → LiveAvatar LITE → LiveKit multi subscriber live gate
- speech_report TTS backends
- Nova VoiceBot avatar broadcast for multiple browsers (FEAT 537)
- 🦜 AI Parrot Voice Chat
- WhisperX Setup Guide for AI Parrot
- A2UI Linked Surfaces (FEAT 598)
- A2UI v1.0 Wire (FEAT 470)
- === D3.js ===
- Backend HTML Design System (FEAT 493)
- FEAT 488
- FormDesigner Audio Renderer
- Form Designer — Autonomous FormSchema Persistence (Standalone Forms)
- Form Designer — Conditional Sections: Pre/Post Dependencies
- FormBuilder — LLM answer plausibility enforcement
- FormDesigner — orphan upload cleanup (FEAT 731)
- FormDesigner — public response controls
- Form Designer — Relational Fields
- Serving FormDesigner forms from a Teams agent
- Form Designer — Unknown Field Capture Policy for Form Submissions
- FormDesigner — validation audit trail
- Infographic Recipes (FEAT 324)
- Inline A2UI Component Routing (FEAT 755)
- Metric Definition Registry (FEAT 756)
- Smart OutputFormatter Documentation
- N4 — navigator api backend inventory (dashboards / widgets / templates / modules / programs)
- P1 — ai parrot HTTP/WS endpoint inventory (report builder lens)
- P2 — ai parrot (Python) UI components, models, renderers, persistence — inventory for a REPORT BUILDER
- P4 — ai parrot prior art for a Report Builder (SDD inventory)
- ai parrot server — Admin / Bots / Studio / misc endpoint inventory
- P1 — ai parrot HTTP/WS endpoint inventory (report builder lens) ( core)
- parrot formdesigner — HTTP/WS endpoint inventory
- Report Builder — ai parrot inventory and analysis
- WeasyPrint 69.0 CSS Support — Empirical Findings
- Identity Capability User Guide
- Layers Reference
- Output Language (FEAT 638)
- PromptBuilder — User Modifiable Variables
- PromptBuilder User Guide
- Delegated OAuth2 connections
- Delegated OAuth2 connections on the web channel — deployment recipe and live harness
- Deterministic Groundedness Scoring
- ONNX Backend for the Prompt Injection Guardrail (FEAT 439)
- PBAC Guardrails — Policy Driven Tool Call Denial (FEAT 406)
- SecurityAdvisor — SOC2 Oriented Read Only Advisory Agent
- User Profile Management
- AI Parrot MCP Server AWS Deployment Guide
- Bot Cleanup Lifecycle
- Business Automation — Operator Runbook
parrot loginand connections- CompanyInfoToolkit
- Per component and per agent LLM defaults (FEAT 796, FEAT 882)
- Answer Accuracy Metrics for the Evaluation Harness (FEAT 652)
- Infographic CSP and Signed URLs — Operations Guide
- Global install: the parrot managed runtime (reference)
- Runbook — the Fireflies Meeting Registry
- Wiki standup briefs — runbook
parrot.finance— the finance satellite- Migration — FEAT 201: ai parrot embeddings
- Migration — FEAT 203: ai parrot server
- FEAT 223 — Structured Artifact Contract: Migration Guide
- FEAT 273 — Legacy output mode deprecations → A2UI
- Migration — FEAT 315: Unified NovaClient for all Amazon Nova models
- Migration — FEAT 421: Client declared tenant in the forms URL
- Migration — FEAT 446: SaaS Auth Hardening (S0 of Parrot Research Cloud)
- Migration — FEAT 473: A2UI v1.0 for STRUCTURED_CHART / STRUCTURED_TABLE / STRUCTURED_MAP
- Migration — FEAT 523: PEP 420 LLM Client Extraction
- Gemini 2.5 retirement (FEAT 798)
- Migration — FEAT 564: Reliable video reels with Gemini Omni and Veo 3.1
- Native Claude sandbox for SDD sessions (FEAT 768)
- Complementary (collaborative) research partner (FEAT 482)
- Dev flow per seat LLM configuration (
DevFlowModelPlan) - Dev loop
novabackend (AWS Bedrock) - sdd worker as orchestrator of parallel sdd coder seats (FEAT 549)
- SDD compaction capability record
- SDD execution optimization — operation and rollout
- Proposals to Reduce SDD Execution Time
- Dev flow / dev loop telemetry accounting
- Language Agnostic Validation Runners (FEAT 709)
- Spec Driven Development in Google Gemini / Antigravity CLI
- Guide to using the SDD slash commands
- AI Parrot Spec Driven Development (SDD) Platform
- SDD on Google Antigravity (agy)
/sdd donecloseout hooks- Decision Audit (FEAT 784)
- SDD experience memory
- SDD Expert Consult
- Ledger outbox (FEAT 758)
- FEAT 580 LSP Pilot — Live Evaluation Results
- SDD LSP research pilot (FEAT 580)
- Necessity Ladder (FEAT 908)
- Procedure Graph
- Test selection in the SDD flow — the Validation Contract (FEAT 699)
- wikitoolkit Cheatsheet
- wikitoolkit inbox
- wikitoolkit lint
- LLM Wiki — an agent maintained knowledge repository
- Schema Plane — Operator Guide (FEAT 600)
- SQLite concurrency for wiki and ledger
- wikitoolkit standup
- WikiToolkit as Claude Code infrastructure
- Authentication uses Navigator Auth
- AbstractClient base changes require a decision
- Clients are memory less
- Configuration uses NavConfig
- Graph backends — retire ArangoDB for PostgreSQL + SurrealDB
- Conversation history has one writer
- HTTP stack uses aiohttp
- LangChain is not part of the stack
- Async code remains non blocking
- Concrete tools live in ai parrot tools