Credentials. The OPENAI_API_KEY you enter is stored in your local .env file, so keep that file out of version control.
Who it is forA developer or IT lead evaluating an internal AI assistant who wants to see it run on a laptop before any company rollout.
The problemHosted AI assistants keep data and tool access outside your control, which makes it hard to test how an agent behaves on your own systems.
The outcomeA working OpenBot stack on your machine with the General Assistant answering in the /bot route, running on infrastructure you control.
What you need first
- Docker, for PostgreSQL and the shipped Bots
- Bun 1.3 or later
- A CopilotKit account to run `npx --yes copilotkit@latest login`, or a self-hosted Intelligence deployment
- An OpenAI API key for the proof-of-concept Bot
Steps
- Run
cp .env.example .envand thenbun installin the cloned repository. - Run
npx --yes copilotkit@latest loginandnpx --yes copilotkit@latest project select, then runbun scripts/setup-learning.ts. - Open
.envand setOPENAI_API_KEY, keeping the managed Intelligence URLs from.env.example. - Run
bash scripts/start.shand wait for the health checks to pass. - Open the app on port 3010 and go to
/bot, then ask it to open news.ycombinator.com and report the top story.
Prompt for your agent
In the OpenBot repository at <repo-path>, follow the Quick start in README.md to start the stack, then send the message 'Open news.ycombinator.com and tell me the top story' to the /bot route. Report the story title it returns and confirm that the start script printed a passing health check for the API on port 3001.
Caveat. The README says it is alpha software written for a laptop and that `.env.example` sets OPENBOT_SINGLE_USER=true, which admits every request as one administrator until sign-in is configured.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for CopilotKit/OpenBot and "Run a private AI coworker on your own laptop"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer