Hack-Agent-Server
Hack-Agent-Server copied to clipboard
Developed a Web search and Financial Analyst AI agent team Scraping web to provide real time data, and streamlined in real time as API service | https://hack-agent-server-hiwy.onrender.com/
[!NOTE] Main Backend server hosted on Render. It is a REST API server built using FastAPI and Agno. It is hosted on Render. The server is responsible for handling all the requests from the frontend and processing them. It also interacts with the Agno AI to get the predictions for the stock prices.
Deployment
The backend server can be locally deployed using Docker. Use the following command to build and run the server:
- Build the Docker image
docker-compose build
- Run the Docker container
docker-compose up
- Access the server
http://localhost:8000/
API Documentation
The API documentation is available at the following URL:
http://localhost:8000/docs
This documentation provides a detailed overview of all the available endpoints, including their request and response formats. You can also test the endpoints directly from the documentation.
Test the API
You can test the API using Postman or any other API testing tool. The following endpoints are available:
- /chat
- /agent
- /stock
- /stock-analysis
- /stock-news
- /top-stocks
Tech Stack
| FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. | |
| Agno is a lightweight library for building multi-modal Agents. | |
| Render is a cloud provider that makes deploying your code as easy as deploying to localhost. You can deploy anything that runs on a single port. | |
| Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers | |
| Redis is a free, open-source, in-memory database that stores data as key-value pairs. It's often used as a cache, message broker, or database for quick responses. |
Workflow:
Yash K. Saini(Author) |
👋 Hi there! I'm Yash K. Saini, a self-taught software developer and a computer science student from India.
|
🌟 If you find this project helpful, please give it a star on GitHub! 🌟