This project contains the Agentuity documentation website, created using Fumadocs and running on NextJS 15.
To make the search feature work, you must set up .env.local
with the following steps.
-
Navigate to the Agent Directory:
cd agent-docs
-
Generate Agent Environment:
agentuity dev
This will generate a
.env
file in theagent-docs
directory with your SDK key. The key is required for the next steps. -
Copy Environment Configuration: For local development, copy the
.env.example
file to.env.local
in the root directory of the docs project:# Make sure you are in the root directory, not in agent-docs cd ../ cp .env.example .env.local
-
Update
AGENTUITY_API_KEY
: If you are a contributor from outside the Agentuity organization, ensure that you update theAGENTUITY_API_KEY
in your.env.local
file with your specific SDK key from theagentuity dev
run.
npm run dev
# or
pnpm dev
# or
yarn dev
To learn more about Next.js and Fumadocs, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- Fumadocs - learn about Fumadocs