Skip to content

toNyc2017/openai-agents-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI Agents Python

This project contains Python scripts for automating email extraction from Outlook using OpenAI agents.

Project Structure

  • examples/email_extraction/ - Contains scripts for email extraction
    • main.py - Main email extraction script with agent-based architecture
    • main_small.py - Simplified version for testing
    • test_main.py - Test scripts

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/openai-agents-python.git
cd openai-agents-python
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up credentials:
cp secrets.json.template secrets.json
# Edit secrets.json with your credentials

Usage

  1. For basic email extraction:
python examples/email_extraction/main_small.py
  1. For full agent-based extraction:
python examples/email_extraction/main.py

Git Operations

Use the provided git_ops.sh script for automated Git operations:

# Make the script executable
chmod +x git_ops.sh

# Basic usage
./git_ops.sh

# With commit message
./git_ops.sh "Your commit message here"

Security

  • Never commit secrets.json to Git
  • Keep your GitHub credentials secure
  • Use SSH keys for GitHub authentication

About

A lightweight, powerful framework for multi-agent workflows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.5%
  • HTML 44.3%
  • Other 0.2%