camel-ai / camel

🐫 CAMEL: Finding the Scaling Law of Agents. A multi-agent framework. https://www.camel-ai.org
https://docs.camel-ai.org/
Apache License 2.0
5.41k stars 664 forks source link

[Feature Request] Enhancing the Deductive Reasoning Capabilities of the "Deductive Reasoner Agent" with Mathematical Modeling (Stage 2) #387

Open Appointat opened 10 months ago

Appointat commented 10 months ago

Required prerequisites

Motivation

The "Deductive Reasoner Agent" is strategically designed to serve within multi-agent systems and is intricately linked to memory modules. Its pivotal role centers on deducing possible conditions and pinpointing unknown pieces of information based on provided tasks. By achieving this deduction, the agent can further conduct searches for these results within its memory storage. This sequence of operations is indispensable for establishing and ensuring efficient interactions between the agent and its surrounding environment. Currently, while the agent is rooted in its logical deduction abilities based on given parameters, there's a pressing need to bolster and refine this capability to more effectively serve its intended function within the multi-agent ecosystem and to optimize interfacing with the memory module.

Solution

Mathematical Model:

Given the expression: $L: (A \oplus A’ \oplus \cdot\cdot\cdot \oplus A^{(n)}) \oplus C \rightarrow q \times B$

Where:

Solutions: TBD

Alternatives

  1. Rule-based Reasoning: Apply predefined rules strictly within the mathematical model for deductions.

  2. Learning Models: Train learning models using historical data to predict $C$ within the mathematical framework.

  3. Combination of Deductive and Inductive Reasoning: Integrate inductive reasoning to allow the agent to make generalizations based on specific instances within the mathematical context.

Additional context

I have also proposed a simpler model before: [Feature Request] Enhancing the Deductive Reasoning Capabilities of the "Deductive Reasoner Agent" with Mathematical Modeling

Konisberg commented 7 months ago

Splendid! Really wonderful job! Well, it seems that camel.agents.deductive_reasoner_agent does not exist in camel.agents anymore https://camel-ai.github.io/camel/camel.html

Appointat commented 7 months ago

@Konisberg Thanks, the deductive_reasoner_agent is in the branch feature/multi-agent-prod. Well, this is a by-product of the multi-agent project. At present, this part has not been merged into the main branch. Hope you can understand the inconvenience.