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
-
Install the package:
pip install hello_agent
-
Add your OpenRouter API key to the
.envfile:OPENROUTER_API_KEY=your_api_key_here
Usage
The agent can be run in two ways:
-
Using the command-line tool:
agent --prompt "What is quantum computing?" --task research
-
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:
- User Guide
- Templates Guide
- Tools Guide
- Configuration Guide
- Advanced Implementations Guide
- Memory and Storage Guide
- Human-in-the-Loop Guide
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
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built with CrewAI
- Powered by OpenRouter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a809cb71d4b15e2e195d62ab6f3313700621ddc8f9ae0269e4fc63230cb8e48
|
|
| MD5 |
67d909384c3827eedc6af11bcc499791
|
|
| BLAKE2b-256 |
a3fc02c6020a13a1d4696f6162a147b6f14528bda51211b03be4362121cc600a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f634d1de7fc7a6c76b2090f75b7cc4bd2747990b35e255185dc3b38e90b3428
|
|
| MD5 |
2bb5a6742ec965bedca725075f1bd65c
|
|
| BLAKE2b-256 |
ebddd06eb48574f7dca5b794e6873103c464a480eee48e789d4cac0a48c25d6b
|