| Crates.io | cortexflow_agent_api |
| lib.rs | cortexflow_agent_api |
| version | 0.1.0 |
| created_at | 2025-09-04 19:16:54.261947+00 |
| updated_at | 2025-09-04 19:16:54.261947+00 |
| description | CortexFlow agent API |
| homepage | https://docs.cortexflow.org |
| repository | https://github.com/CortexFlow/CortexBrain |
| max_upload_size | |
| id | 1824659 |
| size | 85,642 |

Tettamanti Lorenzo ๐ง lorenzotettamanti5@gmail.com
Lorenzo Bradanini ๐ง lorenzolollobrada@gmail.com
CortexBrain is an ambitious open-source project aimed at creating an intelligent, lightweight, and efficient architecture to connect cloud and edge devices seamlessly. By leveraging the power of eBPF, CortexBrain can successfully manage networking and observability in a distributed cluster, limiting resource waste and improving overall performance.
The linux in-kernel verifier (BPF Verifier) ensures that all the programs are safe to run and a JIT compiler converts the bytecode to CPU architecture specific for native execution efficiency. CortexBrain can observe and trace network events such as ingress (incoming) and egress (outgoing) connections, apply policies, and distribute traffic among different backends directly at kernel level by attaching the programs in different hooks such as TC (traffic control) and XDP hooks. All the intercepted events are successfully notified in the user space thanks to BPF maps.
Comprehensive information about CortexBrainโs core architecture, installation, and practical applications is available in the Official Documentation and on the CortexFlow blog.
Our current development efforts are dedicated to the following key improvements:
โ ๏ธ CortexBrain is still in its development stages, so you can expect some bugs. Contributions and feedback are highly appreciated to help improve the project!
CortexBrain provides a simple installation for users thanks to his command line interface
Install the CLI using cargo
cargo install cortexflow-cli
You can find the installation guide in the official documentation
Start your local cluster
Install CortexBrain components:
cfcli install
List all the installed services:
cfcli service list
Clone the Repository: First, clone the repository to your local machine.
git clone https://github.com/CortexFlow/CortexBrain.git
Install required packages:
| Feature | Requirements |
|---|---|
| CortexBrain Core | - Kubernetes or Minikube v1.34.0 - Linux system with kernel version >= 5.15 (mandatory for core development) - Rust programming language (rustc >= 1.85.0) preferably a nightly version |
| CortexBrain Dashboard | - npm v10.7.0 - React v18.2.0 - Electron v33.2.0 |
Install Rust using RustUp tools :
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install Docker
Install Minikube or any other local kubernetes environment
Run minikube (or your local environment)
minikube start
Install the CLI:
cargo install cortexflow-cli
Install the core components:
cfcli install
Install Node.js
Open the dashboard folder and install the required packages
cd dashboard
npm install
Run the local development server
npm start
Do you think the project is missing something? Contributing is the best way to show your skills and leave your mark on a project. If you know DevOps/Kubernetes, networking, security, or you enjoy maintaining a repository, please write an email to lorenzotettamanti5@gmail.com
| Role | Skills | Tasks | Related Issues and Milestones |
|---|---|---|---|
| CortexBrain Core Developer | - Kubernetes - Networks - Rust programming language |
- Work alongside us to build and optimize the core functionalities (Client,DNS,Proxy,Telemetry,etc..) |
- Rust - Core - eBPF |
| CortexBrain Dashboard Developer | - React - Frontend Development - Javascript/TypeScript |
- Work alongside us to design and improve the dashboard |
Javascript |
| General Mantainers | - Github - Practical organition - Documentation |
- Keep the repository organized and clean - Write/Update documentation - Spot typos in the repository |
- Documentation - question |
| Code Reviewers/Testers | - Rust - Javascript/TypeScript - Kubernetes - Docker |
- Review code and suggest changes/optimizations - Write tests for CI/CD |
Code refactoring |
We welcome contributions from the community! To contribute to the project, please follow these steps:
git checkout -b feature/feature-name).If you would like to contribute a new feature, we ask you to open a discussion before submitting a PR. This is to ensure that all new features align with the project's goals and to avoid overlapping work or conflicting views.
Please initiate a discussion in the GitHub Discussions section where we can collectively review, refine, and approve your idea before you begin implementation. Pull Requests for new features that have not been discussed beforehand may be declined to maintain project coherence and ensure alignment with the broader roadmap.
By collaborating in this manner, we can maintain clarity and consistency, ensuring that all contributors are working towards the same objectives. Thank you for your understanding and contributions!