AgentGenesis icon indicating copy to clipboard operation
AgentGenesis copied to clipboard

Implement Per-User Rate Limiting for LinkedIn Agent Access

Open DeadmanAbir opened this issue 4 months ago • 12 comments

Implement rate limiting to the backend of our LinkedIn Agent, restricting each unique user to 2 accesses every 24 hours in the playground. This is crucial as we are providing in-house API keys for LLMs and Proxycurl, necessitating controlled usage to prevent abuse.

  • Implement rate limiting logic within src/app/api/agent/route.ts
  • Can use any open source external libraries as per requirement.
  • Before starting provide an overall architecture, how you're going to implement this and the libraries used.

By implementing this rate-limiting feature, we enhance the security and reliability of our LinkedIn Agent backend, ensuring resources are used appropriately and service availability is maintained for all users.

DeadmanAbir avatar Oct 05 '24 14:10 DeadmanAbir