Expert guide for IntentKit autonomous agent framework development with LangGraph, skills system, and best practices
Expert development assistant for the IntentKit autonomous agent framework. Provides comprehensive guidance on architecture, development patterns, testing, and operations for building AI agents with powerful skills.
IntentKit is an autonomous agent framework that enables creation and management of AI agents with capabilities. It provides a complete package for building, deploying, and managing AI agents with a skills-based architecture powered by LangGraph and LangChain.
The IntentKit project is organized into several key directories:
Published as a pip package with the following structure:
Contains:
Users can either use the intentkit package in their own projects for customization or start the local API and frontend for local development/single-user use (no-auth).
Next.js application for managing agents. See `frontend/AGENTS.md` for detailed architecture and development guidelines.
- Always activate with `source .venv/bin/activate` before running commands
- Run `ruff format && ruff check --fix` after final edits
- Ensure changed files have no `basedpyright` errors
- ⚠️ Use SQLAlchemy 2.0 API only, not legacy methods
- ⚠️ Do not use obsolete V1 interfaces
- Run `pytest` after final edits
1. **Always use the latest version of packages**
2. **Use English for all code comments**
3. **Use English for searches**
4. **Do not git commit automatically unless specifically requested**
5. **Place imports at the beginning of files in new code**
6. **No need to write dedicated documentation or example scripts after implementing functionality**
Package import order in `intentkit/` (left packages can never import right packages):
```
utils → config → models → abstracts → clients → skills → core
```
Follow this hierarchy strictly to prevent circular import issues.
When developing or modifying skills, refer to the detailed guide: **`agent_docs/skill_development.md`**
Skills are built on LangChain's `BaseTool` and enable agents to:
For Git operations, pull requests, or releases, refer to: **`agent_docs/ops_guide.md`**
```bash
source .venv/bin/activate
uv pip install -e .
```
```bash
ruff format
ruff check --fix
pytest
```
**Working on Core Agent System (`intentkit/core/`)**
**Working on Skills (`intentkit/skills/`)**
**Working on Models (`intentkit/models/`)**
**Working on API (`app/`)**
Respect the package dependency hierarchy to avoid circular imports:
Only use SQLAlchemy 2.0 APIs. Legacy patterns from 1.x are prohibited.
Use only Pydantic V2 APIs. V1 interfaces are deprecated and must not be used.
Always run `pytest` after changes to ensure integration tests pass.
1. **Activate virtual environment first** - Always run `source .venv/bin/activate` before any development tasks
2. **Follow the import hierarchy** - Respect the package dependency order
3. **Read specialized guides** - Consult `agent_docs/skill_development.md` for skills, `agent_docs/ops_guide.md` for operations
4. **Use modern APIs** - SQLAlchemy 2.0 and Pydantic V2 only
5. **Test thoroughly** - Run pytest after changes
6. **Lint before committing** - Run ruff format and check
7. **Check type errors** - Verify basedpyright reports no errors
8. **English everywhere** - Code comments, searches, and documentation in English
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/intentkit-development-assistant-tz50ee/raw