Principle:ALwrity ALwrity Committee Agent Generation
| Knowledge Sources | |
|---|---|
| Domains | Agent_Framework, LLM, Task_Planning |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
Mechanism that generates a daily plan of content tasks by deploying a committee of specialised LLM-backed agents, each with a per-user profile and safety framework, whose outputs are validated for contextuality before being committed.
Description
Committee agent generation is a multi-agent task-planning pattern. Rather than asking a single LLM to produce a day's worth of tasks, a committee of specialised agents (strategy orchestrator, content planner, SEO advisor, etc.) each contribute their perspective. Each agent is initialised with a per-user profile (tone, system prompt, schedule overrides) loaded from the database and a safety framework that gates its actions. The agents use txtai's Agent framework with a configurable LLM backend (default Qwen/Qwen3-4B-Instruct).
After generation, the plan is validated against a contextuality threshold (a minimum similarity between the generated plan and the user's context) so a plan that drifts from the user's actual needs is rejected and regenerated. Validated tasks are indexed to a semantic index (SIF) for future retrieval and self-learning.
Usage
Use this principle when:
- A daily plan must reflect multiple specialist perspectives, not a single model's output.
- Per-user profiles (tone, schedule, system prompt) must override agent defaults.
- A contextuality threshold must gate plan quality before commit.
- Task outcomes must be recorded for self-learning (dedup, future planning).
Theoretical Basis
Committee generation is a fan-out + validate + index pipeline:
# Abstract committee generation (NOT a real implementation)
def generate_daily_plan(user_id, date, context):
agents = [StrategyAgent(user_id), ContentAgent(user_id), SEOAgent(user_id)]
proposals = [agent.generate(context) for agent in agents] # fan-out
plan = merge_proposals(proposals)
if contextual_similarity(plan, context) < THRESHOLD:
plan = regenerate(context) # reject & retry
sif_index.add(plan) # index for retrieval
return plan
The threshold is environment-overridable (ALWRITY_PLAN_CONTEXT_THRESHOLD, default 0.65) so operators can tune the quality gate.
Practical Guide
- Specialised agents.' Each agent should have a narrow domain (strategy, content, SEO) so its proposals are deep, not shallow.
- Per-user profiles.' Load tone, system prompt, and schedule overrides from the DB so the same agent type behaves differently per user.
- Contextuality gate.' Reject plans below a similarity threshold; do not commit low-quality plans.
- Self-learning.' Index task outcomes to a semantic store so future plans can deduplicate and learn from past completions.