Skip to content

AutoGroqAgent is a Streamlit-based demo application designed to showcase the powerful new AutonomousAgent class introduced in PocketGroq v0.5.x. This demo provides a hands-on experience with the advanced capabilities of the AutonomousAgent, demonstrating its potential for creating intelligent, autonomous AI assistants.

Notifications You must be signed in to change notification settings

jgravelle/AutogroqAgent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoGroqAgent

image

Showcase for PocketGroq's New AutonomousAgent

AutoGroqAgent is a Streamlit-based demo application designed to showcase the powerful new AutonomousAgent class introduced in PocketGroq v0.5.x. This demo provides a hands-on experience with the advanced capabilities of the AutonomousAgent, demonstrating its potential for creating intelligent, autonomous AI assistants.

What's New in PocketGroq v0.5.x?

PocketGroq v0.5.x introduces the game-changing AutonomousAgent class, a sophisticated AI agent that can:

  • Process user requests with enhanced understanding
  • Autonomously research and gather information from multiple sources
  • Evaluate and refine responses for accuracy and relevance
  • Provide detailed, step-by-step insights into its decision-making process

Features of AutoGroqAgent Demo

  • Interactive Chat Interface: Engage with the AutonomousAgent through a user-friendly Streamlit chat interface.
  • Model Selection: Choose from a variety of Groq's cutting-edge language models.
  • Temperature Control: Fine-tune the agent's creativity and randomness.
  • Transparent Research Process: View the agent's step-by-step research and reasoning.
  • Persistent Conversation History: Maintain context across multiple interactions.

Exciting Possibilities with AutonomousAgent

The new AutonomousAgent class opens up a world of possibilities for developers:

  1. Advanced Virtual Assistants: Create AI assistants that can handle complex, multi-step tasks autonomously.
  2. Intelligent Research Tools: Develop applications that can gather, synthesize, and present information from diverse sources.
  3. Adaptive Learning Systems: Build educational tools that can explain concepts, answer follow-up questions, and provide tailored learning experiences.
  4. Automated Content Creation: Generate well-researched, factually accurate content for various purposes.
  5. Smart Decision Support Systems: Assist in decision-making processes by providing comprehensive, well-researched insights.
  6. Dynamic Customer Support: Implement AI-driven customer service solutions that can resolve queries efficiently and learn from interactions.
  7. Innovative Healthcare Solutions: Design AI systems that can assist in diagnostics, patient monitoring, and personalized treatment plans.
  8. Creative Media Production: Use AI to assist in scriptwriting, video editing, and other creative processes.

Getting Started

Prerequisites

  • Python 3.7+
  • PocketGroq v0.5.x
  • Streamlit
  • A valid Groq API key

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/AutoGroqAgent.git
    cd AutoGroqAgent
    
  2. Install required packages:

    pip install -r requirements.txt
    
  3. Set up your Groq API key:

    • Create a .env file in the project root
    • Add your API key: GROQ_API_KEY=your_api_key_here

Running the Demo

Launch the Streamlit app:

streamlit run autogroq_agent.py

Using AutoGroqAgent in Your Projects

While AutoGroqAgent serves as a demo, the real power lies in integrating the AutonomousAgent class into your own projects. Here's a quick example:

from pocketgroq import GroqProvider
from pocketgroq.autonomous_agent import AutonomousAgent

groq_provider = GroqProvider(api_key="your_api_key")
agent = AutonomousAgent(groq_provider)

response = agent.process_request("What are the latest developments in quantum computing?")
for step in response:
    if step['type'] == 'response':
        print("Final Answer:", step['content'])
    else:
        print("Research Step:", step['content'])

Contributing

We welcome contributions! Please see our CONTRIBUTING.md for details on how to get started.

License

This project is licensed under the MIT License. Mention J. Gravelle in your docs and code if you use any of this. He's kinda full of himself...


Unlock the full potential of AI with PocketGroq's AutonomousAgent. Try AutoGroqAgent today and experience the future of intelligent, self-driven AI assistants!

image

About

AutoGroqAgent is a Streamlit-based demo application designed to showcase the powerful new AutonomousAgent class introduced in PocketGroq v0.5.x. This demo provides a hands-on experience with the advanced capabilities of the AutonomousAgent, demonstrating its potential for creating intelligent, autonomous AI assistants.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages