AYN - Agents You Need
The meta-framework for AI agent interoperability
Think "pip + Docker Hub + Postman" for AI agents.
🎯 Vision
AYN solves the agent discovery and integration problem by providing:
- Unified Search across GitHub, HuggingFace, and awesome lists
- Standard Controller Interface for invoking any agent
- HTTP/REST Export via FastAPI and LangServe
- MCP Support for Model Context Protocol integration
- Custom Actions for ChatGPT and Claude
Status: early. The registry, the controller interface and the FastAPI/MCP/ChatGPT exports work. The GitHub, Hugging Face and awesome-list searchers are not implemented (they raise
NotImplementedError, andAgentRegistry.searchwarns and skips them), and the CrewAI/LangChain/AutoGen controllers are placeholders that echo their input like the generic controller. See the roadmap below. Todayregistry.searchfinds agents you registered yourself.
🚀 Quick Start
from ayn import AgentRegistry, BaseAgentController, export_agent_full_stack
# 1. Search for agents
registry = AgentRegistry()
results = registry.search("data preparation")
# 2. Create controller
controller = BaseAgentController.from_metadata(results[0])
# 3. Use the agent
result = controller.invoke({"data": [1, 2, 3]})
# 4. Export with all integrations
artifacts = export_agent_full_stack(
controller, results[0], export_fastapi=True, export_mcp=True, export_chatgpt=True
)
📦 Installation
# Basic installation
pip install ayn
# With FastAPI support
pip install ayn[fastapi]
# With LangServe support
pip install ayn[langserve]
# Full installation
pip install ayn[all]
📚 Documentation
- Getting Started - Quick introduction and setup
- README - Complete documentation
- API Reference - Detailed API documentation
- Quick Reference - Common patterns and snippets
- Implementation Roadmap - Future development plans
🏗️ Architecture
┌─────────────────────────────────────────────────────────────┐
│ AYN Framework │
├─────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Search │ │ Controller │ │ Export │ │
│ │ Registry │ │ Interface │ │ Layer │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
│ │ │ │ │
│ ┌──────▼──────┐ ┌────────▼────────┐ ┌─────▼─────┐ │
│ │ GitHub │ │ BaseAgent │ │ FastAPI │ │
│ │ HuggingFace│ │ Controller │ │ LangServe│ │
│ │ AwesomeLists│ └─────────────────┘ └───────────┘ │
│ └─────────────┘ │
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ MCP Layer │ │ Actions │ │ Frameworks │ │
│ │ Tools │ │ ChatGPT │ │ CrewAI │ │
│ │ Resources │ │ Claude │ │ LangChain │ │
│ │ Prompts │ │ Gemini │ │ AutoGen │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────────────┘
🎓 Examples
See the examples/ directory for complete working examples:
- basic_usage.py - Basic registry and controller usage
- fastapi_deployment.py - Deploy as HTTP API
- mcp_integration.py - MCP protocol integration
- tutorial.py - Comprehensive tutorial
🗺️ Roadmap
Phase 1: Core ✅ (Complete)
- ✅ Agent metadata and registry
- ✅ Standard controller interface
- ✅ FastAPI export
- ✅ MCP server support
- ✅ ChatGPT/Claude actions
Phase 2: Search (In Progress)
- ⏳ GitHub API integration
- ⏳ HuggingFace search
- ⏳ Awesome list parsing
- ⏳ Caching and indexing
Phase 3: Installation (TODO)
- ⬜ Dependency management (uv/pipx)
- ⬜ Docker support
- ⬜ Environment isolation
- ⬜ Version management
Phase 4: Frameworks (TODO)
- ⬜ CrewAI integration
- ⬜ LangChain/LangGraph integration
- ⬜ AutoGen integration
- ⬜ SmolAgents integration
See AYN_IMPLEMENTATION_ROADMAP.md for detailed plans.
🤝 Contributing
Contributions welcome! Key areas:
- Searchers: Implement real API integrations
- Controllers: Add framework-specific controllers
- Export: Additional export formats
- Tools: MCP tools and resources
- Documentation: Examples and guides
📄 License
MIT License - see LICENSE file
🙏 Acknowledgments
Built on top of:
- FastAPI for HTTP APIs
- LangServe for LangChain integration
- Model Context Protocol (Anthropic)
AYN - Making AI agents discoverable, interoperable, and deployable. 🚀
Metadata
Release files for ayn 0.0.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 |
|---|---|---|---|---|
| ayn-0.0.5.tar.gz | 70.8 kB | Without provenance | Details for ayn-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ayn-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for ayn-0.0.5-py3-none-any.whl |
Total release size: 92.4 kB
Release files / ayn-0.0.5.tar.gz
| Download URL | ayn-0.0.5.tar.gz |
|---|---|
| Size | 70.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2562f9dcbbbb6afa15d7cce2ae606b2bd61d1b946c48c1f0fc53e8db3837cf9a
|
|
BLAKE2b-256 checksum How to use checksums |
b86515a2f53ec5ff2528af70db2f92272c1d121af9740e77ab314b606bba12d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / ayn-0.0.5-py3-none-any.whl
| Download URL | ayn-0.0.5-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b55e85a34e213a9f41caaec4288183b9f198b0356bbf76dd75d80a6e54639cc
|
|
BLAKE2b-256 checksum How to use checksums |
0cf3f07e4827c0a9d56ac0da46d41092ac06e1b31eacc1a5cd8ed2aae4f4667e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for ayn 0.0.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.