Skip to content

kiranbeethoju/agentmatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentMatrix

AgentMatrix is an open-source framework for building and orchestrating AI agents. It provides a flexible and extensible architecture for creating, managing, and interacting with various types of AI agents, including language models and search engines.

Features

  • Modular agent architecture
  • Easy integration with DuckDuckGo for web searches
  • Seamless interaction with OpenAI's language models
  • Extensible base classes for creating custom agents
  • Logging system for transparency and debugging

Installation

Install AgentMatrix using pip:

pip install agentmatrix

Quick Start

Here's a simple example of how to use AgentMatrix:

from agentmatrix import MultiAgentSystem

# Initialize the system
mas = MultiAgentSystem()

# Add agents
mas.add_duckduckgo_agent()
mas.add_llm_agent(api_key="sk-uAbo-mUMIA", model="gpt-4")

# Process a query
conclusion = mas.process_query(
    search_term="current trends in stock and share market",
    expert_type="Financial Market Expert",
    expert_description="You are an expert in the latest trends and developments in the global stock and share market.",
    user_prompt="Provide insights into the current trends and developments in the stock and share market. Include reference links.",
    response_format="json",
    listed_urls=["https://www.marketwatch.com/", "https://www.bloomberg.com/markets"] #which URLs should be referred
)


print(conclusion)

Documentation

For detailed documentation, please visit our GitHub Wiki.

Contributing

We welcome contributions from the community! Here are some ways you can contribute:

  1. Feature Additions: Have an idea for a new agent type or functionality? We'd love to hear it! Open an issue to discuss your idea or submit a pull request with your implementation.

  2. Bug Fixes: Found a bug? Please open an issue describing the problem or submit a pull request with a fix.

  3. Documentation: Help improve our documentation by fixing errors or adding examples.

  4. Testing: Expand our test coverage or improve existing tests.

To contribute:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please read our Contributing Guidelines for more details.

Roadmap

  • Add support for more LLM providers
  • Implement agent chaining and workflows
  • Create a web interface for agent management
  • Develop more specialized agents (e.g., for data analysis, code generation)
  • Implement caching mechanisms for improved performance

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Kiran Beethoju - @kiranbeethoju

Project Link: https://github.com/kiranbeethoju/agentmatrix

Acknowledgements

  • OpenAI for their amazing language models
  • DuckDuckGo for their search API
  • All the contributors who have helped shape this project

Join us in making LLM agent frameworks more powerful and accessible!

About

pip package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages