flash-agents
A template Python library for building agents — powered by uv.
Installation
pip install flash-agents
Or with uv:
uv add flash-agents
Quick Start
from flash_agents import Agent
class MyAgent(Agent):
def run(self, input: str, **kwargs) -> str:
return f"Result: {input}"
agent = MyAgent()
print(agent.run("hello"))
Development Setup
# Clone the repo
git clone https://github.com/yourusername/flash-agents.git
cd flash-agents
# Install with dev dependencies using uv
uv sync --all-extras --dev
# Run tests
uv run pytest
# Lint
uv run ruff check .
# Format
uv run ruff format .
# Type check
uv run mypy src/
Project Layout
flash-agents/
├── src/
│ └── flash_agents/
│ ├── __init__.py # Public API
│ ├── agent.py # Abstract Agent base class
│ ├── py.typed # PEP 561 marker
│ └── examples/
│ └── echo_agent.py # Minimal example
├── tests/
│ └── test_agent.py
├── .github/
│ └── workflows/
│ └── publish.yml # Auto-publish to PyPI on version tags
├── pyproject.toml
└── README.md
Publishing to PyPI
See PUBLISHING.md for step-by-step upload instructions.
License
MIT
Metadata
Release files for flash-agents 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flash_agents-0.1.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flash_agents-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / flash_agents-0.1.0.tar.gz
| Download URL | flash_agents-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b69d42170ec4612f043a6b20aff0a35065c1f9593357aa143988e24ba8552c7e
|
|
BLAKE2b-256 checksum How to use checksums |
93afed18870f80e7da35a257e43bac22dfbdbfcfd85f8a2130dcc74cada9bd60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / flash_agents-0.1.0-py3-none-any.whl
| Download URL | flash_agents-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00f6ba55c3e1859c30a04b58b04bb8b30aeff148d6b6f55661611d7cb1aff81b
|
|
BLAKE2b-256 checksum How to use checksums |
16c0952d71e768afbd4b4da00ef96369ce27ddd3d7b1246a5da91f8625942b16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|