No description available
A chat-based open source development platform for API discovery and testing.
๐ง Development Status: Centroid is in active development (alpha). While fully functional, you may encounter breaking changes as the platform evolves. We encourage you to try it out and provide feedback!
Centroid re-imagines API workflows through the power of natural conversation. Think of it as "Postman meets ChatGPT" - a modern, intuitive approach to API interaction that lets you:
๐ฌ Chat with API Collections: Import and interact with your APIs through natural conversation
๐ Execute API Endpoints: Test and run API endpoints directly from the chat interface
๐ค Flexible LLM Support: Works with any OpenAI-compatible API
[!TIP] Please include the volume mount
-v Centroid_data:/app/data
in your Docker command. It's crucial for persisting your database, preventing data loss between container restarts.
Visit http://localhost:3000
to access the web interface.
Visit http://localhost:8000/docs
to access the backend OpenAPI documentation.
docker run -d -p 3000:3000 -p 8000:8000 -v Centroid_data:/app/data -e LLM_BASE_URL=https://api.openai.com/v1 -e LLM_API_KEY=your_api_key -e LLM_DEFAULT_MODEL=gpt-4o-mini -e [email protected] -e FIRST_SUPERUSER_PASSWORD=example123 --name Centroid --restart always ghcr.io/srikanth235/Centroid:main
# LLM Configuration
LLM_BASE_URL=https://api.openai.com/v1 # OpenAI API compatible custom endpoint
LLM_API_KEY=your_api_key # Your OpenAI compatible API key
LLM_DEFAULT_MODEL=gpt-4o-mini # Default model to use
# Authentication
[email protected] # Default: [email protected]
FIRST_SUPERUSER_PASSWORD=example123 # Default: example123
View all environment variables โ
Centroid requires an LLM with function/tool calling capabilities. We recommend using any of these tested models:
Any models at least as powerful as the ones listed above will work well with Centroid. Models without tool calling capabilities may have limited functionality.
Centroid includes optional telemetry to help improve the platform. This feature:
When enabled, Centroid tracks:
[!NOTE] You can view the exact events we track in our analytics implementation.
Control telemetry through environment variables:
# Enable/disable telemetry
TELEMETRY_ENABLED=false
We love contributions! Here's how to get started:
Clone the repository
git clone https://github.com/Centroid/Centroid.git
cd Centroid
Install dependencies
# Frontend
pnpm install
# Backend
poetry install
Start development servers
./start.sh
git checkout -b feature/AmazingFeature
)git commit -m 'Add AmazingFeature'
)git push origin feature/AmazingFeature
)Need help? Join our community:
The initial foundation of this project was built using these excellent open-source boilerplate projects:
Centroid is Apache 2.0 licensed.
Made with โค๏ธ by humans and AI
{ "mcpServers": { "centroid": { "command": "docker", "args": [ "run", "-d", "-p", "3000:3000", "-p", "8000:8000", "-v", "Centroid_data:/app/data", "-e", "LLM_BASE_URL=https://api.openai.com/v1", "-e", "LLM_API_KEY=your_api_key", "-e", "LLM_DEFAULT_MODEL=gpt-4o-mini", "-e", "[email protected]", "-e", "FIRST_SUPERUSER_PASSWORD=example123", "--name", "Centroid", "--restart", "always", "ghcr.io/srikanth235/Centroid:main" ] } } }
Related projects feature coming soon
Will recommend related projects based on sub-categories