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
Metadata
Release files for hello-agent 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hello_agent-0.1.1.tar.gz | 23.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hello_agent-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.8 kB
Release files / hello_agent-0.1.1.tar.gz
| Download URL | hello_agent-0.1.1.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a809cb71d4b15e2e195d62ab6f3313700621ddc8f9ae0269e4fc63230cb8e48
|
|
BLAKE2b-256 checksum How to use checksums |
a3fc02c6020a13a1d4696f6162a147b6f14528bda51211b03be4362121cc600a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|
Release files / hello_agent-0.1.1-py3-none-any.whl
| Download URL | hello_agent-0.1.1-py3-none-any.whl |
|---|---|
| Size | 31.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f634d1de7fc7a6c76b2090f75b7cc4bd2747990b35e255185dc3b38e90b3428
|
|
BLAKE2b-256 checksum How to use checksums |
ebddd06eb48574f7dca5b794e6873103c464a480eee48e789d4cac0a48c25d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.1
|