What is the Library?
Your Library is your personal collection of everything you have installed from the Marketplace. It holds:- AI Agents you have added or purchased
- Project Bases you have installed for creating new projects
- Forked Agents you have customized from open-source originals
- Custom Agents you have built from scratch
UserPurchasedAgent or UserPurchasedBase record is created in the database, linking your user account to that item with details about the purchase type (free, purchased, or subscription) and activation status.
Accessing Your Library
Managing Agents
Enabling and Disabling
Control which agents appear in your project’s chat agent selector:- Enabled agents: Show up in the agent dropdown within every project
- Disabled agents: Hidden from the selector but not removed from your library
- Toggle: Click the switch on any agent card to enable or disable it
Disabling an agent does not delete it or cancel a subscription. It only hides the agent from the chat selector. You can re-enable it at any time.
Agent Selection in Projects
When you open a project and use the chat, you pick an agent from a dropdown. The agent selection is persisted tolocalStorage per project slug, so each project remembers which agent you were using last.
Editing Open-Source Agents
For agents withsource_type = "open", you can customize the following:
System Prompt
Edit the instructions that define the agent’s behavior, coding style, and constraints
AI Model
Change which AI model the agent uses (for example, switch from GPT-4o to Claude Sonnet)
Name and Icon
Customize the display name and icon shown in the agent selector
Tool Configuration
Adjust which tools the agent can access and how they are described in the system prompt
Forking Agents
Forking creates a personal copy of an open-source agent that you can modify without affecting the original.Find a Forkable Agent
In your Library or the Marketplace, look for agents marked as open source with the fork option available.
Click Fork
A new agent is created in your library with the same system prompt, tools, and configuration as the original.
Customize
Edit the system prompt, change the model, rename it, or adjust tool configurations to match your workflow.
parent_agent_id referencing the original, and your user_id as the forked_by_user_id. Forked agents are private by default (is_published = false).
Model Override
For open-source agents, you can set aselected_model override in your UserPurchasedAgent record. This lets you use a different AI model than the one the agent creator specified, without forking the entire agent.
Managing Bases
Installed Bases
View all bases you have added to your library:- Preview: See the base’s tech stack, category, and feature list
- Download count: How many users have installed this base
- Rating: Average community rating
- Remove: Delete from your library (does not affect projects already created from this base)
Creating Projects from Bases
Creating Custom Agents
Building from Scratch
Choose Agent Type
Select the execution strategy:
- StreamAgent: Real-time streaming with tool calls (best for UI work and fast iteration)
- IterativeAgent: Multi-step planning and execution (best for complex logic and multi-file changes)
Define Tools
Select which tools the agent can access: file reading/writing, shell commands, web fetching, and more.
Writing Effective System Prompts
The system prompt is the most important part of a custom agent. It determines how the agent responds, what coding patterns it follows, and what constraints it respects.Be Specific
Define exact behavior: “Always use TypeScript. Always add error handling to async functions. Use Tailwind for styling.”
Include Examples
Show the agent what good output looks like. Paste a sample component or function as a reference.
Set Constraints
Specify what the agent should avoid: “Never use inline styles. Do not install new dependencies without asking.”
Define Context
Explain the agent’s role: “You are a senior React developer building a SaaS dashboard. The project uses React 19, TypeScript, and Tailwind CSS.”
Publishing to the Marketplace
Share your custom or forked agents with the community:Polish the Agent
Make sure the system prompt produces consistent, high-quality output. Write a clear description and add relevant tags.
Set Details
Configure category, tags, and pricing model (free, monthly, API, or one-time). Set a price if applicable.
Pricing Your Agent
- Free
- Monthly
- API (Pay-Per-Use)
- One-Time
No charge. Good for building reputation and getting feedback. Most community agents start here.
Managing AI Models
Model Configuration
Control which AI models your agents use:- Default Models
- API Keys
- Custom Models
Set default models for each agent type:
- StreamAgent default model
- IterativeAgent default model
- Per-agent model overrides
Disabled Models
You can hide specific models from the chat selector using thedisabled_models preference in your user settings. This keeps the model dropdown clean and focused on the models you actually use.
Library Organization
Filtering
Filtering
Filter your library by:
- Source type (open-source or closed)
- Enabled or disabled status
- Agent type (StreamAgent, IterativeAgent)
- Search by name or description
Sort Order
Sort Order
Sort by:
- Recently used
- Alphabetical
- Date added
- Rating
Favorites
Favorites
Star frequently used agents for quick access. Starred items appear at the top of the agent selector dropdown.
Best Practices
Keep Your Library Organized
Keep Your Library Organized
Disable agents you are not actively using so the chat selector stays manageable. Remove bases you no longer need.
Test Custom Agents Thoroughly
Test Custom Agents Thoroughly
Create a dedicated test project for experimenting with new agents and prompt iterations. Compare output quality across different models before settling on a configuration.
Iterate on System Prompts
Iterate on System Prompts
The best agents result from many rounds of refinement. Start broad, then add specific constraints and examples based on where the output falls short.
Get Feedback Before Publishing
Get Feedback Before Publishing
Share your agent with a small group first. Use their feedback to improve the prompt and description before making it public on the marketplace.
Next Steps
Browse the Marketplace
Discover new agents and bases to add to your library
Chat Interface
Learn how to interact with agents in your projects
Project Bases
Explore templates for your next project
Creating Projects
Start a new project using items from your library