Skip to main content

Agents You Need -- Tools to search and access the AI agents you need

Project description

AYN - Agents You Need

The meta-framework for AI agent interoperability

Think "pip + Docker Hub + Postman" for AI agents.

License: MIT Python 3.8+

๐ŸŽฏ Vision

AYN solves the agent discovery and integration problem by providing:

  1. Unified Search across GitHub, HuggingFace, and awesome lists
  2. Standard Controller Interface for invoking any agent
  3. HTTP/REST Export via FastAPI and LangServe
  4. MCP Support for Model Context Protocol integration
  5. Custom Actions for ChatGPT and Claude

๐Ÿš€ 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

๐Ÿ—๏ธ 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:

๐Ÿ—บ๏ธ 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:

  1. Searchers: Implement real API integrations
  2. Controllers: Add framework-specific controllers
  3. Export: Additional export formats
  4. Tools: MCP tools and resources
  5. 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. ๐Ÿš€

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ayn-0.0.2.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ayn-0.0.2-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file ayn-0.0.2.tar.gz.

File metadata

  • Download URL: ayn-0.0.2.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ayn-0.0.2.tar.gz
Algorithm Hash digest
SHA256 db37f36bf40586a0a4b088e56edf6324cc039682d5c8b9a4c8a713ae1adc351c
MD5 9be0d4a40f12b694d1ccb8f852c075bf
BLAKE2b-256 26d1ba2d158b84434d2946e5fba13644916463e535f4b1509cf3acb9aa4fa131

See more details on using hashes here.

File details

Details for the file ayn-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ayn-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ayn-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db12d96563e7912ea61c9ebaccaea17d94f28700c45551776fe413cc0e35c431
MD5 522e6875ec896dba1f7d7467b4a83c2f
BLAKE2b-256 d800830839b211e428591801887c0a6ac199a57d01ecd5e417f3094313ff6a58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page