Skip to main content

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

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)

Source distribution for hello-agent 0.1.1
File Size Uploaded
hello_agent-0.1.1.tar.gz 23.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hello-agent 0.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page