agents-for-all
Modular agent framework combining LLMs and tools.
Designed to help developers quickly build task-solving agents using large language models and pluggable toolchains.
✨ Features
- 🔌 Pluggable tool architecture
- 🤖 LLM integration (OpenAI, Anthropic, Gemini, Direct, etc.)
- 🧪 Built-in testing with
pytest - 📝 Documentation support via
sphinx - ⚡ Fast dependency management using
uv
📦 Installation and Usage
pip install agents-for-all
from agents_for_all import Agent
from agents_for_all.llms.direct import DirectModel
from agents_for_all.tools.python import Python
llm = DirectModel(
api_endpoint="http://localhost:1234/v1/chat/completions",
model="deepseek-r1-distill-qwen-14b"
)
agent = Agent(llm=llm, tools=[Python()])
result = agent.do("Generate a Fibonacci sequence of length 10.")
print(result.output) # Final output
print(result.history) # History of steps taken
🤝 Contributing
- Fork this repository
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -am 'Add YourFeature') - Push to the branch (
git push origin feature/YourFeature) - Create a new Pull Request
Prerequisites
- Python 3.10+
uvinstalled:curl -Ls https://astral.sh/uv/install.sh | sh
Installation
Create a virtual environment and install dependencies:
uv sync --extra dev
🧪 Running Tests
uv run pytest
📚 Documentation
To build the Sphinx docs (if configured):
uv run sphinx-build docs docs/_build
🛠 Project Structure (Sample)
agents_for_all/
├── agent.py # Agent class
├── tools/ # Modular tools the agent can use
├── llms/ # Collection of LLMs the agent can connect to
├── tests/ # Pytest test cases
├── README.md
├── pyproject.toml
└── .gitignore
📄 License
Apache License 2.0
🔗 Links
- 📦 GitHub: agents-for-all
- ✉️ Maintainer: Sailesh Dhungana
- 📘 Docs: dhungana.github.io/agents-for-all
- 📦 PyPI: agents-for-all
Metadata
Release files for agents-for-all 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agents_for_all-0.1.5.tar.gz | 13.7 kB | Without provenance | Details for agents_for_all-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agents_for_all-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for agents_for_all-0.1.5-py3-none-any.whl |
Total release size: 31.6 kB
Release files / agents_for_all-0.1.5.tar.gz
| Download URL | agents_for_all-0.1.5.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
458b81d22875a076dd07bca5f6b627549820503b23a6304492d9f93acb25e958
|
|
BLAKE2b-256 checksum How to use checksums |
9113b3bf4f2c81b64cd31f318f74155a27a22793d72860b6f915b0e14ef6ed34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Release files / agents_for_all-0.1.5-py3-none-any.whl
| Download URL | agents_for_all-0.1.5-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95a62b786a1db6b16b682f90b91e86f755ebddf9461f3f600288eebeddb2fcfc
|
|
BLAKE2b-256 checksum How to use checksums |
f8fb22c842d6b12bce3945a777827480e47f232f8d143b8d9e6027461c1376d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Security for agents-for-all 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.