{"id":31029799,"url":"https://github.com/auth0-samples/auth0-zoo-ai","last_synced_at":"2026-02-12T09:04:21.085Z","repository":{"id":312179451,"uuid":"1016325107","full_name":"auth0-samples/auth0-zoo-ai","owner":"auth0-samples","description":"Zoo AI: A GenAI-powered zoo management application built with FastAPI, LangChain, and Auth0","archived":false,"fork":false,"pushed_at":"2025-08-29T01:06:18.000Z","size":260,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-13T22:51:50.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/auth0-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-08T20:49:40.000Z","updated_at":"2025-07-08T20:55:50.000Z","dependencies_parsed_at":"2025-08-29T05:25:30.761Z","dependency_job_id":"b9312a40-d9ef-4fb1-ad9c-5a79e6bd6ff0","html_url":"https://github.com/auth0-samples/auth0-zoo-ai","commit_stats":null,"previous_names":["auth0-samples/auth0-zoo-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/auth0-samples/auth0-zoo-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-zoo-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-zoo-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-zoo-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-zoo-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/auth0-samples","download_url":"https://codeload.github.com/auth0-samples/auth0-zoo-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/auth0-samples%2Fauth0-zoo-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-13T22:51:32.362Z","updated_at":"2026-02-12T09:04:21.066Z","avatar_url":"https://github.com/auth0-samples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zoo Management Platform\n\nA demonstration project that integrates **LangChain** and **FastAPI** to control authenticated internal APIs using GenAI tool calling. The project simulates a zoo management platform that can be partially operated through natural language prompts interpreted by an AI agent.\n\n## Project Structure\n\n```\nauth0-zoo-ai/\n├── api/              # Internal API implementation (FastAPI)\n├── agent/            # LangChain application with frontend and backend\n├── poetry.lock       # Poetry lock file\n├── pyproject.toml    # Poetry project configuration\n└── requirements.txt  # Alternative requirements file\n```\n\n## Prerequisites\n\n- Python 3.10 or higher\n- Poetry (Python dependency management tool)\n\n### Installing Poetry\n\nIf you don't have Poetry installed, you can install it using one of these methods:\n\n**Using pip:**\n\n```bash\npip install poetry\n```\n\n**Using the official installer:**\n\n```bash\ncurl -sSL https://install.python-poetry.org | python3 -\n```\n\n**On macOS with Homebrew:**\n\n```bash\nbrew install poetry\n```\n\n## Installation\n\n1. **Install dependencies using Poetry:**\n\n   ```bash\n   poetry install\n   ```\n\n   This will install all dependencies defined in `pyproject.toml` and create a virtual environment.\n\n## Running the Projects\n\n### 1. API Server (Port 8000)\n\nThe API server provides the internal endpoints for zoo management operations.\n\n**Start the API server:**\n\n```bash\ncd api\npoetry run uvicorn main:app --host 0.0.0.0 --port 8000 --reload\n```\n\nThe API will be available at: `http://localhost:8000`\n\n### 2. Agent Application (Port 3000)\n\nThe agent application provides the LangChain-based AI interface with a web frontend.\n\n**Start the agent application:**\n\n```bash\ncd agent\npoetry run python main.py\n```\n\nThe agent application will be available at: `http://localhost:3000`\n\n## Development Workflow\n\n1. **Start both services:**\n   - Open a terminal and start the API server (port 8000)\n   - Open another terminal and start the agent application (port 3000)\n\n2. **Access the applications:**\n   - API: `http://localhost:8000`\n   - Agent: `http://localhost:3000`\n\n3. **For development with auto-reload:**\n   - The API server includes `--reload` flag for automatic restart on code changes\n   - The agent application may need manual restart for changes\n\n## Environment Variables\n\nMake sure to configure any required environment variables for. Check both `.env.sample` files to see what is required.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-samples%2Fauth0-zoo-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauth0-samples%2Fauth0-zoo-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauth0-samples%2Fauth0-zoo-ai/lists"}