# OpenCog

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/OpenCog
> Markdown URL: https://mediated.wiki/source/OpenCog.md
> Source: https://en.wikipedia.org/wiki/OpenCog
> Source revision: 1351499106
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources. Find sources: "OpenCog" – news · newspapers · books · scholar · JSTOR (March 2018) (Learn how and when to remove this message)

Project for an open source artificial intelligence framework

OpenCog Open Source Artificial Intelligence Original author OpenCog Developers Developer OpenCog Foundation Release 21 January 2008; 18 years ago (2008-01-21)[1] Written in C++, Python, Scheme Platform Linux Type Artificial general intelligence License GNU Affero General Public License Website opencog.org Repository github.com/opencog/atomspace

**OpenCog** is a project that aims to build an [open source](/source/Open_source_software) artificial intelligence framework. **OpenCog Prime** is an architecture for robot and virtual [embodied cognition](/source/Embodied_cognition) that defines a set of interacting components designed to give rise to human-equivalent [artificial general intelligence](/source/Artificial_general_intelligence) (AGI) as an [emergent phenomenon](/source/Emergent_phenomenon) of the whole system.[2]

OpenCog Prime's design is primarily the work of [Ben Goertzel](/source/Ben_Goertzel) while the OpenCog framework is intended as a generic framework for broad-based AGI research. Research utilizing OpenCog has been published in journals and presented at conferences and workshops including the annual [Conference on Artificial General Intelligence](/source/Conference_on_Artificial_General_Intelligence). OpenCog is released under the terms of the [GNU Affero General Public License](/source/Affero_General_Public_License).

OpenCog is in use by more than 50 companies, including [Huawei](/source/Huawei) and [Cisco](/source/Cisco).[3]

## Origin

OpenCog was originally based on the release in 2008 of the source code of the proprietary "Novamente Cognition Engine" (NCE) of Novamente LLC. The original NCE code is discussed in the PLN book (ref below). Ongoing development of OpenCog is supported by Artificial General Intelligence Research Institute (AGIRI), the [Google Summer of Code](/source/Google_Summer_of_Code) project, [Hanson Robotics](/source/Hanson_Robotics), [SingularityNET](https://en.wikipedia.org/w/index.php?title=SingularityNET&action=edit&redlink=1) and others.

## Components

OpenCog consists of:

- A [graph database](/source/Graph_database), dubbed the [AtomSpace](https://wiki.opencog.org/w/Atomspace), that holds "atoms" (that is, [terms](/source/Term_(logic)), [atomic formulas](/source/Atomic_formula), [sentences](/source/Sentence_(mathematical_logic)) and [relationships](/source/Relational_model)) together with their "values" ([valuations](/source/Valuation_(logic)) or [interpretations](/source/Interpretation_(logic)), which can be thought of as per-atom [key-value databases](/source/Key-value_database)). An example of a value would be a [truth value](/source/Truth_value). Atoms are globally unique, immutable and are indexed (searchable); values are fleeting and changeable.

- A collection of pre-defined atoms, termed [Atomese](https://wiki.opencog.org/w/Atomese), used for generic [knowledge representation](/source/Knowledge_representation), such as [conceptual graphs](/source/Conceptual_graph) and [semantic networks](/source/Semantic_network), as well as to represent and store the rules (in the sense of [term rewriting](/source/Term_rewriting)) needed to manipulate such graphs.

- A collection of pre-defined atoms that encode a [type subsystem](/source/Type_theory), including [type constructors](/source/Type_constructor) and [function types](/source/Function_type). These are used to specify the types of variables, terms and expressions, and are used to specify the structure of generic graphs containing variables.

- A collection of pre-defined atoms that encode both [functional](/source/Functional_programming_language) and [imperative](/source/Imperative_programming_language) programming styles. These include the [lambda abstraction](/source/Lambda_abstraction) for binding [free variables](/source/Free_variable) into [bound variables](/source/Bound_variable), as well as for performing [beta reduction](/source/Beta_reduction).

- A collection of pre-defined atoms that encode a [satisfiability modulo theories](/source/Satisfiability_modulo_theories) solver, built in as a part of a generic graph query engine, for performing graph and hypergraph pattern matching ([isomorphic subgraph discovery](/source/Graph_isomorphism)). This generalizes the idea of a structured query language ([SQL](/source/SQL)) to the domain of generic graphical queries; it is an extended form of a graph [query language](/source/Query_language).

- A generic [rule engine](/source/Rule_engine), including a [forward chainer](/source/Forward_chaining) and a [backward chainer](/source/Backward_chaining), that is able to chain together rules. The rules are exactly the graph queries of the graph query subsystem, and so the rule engine vaguely resembles a [query planner](/source/Query_plan). It is designed so as to allow different kinds of [inference engines](/source/Inference_engine) and [reasoning systems](/source/Reasoning_system) to be implemented, such as [Bayesian inference](/source/Bayesian_inference) or [fuzzy logic](/source/Fuzzy_logic), or practical tasks, such as [constraint solvers](/source/Constraint_solver) or [motion planners](/source/Planning).

- An attention allocation subsystem based on economic theory, termed ECAN.[4] This subsystem is used to control the combinatorial explosion of search possibilities that are met during inference and chaining.

- An implementation of a probabilistic [reasoning engine](/source/Reasoning_system) based on probabilistic logic networks. The current implementation uses the rule engine to chain together specific rules of [logical inference](/source/Logical_inference) (such as [modus ponens](/source/Modus_ponens)), together with some very specific mathematical formulas assigning a probability and a confidence to each deduction. This subsystem can be thought of as a certain kind of [proof assistant](/source/Proof_assistant) that works with a modified form of Bayesian inference.[5]

- A probabilistic [genetic program evolver](/source/Genetic_programming) called Meta-Optimizing Semantic Evolutionary Search, or MOSES.[6] This is used to discover collections of short Atomese programs that accomplish tasks; these can be thought of as performing a kind of [decision tree learning](/source/Decision_tree_learning), resulting in a kind of [decision forest](/source/Random_forest), or rather, a generalization thereof.

- A natural language input system consisting of [Link Grammar](/source/Link_Grammar), and partly inspired by both [Meaning-Text Theory](/source/Meaning-Text_Theory) as well as Dick Hudson's [Word Grammar](/source/Word_grammar), which encodes semantic and syntactic relations in Atomese.

- A natural language generation system.[7]

- An implementation of [Psi-Theory](/source/Psi-Theory) for handling [emotional](/source/Emotion) states, drives and urges, dubbed OpenPsi.[8]

- Interfaces to [Hanson Robotics](/source/Hanson_Robotics) robots, including emotion modelling[9] via OpenPsi. This includes the [Loving AI](https://en.wikipedia.org/w/index.php?title=Loving_AI&action=edit&redlink=1) project, used to demonstrate meditation techniques.

## Organization and funding

In 2008, the [Machine Intelligence Research Institute](/source/Machine_Intelligence_Research_Institute) (MIRI), formerly called Singularity Institute for Artificial Intelligence (SIAI), sponsored several researchers and engineers. Many contributions from the open source community have been made since OpenCog's involvement in the [Google Summer of Code](/source/Google_Summer_of_Code) in 2008 and 2009. Currently MIRI no longer supports OpenCog.[10] OpenCog has received funding and support from several sources, including the Hong Kong government, [Hong Kong Polytechnic University](/source/Hong_Kong_Polytechnic_University), the [Jeffrey Epstein VI Foundation](/source/Jeffrey_Epstein_VI_Foundation)[11] and [Hanson Robotics](/source/Hanson_Robotics). In 2013, OpenCog began providing AI solutions to Hanson Robotics,[12][*[AI-retrieved source](https://en.wikipedia.org/wiki/Template:AI-retrieved_source/doc)*] and in 2017, OpenCog became a founding member of SingularityNET.[13]

## Applications

Similar to other [cognitive architectures](/source/Cognitive_architecture), the main purpose is to create virtual humans, which are three dimensional [avatar](/source/Avatar_(computing)) characters. The goal is to mimic behaviors like emotions, gestures and learning. For example, the emotion module in the software was only programmed because humans have emotions. Artificial General Intelligence can be realized if it simulates intelligence of humans.[14]

The self-description of the OpenCog project provides additional possible applications which are going into the direction of natural language processing and the simulation of a dog.[15]

## See also

- [Soar](/source/Soar_(cognitive_architecture))

- [Cyc](/source/Cyc)

- [List of free and open source software packages](/source/List_of_free_and_open-source_software_packages)

- [OpenAI](/source/OpenAI)

## Sources

- Hart, D; B Goertzel (2008). [*OpenCog: A Software Framework for Integrative Artificial General Intelligence*](http://www.agiri.org/OpenCog_AGI-08.pdf) (PDF). Proceedings of the First AGI Conference. [Gbooks](https://books.google.com/books?id=a_ZR81Z25z0C)

- Goertzel, B., Iklé, M., Goertzel, I.F., Heljakka, A. *[Probabilistic Logic Networks, A Comprehensive Framework for Uncertain Inference](https://www.springer.com/computer/artificial/book/978-0-387-76871-7)*, Springer, 2009, VIII, 336 p., Hardcover [ISBN](/source/ISBN_(identifier)) [978-0-387-76871-7](https://en.wikipedia.org/wiki/Special:BookSources/978-0-387-76871-7)

## References

1. **[^](#cite_ref-source-release_1-0)** ["OpenCog Release"](https://web.archive.org/web/20160128030739/http://bazaar.launchpad.net/~opencog-dev/opencog/trunk/changes/2). 21 January 2008. Archived from [the original](http://bazaar.launchpad.net/~opencog-dev/opencog/trunk/changes/2) on 28 January 2016. Retrieved 21 January 2008.

1. **[^](#cite_ref-2)** ["OpenCog: Open-Source Artificial General Intelligence for Virtual Worlds | CyberTech News"](https://web.archive.org/web/20090306053354/http://www.cybertechnews.org/?p=915). 2009-03-06. Archived from the original on 2009-03-06. Retrieved 2016-10-01.{{[cite web](https://en.wikipedia.org/wiki/Template:Cite_web)}}: CS1 maint: bot: original URL status unknown ([link](https://en.wikipedia.org/wiki/Category:CS1_maint:_bot:_original_URL_status_unknown))

1. **[^](#cite_ref-3)** Rogers, Stewart (2017-12-07). ["SingularityNET talks collaborative AI as its token sale hits 400% oversubscription"](https://venturebeat.com/2017/12/07/singularitynet-talks-collaborative-ai-as-its-token-sale-hits-400-oversubscription/). *venturebeat.com*. [VentureBeat](/source/VentureBeat). Retrieved 2018-03-13.

1. **[^](#cite_ref-4)** ["Economic Attention Allocation"](https://wiki.opencog.org/w/ECAN).

1. **[^](#cite_ref-Goertzel2009_5-0)** Goertzel, Ben; Iklé, Matthew; Goertzel, Izabela Freire; Heljakka, Ari (2009). [*Probabilistic Logic Networks: A Comprehensive Framework for Uncertain Inference*](https://link.springer.com/10.1007/978-0-387-76872-4). Boston, MA: Springer US. [doi](/source/Doi_(identifier)):[10.1007/978-0-387-76872-4](https://doi.org/10.1007%2F978-0-387-76872-4). [ISBN](/source/ISBN_(identifier)) [978-0-387-76871-7](https://en.wikipedia.org/wiki/Special:BookSources/978-0-387-76871-7).

1. **[^](#cite_ref-6)** ["MOSES"](https://wiki.opencog.org/w/MOSES).

1. **[^](#cite_ref-7)** ["Natural Language Generation"](https://wiki.opencog.org/w/Natural_language_generation).

1. **[^](#cite_ref-8)** ["OpenPsi"](https://wiki.opencog.org/w/OpenPsi).

1. **[^](#cite_ref-9)** ["Emotion modeling - Hanson Robotics Wiki"](https://web.archive.org/web/20180319173932/http://wiki.hansonrobotics.com/w/Emotion_modeling). Archived from [the original](http://wiki.hansonrobotics.com/w/Emotion_modeling) on 2018-03-19. Retrieved 2015-04-24.

1. **[^](#cite_ref-10)** [Ben Goertzel](/source/Ben_Goertzel) (2010-10-29). ["The Singularity Institute's Scary Idea (and Why I Don't Buy It)"](https://multiverseaccordingtoben.blogspot.com/2010/10/singularity-institutes-scary-idea-and.html). *The Multiverse According to Ben*. Retrieved 2011-06-24.

1. **[^](#cite_ref-11)** Baram, Marcus (Jul 11, 2019). ["Even after his arrest, scientists were more than happy to take money from Jeffrey Epstein"](https://www.fastcompany.com/90375335/jeffrey-epsteins-money-was-accepted-by-scientists-even-after-arrest). *[Fast Company](/source/Fast_Company)*.

1. **[^](#cite_ref-12)** ["Science Philanthropist, Jeffrey Epstein, Backs the First Free Thinking Robots"](https://www.prweb.com/releases/science_philanthropist_jeffrey_epstein_backs_the_first_free_thinking_robots/prweb11315351.htm?utm_source=chatgpt.com). Jeffrey Epstein VI Foundation. 2013-11-08.

1. **[^](#cite_ref-13)** ["SingularityNET: A decentralized, open market and inter-network for AIs"](https://www.allcryptowhitepapers.com/wp-content/uploads/2018/05/SingularityNET.pdf) (PDF). *allcryptowhitepapers.com*. 2017-12-17.

1. **[^](#cite_ref-BurdenSavin-Baden2019_14-0)** David Burden; Maggi Savin-Baden (24 January 2019). [*Virtual Humans: Today and Tomorrow*](https://books.google.com/books?id=ySiFDwAAQBAJ&pg=PT303). CRC Press. [ISBN](/source/ISBN_(identifier)) [978-1-351-36526-0](https://en.wikipedia.org/wiki/Special:BookSources/978-1-351-36526-0). Retrieved 25 August 2020.

1. **[^](#cite_ref-GoertzelPennachin2014_15-0)** Ben Goertzel; Cassio Pennachin; Nil Geisweiller (8 July 2014). [*Engineering General Intelligence, Part 1: A Path to Advanced AGI via Embodied Learning and Cognitive Synergy*](https://books.google.com/books?id=5Wm5BQAAQBAJ&pg=PA23). Springer. pp. 23–. [ISBN](/source/ISBN_(identifier)) [978-94-6239-027-0](https://en.wikipedia.org/wiki/Special:BookSources/978-94-6239-027-0).

## External links

- [Official website](http://opencog.org)

- [OpenCog Wiki](http://wiki.opencog.org/w/The_Open_Cognition_Project)

- [AGI 2011: OpenCog - GoogleTechTalks](https://www.youtube.com/watch?v=x18yaOXBSQA) on [YouTube](/source/YouTube_video_(identifier))

- [AGI 2011: Architectures Part I - GoogleTechTalks](https://www.youtube.com/watch?v=Rgjw8O3vLBs) on [YouTube](/source/YouTube_video_(identifier))

- [Artificial General Intelligence: Now Is the Time - 2007 GoogleTechTalks](https://www.youtube.com/watch?v=5hsvCib83ME) on [YouTube](/source/YouTube_video_(identifier))

- [CogPrime: An Integrative Architecture for Embodied Artificial General Intelligence](http://wiki.opencog.org/w/CogPrime_Overview)

- [OpenCog: An Open Source Software Framework & A Design & Vision for Advanced AGI. Video](https://www.youtube.com/watch?v=qfwMV18is6M) on [YouTube](/source/YouTube_video_(identifier)) Given at Monash University Australia, Sept 2011. Adam Ford

- [Video introduction to OpenCog by Ben Goertzel Video](https://www.youtube.com/watch?v=mdLbg-anczk) on [YouTube](/source/YouTube_video_(identifier)). Ben speaks on OpenCog in Tai Po, Hong Kong, Dec 2011. Adam Ford

- [Ben Goertzel - the future of AGI - Open Cog development in Asia Video](https://www.youtube.com/watch?v=4xogjUqEQvY) on [YouTube](/source/YouTube_video_(identifier)) Adam Ford

v t e Existential risk from artificial intelligence Concepts AGI AI alignment AI boom AI capability control AI safety AI successionism AI takeover Deceptive alignment Effective accelerationism Ethics of artificial intelligence Existential risk from artificial intelligence Friendly artificial intelligence Instrumental convergence Intelligence explosion Longtermism Machine ethics Suffering risks Superintelligence Technological singularity Vulnerable world hypothesis Organizations AI Futures Project Alignment Research Center Center for AI Safety Center for Applied Rationality Center for Human-Compatible Artificial Intelligence Centre for the Study of Existential Risk Future of Humanity Institute Future of Life Institute Google DeepMind Institute for Ethics and Emerging Technologies Leverhulme Centre for the Future of Intelligence Machine Intelligence Research Institute METR OpenAI PauseAI Safe Superintelligence Stop AI People Scott Alexander Sam Altman Dario Amodei Yoshua Bengio Nick Bostrom Paul Christiano Eric Drexler Owain Evans Sam Harris Stephen Hawking Dan Hendrycks Geoffrey Hinton Bill Joy Daniel Kokotajlo Shane Legg Jan Leike Elon Musk Steve Omohundro Toby Ord Huw Price Martin Rees Stuart J. Russell Nate Soares Ilya Sutskever Jaan Tallinn Max Tegmark Alan Turing Frank Wilczek Roman Yampolskiy Eliezer Yudkowsky Books Do You Trust This Computer? Human Compatible If Anyone Builds It, Everyone Dies Our Final Invention Superintelligence: Paths, Dangers, Strategies The Precipice: Existential Risk and the Future of Humanity Other Artificial Intelligence Act Open letter on artificial intelligence Regulation of artificial intelligence US Statement on AI Risk Category

---
Adapted from the Wikipedia article [OpenCog](https://en.wikipedia.org/wiki/OpenCog) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/OpenCog?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
