A Python library for building flash agents
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flash_agents-0.1.0.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flash_agents-0.1.0.tar.gz.
File metadata
- Download URL: flash_agents-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b69d42170ec4612f043a6b20aff0a35065c1f9593357aa143988e24ba8552c7e
|
|
| MD5 |
538c86d59e92c057d1283bf5974df622
|
|
| BLAKE2b-256 |
93afed18870f80e7da35a257e43bac22dfbdbfcfd85f8a2130dcc74cada9bd60
|
File details
Details for the file flash_agents-0.1.0-py3-none-any.whl.
File metadata
- Download URL: flash_agents-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00f6ba55c3e1859c30a04b58b04bb8b30aeff148d6b6f55661611d7cb1aff81b
|
|
| MD5 |
c9ebae98a7be2ec9877a37bb528dfa18
|
|
| BLAKE2b-256 |
16c0952d71e768afbd4b4da00ef96369ce27ddd3d7b1246a5da91f8625942b16
|