ChainGPTChainGPTHelp Center

How to set up and launch an AgenticOS X (Twitter) agent

Updated May 31, 2026, 02:21 PM

Before you begin

Make sure you have the prerequisites in place:

  • Bun Runtime (v1.0 or newer)
  • Twitter API credentials (OAuth 2.0)
  • A ChainGPT API key
  • ChainGPT credits
  • A Twitter developer account (used to obtain the Twitter API credentials)

Quick setup

  1. Clone the repository from GitHub: ChainGPT-org/AgenticOS.
  2. Install dependencies by running bun install.
  3. Configure your environment. Copy the example environment file (cp .env.example .env), then set the required variables in your .env file:
    • CHAINGPT_API_KEY (your ChainGPT API key)
    • TWITTER_API_KEY
    • TWITTER_API_SECRET
    • TWITTER_ACCESS_TOKEN
    • TWITTER_ACCESS_SECRET
  4. Launch the agent with bun start.

Once configured, the agent runs on your own infrastructure (any cloud server or serverless platform) and autonomously generates and posts content on a schedule using cron scheduling and real-time webhook triggers.

Next step

See the full setup documentation at https://docs.chaingpt.org/dev-docs-b2b-saas-api-and-sdk/chaingpt-claude-skill-and-plugin/products/agenticos