yaalalabs/agent-kernel/ak-init
Claude Code and agent skill by yaalalabs/agent-kernel
- community
Checking that the SKILL.md file is still in the repository.
Scaffold a new Agent Kernel project from scratch. This skill guides you through choosing an agent framework, defining tools, selecting a deployment target, and generating a complete project with all necessary files. Designed for users who want to build a new AI agent using the Agent Kernel library.
Install
npx vskill@latest install yaalalabs/agent-kernel/ak-initSKILL.md
Scaffold an Agent Kernel Project
Use this skill to create a new AI agent project powered by Agent Kernel.
Instructions for the Agent
When the user wants to create a new agent project, follow this interactive workflow:
Step 1: Gather Requirements
Ask the user the following questions (adapt based on context):
- Agent framework: Which agent framework would you like to use?
- OpenAI Agents SDK (recommended for most use cases — best tool support, handoffs between agents)
- CrewAI (multi-agent collaboration with roles and tasks)
- LangGraph (complex workflow graphs with state management)
- Google ADK (Google's Agent Development Kit)
- Smolagents (lightweight agent framework with managed-agent routing)
- Pydantic AI (provider-agnostic — native OpenAI/Anthropic/Google/Bedrock/… support with
FallbackModelfailover) - Microsoft Agent Framework (Microsoft's unified successor to AutoGen and Semantic Kernel — works with any MAF chat client: OpenAI, Azure OpenAI, Anthropic, …)
- Agent purpose: What should your agent(s) do? (e.g., "customer support bot", "code review assistant", "data analysis agent")
- Tools: Does your agent need any custom tools? (e.g., "fetch weather data", "query a database", "search the web")
- Multi-agent: Do you need multiple specialized agents with a triage/routing agent?
- Deployment mode: How will you run the agent?
- CLI (interactive terminal — great for development and testing)
- REST API (FastAPI server — for web apps, webhooks, integrations)
- AWS Lambda (serverless on AWS)
- AWS ECS/Fargate (containerized on AWS)
- Azure Functions (serverless on Azure)
- Azure Container Apps (containerized on Azure)
- GCP Cloud Run Serverless (scale-to-zero on GCP)
- GCP Cloud Run Containerized (always-on on GCP)
- Docker (generic container, runs anywhere)
- Session persistence: How should conversation state be stored?
- In-memory (default, no persistence — fine for CLI and development)
- Redis (recommended for production — works with all deployment targets)
- DynamoDB (AWS-native, recommended for AWS serverless)
- Cosmos DB (Azure-native, recommended for Azure serverless)
- Firestore (GCP-native, recommended for GCP Cloud Run)
Step 2: Generate the Project
Based on the answers, generate the following project structure:
Step 3: Generate File Contents
pyproject.toml
Extras selection:
- CLI mode:
agentkernel[cli,<framework>] - API mode:
agentkernel[<framework>,api] - Smolagents framework extra:
smolagents - Pydantic AI framework extra:
pydanticai(installs the provider-agnosticpydantic-ai-slimcore only — also add a provider, e.g.pydantic-ai-slim[openai]) - Microsoft Agent Framework extra:
maf(installs the provider-agnosticagent-framework-coreonly — also add a provider package, e.g.agent-framework-openai) - With messaging: add
slack,whatsapp, etc. - With session store: add
redis,aws(for DynamoDB),azure(for Cosmos DB) - With tracing: add
langfuse,openllmetry,logfire, orcloudwatch
Agent definition file
For OpenAI framework (CLI mode):
For OpenAI framework (API mode):
For OpenAI framework (AWS Lambda):
For LangGraph framework:
For CrewAI framework:
For Google ADK framework:
For Smolagents framework:
For Pydantic AI framework:
For Microsoft Agent Framework:
Custom tools (tool.py)
For OpenAI framework, bind tools using: tools=OpenAIToolBuilder.bind([<tool_name>]) For other frameworks, use their native tool binding mechanism.
config.yaml
test-config.yaml
Test harness configuration is not part of config.yaml — it lives in its own file, loaded only when tests run (a test: section left in config.yaml is ignored):
build.sh
Test file
Step 4: Provide Setup Instructions
After generating the project, tell the user:
- Set the required API key as environment variable:
- OpenAI:
export OPENAI_API_KEY=sk-... - Google:
export GOOGLE_API_KEY=...
- Run
chmod +x build.sh && ./build.shto set up the environment - Activate:
source .venv/bin/activate - Run:
python <main-file>.py - For tests:
uv run pytest
What to Do Next
Your project is scaffolded and running. Here's the natural progression:
- Add tools & agents → Use the
ak-buildskill to add new tools, specialist agents, and handoffs to your project. This is the skill you'll use most often as you iterate. - Add guardrails or tracing → Use the
ak-add-capabilitiesskill to add input/output guardrails, observability tracing, session persistence, MCP, A2A, hooks, or multimodal support. - Connect a messaging platform → Use the
ak-add-integrationskill to add Slack, WhatsApp, Telegram, or other messaging channels. - Deploy to cloud → Use the
ak-cloud-deployskill to deploy to AWS or Azure with Terraform. - Set up testing → Use the
ak-testskill to configure test modes and write agent tests.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingak-py/src/agentkernel/skills/ak-init/SKILL.md
Popularity
- Repository stars
- 192
- Repository forks
- 88
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/yaalalabs/agent-kernel/ak-init)