The first Tetralogy of dialogues by Plato, Socrates' student, has the trial and execution of Socrates as central theme: Euthyphro, Apology, Crito and Phaedo. Also Xenophon wrote the Apology of Socrates to the jury.
An Athenian rhetoric expert, Polycrates, also wrote a pamphlet called the Prosecution of Socrates in 392 BCE. Although the contents of the pamphlet itself do not survive, we do have written replies to it by Xenophon and Libanius of Antioch. The pamphlet was supposedly a record of the prosecution speech made by Anytus, one of Socrates’ formal accusers. Polycrates’ account has Anytus condemning Socrates for activity prior to 403 BCE, which would be in violation of general amnesty granted by the reconciliation agreement of 403/402 BCE. The reconciliation agreement of 403/402 BCE certainly grants some form of amnesty for actions taken before or during the rule of the Thirty. However, the scope of the amnesty is unclear. Waterfield, among others, contends that the scope of the amnesty was quite limited, while many other scholars consider the amnesty comprehensive. For instance, Thomas R. Martin describes the amnesty as “general…under which all further charges and official recriminations concerning the [reign of] terror were forbidden.” If the amnesty included all activity before 403 BCE, it seems that we cannot trust Polycrates’ account. If the amnesty was actually more restricted, Polycrates’ account (or what we can glean from other sources discussing it) seems to be a more credible source.