BlackBoiler / applied AI platform
Extending and hardening BlackBoiler's multi-agent platform
- AI / ML
- Platform
- Security
- Product engineering
I extended BlackBoiler’s existing multi-agent platform to improve contract editing and make legal playbook models easier for users to manage. My work also covered model support, tenant isolation, deployment, and operational visibility.
Starting from the existing system
The original implementation already routed contract editing, playbook management, clause search, analytics, and rule diagnosis to specialized agents. I extended that system as the product added a web assistant, administrative functions, analytics, and new execution paths.
Editing and playbook management
I built the web assistant application and added tools for subscriptions, accounts, playbooks, clauses, and analytics. The playbook workflows aligned contract sentences more accurately with the rules and gave users the ability to create and modify their own legal playbook models. Before this work, playbooks had to be managed by people with specialized domain knowledge. I also introduced a shared model factory so the agents could use Gemini or Bedrock without managing the provider in every agent.
Tenant isolation and access control
I added bearer-token authentication, centralized the scope checks used by the agents, and strengthened request isolation. I also added tests covering concurrent tenant activity.
Reliability and operation
I added retries for transient Gemini failures, fixed delegation so control returned to the web root agent, and tagged MLflow spend with the resolved tenant. I also added container builds with SBOM and provenance attestations.
Impact
The changes made contract editing faster and more accurate by improving how sentences align with playbook rules. For the first time, users could create and modify their own legal playbook models without the specialized domain knowledge the earlier process required.
Technologies & skills