Skip to content

API Reference parrot_tools.experts.toolkit

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.experts.toolkit

View source

Expert-facing tools: retrieval fan-out and ADR proposal (FEAT-778 M9).

Class ExpertKnowledgeToolkit

Search an expert's knowledge handles and propose ADRs for human review.

Parameter Type Default Description
context KnowledgeContext
manifest ExpertManifest
wiki Any None
bookstore Any None
decisions Any None
**kwargs Any {}

Method ExpertKnowledgeToolkit.knowledge_search

Search this expert's knowledge: its wiki namespace and the bookstore.

Returns hits tagged with the source and revision of the knowledge layer they came from; a backend that fails is reported under errors instead of aborting the search.

knowledge_search(question: str, top_k: int = 8) -> dict[str, Any]

Parameter Type Default Description
question str Natural-language question to search for.
top_k int 8 Maximum number of hits to return.

Returns: dict[str, Any]

Method ExpertKnowledgeToolkit.propose_adr

Propose an architecture decision record for target.

The record is born inferred and unreviewed; only a human review accepts it.

propose_adr(target: str, rationale: str) -> dict[str, Any]

Parameter Type Default Description
target str What the decision is about.
rationale str Why the decision is proposed.

Returns: dict[str, Any]

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally