Inspiration

What it does

How we did it

Challenges we faced

What is it

Harmony Development is a new programming language and architecture based on the principles of Formal Dialectical Logic (FDL). Its goal is to rethink the way we think and build systems in the face of contradictions.

Why

  • Create a universal programming language that supports multiple logical paradigms (FDL, pragma, analytics).
  • Integrate FDL into the operation of AI systems and agents, ensuring the resolution of contradictions in logical decisions and settings.
  • Provide a flexible environment for managing urban infrastructure, promoting development and education.
  • Support for connection to Telegram, OpenAI, and other API services for creating conversational agents and logical interfaces.

What I do

  • intend to create AI agents that can resolve logical conflicts and correct decisions. - Includes tools for bots and messenger agents operating in various logical modes (FDL, pragma, analytics).
  • Focused on application in modern integrated management (water, transport, resources), as well as in education and culture.
  • Provides visual tools for teaching formal logic and systems thinking.

Harmony Language Architecture

  • Parser — analyzes source code and builds AST.
  • Lexer — Defines lexemes, operator forms, keywords (thesis, antithesis, synthesis).
  • Grammar — formalizes the language structure: FDL operators, synthesis, pragma, logic_gate, collapse.
  • Libraries — modules for systems thinking, control agents, and resonant logic.
  • FDL Engine — nuclear logic processing: synthesis generation and contradiction checking.
  • PragmaLayer — application logic and action interfaces.

Development

  • Core source code: fdl_core.py, svet_filter.py, harmony_grammar.json.
  • GPT/Telegram integration: agents/harmony_bot.py.
  • Plans include developing a visual FDL process editor.

License

The project is licensed under the Harmony License v1.0: personal and non-commercial use is free, commercial use requires a separate license. We also use Apache 2.0 for the FDL base code and methodologies.

Proud Achievements

What We've Learned

What's Next for Harmony: Formal Dialectical Programming for AI and Society

Built With

  • ai-agents
  • formal-dialectical-logic-(fdl)
  • gpt
  • python
  • telegram-api
Share this project:

Updates