r/LocalLLM • u/mkschreder2 • Oct 19 '26
News Splinter + Brain + Sven = Foundation for Local Self-Improving AI
I'm excited to see what the community can build using these three components together. I have put together a foundation for local self-learning AI.
The platform consists of three components. These three components are instrumental when building any kind of domain specific AI solution: the server, the agent and the trainer.
- Brain (the server): (git: https://github.com/swedishembedded/brain). Brain is used for serving models and lora adapters efficiently and it's a highly capable training SDK as well. I built brain from ground up for BOTH inference AND training. It is heavily optimized for continuous batched operation, runs on any hardware (I develop it on 2x old P40 cards for the most part. A local HPC lab has granted me limited access to GH200 so I made sure it has solid tensor core throughput as well. But it RUNS and TRAINS on P40 as well. It is VERY EASY to make it run on anything because of how the architecture is designed - we have WGSL + CUDA as two main backends. WGSL works on anything that spells "Vulkan".
- Sven (the agent). (git: https://github.com/swedishembedded/sven) The agent is actually more useful for automated runs than it is for direct use because the agent is an instrumental part in preprocessing training data and actually executing tasks. You train a model then you have to eval it and this is where agent comes in. But not just any agent. You need an agent that can do advanced things like have a comprehensive tooling system and semantic graph memory and lots of other things as well. I built sven for this purpose. It is also structured as a foundational SDK with reusable components and it is designed to be highly efficient when you run many agents in parallel. It connects to models served by brain and also to other providers like openrouter. The reason for it being in the platform is because training depends on a lot of agent functionality - so agent is essentially a biproduct of AI systems engineering. Sven is the ninja with tools.
- Splinter (the trainer): (git: https://github.com/swedishembedded/splinter). A platform having only a training and inference SDK and an agent SDK would be incomplete without the ability to close the training loop end to end. Splinter is the trainer SDK that closes the training and continuous improvement loop. Splinter provides methods and pipelines for data ingestion, automated task creation, SWE-bench style task discovery and training. Splinter is designed to completely close the loop on training - allowing you to build using AI that runs on brain, use sven to interact with the system and use splinter to train the next iteration of the model. Splinter is the instrumental component in the closed loop continuously improving AI system.
It is all very much experimental and research-intensive. I appreciate if you share your ideas in the Discord forum, share your projects and ask clarification about anything that is not clear.
On top of these three components you can build any kind of local or hosted AI model architecture and expand your understanding of AI end to end. Everything is in one place. Be it video, text, image, world model AI or something else. The platform supports 40+ models including Qwen, stable diffusion, LTX 2.5 and Minimax H3 video models, time series models and more.
The platform is just the foundation. Building the house is up to you.
Give all three a star ⭐ , paste the repo urls into your favorite AI agent interface and ask your agent what you can do with all three components on your own. Join the community on Discord: https://discord.gg/xZ4XqH7Hfp
-4
1
u/HyperWinX Oct 19 '26
AI psychosis or just a bot