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.




10 Replies
Same problem
@abdulrahmancodes could you answer in free time?
@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.
Hello, unless I'm mistaken variable env isn't enough here to activate the flag, you need to update it in database at
core.featureFlagI've wrote once some notes regarding AI https://discord.com/channels/1130383047699738754/1130383048173682821/1394960078574194728
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 🙂


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
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?
@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]');"How to get here? 👀