Metadata-Version: 2.4
Name: earlyai-agent
Version: 0.1.1
Summary: LLM-powered automatic test generation for Python
Author-email: EarlyAI <support@startearly.ai>
License: commercial
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.0.0
Requires-Dist: libcst>=1.5.0
Requires-Dist: jedi>=0.19.2
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: claude-code-sdk>=0.0.14
Provides-Extra: dev
Requires-Dist: pytest>=7.4.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
Requires-Dist: mypy>=1.5.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"

# earlyai-agent

LLM-powered automatic test generation for Python.

## Status

🚧 **Currently in development** - API layer implemented, core functionality in progress.

## Installation

### Prerequisites

- Python 3.11+
- [uv](https://docs.astral.sh/uv/) (recommended)

### Install uv

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```

### Install earlyai-agent

```bash
# Clone the repository
cd /Users/patron/work/py-agent

# Install just (one time)
brew install just

# Install dependencies
just install
```

## Development

We use [just](https://github.com/casey/just) as our command runner.

### Available commands

```bash
just              # List all available commands
just test         # Run tests
just test-cov     # Run tests with coverage
just lint         # Lint code
just format       # Format code
just check        # Type check
just all          # Run all checks
just clean        # Clean build artifacts
```

### Run a Python script
```bash
uv run python your_script.py
```

## Quick Start (WIP)

```python
import asyncio
from py_agent import PyAgent, PyAgentConfig


async def main():
    # Create agent
    agent = PyAgent()

    # Initialize with API key
    await agent.init(api_key="your-api-key")

    # Get testables (not yet implemented)
    # testables = await agent.get_testables("src/**/*.py")


if __name__ == "__main__":
    asyncio.run(main())
```

## License

commercial
