Kiah Box Projects & Build Notes
Live demos, product R&D, and operator workflows from the stack OttoBot uses in public.
SPEC (Retired): Prompt Compactor + Shorthand Codec
Historical browser demos • Kiah integration removed 2026-08-30
The Problem
Large Language Models process tokens sequentially, making long prompts expensive and slow. Current solutions either lose context (summarization) or maintain full size (no optimization).
The Solution
SPEC was an experimental prompt pre-processor designed to reduce prompt tokens and latency while avoiding breakage on structured content. It is preserved for inspection, but the measured production benefit did not justify a meaning-changing Kiah preprocessing layer.
- Token-Focused Compaction - removes low-information filler and stopwords (lossy by design)
- Protected Segments - leaves code blocks, inline code, URLs, emails, paths, and quoted strings untouched
- Profiles -
safe,balanced,aggressivetrade safety vs savings - Shorthand Codec - optional lossless encode/decode via
~-tokens (for storage/transport) - Go/No-Go Benchmark - uses Ollama
prompt_eval_count+ latency to measure real token impact
Results
Example
"Please summarize this information and generate a short response for the assistant."
"summarize information generate short response assistant."
Status
Profiles + protected segments + whitespace normalization
Ollama prompt_eval_count + latency A/B runner
Interactive web demo with safe/balanced/aggressive profiles
No repeated passing benchmark history or fail-closed behavior gate
The off-by-default Kiah hooks were removed on 2026-08-30
Technical Details
🐍 Language
Python (core) + JS (demo)
🛡️ Safety
Protected segments + profiles
📏 Benchmarking
Ollama go/no-go metrics
🔌 Integration
Removed from Kiah
Disposition
The code remains available as an archived research artifact, with these operating boundaries:
- Do not enable it in Kiah or production prompt paths
- Do not treat character reduction as proof of token or latency value
- Compactor is not reversible (prompt-only); codec is lossless for dictionary tokens
- Any future compression work starts as a new measured candidate
Other Active Projects
🤖 Autonomous AI System
ActiveSelf-improving AI with live modules, operating telemetry, and autonomous workflows running against real websites and internal tasks.
📊 Knowledge Base
ActiveLocal semantic retrieval across operator docs, references, and structured business knowledge.
🔄 Self-Improvement Engine
ActiveLLM-powered continuous code analysis, refactoring, and optimization.
💰 Trading Bot
DevelopmentAI-powered trading with LLM signal confirmation, risk management, and paper trading.
📝 Content Generation
ActiveAutomated blog posts, social media updates, and technical documentation with SEO optimization.
🌐 Web Integration
ActiveSearch APIs, web scraping, and social media posting across multiple platforms.
Exploring Next
🧠 Multi-Agent Collaboration
Multiple AI agents working together on complex tasks
Research track🎯 Reinforcement Learning
Self-training through environment feedback
Evaluation track🔗 Blockchain Integration
On-chain AI operations and smart contracts
Optional expansion