Skip to content

Ollama support? #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlgorithmicKing737 opened this issue Mar 15, 2025 · 6 comments
Open

Ollama support? #44

AlgorithmicKing737 opened this issue Mar 15, 2025 · 6 comments
Assignees

Comments

@AlgorithmicKing737
Copy link

No description provided.

@fuad00
Copy link

fuad00 commented Apr 12, 2025

any updates on this?

@Julianvvz
Copy link

This would be great. Please develop this :). Any update on this?

@Andres-Ventura
Copy link

Im making this now locally

@SylvainVerdy
Copy link

SylvainVerdy commented May 9, 2025

Hello,

Hope you're doing well guys!

First of all, if you want to use Ollama models, you need to save the model's embeddings in the kb_s2 folder. Step 1 is to generate these embeddings for retrieval purposes.

After that, you'll need to adapt the model's output to match the input format expected by the agents — this is the issue I'm currently working on.

That said, I can share my script with you for loading and integrating Ollama models into the package.

@Julianvvz
Copy link

I'd need a more thorough walkthrough to be able to replicate this. Good work though!

@SylvainVerdy
Copy link

SylvainVerdy commented May 9, 2025

You need to set the provider's API key to an empty string.

@Julianvvz https://github.com/SylvainVerdy/Agent-S/tree/ollama_support ( i use ollama serve as command line to run ollama)

My issue is in the manager.py with the method : _generate_dag

This new branch worked for me : https://github.com/SylvainVerdy/Agent-S/blob/ollama_support_working (lot of editions in the core folder etc.. maybe i have to clean the code)

the llm managed to automatically launch Spotify on my Windows computer.
Model used : qwen3:latest
Model embeddings : mxbai-embed-large:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants