Skip to main content

Hello World Agent - ReACT Methodology Demonstration System

Project description

Hello World Agent

A simple demonstration agent using the ReACT methodology for analyzing and executing tasks.

Quick Install

pip install hello_agent

Prerequisites

  • Python 3.8 or higher
  • OpenRouter API key (for LLM access)

Installation

  1. Install the package:

    pip install hello_agent
    
  2. Add your OpenRouter API key to the .env file:

    OPENROUTER_API_KEY=your_api_key_here
    

Usage

The agent can be run in two ways:

  1. Using the command-line tool:

    agent --prompt "What is quantum computing?" --task research
    
  2. Using Python code:

    from agent.crew import HelloWorldCrew
    
    crew = HelloWorldCrew()
    result = crew.run(prompt="What is quantum computing?", task_type="research")
    

Command Line Arguments

  • --prompt: Specify the input prompt (default: "Tell me about yourself")
  • --task: Specify the task type: research, execute, analyze, or both (default: both)
  • --hitl: Enable human-in-the-loop mode (optional)

Example:

agent --prompt "What is quantum computing?" --task research --hitl

Features

  • ReACT Methodology Implementation
  • Research Analysis
  • Task Execution
  • Performance Analysis
  • Progress Tracking
  • Streaming Responses
  • Optional Human-in-the-Loop Mode

Documentation

For detailed documentation and user guides, refer to:

Examples

Explore the Examples directory for sample usage scenarios and human-in-the-loop implementations.

Project Structure

hello_world/
├── config/              # Configuration files
│   ├── agents.yaml     # Agent definitions
│   ├── tasks.yaml      # Task definitions
│   └── analysis.yaml   # Analysis rules
├── tools/              # Custom tools
├── docs/               # Documentation
└── examples/           # Example implementations

Contributing

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

License

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

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hello_agent-0.1.1.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hello_agent-0.1.1-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file hello_agent-0.1.1.tar.gz.

File metadata

  • Download URL: hello_agent-0.1.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for hello_agent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5a809cb71d4b15e2e195d62ab6f3313700621ddc8f9ae0269e4fc63230cb8e48
MD5 67d909384c3827eedc6af11bcc499791
BLAKE2b-256 a3fc02c6020a13a1d4696f6162a147b6f14528bda51211b03be4362121cc600a

See more details on using hashes here.

File details

Details for the file hello_agent-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: hello_agent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for hello_agent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f634d1de7fc7a6c76b2090f75b7cc4bd2747990b35e255185dc3b38e90b3428
MD5 2bb5a6742ec965bedca725075f1bd65c
BLAKE2b-256 ebddd06eb48574f7dca5b794e6873103c464a480eee48e789d4cac0a48c25d6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page