Struggling to enable AI Agent in Workflows

Sorry for bugging on an unreleased feature. I have set core."featureFlag" to true, and set config variables up, but still can't see AI enabled in my self-hosted docker instance. Also I've got IS_AI_ENABLED set to true in .env and docker-compose. Let me know if I'm doing something wrong, or missed a step.
No description
No description
No description
No description
10 Replies
zon
zon4mo ago
Same problem
ɃØĦɆᵾS
ɃØĦɆᵾS4mo ago
@abdulrahmancodes could you answer in free time?
zon
zon4mo ago
@bob I added the environment variable is_ai_enabled=true and I really don’t see this feature working. Is there any guide or detailed steps to follow? Thank you.
Prastoin
Prastoin4mo ago
Hello, unless I'm mistaken variable env isn't enough here to activate the flag, you need to update it in database at core.featureFlag
nortysort
nortysortOP4mo ago
FWIW, sometime (sorry I can't be more specific) after I enabled the feature flag and revisited it, it looks like the AI Agent is coming up in my workflows and seems to work. But I can't seem to add agents or select specific models. Once again, know it's in progress so no expectations to actually get this solved before it's live. Just curious if I can replace some of what we've got running in n8n 🙂
No description
No description
Prastoin
Prastoin4mo ago
I don't think there's any default ai agent created yet, it will require further configuration for you to test this unfortunately Please feel free to ask what you would like to lever through ai agent we might be able to give more visibility @Félix might have more information
Sandr Fundr
Sandr Fundr4mo ago
Hello @nortysort ! Did you have any success with AI agent creation , I did all nescessary migrations, the credentials for Open AI are filled out, but I can't see the AI agent button in workflow , are there any additional steps to make it work?
nortysort
nortysortOP3mo ago
@Sandr Fundr did you also set the IS_AI_ENABLED core.featureFlag to true? In my case I used a command like this, but replacing [WORKPLACE_ID] with my actual workplace ID. docker compose exec db psql -U postgres -d default -c "INSERT INTO \"core\".\"featureFlag\" (key, value, \"workspaceId\") VALUES ('IS_AI_ENABLED', true, '[WORKPLACE_ID]');"
luisal
luisal3mo ago
How to get here? 👀

Did you find this page helpful?