AI Agent:
Developer's "Silicon Teammate"
-- Advanced Version
From AI tool to AI teammate: AI Coding for Enterprise IT
×
IT
01 / Foundation and methodology
02 / Skill and Team Experience
03 / Spec, Loop and Token
04 / LLM Observability
05 / Operating boundaries and development modalities
06 / Knowledge, Models and Multi-Agent
This AI Agent Developer Team presentation is delivered in two sessions: Basic and Advanced.
From real work,Turn AI into a teammate.
Helps many businesses that collect hundreds of millions or millions of dollars a year across borders to land in AI.

AI Agent: Developer's Silicon Teammate03
Chat AI is a good start,
but it should not be the end.
Past: One question.
I have a question.
↓
AI, give me an answer.
Now: One thing is done.
I have a goal.
↓
AI reads, changes, runs, and validates
Business IT's not "I don't know the answer," but "I have one thing to finish."04
First the mission, then the choice.
The most appropriate AI way.
Select enough models.
Strong reasoning is not equivalent to a high frequency small mission. Codes, speed, context, cost and tool callability are to be compared back to the real job.
It is not about better conversation.
It is an extraexecution loop.
Objective
You say what you want to achieve.
Planning
AI Dismantling Mission, deciding what to do first.
Tools
Read files, search, run commands, run tests.
Evidence
Seeing the real results, not guessing.
Next
Proceed with the results until acceptance.
Agent:One step, one result and one next.
Add an export function to the order moduleExport function.
First understand the item and find the relevant code to export the order. Tell me how I'm going to change it. Don't change it.
The programme can be modified. Change only the order module and not the database structure.
Run the test after the change is completed and tell me the results. If you fail, you analyse the causes and fix them.
Let AI understand first and then allow it to be modified. Give it the task and leave the border in your hands.07
Put AI in the job you're already doing.
Three hints:Understand first. To the border. Let it verify.
I'm not sure if I'm going to write it.Certification mechanismsDecide if it can be delivered.
No evidence is allowed.
The context of the project should also sink.
README: What is the project, how it runs.
AGENTS.md: Which directories can be modified, how to run, and which operations must be identified.
Debug is not an AI guess.
It's about making it.Position along the chain of evidence.
User phenomena, time of occurrence, request parameters, environment differences.
Error stack, upstream/downstream request, abnormal frequency, association ID.
Possible causes, modules, key points for validation.
Repeat, query data, run tests, confirm that there are no side effects.
Skill is not a Prompt collection.
It's...Executable, acceptable, reusableThe way.
scene
When?
Input
What do you need?
Process
What are the steps to be taken?
Conditions for discontinuation
What can't go on?
Output
What was the last delivery?
Receiving and Inspection
How do you judge success?
Turn "I will do" into "the system can stabilize for me."11
Skill Best Practice: Right first.I'm not sure.
And it's being properly implemented.
- Keep it simple.Delete the common sense already known to the model; each paragraph should be worthy of the context.
- Matches freedom.Inspired tasks give a high degree of freedom; there are templates in fixed mode; and vulnerable operations give precise steps.
- Good metadata.Starts by preloading name + description; they decide whether Skill will be found and triggered.
- Let content be maintained.Quote one layer, which is more descriptive; old methods are archived separately to avoid obsolescence of the main process.
- Use progressive disclosure.Main SKILL.md maintains a streamlined and complete details are placed in the on-demand reference document.
- Harmonization of terminology and examples.The same concept is referred to by only one name and the examples are specified; a default path is given and no too many options are listed.
On startup: preload
name + descriptionAfter Trigger: Read
SKILL.mdOn demand: Read
reference/Waiting for documentsWriting principles:
descriptionWriting capability + trigger scene;step, boundary and acceptance In.SKILL.md.The real quality comes fromTesting, validation and continuation.
- Complex task-writing workflow.Clear, continuous steps and checklist to reduce the probability of missing steps.
- Create feedback loops.Executing validation of fixation problems again until acceptance passes.
- Sets a cessation condition for critical operations.High-risk, destructive or irreversible actions are planned for further implementation.
- Output verifiable intermediate results.Bulk changes, form fillings, etc., are programmed, rechecked, executed, reviewed.
- Script to solve the problem.Visible error of processing, explaining key parameters, listing dependency; do not throw problems back to the model.
- Determines the operational priority tool.Directly running utility script is more reliable than every temporary generation code.
- We'll make an assessment and write a long document.At least three scenarios are prepared, starting with a Skill baseline, and then testing different models and real missions.
- Watching real use.Pay attention to missing references, re-exploring, neglected content and incorporating team feedback for continuous adaptation.
Spec is not a realization plan.
It's...Receivable mission contract.
Spec write what / WHOT
- Why: background, goal, user value.
- Where to change: scope, boundaries, clear-cut inaction.
- What to do: behavior, input output, error and non-variant.
- How to judge completion: scenes, acceptance criteria and certification methods.
Plan What / HOW
- Selection of modules, documents and technical options.
- How to dismantle tasks, sequence and assign responsibilities.
- How to land, move, roll back and publish.
- These decisions should be based on the status of the warehouse, not on the death of Spec.
A good one.
First."What must be true"Write clearly.
HOW:Add
revokeSessions()Which Service, which storage, Agent checked the warehouse and then proposed Plan.Relationship:Spec — Acceptance Triteria — Tests. Test is an enforceable validation, not Spec itself.
Dismantling complex targets.Phases, local documents and verifiable results.
AGENTS.md(a) Project-level rules;product.mdandarchitecture.mdSet a stable global context.- Field Spec places
specs/auth/,specs/billing/Close to the corresponding operational boundaries. - Agent loads only the documents required in the current phase and field at a time to avoid a huge context.
- Large-scale reorganisation cuts the border first and then removes the batch; no complete system is modified at once.
Use/goalTurn Spec into a state-of-the-art implementation cycle.
- Assigned entry:Gives Spec files or directories that do not allow Agent to guess its own context.
- Designation stage:Push one phace at a time and continue after validation.
- Specified status:At each stage, completed items, evidence, risks and next steps are recorded.
- Other OrganiserBorders, competencies, data contracts are not clear, and no unauthorized expansion is permitted.
The new function is not "one generation at a time."
It's...Target-driven action loops.
Take the example of "order export":
Agent, pass.Evidence, decision-making, validationPush.
- Entry:Spec has defined the criteria for input, output, permission and acceptance.
- Actions:Searches for symbols and tests without reading the entire warehouse.
- Feedback:The result of the tool is to retain only evidence of failure, difference and the next step.
- Stop:Functional acceptance is passed or suspended in case of contract, authority, data risk.
Token costs more than just Prompt.
More fromRepeats the number of context x Agent loops.
System directives, historical dialogues, tools Schema, codes, RAG results.
Duplicate = hidden costAnswers, reasoning, tool parameters and retesting after failure.
max_output_tokensAre there really four calls required for classification, extraction, summary, formatting?
Less cycle, less try again.Codex / Claude Code:Compress the tool output first.
Location of RTK
↓ hook rewrites
RTK executes the real CLI
↓ filter / summarize / dedupe
compact output
↓
LLM context
It does not change the model, only changes the shape of Shell output into context: individual Rust binary, 100+ command, low cost.
Why is it shorter?
Smart filtering:Remove comments, blanks, templates and progress noise.
Grouping:By file, directory, rule or error type.
Truncation:Keep key context and repeat long lines.
Deduplication:Duplicate logs fold into one article and attach the number of times they occur; the tests usually keep only failed entries.
rtk gainUsebytes / 4Token, the percentage is meaningful and the absolute value is not a supplier bill.Official warehouseUpgrade the RTK mind toToken-aware Tool Middleware.
Runtime,Instrumentation,Evaluation
Three different floors.Duties.
| Problem / Layer | Claude Code | Codex | AutoGen | LangChain / LangGraph |
|---|---|---|---|---|
| Persistent instructions | CLAUDE.md | AGENTS.md | System messages / agent config | Prompts / system messages |
| Reusable workflows | Skills | Skills / instructions | Agent / workflow / component | Tools + prompts / LangGraph nodes |
| Agent routing | Skill descriptions | Instructions + scope | Router agent / workflow logic | Conditional edges / router |
| Tracing | OpenTelemetry + telemetry | Less publicly exposed | Events / callbacks / OTel | LangSmith Tracing |
| Loop control | maxTurns + runtime limits | Runtime limits | max turns + termination | recursion limit + state control |
| Evaluation | External eval tooling | External eval tooling | Custom evaluator | LangSmith Evaluations |
| Guardrails | Hooks + permissions + sandbox | Sandbox + approvals | Tool guards / middleware | Middleware / guard nodes |
| Cost / tokens | Telemetry / usage | Usage reporting | Instrument LLM calls | LangSmith token tracking |
AutoGen runs,
LangSmith / OpenTelemetry sees the running.
- Agent / Tool:Record message, description, parameters, results, errors and time-consuming.
- LLM:Records model, input/output tokens, latency and cost.
- Trace tree:Linking LLM, Tool, Hook, Subagent in a run.
AutoGen / LangGraph / Custom → OpenTelemetry → LangSmith / Phoenix → Trace → Eval
Trace found mode,Evaluation proves the problem.
Guardrail prevents recurrence.
Evaluation: unnecessary repetition
Guardrail: max_same_skill_calls = 2
Skill redesign: add explicit exit condition
Regression: task X ≤ 5 skill invocations
Tracing → Evaluation → Guardrail → Skill redesign → Regression test
Let's not just record what happened, but also document Agent why he chose, why he continued, why he stopped.
It's not "AI can do it."
It's "what step do we allow it to make?"
Freer.
Read the code, change the code, run the test. Allows rapid error.
Executable
Specifies the directory to write, specifies the command to run, and the key results need to be confirmed.
Read-only priority
Read the log, check the data, make recommendations. The responsibility for hazardous operations and eventual liability rests with the person.
LLMs are getting better at understanding, acting, and collaborating.
Our work is moving from “writing prompts” to “designing systems.”

Tell him what to do.
Write more clearly.
LLM: Follow instructionsLet him know where to do it.
Projects, rules, information in context.
LLM: Using contextDefine what's done.
Input, output, boundary, acceptance and observation.
LLM: Dismantling taskTo target. Allow it to overlap.
One step, one result and one next.
LLM: Planning and Calling ToolGive it the fence to run.
Tests, privileges, tools and feedback are fixed.
LLM: Implementation within BordersDesign taskchart
Let's get multiple steps, Agent and people working together.
LLM: Coordination of complex systemsILM's ability has risen.
The developers are no longer solely responsible for "output text".
From the understanding of a directive to the stable adherence to format and tone.
Practice to express tasks, check output, and repeatedly rewrite hints.
Project information, rules and historical information can be put into judgement.
Collapse the context and maintain README, AGENTS.md, knowledge boundaries.
Natural language targets can be broken down into steps, constraints and outcomes.
Defines input, output, anomaly and acceptance before AI executes.
Can plan, call tools, observe results, fix paths.
Change from "writing once" to "management feedback loop" to focus on evidence and state.
The task can be accomplished in the context of testing, authority and tool constraints.
Design operating environment: tests, privileges, tools, rollbacks and human hearings.
It can coordinate multiple Agent, workflow and dependency relationships.
Design task maps, nodal responsibility, handover, Eval and system-level feedback.
LLM change:From answering questions to fulfilling objectives in context and constraints.
Human changes:From doing every step in person to designing objectives, boundaries, feedback and collaborative maps.
The greater the cycle, the slower the feedback, but the closer it is to the real product: the minute level of execution, the hourly calibration, the gradation.
Designing the feedback cycle will make Agent change from "can write" to "can deliver".29
Don't learn first.
First let AI do a real job for you.
Pick a task.
HF, repeat, results judged.
To the border.
Define directories, commands, environments.
Run validation
Test, log, manual acceptance.
Skill
Turning the method into a reuseable process.
Continuous improvement
With real feedback.
Complex missions re-enter Spec, Goal, Loop, Multi-Agent.30
LLM will "false" not because it wants to lie.
It's the generation of gills to verify.
Why did that happen?
The model gives priority to the generation of text like an answer, which is not automatically endorsed as a fact.
Without business rules, real data or up-to-date information, reliance is placed on existing models.
Too many problems, incomplete input, unclear acceptance, and models can easily complete information that does not exist.
How to write a Skill
Access to documents, databases, tools and traceable sources does not allow them to respond in a vacuum.
Requires reference, structured output, testing, rule-checking and evidence of failure.
Facts, figures, competencies, legal, financial and operational rules are not directly outsourced.
References:3 key product development loops31
Evolution of RAG:From one search to Agent, take evidence and act as required.
Fix the unit of knowledge
before tuning the vector stack.
- The chunk is the hidden assumption. Token-based chunks have no idea boundary, version context, or access state, so retrieval can return incomplete or conflicting evidence.
- Use a question-answer packet. One validated claim plus typed governance fields makes the indexed unit match the way users actually ask questions.
- Distill before vectorization. In the supplied benchmark, semantic deduplication cut the corpus by up to 40x, reduced query tokens by 3x, and improved retrieval distance by about 2.3x.
- Make governance part of the data. Version state, clearance, privacy, and source metadata travel with each block instead of living as fragile orchestrator logic.
- Seven stages make failures localizable. Scope, ingest, extract, deduplicate, auto-tag, validate with SMEs, then export to the vector store.
Picking models, not looking for the strongest.
It's looking for the best value for money.
Complex Debug, Structure, Spec: Prioritize reasoning and code understanding.
Logging, summary, simple revision: speed and cost are more important.
Compare code, context, tool call, speed and cost with your tasks.
Pick the pattern from task properties.
Do not start with the architecture.

