Coyle opens with his experience teaching computer science at Berkeley and says AI has changed the career outlook for students. He encourages learning by making things, writing by hand, and engaging the senses.
Why Agentic Systems Need Ontologies
Speaker
Frank Coyle, a computer science educator at UC Berkeley with 30–35 years of experience, explains how ontologies can help AI agents make domain-aware decisions at an AI Engineer event.
Coyle traces agents to early AI work and describes them as systems that perceive, decide, and act. He defines an ontology as a formal specification of a shared conceptualization, representing entities, properties, and relationships. He presents neuro-symbolic AI as a way to combine probabilistic language models with formal representations such as rules and knowledge graphs.
Coyle contrasts graph databases, where entities and relationships can be added flexibly, with relational tables that may require structural changes. Ontologies can be built top-down with domain experts or bottom-up by adding concepts found in data, such as customer reactions. He points to Schema.org, FOAF, Dublin Core, and DBpedia as existing resources to reuse.
Coyle explains that RDFS and OWL can add inference rules and constraints to a graph. For example, a “teaches” relationship can imply that its subject is a teacher and its object is a student; a transitive “ancestor” relationship can infer additional links. Functional and disjoint properties can also flag inconsistent cases, such as a refund sent to a support representative instead of a buyer.
Coyle describes agent loops as sequences of tool calls and decisions, while warning that loops can drift, run indefinitely, and increase token costs. In his example, an LLM proposes tool parameters, a tool runs, and a validator checks the result against domain rules before the loop continues or asks for human input. He recommends using Pydantic to check parameter types, ontology checks to validate results, and agents without side effects until their actions are verified.
Takeaways
- Reuse established vocabularies such as Schema.org or FOAF before defining domain terms from scratch.
- Pair flexible LLM outputs with explicit domain rules that can infer facts and flag inconsistent results.
- Validate tool parameters with types and tool outputs against an ontology before an agent takes consequential action.
- Keep agent actions free of database side effects until their results pass validation.
- Set limits and checks on agent loops to control drift and token costs.
Mentioned in this talk
Search inside this talk
What was claimed 5
- role atFrank Coyle is computer science instructor at
UC Berkeley
“I’m now teaching at Berkeley.”
0:12inAnthropic's CCA Exam as a Field-Guide for Agentic EngineeringYouTube Verified2 sources· Talk
- featureAI agents: Perceive, decide, and act
“things that perceive, decide, and then act”
YouTube Unverified1 source· Talk
- featureontology: Represent entities, properties, and relationships
“a representation of entities and their relationships to other entities. These entities have properties.”
YouTube Unverified1 source· Talk
- featureontology: Can support inferences and constraints through RDFS and OWL
“you want to apply some control over them or be able to make inferences over them”
YouTube Unverified1 source· Talk
- featurePydantic: Specifies and checks parameter types
“Pydantic is a way to specify the types of the parameters you want.”
YouTube Unverified1 source· Talk














