fastapi-agents


Namefastapi-agents JSON
Version 0.1.27 PyPI version JSON
download
home_pageNone
SummaryA FastAPI extension for integrating common AI agent frameworks.
upload_time2025-01-21 09:56:21
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseMIT License Copyright (c) 2025 Blair Hudson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords agents ai fastapi llama-index pydantic-ai smolagents
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # FastAPI Agents

**FastAPI Agents** is the ultimate FastAPI extension for integrating AI agents into your applications. With just a few lines of code, you can create, manage, and secure AI-powered endpoints, enabling you to build smarter, more interactive apps effortlessly. Whether you're a seasoned developer or just exploring AI integrations, FastAPI Agents has you covered! πŸŽ‰

## ✨ Features at a Glance

- πŸ€– **Easy Agent Management**: Register, organize, and interact with multiple AI agents seamlessly.
- πŸ” **Built-In Security**: Easily add API key, OAuth2, cookie, or OpenID authentication to your endpoints.
- πŸ“š **Agent Framework Support**: Compatible with agent frameworks like PydanticAI, Llama-Index, HuggingFace Smolagents and CrewAI.
- 🐳 **Pre-Built Containers**: Easily deploy agents in your favourite framework with ready made containers.
- πŸ”Œ **OpenAI Compatibility**: Use your APIs with other AI tooling including the OpenAI SDK itself. (Experimental)
- πŸ› οΈ **Extensibility**: Support additional agent frameworks by extending the `BaseAgent` class.
- 🧩 **Dynamic Dependencies**: Inject and resolve request-specific configurations effortlessly.
- πŸš€ **Performance Optimized**: Leverage FastAPI's high performance and scalability for AI agent interactions.
- πŸ“– **Auto-Generated API Documentation**: OpenAPI integration for your registered agents, out of the box!

See [Releases](https://github.com/blairhudson/fastapi-agents/releases) for the latest updates at and [Roadmap](https://fastapi-agents.blairhudson.com/roadmap/) for what's coming.

## πŸ’– Sponsors

You can support the ongoing development of FastAPI Agents by becoming a sponsor:

[Sponsor FastAPI Agents](https://github.com/sponsors/blairhudson)

## πŸ“š Documentation

For further documentation, including detailed API documentation for the available agent frameworks, visit the [FastAPI Agents Documentation](https://fastapi-agents.blairhudson.com/).

## πŸš€ Installation

Install `FastAPI Agents` using pip, poetry or uv:

```bash
pip install fastapi-agents
poetry add fastapi-agents
uv add fastapi-agents
```

Install optional extras for your chosen agent frameworks:

```bash
pip install 'fastapi-agents[pydantic-ai]'
poetry add fastapi-agents -E pydantic-ai
uv add fastapi-agents --extra pydantic-ai
```

For available extras, replace `pydantic-ai` with the desired agent framework (e.g. `smolagents` or `llama-index`). See [pyproject.toml](https://github.com/blairhudson/fastapi-agents/blob/main/pyproject.toml) for the full list of extras.

That's it! You're all set to start integrating AI agents into your FastAPI applications. πŸŽ‰

## 🏁 Quick Start

### Registering Agents

Here’s how to get started with a basic `PydanticAI` agent:

```python
from fastapi import FastAPI
from fastapi_agents import FastAPIAgents
from fastapi_agents.pydantic_ai import PydanticAIAgent
from pydantic_ai import Agent

app = FastAPI()
agents = FastAPIAgents(path_prefix="/agents")

# Initialize and register the agent
agent = Agent("openai:gpt-4o-mini")
agents.register("pydanticai", PydanticAIAgent(agent))

# Include the router
app.include_router(agents)
```

### Adding Security

Secure your endpoints with API Key authentication in just a few steps:

```python
from fastapi.security import APIKeyHeader
from fastapi_agents import FastAPIAgents

# Define API Key validation
def validate_api_key(api_key: str = Depends(APIKeyHeader(name="X-API-Key"))):
    if api_key != "my-secret-api-key":
        raise HTTPException(status_code=403, detail="Invalid API Key")

# Secure the agents
agents = FastAPIAgents(path_prefix="/agents", security_dependency=validate_api_key)
```

πŸ‘‰ See [Security Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security) for more details.

### Running the Application

Run your FastAPI application with the registered agents:

```bash
uvicorn --reload <module>:app
```

Replace `<module>` with the name of the Python module containing your FastAPI application.

That's it! You're all set to start building smarter, more secure FastAPI applications with AI agents. πŸš€

## 🀝 Supported Agents

`FastAPI Agents` supports a variety of agent frameworks, including:

1. **PydanticAI**: AI agents powered by Pydantic AI. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/pydantic-ai)
2. **Llama Index**: OpenAI agents with Llama Index integration. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/llama-index)
3. **HuggingFace Smolagents**: Lightweight and efficient AI agents. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/smolagents)
4. **CrewAI**: Multi-agent Framework to create Crews. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/crewai)

