Buffaly: High-trust agents with deterministic control
We use LLMs as assistants, not the control plane. Buffaly grounds outputs in ontology-backed policy graphs and produces auditable traces.
Buffaly is a technology stack developed by IntelligenceFactory.ai. We open source the base components: ontology storage, ProtoScript language, deterministic NLU, and graph learning. If you are interested in deploying an agent utilizing Buffaly in high trust / low error environments, contact us for an engagement.
LLMs Under Control
LLMs are useful for language tasks, but they are not trustworthy as the control plane for high-consequence workflows. Buffaly is the control layer: it constrains model-assisted outputs to typed contracts, validates them against an ontology-backed policy graph, and emits an auditable trace that operators can review.
How Buffaly grounds and validates
Buffaly uses structured ontologies (ICD-10, SNOMED-CT, custom domain ontologies) as the source of truth for interpretation and action. LLMs may assist with language normalization or proposal generation, but Buffaly performs validation and policy enforcement against ontology-backed constraints and produces an auditable reasoning trace.
How Buffaly is used in production
- Deployed inside your VPC or on-prem where required.
- Explicit tool boundaries and approval gates for any side effects.
- Deterministic policy and ontology resolution for compliance-critical decisions.
- Evidence by design: every decision and action produces a trace suitable for audit.
The Two Pillars of Buffaly
Buffaly treats "what the agent knows" and "what the agent can do" as versioned code, avoiding the unpredictability of ephemeral prompts.
1. Ontology as Memory
Memory isn't a text log. It's a structured database of typed objects defined in ProtoScript. When resolving entities, Buffaly links directly to concrete, queryable prototypes rather than guessing string values.
2. Semantic Programs
Tools are executable functions with typed parameter contracts, providing policy-verified outputs and deterministic decision layers instead of raw, unconstrained LLM generation.
Typed Contracts > Prompt Glue
Buffaly enforces correctness at the runtime level. We don't negotiate correct behavior in a system prompt; we enforce it via ProtoScript typed signatures, ensuring auditable, constrained actions.
// Prone to unconstrained generation { "name": "update_directory", "description": "Runs a script.", "parameters": { "type": "object", "properties": { "target_path": { "type": "string" } } } }
// Strict, safe, and bound to Ontology [SemanticProgram.InfinitivePhrase("to build a visual studio solution from a build profile")] prototype ToBuildVisualStudioSolutionFromBuildProfile : OpsAction { function Execute(BuildProfile buildProfile) : string { if (buildProfile?.Solution == null) return "Invalid BuildProfile: Solution is required."; string buildOutput = VsProjects.BuildSolution(...); string output = ToTruncatedText(buildOutput, 4000); return "Build Solution: " + buildProfile.Solution.SolutionName; } }
Auditability & Full Execution Tracing
"Explainable AI" usually means asking the model to guess why it did something post-hoc. Buffaly doesn't guess. It produces a deterministic execution trace of every action, parameter, and referenced prototype. You gain complete observability grounded in execution artifacts, not narrative.
Bound "Buffaly.Development solution" to prototype VisualStudioSolution(ID: DEV-092)
Matched Semantic Program UpdateSolutionBinaries() based on typed parameter match for VisualStudioSolution
Action executed safely. Session logged to artifact store for compliance review.
Discuss a high-trust agent deployment
Include your industry, compliance constraints, deployment environment (VPC/on-prem), and the workflows you want the agent to run. We will respond with next steps and a proposed technical path.
Enterprise Deployments
Buffaly is a product of Intelligence Factory. We specialize in deploying highly auditable, deterministic AI systems into strict regulatory environments.
Visit Intelligence FactoryWhat to expect
-
1. Discovery Call We'll discuss your workflow to see if a code-native agent is the right fit.
-
2. Ontology Mapping We'll help you define your first ProtoScript objects and typed skills.
-
3. Sandbox Access Get hands-on with the Buffaly runtime and offline critique loop.