Skip to content

[Question] Multi-tenant configuration #403

@ChrisW-priv

Description

@ChrisW-priv

Hi again,
fast-agent seems to be designed heavily around the idea that the configuration of an agent is for a single user (correct me if I'm wrong).

But I would like to design a single endpoint on my server (/chat) that would take the auth header from the caller (team member or client) and create a custom Agent only for them (MCP configs, prompt and even models different, based on some internal rules).
When I started I setup some simple stdio server just to test the connections etc.
But, now I want to create a config based on some rules.

Would you say this is feasible? I was diving quite deep today on the code and seems to me like it should be doable, just with some Settings defined manually and possibly some cache not to kill the performance.

Do you have any experience with this? Would you say this approach is fine or is this discouraged? In case of the latter, what would be your suggested solution?

Regards,
KW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions