File size: 1,061 Bytes
5af80cb 5c4b01a 5af80cb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # agents/doc_agent.py
from crewai import Agent
def get_doc_agent(llm, verbose=False):
"""Returns an agent specialized in generating design documentation.
This agent creates datasheets, register maps, timing diagrams (text-based),
and integration guides from RTL code and architecture specifications.
"""
return Agent(
role='Technical Documentation Engineer',
goal='Generate comprehensive, industry-standard design documentation from RTL and specifications.',
backstory="""You are a senior technical writer specializing in ASIC/FPGA documentation.
You create clear, concise datasheets that include:
- Pin descriptions with timing requirements
- Register maps with field-level detail
- Functional descriptions with state diagrams
- Integration guidelines for SoC teams
- Timing diagrams in ASCII/text format
Your documentation follows IEEE and company datasheet standards.""",
llm=llm,
verbose=verbose,
allow_delegation=False
)
|