agentcenter


Nameagentcenter JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryAgent Center - A Python project built with LangChain for managing AI agents
upload_time2025-10-27 04:35:49
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseMIT
keywords agents ai conversational-ai langchain langchain-agents llm
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Agent Center

Agent Center - A Python project built with LangChain for managing AI agents.

## Features

- Built with LangChain for powerful AI agent capabilities
- Clean project structure following Python best practices
- Type hints and Pydantic models for data validation
- Comprehensive test suite with pytest
- Code formatting with Black and Ruff
- Type checking with Mypy

## Project Structure

```
agentcenter/
\x00\x00 src/
   \x00\x00 agentcenter/
       \x00\x00 __init__.py       # Package initialization
       \x00\x00 core.py           # Core agent functionality
       \x00\x00 config.py         # Configuration management
       \x00\x00 utils.py          # Utility functions
\x00\x00 tests/
   \x00\x00 __init__.py
   \x00\x00 test_core.py          # Core functionality tests
   \x00\x00 test_utils.py         # Utility function tests
\x00\x00 docs/                     # Documentation
\x00\x00 scripts/                  # Utility scripts
\x00\x00 pyproject.toml           # Project configuration
\x00\x00 README.md                # This file
```

## Installation

### Prerequisites

- Python 3.12 or higher
- [uv](https://docs.astral.sh/uv/) package manager

### Setup

1. Clone the repository:
```bash
git clone <your-repo-url>
cd agentcenter
```

2. Install dependencies:
```bash
uv sync
```

3. Install development dependencies:
```bash
uv add --dev pytest pytest-cov black ruff mypy
```

## Usage

### Basic Usage

```python
from agentcenter import AgentCenter

# Create an agent
agent = AgentCenter(name="MyAgent")

# Process input
response = agent.process("Hello, agent!")
print(response)

# Get conversation history
messages = agent.get_messages()
```

### Running with uv

```bash
# Run the main script
uv run python main.py

# Run a specific module
uv run python -m agentcenter.core
```

## Development

### Running Tests

Our test suite has **99% code coverage** with 56 comprehensive tests!

```bash
# Run all tests
uv run pytest

# Run with coverage report
uv run pytest --cov=agentcenter --cov-report=term-missing

# Generate HTML coverage report
uv run pytest --cov=agentcenter --cov-report=html
open htmlcov/index.html

# Run specific test file
uv run pytest tests/test_core.py

# Run with verbose output
uv run pytest -v
```

**Test Coverage:**
- `__init__.py`: 100%
- `cli.py`: 97%
- `config.py`: 100%
- `core.py`: 100%
- `utils.py`: 100%
- **Total: 99%**

### Code Formatting

```bash
# Format code with Black
uv run black src/ tests/

# Lint with Ruff
uv run ruff check src/ tests/

# Type check with Mypy
uv run mypy src/
```

### Installing Dev Dependencies

```bash
uv add --dev pytest pytest-cov black ruff mypy
```

## Configuration

The project uses environment variables for configuration. Create a `.env` file in the root directory:

```env
APP_NAME=Agent Center
DEBUG=false
LOG_LEVEL=INFO
API_KEY=your-api-key-here
```

## Publishing

To publish a new version to PyPI:

### Quick Release

```bash
# Use the automated release script
./scripts/release.sh 0.1.0
```

### Manual Release

```bash
# 1. Update version in pyproject.toml
# 2. Update CHANGELOG.md
# 3. Run tests and checks
uv run pytest --cov=agentcenter --cov-fail-under=80
uv run black src/ tests/
uv run ruff check src/ tests/

# 4. Build and publish
uv build
uv run twine upload --repository testpypi dist/*  # Test first
uv run twine upload dist/*                         # Then publish
```

See [Publishing Guide](docs/publishing.md) for detailed instructions.

## Contributing

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

Please ensure your PR:
- ✅ Passes all tests (`uv run pytest`)
- ✅ Has adequate test coverage (≥80%)
- ✅ Follows code style (`uv run black src/ tests/`)
- ✅ Passes linting (`uv run ruff check src/ tests/`)

## License

This project is licensed under the MIT License - see the LICENSE file for details.

## Contact

Your Name - your.email@example.com

Project Link: [https://github.com/yourusername/agentcenter](https://github.com/yourusername/agentcenter)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "agentcenter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": "Your Name <your.email@example.com>",
    "keywords": "agents, ai, conversational-ai, langchain, langchain-agents, llm",
    "author": null,
    "author_email": "Your Name <your.email@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/1f/79/6c1d01b2c9dcd78b58a3cacf320afa2b1269537a718c461ac42442a0117f/agentcenter-0.1.0.tar.gz",
    "platform": null,
    "description": "# Agent Center\n\nAgent Center - A Python project built with LangChain for managing AI agents.\n\n## Features\n\n- Built with LangChain for powerful AI agent capabilities\n- Clean project structure following Python best practices\n- Type hints and Pydantic models for data validation\n- Comprehensive test suite with pytest\n- Code formatting with Black and Ruff\n- Type checking with Mypy\n\n## Project Structure\n\n```\nagentcenter/\n\u001c\\x00\\x00 src/\n\u0002   \u0014\\x00\\x00 agentcenter/\n\u0002       \u001c\\x00\\x00 __init__.py       # Package initialization\n\u0002       \u001c\\x00\\x00 core.py           # Core agent functionality\n\u0002       \u001c\\x00\\x00 config.py         # Configuration management\n\u0002       \u0014\\x00\\x00 utils.py          # Utility functions\n\u001c\\x00\\x00 tests/\n\u0002   \u001c\\x00\\x00 __init__.py\n\u0002   \u001c\\x00\\x00 test_core.py          # Core functionality tests\n\u0002   \u0014\\x00\\x00 test_utils.py         # Utility function tests\n\u001c\\x00\\x00 docs/                     # Documentation\n\u001c\\x00\\x00 scripts/                  # Utility scripts\n\u001c\\x00\\x00 pyproject.toml           # Project configuration\n\u0014\\x00\\x00 README.md                # This file\n```\n\n## Installation\n\n### Prerequisites\n\n- Python 3.12 or higher\n- [uv](https://docs.astral.sh/uv/) package manager\n\n### Setup\n\n1. Clone the repository:\n```bash\ngit clone <your-repo-url>\ncd agentcenter\n```\n\n2. Install dependencies:\n```bash\nuv sync\n```\n\n3. Install development dependencies:\n```bash\nuv add --dev pytest pytest-cov black ruff mypy\n```\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom agentcenter import AgentCenter\n\n# Create an agent\nagent = AgentCenter(name=\"MyAgent\")\n\n# Process input\nresponse = agent.process(\"Hello, agent!\")\nprint(response)\n\n# Get conversation history\nmessages = agent.get_messages()\n```\n\n### Running with uv\n\n```bash\n# Run the main script\nuv run python main.py\n\n# Run a specific module\nuv run python -m agentcenter.core\n```\n\n## Development\n\n### Running Tests\n\nOur test suite has **99% code coverage** with 56 comprehensive tests!\n\n```bash\n# Run all tests\nuv run pytest\n\n# Run with coverage report\nuv run pytest --cov=agentcenter --cov-report=term-missing\n\n# Generate HTML coverage report\nuv run pytest --cov=agentcenter --cov-report=html\nopen htmlcov/index.html\n\n# Run specific test file\nuv run pytest tests/test_core.py\n\n# Run with verbose output\nuv run pytest -v\n```\n\n**Test Coverage:**\n- `__init__.py`: 100%\n- `cli.py`: 97%\n- `config.py`: 100%\n- `core.py`: 100%\n- `utils.py`: 100%\n- **Total: 99%**\n\n### Code Formatting\n\n```bash\n# Format code with Black\nuv run black src/ tests/\n\n# Lint with Ruff\nuv run ruff check src/ tests/\n\n# Type check with Mypy\nuv run mypy src/\n```\n\n### Installing Dev Dependencies\n\n```bash\nuv add --dev pytest pytest-cov black ruff mypy\n```\n\n## Configuration\n\nThe project uses environment variables for configuration. Create a `.env` file in the root directory:\n\n```env\nAPP_NAME=Agent Center\nDEBUG=false\nLOG_LEVEL=INFO\nAPI_KEY=your-api-key-here\n```\n\n## Publishing\n\nTo publish a new version to PyPI:\n\n### Quick Release\n\n```bash\n# Use the automated release script\n./scripts/release.sh 0.1.0\n```\n\n### Manual Release\n\n```bash\n# 1. Update version in pyproject.toml\n# 2. Update CHANGELOG.md\n# 3. Run tests and checks\nuv run pytest --cov=agentcenter --cov-fail-under=80\nuv run black src/ tests/\nuv run ruff check src/ tests/\n\n# 4. Build and publish\nuv build\nuv run twine upload --repository testpypi dist/*  # Test first\nuv run twine upload dist/*                         # Then publish\n```\n\nSee [Publishing Guide](docs/publishing.md) for detailed instructions.\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\nPlease ensure your PR:\n- \u2705 Passes all tests (`uv run pytest`)\n- \u2705 Has adequate test coverage (\u226580%)\n- \u2705 Follows code style (`uv run black src/ tests/`)\n- \u2705 Passes linting (`uv run ruff check src/ tests/`)\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contact\n\nYour Name - your.email@example.com\n\nProject Link: [https://github.com/yourusername/agentcenter](https://github.com/yourusername/agentcenter)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Agent Center - A Python project built with LangChain for managing AI agents",
    "version": "0.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/yourusername/agentcenter/issues",
        "Changelog": "https://github.com/yourusername/agentcenter/blob/main/CHANGELOG.md",
        "Documentation": "https://github.com/yourusername/agentcenter#readme",
        "Homepage": "https://github.com/yourusername/agentcenter",
        "Repository": "https://github.com/yourusername/agentcenter"
    },
    "split_keywords": [
        "agents",
        " ai",
        " conversational-ai",
        " langchain",
        " langchain-agents",
        " llm"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "cc6c439b5976cfeb9ae5ecb2f752bd9f8246d4af3e535b861c684594be420b4b",
                "md5": "20212f5c6011802127481f7659ac728b",
                "sha256": "e4cc8de672fd76168fad3f72e480121a7df530a08afbff5f6f98d755a7a04002"
            },
            "downloads": -1,
            "filename": "agentcenter-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "20212f5c6011802127481f7659ac728b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 7251,
            "upload_time": "2025-10-27T04:35:46",
            "upload_time_iso_8601": "2025-10-27T04:35:46.727322Z",
            "url": "https://files.pythonhosted.org/packages/cc/6c/439b5976cfeb9ae5ecb2f752bd9f8246d4af3e535b861c684594be420b4b/agentcenter-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1f796c1d01b2c9dcd78b58a3cacf320afa2b1269537a718c461ac42442a0117f",
                "md5": "e412304de8087814730bb7437576392f",
                "sha256": "c23c68b1acd7b7c629cf2c378232a13e8cd41c8bdbefa57a79cdc0787d5c2208"
            },
            "downloads": -1,
            "filename": "agentcenter-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e412304de8087814730bb7437576392f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 103919,
            "upload_time": "2025-10-27T04:35:49",
            "upload_time_iso_8601": "2025-10-27T04:35:49.971868Z",
            "url": "https://files.pythonhosted.org/packages/1f/79/6c1d01b2c9dcd78b58a3cacf320afa2b1269537a718c461ac42442a0117f/agentcenter-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-27 04:35:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "agentcenter",
    "github_not_found": true,
    "lcname": "agentcenter"
}
        
Elapsed time: 2.04201s