Skip to content
CopilotKitPublic

About

AI-powered customer support operations platform

Resources

Stars

16 stars

Watchers

0 watching

Forks

Repository files navigation

Outpost

Open-source support operations for developer tools.

Your users ask for help everywhere: Discord, Slack, Teams, GitHub, email, the web. Outpost brings every one of those conversations into a single inbox and answers them with an AI agent that does its research first, so your team spends its time on the questions that actually need a person.

Why Outpost

One inbox for every channel. Each conversation becomes a ticket with its full history, no matter where it started. Replies go back to the same thread on the same platform, so your users never have to switch tools to get an answer.

Answers you can trust. Before the agent replies, it searches your docs and source code, reads the exact version your user is running, and checks its draft against what it found. If it can't back up an answer, it doesn't guess. It hands the ticket to your team with the research already done.

Fewer wrong answers reach your users. Every draft is checked for made-up APIs and scored for confidence by a second model. Anything that falls short goes to a person instead of going out.

Go live without the risk. Shadow mode runs the full pipeline and saves each reply without posting it. You can see exactly how Outpost would answer real questions before you turn it on.

Fits the tools you already use. Two-way sync with Linear keeps engineering in the loop. HubSpot sync keeps your customer accounts up to date. SLAs, broadcasts, team management and a docs knowledge base are built into the dashboard.

Simple to run. Outpost needs Postgres and nothing else. There's no Redis and no separate message broker. The job queue runs on the same database as everything else.

Getting started

Prerequisites

  • Node.js 24 or later
  • pnpm 9 or later
  • Docker, for the local Postgres database
  • An OpenAI API key, for AI replies

Run it locally

git clone https://github.com/CopilotKit/outpost.git
cd outpost
pnpm install

docker compose up -d
cp .env.example .env

Open .env, set OPENAI_API_KEY and NEXTAUTH_SECRET, then set up the database and start everything:

pnpm db:generate
pnpm db:push
pnpm dev

Open http://localhost:3000/setup to create your organization and your first admin account. If you'd rather start with demo data, run pnpm db:seed before you open the dashboard.

To connect a channel, add its credentials to .env. Each variable in .env.example is labeled with the service that reads it.

Useful commands

Command What it does
pnpm dev Run every app in watch mode
pnpm build Build every app and package
pnpm test Run the test suite
pnpm typecheck Type-check every package
pnpm lint Lint every package
pnpm format Format the codebase with Prettier

Self-hosting

Outpost runs as a set of small services that share one Postgres 16 database. Every app ships its own Dockerfile, so you deploy only the channels you need.

Service Role
web Dashboard, API and inbound email
worker AI replies, SLA checks, syncs and scheduled jobs
discord-bot Discord support channels and threads
slack-bot Slack workspaces, over Socket Mode
teams-bot Microsoft Teams
github-app GitHub issues and discussions
linear-sync Two-way ticket sync with Linear

Start with web and worker, then add a service for each channel you want to support. Build any of them from the repo root:

docker build -f apps/web/Dockerfile -t outpost-web .
docker build -f apps/worker/Dockerfile -t outpost-worker .

The deployment guide covers the rest: environment variables for each service, health checks, a step-by-step Railway setup, and running a staging environment in shadow mode. To tune the AI agent, see the support agent guide.

Contributing

We welcome contributions of every size, from a typo fix to a new channel integration. Open an issue to report a bug or propose an idea, or send a pull request.

Before you open a pull request, make sure everything passes:

pnpm test && pnpm typecheck && pnpm lint

The contributing guide has more on how the project is organized and how reviews work.

License

Outpost is licensed under the Elastic License 2.0. You're free to use, modify and self-host it. You may not offer it to others as a hosted or managed service.

About

AI-powered customer support operations platform

Resources

Stars

16 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages