DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run UseAgent from source to contribute a fix with Useagent

Set up the full stack locally, run the backend and frontend, and open a pull request for a Hacktoberfest issue.

Short answer: Start Postgres with pgvector: docker run -d --name useagent-pg -p 127.0.0.1:5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust pgvector/pgvector:pg16; then set the database URL: export DATABASE_URL=postgres://postgres@localhost:5432/postgres; clone and enter the repository: git clone https://github.com/useagenthq/useagent.git && cd useagent. All steps.

Who it is forA developer who wants to contribute to UseAgent and needs a local setup that matches the project's own instructions.

The problemContributors need a working local environment before they can test a fix or pick an issue.

The outcomeA running backend and frontend on your machine, a passing typecheck, and a ready branch for a pull request.

What you need first

  • A hosted UseAgent account, or a Linux host or laptop for self-hosting or running from source
  • bun and Postgres 16+ with pgvector (for running from source)
  • A sandbox provider key and a model key (the README says a real agent task needs both)
  • Optional: a ChatGPT account to run Codex on your own plan

Steps

  1. Start Postgres with pgvector: docker run -d --name useagent-pg -p 127.0.0.1:5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust pgvector/pgvector:pg16 (inferred, check the README)
  2. Set the database URL: export DATABASE_URL=postgres://postgres@localhost:5432/postgres
  3. Clone and enter the repository: git clone https://github.com/useagenthq/useagent.git && cd useagent
  4. Install dependencies in each workspace listed in the README, running bun install --frozen-lockfile in every package and in backend and frontend.
  5. Start the backend and frontend with bun run dev:backend and bun run dev:frontend, then run bun run typecheck.
  6. Read CONTRIBUTING.md, comment on an issue with the hacktoberfest label that you are taking it, and open a pull request.

Prompt for your agent

Clone https://github.com/useagenthq/useagent, start Postgres with pgvector, install dependencies in every workspace listed in the README, and run bun run typecheck. Expected output: a passing typecheck and a note on which hacktoberfest issue you would pick. Verify that bun run dev:backend starts the API on port 3201 and bun run dev:frontend serves the UI on port 3400.

Caveat. The README says a real agent task also needs a sandbox provider key and a model key, so a local setup alone will not complete an agent run.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for useagenthq/useagent and "Run UseAgent from source to contribute a fix"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer