Daita agents / guide
Store bounded procedural guidance and load it only when an agent needs it.
A skill is a small, agent-local procedure with three fields:
name: lowercase letters, numbers, and hyphens; starts with a letter; at most 64 characters;description: selection guidance, at most 240 characters; andinstructions: the procedure body, at most 12,000 characters.An agent can store up to 32 skills. Skills do not add Python tools or execute code. They provide reviewed procedural context for the existing data-agent capabilities.
from pathlib import Path
from daita import Agent, LocalWorkspace
agent = await Agent.open(
"atlas",
workspace=LocalWorkspace(Path("/absolute/path/project")),
)
try:
await agent.save_skill(
"monthly-revenue-review",
"Compare monthly net revenue and explain material changes.",
"""1. Confirm the requested month and comparison period.
2. Use the reviewed net-revenue definition.
3. Group results by region.
4. Call out changes greater than 10 percent.""",
)
for summary in await agent.list_skills():
print(summary.name, summary.description)
skill = await agent.read_skill("monthly-revenue-review")
deleted = await agent.delete_skill("monthly-revenue-review")
finally:
await agent.close()save_skill() returns True when it creates a skill and False when it replaces one. delete_skill() returns whether a skill existed.
The base model context contains a bounded skill index—names and descriptions only. When a procedure is relevant, the model uses the read-only skill_view capability to load the full instructions.
This keeps unrelated procedures out of the prompt while still making their selection criteria visible.
During a run, the model can propose skill_save or skill_delete. Both are local write capabilities and use the configured operational-effect and approval boundary. Direct Agent.save_skill() and Agent.delete_skill() calls are already explicit caller actions.
daita skills list atlas
daita skills show atlas monthly-revenue-review
daita skills save atlas monthly-revenue-review \
--description "Compare monthly net revenue." \
--instructions-file ./monthly-review.md
daita skills edit atlas monthly-revenue-review
daita skills delete atlas monthly-revenue-reviewInteractive chat also supports /skills, /skills show, /skills create, /skills edit, /skills delete, and /skills use.
| Need | Store it in |
|---|---|
| Global guidance or a user preference | Memory or user profile |
| Resource-specific business meaning | Semantic annotation |
| A repeatable sequence or method | Skill |
| Exact run history | Conversation transcript |