Skip to main content

LLM-powered automatic test generation for Python

Project description

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 (recommended)

Install uv

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

Install earlyai-agent

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

# Install just (one time)
brew install just

# Install dependencies
just install

Development

We use just as our command runner.

Available commands

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

uv run python your_script.py

Quick Start (WIP)

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earlyai_agent-0.1.1.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

earlyai_agent-0.1.1-py3-none-any.whl (68.5 kB view details)

Uploaded Python 3

File details

Details for the file earlyai_agent-0.1.1.tar.gz.

File metadata

  • Download URL: earlyai_agent-0.1.1.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for earlyai_agent-0.1.1.tar.gz
Algorithm Hash digest
SHA256 560b7db69e600df3f878ea0ce01e7dd5c95da14343ad46754129f8a6b3223cb0
MD5 0707111bc630d0e147b6b9b146e33a4d
BLAKE2b-256 b73ae348d74161e07a5bc6f2e04604d39b8744487e614ee38d5b43ea6ccdf7d1

See more details on using hashes here.

File details

Details for the file earlyai_agent-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: earlyai_agent-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 68.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for earlyai_agent-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b26b050f282319a7e9d22b0dee228b0182dea043cc03655efc853ea9d9869c5a
MD5 eba3014131ff0ac9b008eca5b0b32b9d
BLAKE2b-256 b275bf76507250a0fbd34a69be9fcc022d51db7c104625976defd34cb4288c88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page