💡 IntelliSense & Snippets
14 code snippets and context-aware completions for faster development.
Available Snippets
Type the prefix and press Tab to expand:
| Prefix | Description | Language |
|---|---|---|
aos-agent | Complete agent template | Python |
aos-policy | Policy YAML template | YAML |
aos-kernel | Kernel initialization | Python |
aos-workflow | Workflow function | Python |
aos-cmvk | CMVK integration | Python |
aos-langchain | LangChain integration | Python |
aos-github-action | GitHub Actions workflow | YAML |
aos-typescript | TypeScript SDK setup | TypeScript |
aos-vfs | VFS memory access | Python |
aos-signals | Signal handling | Python |
aos-rate-limit | Rate limiting policy | YAML |
aos-compliance | Compliance policy | YAML |
aos-security | Security rule | YAML |
aos-audit | Audit configuration | YAML |
Example: aos-agent
Type aos-agent and press Tab:
from agent_os import KernelSpace, Policy
from agent_os.tools import create_safe_toolkit
kernel = KernelSpace(policy="strict")
toolkit = create_safe_toolkit("standard")
@kernel.agent
async def my_agent(task: str):
"""Agent with full safety guarantees"""
result = await kernel.execute(task, toolkit=toolkit)
return result
if __name__ == "__main__":
import asyncio
asyncio.run(my_agent("your task here"))
Code Completion
Get suggestions when typing AgentOS imports and APIs:
from agentos import Agent, Policy, Kernel, CMVKClient
# ↑ Autocomplete shows all available imports
agent = Agent(
name="", # ↑ Parameter hints shown
permissions=[] # ↑ Valid values suggested
)