Welcome to SlangAgent. This agent showcases how to build other agents using the Skyfire proxy.
SlangAgent demonstrates the capabilities of the Skyfire proxy, providing developers with a practical example to follow. Now, developers can build agents that can turn a profit with autonomous payments.
-
Installation
- Clone the repository:
git clone https://github.com/skyfire-xyz/slangAgent.git cd slangAgent
- Clone the repository:
-
Skyfire API Key Setup
- To create a Skyfire account, send an email to [email protected]. You will receive a link to sign up shortly.
- After signing up, create an API key from your dashboard.
- Set the API key as an environment variable in
.env
file:
SKYFIRE_API_KEY=your_api_key_here
-
Documentation
- Access our comprehensive documentation for detailed guides and API references.
-
Sample Code
- Explore the sample code within this repository to see SlangAgent in action.
- SlangAgent finds the best response to a message with slang by scoring different OpenRouter LLM responses in a rubric.
- Since the Skyfire proxy is compatible with OpenAI, you can use the OpenAI library and point the base url to Skyfire. This is demonstrated in the file: - OpenRouter Proxy Configuration
- Running SlangAgent:
python3 -m venv venv source venv/bin/activate pip3 install -r requirements.txt python3 app.py