Cogito v1 is the latest in state-of-the-art (SotA) open source / open weight LLMs. It manages to outperform even Llama 4 in various benchmarks and weight classes. In this video, we see how to deploy and use Cogito v1 locally with LiteLLM and LM Studio. We also build this out to enable full agent logic with tool use / function calling.
📕 Article: https://www.aurelio.ai/learn/cogito-v1
📌 Code: https://github.com/aurelio-labs/cookbook/blob/main/gen-ai/local/lmstudio/cogito-v1.ipynb
👾 New AI Platform: https://platform.aurelio.ai/
Twitter: https://twitter.com/jamescalam
LinkedIn: https://www.linkedin.com/in/jamescalam/
#aiagents #llm #coding #ai #artificialintellegence #python #programming
00:00 Cogito v1
00:26 Local LLMs with LM Studio
02:38 Python Setup with uv
03:49 Loading our LLM in LM Studio
04:31 Using LM Studio with Python
05:17 Using LiteLLM with LM Studio
09:14 Tools and Agents
12:29 Create a Web Search Tool
16:19 Tool Calling with LiteLLM
20:54 Building a Local Agent