- 1. Start with the path. If the solution is known and deterministic, use a sequential workflow; use the model only where interpretation or generation is needed.
- 2. Add capability as needed. For open-ended work, tools and external information provide access to APIs, databases, documents, and system actions.
- 3. Separate planning from exploration. Use Planning when stages and dependencies are clear; use ReAct when structure emerges through execution.
- 4. Spend for quality deliberately. Add Reflection when quality criteria are explicit and the cost of errors justifies extra latency.
- 5. Scale only for a real bottleneck. Use Multi-Agent for specialization or scale; otherwise, a single agent is usually enough.
Use two lenses to place the pattern:
what the agent does and how work moves.

- Cognitive function is the vertical lens. Perception, memory, reasoning, action, reflection, collaboration, and governance describe the work being performed.
- Execution topology is the horizontal lens. Chain, route, parallel, loop, hierarchy, and orchestration describe how work and control flow.
- Patterns are composable primitives. Examples include RAG Pipeline, Tool Dispatch, Plan-and-Execute, Fan-Out / Gather, and Hierarchical Delegation.
- Cross-cutting planes keep the system operable. Observability, Evaluation & Validation, and Security & Identity apply across the matrix.
- Design implication: locate the needed capability and topology first, then combine the smallest set of patterns that solves the task.
We can't use an overseas tool in a stable way.
Not the same as not starting AI Coding.