## 🐳 Using Docker

### Pre-Built Images

The simplest way to containerise your agents!

Pre-built Docker images for `FastAPI Agents` are available on GitHub Container Registry (GHCR):

**Repository**: `ghcr.io/blairhudson/fastapi-agents`

**Tags**:
  - Framework-specific: `pydantic-ai`, `smolagents`, `llama-index`, `crewai`
  - Version-specific: `<framework>-<version>`

To pull a specific image:

```bash
docker pull ghcr.io/blairhudson/fastapi-agents:pydantic-ai
```

See all available images and tags in [Versions](https://github.com/blairhudson/fastapi-agents/pkgs/container/fastapi-agents/versions).

Currently pre-built images support only one agent per container. If you are creating containers that can serve multiple agents, it is recommended to define your own containers.

### Environment Variables

The pre-built images support the following environment variables for customisation:

| Variable           | Example Value      | Description                                                |
|--------------------|--------------------|------------------------------------------------------------|
| `AGENT_FRAMEWORK`  | `pydantic-ai`     | Specifies the agent framework to use.                      |
| `AGENT_MODULE`     | `agent.pydantic_ai` | Path to the agent module.                                  |
| `AGENT_CLASS`      | `agent`           | Class name for the agent.                                  |
| `SECURITY_MODULE`  | `agent.pydantic_ai` | Specifies the security module for the agent. |
| `SECURITY_CLASS` | `validate_token` | Class name for the security depdency. |
| `API_ENDPOINT`     | `pydantic-ai`      | API endpoint path for the agent.                           |
| `API_PREFIX`       | `/agents`         | Prefix for all agent-related API endpoints.                |
| `API_MODE` | `simple` | Changes how endpoints are registered. `openai` changes to OpenAI-compatible endpoints. |
| `PORT`             | `8080`            | Port the application runs on within the container.         |

To customize these values, pass them as `-e` arguments to `docker run` or define them in an `.env` file.

### Volume Mounting

Agents are expected to be volume-mounted at `/app/agent`. You can mount your agent directory as follows:

```bash
docker run -p 8000:8080 \
  -v $(pwd)/agent:/app/agent \
  ghcr.io/blairhudson/fastapi-agents:pydantic-ai
```

If a `requirements.txt` file is present in the mounted directory, it will be automatically installed at container startup.

### Building Custom Containers

For production deployments, it is recommended to build your container with dependencies included. Here’s an example `Dockerfile` starting from one of the pre-built base images:

```dockerfile
FROM ghcr.io/blairhudson/fastapi-agents:pydantic-ai

# Copy your agent source code
COPY ./agent /app/agent

# Install dependencies
RUN pip install --no-cache-dir -r /app/agent/requirements.txt
```

Build and run the custom image:

```bash
docker build -t my-custom-agent .
docker run -p 8000:8080 my-custom-agent
```

This approach ensures all dependencies are baked into the image, improving startup performance and reliability.

## πŸ’‘ Examples

Explore real-world examples for implementing `FastAPI Agents` in different scenarios:

- **Agent Frameworks**:
    - [PydanticAI](https://github.com/blairhudson/fastapi-agents/tree/main/examples/pydantic-ai/pydantic_ai.py)
    - [Llama-Index](https://github.com/blairhudson/fastapi-agents/tree/main/examples/llama-index/llama_index.py)
    - [Huggingface SmolAgents](https://github.com/blairhudson/fastapi-agents/tree/main/examples/smolagents/smolagents.py)
- **Advanced Agent Frameworks**:
    - [PydanticAI with Dependencies](https://github.com/blairhudson/fastapi-agents/tree/main/examples/pydantic-ai/pydantic_ai_deps.py)
- **Docker**:
    - [PydanticAI in Docker](https://github.com/blairhudson/fastapi-agents/tree/main/examples/docker)
- **Security Integrations**:
    - [API Key Authentication](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_apikey.py)
    - [Cookie Authentication](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_cookie.py)
    - [OAuth2 Authentication](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_oauth2.py)
    - [OpenID Connect (OIDC)](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_oidc.py)
    - [HTTP Basic Auth](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_httpbasic.py)

## 🀝 Contributing

We welcome contributions! To contribute:

1. Fork the repository.
2. Create a feature branch.
3. Add any new tests and ensure they pass. i.e. `uv run pytest`.
4. Submit a pull request.

For any questions or feature requests including additional agent frameworks, open an issue in the repository.

## πŸ“„ Citation

If you use **FastAPI Agents** in your work, please consider citing it using the metadata in the `CITATION.cff` file:

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14635504.svg)](https://doi.org/10.5281/zenodo.14635504)

This DOI represents all versions of the project. For version-specific DOIs, refer to the [Zenodo project page](https://doi.org/10.5281/zenodo.14635504).

Alternatively, you can use the following BibTeX entry:

```bibtex
@software{fastapi_agents,
  author = {Blair Hudson},
  title = {FastAPI Agents},
  year = {2025},
  version = {0.1},
  doi = {10.5281/zenodo.14635504},
  url = {https://github.com/blairhudson/fastapi-agents},
  orcid = {https://orcid.org/0009-0007-4216-4555},
  abstract = {FastAPI Agents is the ultimate FastAPI extension for integrating AI agents into your applications.}
}
```

## πŸ“œ License

This project is licensed under the MIT License. See the `LICENSE` file for more details.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fastapi-agents",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "agents, ai, fastapi, llama-index, pydantic-ai, smolagents",
    "author": null,
    "author_email": "Blair Hudson <blairhudson@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/41/9c/745eed1cbaf74848e53563696c9a6a375836c5ff0e58f15d5ac9723e949a/fastapi_agents-0.1.27.tar.gz",
    "platform": null,
    "description": "# FastAPI Agents\n\n**FastAPI Agents** is the ultimate FastAPI extension for integrating AI agents into your applications. With just a few lines of code, you can create, manage, and secure AI-powered endpoints, enabling you to build smarter, more interactive apps effortlessly. Whether you're a seasoned developer or just exploring AI integrations, FastAPI Agents has you covered! \ud83c\udf89\n\n## \u2728 Features at a Glance\n\n- \ud83e\udd16 **Easy Agent Management**: Register, organize, and interact with multiple AI agents seamlessly.\n- \ud83d\udd10 **Built-In Security**: Easily add API key, OAuth2, cookie, or OpenID authentication to your endpoints.\n- \ud83d\udcda **Agent Framework Support**: Compatible with agent frameworks like PydanticAI, Llama-Index, HuggingFace Smolagents and CrewAI.\n- \ud83d\udc33 **Pre-Built Containers**: Easily deploy agents in your favourite framework with ready made containers.\n- \ud83d\udd0c **OpenAI Compatibility**: Use your APIs with other AI tooling including the OpenAI SDK itself. (Experimental)\n- \ud83d\udee0\ufe0f **Extensibility**: Support additional agent frameworks by extending the `BaseAgent` class.\n- \ud83e\udde9 **Dynamic Dependencies**: Inject and resolve request-specific configurations effortlessly.\n- \ud83d\ude80 **Performance Optimized**: Leverage FastAPI's high performance and scalability for AI agent interactions.\n- \ud83d\udcd6 **Auto-Generated API Documentation**: OpenAPI integration for your registered agents, out of the box!\n\nSee [Releases](https://github.com/blairhudson/fastapi-agents/releases) for the latest updates at and [Roadmap](https://fastapi-agents.blairhudson.com/roadmap/) for what's coming.\n\n## \ud83d\udc96 Sponsors\n\nYou can support the ongoing development of FastAPI Agents by becoming a sponsor:\n\n[Sponsor FastAPI Agents](https://github.com/sponsors/blairhudson)\n\n## \ud83d\udcda Documentation\n\nFor further documentation, including detailed API documentation for the available agent frameworks, visit the [FastAPI Agents Documentation](https://fastapi-agents.blairhudson.com/).\n\n## \ud83d\ude80 Installation\n\nInstall `FastAPI Agents` using pip, poetry or uv:\n\n```bash\npip install fastapi-agents\npoetry add fastapi-agents\nuv add fastapi-agents\n```\n\nInstall optional extras for your chosen agent frameworks:\n\n```bash\npip install 'fastapi-agents[pydantic-ai]'\npoetry add fastapi-agents -E pydantic-ai\nuv add fastapi-agents --extra pydantic-ai\n```\n\nFor available extras, replace `pydantic-ai` with the desired agent framework (e.g. `smolagents` or `llama-index`). See [pyproject.toml](https://github.com/blairhudson/fastapi-agents/blob/main/pyproject.toml) for the full list of extras.\n\nThat's it! You're all set to start integrating AI agents into your FastAPI applications. \ud83c\udf89\n\n## \ud83c\udfc1 Quick Start\n\n### Registering Agents\n\nHere\u2019s how to get started with a basic `PydanticAI` agent:\n\n```python\nfrom fastapi import FastAPI\nfrom fastapi_agents import FastAPIAgents\nfrom fastapi_agents.pydantic_ai import PydanticAIAgent\nfrom pydantic_ai import Agent\n\napp = FastAPI()\nagents = FastAPIAgents(path_prefix=\"/agents\")\n\n# Initialize and register the agent\nagent = Agent(\"openai:gpt-4o-mini\")\nagents.register(\"pydanticai\", PydanticAIAgent(agent))\n\n# Include the router\napp.include_router(agents)\n```\n\n### Adding Security\n\nSecure your endpoints with API Key authentication in just a few steps:\n\n```python\nfrom fastapi.security import APIKeyHeader\nfrom fastapi_agents import FastAPIAgents\n\n# Define API Key validation\ndef validate_api_key(api_key: str = Depends(APIKeyHeader(name=\"X-API-Key\"))):\n    if api_key != \"my-secret-api-key\":\n        raise HTTPException(status_code=403, detail=\"Invalid API Key\")\n\n# Secure the agents\nagents = FastAPIAgents(path_prefix=\"/agents\", security_dependency=validate_api_key)\n```\n\n\ud83d\udc49 See [Security Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security) for more details.\n\n### Running the Application\n\nRun your FastAPI application with the registered agents:\n\n```bash\nuvicorn --reload <module>:app\n```\n\nReplace `<module>` with the name of the Python module containing your FastAPI application.\n\nThat's it! You're all set to start building smarter, more secure FastAPI applications with AI agents. \ud83d\ude80\n\n## \ud83e\udd1d Supported Agents\n\n`FastAPI Agents` supports a variety of agent frameworks, including:\n\n1. **PydanticAI**: AI agents powered by Pydantic AI. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/pydantic-ai)\n2. **Llama Index**: OpenAI agents with Llama Index integration. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/llama-index)\n3. **HuggingFace Smolagents**: Lightweight and efficient AI agents. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/smolagents)\n4. **CrewAI**: Multi-agent Framework to create Crews. [Examples](https://github.com/blairhudson/fastapi-agents/tree/main/examples/crewai)\n\n## \ud83d\udc33 Using Docker\n\n### Pre-Built Images\n\nThe simplest way to containerise your agents!\n\nPre-built Docker images for `FastAPI Agents` are available on GitHub Container Registry (GHCR):\n\n**Repository**: `ghcr.io/blairhudson/fastapi-agents`\n\n**Tags**:\n  - Framework-specific: `pydantic-ai`, `smolagents`, `llama-index`, `crewai`\n  - Version-specific: `<framework>-<version>`\n\nTo pull a specific image:\n\n```bash\ndocker pull ghcr.io/blairhudson/fastapi-agents:pydantic-ai\n```\n\nSee all available images and tags in [Versions](https://github.com/blairhudson/fastapi-agents/pkgs/container/fastapi-agents/versions).\n\nCurrently pre-built images support only one agent per container. If you are creating containers that can serve multiple agents, it is recommended to define your own containers.\n\n### Environment Variables\n\nThe pre-built images support the following environment variables for customisation:\n\n| Variable           | Example Value      | Description                                                |\n|--------------------|--------------------|------------------------------------------------------------|\n| `AGENT_FRAMEWORK`  | `pydantic-ai`     | Specifies the agent framework to use.                      |\n| `AGENT_MODULE`     | `agent.pydantic_ai` | Path to the agent module.                                  |\n| `AGENT_CLASS`      | `agent`           | Class name for the agent.                                  |\n| `SECURITY_MODULE`  | `agent.pydantic_ai` | Specifies the security module for the agent. |\n| `SECURITY_CLASS` | `validate_token` | Class name for the security depdency. |\n| `API_ENDPOINT`     | `pydantic-ai`      | API endpoint path for the agent.                           |\n| `API_PREFIX`       | `/agents`         | Prefix for all agent-related API endpoints.                |\n| `API_MODE` | `simple` | Changes how endpoints are registered. `openai` changes to OpenAI-compatible endpoints. |\n| `PORT`             | `8080`            | Port the application runs on within the container.         |\n\nTo customize these values, pass them as `-e` arguments to `docker run` or define them in an `.env` file.\n\n### Volume Mounting\n\nAgents are expected to be volume-mounted at `/app/agent`. You can mount your agent directory as follows:\n\n```bash\ndocker run -p 8000:8080 \\\n  -v $(pwd)/agent:/app/agent \\\n  ghcr.io/blairhudson/fastapi-agents:pydantic-ai\n```\n\nIf a `requirements.txt` file is present in the mounted directory, it will be automatically installed at container startup.\n\n### Building Custom Containers\n\nFor production deployments, it is recommended to build your container with dependencies included. Here\u2019s an example `Dockerfile` starting from one of the pre-built base images:\n\n```dockerfile\nFROM ghcr.io/blairhudson/fastapi-agents:pydantic-ai\n\n# Copy your agent source code\nCOPY ./agent /app/agent\n\n# Install dependencies\nRUN pip install --no-cache-dir -r /app/agent/requirements.txt\n```\n\nBuild and run the custom image:\n\n```bash\ndocker build -t my-custom-agent .\ndocker run -p 8000:8080 my-custom-agent\n```\n\nThis approach ensures all dependencies are baked into the image, improving startup performance and reliability.\n\n## \ud83d\udca1 Examples\n\nExplore real-world examples for implementing `FastAPI Agents` in different scenarios:\n\n- **Agent Frameworks**:\n    - [PydanticAI](https://github.com/blairhudson/fastapi-agents/tree/main/examples/pydantic-ai/pydantic_ai.py)\n    - [Llama-Index](https://github.com/blairhudson/fastapi-agents/tree/main/examples/llama-index/llama_index.py)\n    - [Huggingface SmolAgents](https://github.com/blairhudson/fastapi-agents/tree/main/examples/smolagents/smolagents.py)\n- **Advanced Agent Frameworks**:\n    - [PydanticAI with Dependencies](https://github.com/blairhudson/fastapi-agents/tree/main/examples/pydantic-ai/pydantic_ai_deps.py)\n- **Docker**:\n    - [PydanticAI in Docker](https://github.com/blairhudson/fastapi-agents/tree/main/examples/docker)\n- **Security Integrations**:\n    - [API Key Authentication](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_apikey.py)\n    - [Cookie Authentication](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_cookie.py)\n    - [OAuth2 Authentication](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_oauth2.py)\n    - [OpenID Connect (OIDC)](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_oidc.py)\n    - [HTTP Basic Auth](https://github.com/blairhudson/fastapi-agents/tree/main/examples/security/security_httpbasic.py)\n\n## \ud83e\udd1d Contributing\n\nWe welcome contributions! To contribute:\n\n1. Fork the repository.\n2. Create a feature branch.\n3. Add any new tests and ensure they pass. i.e. `uv run pytest`.\n4. Submit a pull request.\n\nFor any questions or feature requests including additional agent frameworks, open an issue in the repository.\n\n## \ud83d\udcc4 Citation\n\nIf you use **FastAPI Agents** in your work, please consider citing it using the metadata in the `CITATION.cff` file:\n\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14635504.svg)](https://doi.org/10.5281/zenodo.14635504)\n\nThis DOI represents all versions of the project. For version-specific DOIs, refer to the [Zenodo project page](https://doi.org/10.5281/zenodo.14635504).\n\nAlternatively, you can use the following BibTeX entry:\n\n```bibtex\n@software{fastapi_agents,\n  author = {Blair Hudson},\n  title = {FastAPI Agents},\n  year = {2025},\n  version = {0.1},\n  doi = {10.5281/zenodo.14635504},\n  url = {https://github.com/blairhudson/fastapi-agents},\n  orcid = {https://orcid.org/0009-0007-4216-4555},\n  abstract = {FastAPI Agents is the ultimate FastAPI extension for integrating AI agents into your applications.}\n}\n```\n\n## \ud83d\udcdc License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for more details.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2025 Blair Hudson  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A FastAPI extension for integrating common AI agent frameworks.",
    "version": "0.1.27",
    "project_urls": {
        "Repository": "https://github.com/blairhudson/fastapi-agents"
    },
    "split_keywords": [
        "agents",
        " ai",
        " fastapi",
        " llama-index",
        " pydantic-ai",
        " smolagents"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "074dbdf2264a658dfca9997ad07004416be2f28ea4ee228924c6db22bc3ea1f8",
                "md5": "65d8c887d6f080d84cef64a0e5a3c54d",
                "sha256": "a2cbdca4f42c96166a4f98bb3fa19c3354976460ba1e416bed62cba0f34c391c"
            },
            "downloads": -1,
            "filename": "fastapi_agents-0.1.27-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "65d8c887d6f080d84cef64a0e5a3c54d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 16050,
            "upload_time": "2025-01-21T09:56:20",
            "upload_time_iso_8601": "2025-01-21T09:56:20.146795Z",
            "url": "https://files.pythonhosted.org/packages/07/4d/bdf2264a658dfca9997ad07004416be2f28ea4ee228924c6db22bc3ea1f8/fastapi_agents-0.1.27-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "419c745eed1cbaf74848e53563696c9a6a375836c5ff0e58f15d5ac9723e949a",
                "md5": "efa2df227ddab6d19ee52f1f306bc5a1",
                "sha256": "4dd7caf997b73512daa44471b24780bac5718c1377c67e23495933a5fbc656aa"
            },
            "downloads": -1,
            "filename": "fastapi_agents-0.1.27.tar.gz",
            "has_sig": false,
            "md5_digest": "efa2df227ddab6d19ee52f1f306bc5a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 177084,
            "upload_time": "2025-01-21T09:56:21",
            "upload_time_iso_8601": "2025-01-21T09:56:21.877370Z",
            "url": "https://files.pythonhosted.org/packages/41/9c/745eed1cbaf74848e53563696c9a6a375836c5ff0e58f15d5ac9723e949a/fastapi_agents-0.1.27.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-21 09:56:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "blairhudson",
    "github_project": "fastapi-agents",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fastapi-agents"
}
        
Elapsed time: 0.41301s