Trae, WorkBuddy, Qwen Code, and Ideas.
Select the "sufficient" model by code, reasoning, context, speed and cost.
Multiple models are connected to the same work environment using CC Switch or similar routes.
Do not bind a brand; keep mandates, privileges, tests and acceptances stable.
Model ranking is input, not decision-making. Run Benchmark on a real mission, then decide on the mix of tools.
Let's see.Thinking, acting, correcting..
ReAct
Planning: low / hidden self-adaptation:★★★★★[Task]
|
[Thought] -> [Action]
|
[Observation]
|
[Thought]
|
[Action]Open task, search, tool call, trouble check.
Reflection / Self-Critique
Planning: Adaptation:★★★★★[Draft / Run]
|
[Evaluate]
/ \
[Pass] [Improve]
| |
[Done] <---+After implementation, they are self-assessed and improved and suitable for coding, writing, data analysis.
Tree of Thoughts
Planning: Self-adaptation:★★★★☆[Problem]
|
+---+---+
| | |
[A] [B] [C]
\ | /
[Evaluate]
|
[Best path]At the same time, multiple options are explored to assess and choose the best path.
Look at Agent. How about that?Disassembly tasks, roles, organizational status.
Plan-and-Execute
Planning: Self-adaptation:★★★★☆[Goal] | [Plan] | +---+---+ | | | [S1][S2][S3] \ | / [Replan?]
Targeted multi-step tasks are planned and then implemented and reprogrammed as necessary.
Graph / Workflow Agent
Planning: Remarkable self-adaptation:★★★☆☆[State]
|
[Node A] --> [Node B] --yes--> [Node C]
| |
+----- no -----+
|
[Human]Enterprise processes, firm business rules, status and branches can be tracked.
Multi-Agent
Planning: Distributional self-adaptation:★★★★☆ [Manager]
/ | \
[Agent A][Agent B][Agent C]
\ | /
[Shared result]
|
[Deliver]The different professional competencies work in parallel, suited to the division of roles and complex delivery.
CodeIt's going to get cheaper.
But...DecisionIt'll be more expensive.
Turning realistic targets into enforceable compacts
Clarify real operations, user scenarios, scope and acceptance conditions. The more ambiguous you enter, the easier it is for Agent to quickly magnify the wrong direction.
Reduce the optional space with constraints
The principles of modular boundaries, data non-variant and architecture are written into rules that Agent can implement, and the long-term experience is deposited as reusable constraints.
Use the evidence to protect the real consequences.
Tests, reviews, issuance of door closures, online observations and user feedback form the chain of evidence. The code can be generated by AI, and quality risks still need to be borne by people.
How do you communicate with each other?
Think of it as a first.Distribution systems.
- Message contract:
task_id,sender,recipient,type,payload,evidence. - State ownership:One Agent is responsible for writing, other Agent submits proposals or read-only.
- Failed boundary:Timeout, retrying, repeating messages, back pressure and permissions are handled visibly.
- Termination and observation:Defines the DONE condition and records news, decision making, tools, Token.
| Communication mode | Structure | It suits the scene. | Main risks |
|---|---|---|---|
| Point-to-Point | Agent A → Agent B | Clear mission handover | Convergence, single-point dependency |
| Broadcast / Group Chat | One message, poignant. | Share context, multiple review | Context expands, repeats responses |
| Broker / Event Bus | Agent → Broker → Agent | Event-driven, step-by-step collaboration | Message sequence, double consumption |
| Shared State | Agent ↔ State Store | Long process, recoverable tasks | State competition, confusion. |
AutoGen: Turn Agent collaboration intoManageable news systems.
- Participants:Use
AssistantAgentExpressing different roles, receiving assignments or exporting evidence as required. - Message route:Team / Manager sends the message to the participants; participants share the necessary context but do not share all internal status.
- Tool boundary:Pass.
FunctionTool,AgentToolor MCP exposure capability, tools still need control over privileges, time overruns and thorium. - Conditions for discontinuation:
TerminationCondition, maximum rotation and manual intervention to prevent unlimited collaboration.
trace = run → participant message → tool call → result → next decision → termination
LangChain / LangGraph:
UseStatus ChartExpress how Agent continues, branches and ends.
- State:Share
goal,evidence,draft,review,attempts, each update can be tracked. - Node:Each node can be an Agent, a tool or a certainty function, enter a state and return a local update.
- Conditional edge:Select the following section according to status, moving the router rule from hidden conversations to visible control streams.
- Observation and assessment:
@toolResponsible for capacity, LangSmith for track, dataset and assessment, operating at the same time as observations.
| Design Layer | AutoGen | LangChain / LangGraph | Distribution system considerations |
|---|---|---|---|
| Agent | AssistantAgent | Agent / graph node | Boundary between service roles and duties |
| Communication | Team publish / manager route | State update / graph edge | Radio, straight line or event? |
| State + termination | Runtime / team state + condition | StateGraph state + END | Single author, budget, recovery |
| Tools + observability | FunctionTool / events / callbacks | @tool / LangSmith tracing | Permissions, trace, metrics, eval |
It's not necessarily a substitute for developers.
But it will redefine what developers do every day.
And teach it experience, SOP and context.
Make it as automated as possible within the right borders.
Prioritize Coding Agent, let AI do a real job for you.
Teach AI about projects, experiences, SOPs and working methods.
Clear lines of authority, testing, acceptance and what cannot be directly outsourced.
In the right boundary, make AI as automated and as feedback as possible.